jean-pierre charras
dec2d6e8cc
Fix a few Coverity warnings. A bit of clean code in export_vrml.cpp.
2016-12-30 12:40:05 +01:00
Chris Pavlina
6078ca85e5
Improve broken edge outline error message
2016-12-29 12:31:12 -05:00
jean-pierre charras
a76f40be3b
Pcbnew: fix compil issue when Python scripting isn't enabled.
2016-12-29 08:17:33 +01:00
Oliver
636e060c99
A few enhancements from a larger patch, not yet committed, for footprint wizards
2016-12-28 10:26:01 +01:00
jean-pierre charras
352f1a025c
Better compatibility with previous Pcbnew versions: save diff pair prms only when values are not set to default values
2016-12-28 10:00:39 +01:00
jean-pierre charras
2972f6fbc7
Fix shadowed local variable
2016-12-20 17:51:55 +01:00
jean-pierre charras
9be5398cd2
Add bitmaps to Align/distribute menu ans menu items
2016-12-20 17:50:29 +01:00
Tomasz Włostowski
b20323dc63
SELECTION: fixed pointer arithmetic-related segfault in operator[]
2016-12-20 12:01:09 +01:00
jean-pierre charras
3ffa37c8b9
Fixes: lp:1650524 (Trapezoidal pad solder mask is incorrect when the minimal solder mask width is 0)
...
https://bugs.launchpad.net/kicad/+bug/1650524
2016-12-18 13:03:15 +01:00
Maciej Suminski
f631ae27b2
Fixed crash on DRC
...
Fixes: lp:1650360
* https://bugs.launchpad.net/kicad/+bug/1650360
2016-12-16 12:04:15 +01:00
Chris Pavlina
809e71abac
Rename footprint attributes more understandably
2016-12-14 15:53:04 -05:00
jean-pierre charras
188d7812ec
Disable Flip board view in Legacy mode (because the view cannot be flipped)
2016-12-13 21:24:29 +01:00
jean-pierre charras
0265a5bac5
Add a specific icon to the Flip board menuitem command
2016-12-13 19:36:17 +01:00
Maciej Suminski
139521750b
Fixed a crash on finishing line drawing in the legacy FP editor
...
Fixes: lp:1649597
* https://bugs.launchpad.net/kicad/+bug/1649597
2016-12-13 17:25:34 +01:00
Maciej Suminski
b1e37ae1dc
Fixed a few warnings (dialog_track_via_properties.cpp)
2016-12-12 18:01:09 +01:00
Maciej Suminski
c8676db84e
Fixed panning & cursor control with arrow keys in flipped view
2016-12-12 16:45:52 +01:00
Maciej Suminski
027515f4e1
Fixed refreshing after flipping the view
2016-12-12 16:45:52 +01:00
Maciej Suminski
7ad5fca6de
More code formatting, updated copyright headers
2016-12-12 16:45:52 +01:00
Maciej Suminski
07c7334238
Moved 'Flip View' menu entry
...
Under Windows wxWidgets there is a problem with the last menu
item having wxITEM_CHECK flag.
2016-12-12 16:45:52 +01:00
Maciej Suminski
f94c10b453
Fixed a warning in release builds
2016-12-12 16:45:52 +01:00
Maciej Suminski
c96db4f5c4
Removed aCreateUndoEntry flag from COMMIT::Push()
...
It was not used anywhere and COMMIT should handle creating
undo buffer entries.
2016-12-12 16:45:52 +01:00
Maciej Suminski
89055c4425
Code formatting
2016-12-12 16:45:52 +01:00
Tomasz Włostowski
da28e163d2
Optimizations/fixes to the VIEW/GAL classes:
...
- much faster Cairo rendering (outperforms legacy)
- improvements in VIEW update handling
- fixed issue with grid rendering in flip view mode
2016-12-12 16:45:52 +01:00
Tomasz Włostowski
3f7c5a0845
fixed post-rebase issues
2016-12-12 16:45:52 +01:00
Tomasz Włostowski
c661c30f68
pcbnew: added flip view mode
2016-12-12 16:45:52 +01:00
Tomasz Włostowski
1c1f4e9a50
Refactoring of VIEW/VIEW_ITEM classes:
...
- Remove dependency of EDA_ITEM on VIEW
- VIEW_ITEM is now a pure virtual interface
2016-12-12 16:45:52 +01:00
Tomasz Włostowski
27a10e8597
Multiple simplifications to GAL tools in PCBNew:
...
- Finalize transition to BOARD_COMMIT (removed all remaining uses of PICKED_ITEMS_LIST) and implicit view/ratsnest updates
- Simplified SELECTION class, it now can be directly added to a VIEW
- Removed unnecesary casts and templates
- Introduced C++11 features (range based for, lambdas) where they improve code readability
- Added non-undoable COMMITs, which can be used to propagate change notifications to interested listeners (e.g. ratsnest/view)
2016-12-12 16:45:52 +01:00
Tomasz Wlostowski
5476e97bfa
Pcbnew: fix segfault when importing netlist with no footprint assignments.
...
Fixes lp:1647803
https://bugs.launchpad.net/kicad/+bug/1647803
2016-12-10 10:20:21 -05:00
jean-pierre charras
3d89fb640a
Fix an issue in github plugin, when a library is not found (perhaps due to changes in curl
2016-12-07 18:06:26 +01:00
Heikki Pulkkinen
f660771ecf
Fix redundant via removal code
2016-12-07 17:14:41 +01:00
Maciej Suminski
29ab646e7c
Fix 'remove dangling tracks' in board cleanup code
...
Code removing dangling tracks is called in a loop until
there are no more changes, and relies on removing tracks
instanly. Previously the tracks to be removed were added to
a set and removed in one go, so only one segment for each
dangling connection was removed.
2016-12-07 17:10:43 +01:00
Maciej Suminski
e37488f145
Minor code simplification in BOARD_COMMIT
2016-12-07 16:50:23 +01:00
jean-pierre charras
6d6542e133
Gerber file generation: in X1 format, in header, use structured comments instead of basic comments.
...
(a structured comment starts by "G04 #@! " followed by a X2 attribute, and is a comment for old Gerber readers)
2016-11-30 17:48:31 +01:00
Maciej Suminski
524dddaf70
Sync the PNS model when its changed
2016-11-28 15:51:18 +01:00
Maciej Suminski
89a5f8ce69
Remove boost::bind from BOARD_COMMIT
2016-11-28 15:51:18 +01:00
Maciej Suminski
bb1390e2f1
Modify TRACKS_CLEANER to use BOARD_COMMIT
2016-11-28 15:51:18 +01:00
Maciej Suminski
abb3524563
Code formatting (clean.cpp)
2016-11-28 15:51:18 +01:00
jean-pierre charras
30df041de6
fix shadowed local variables
2016-11-25 18:17:34 +01:00
jean-pierre charras
bcfc1e7a3f
fix shadowed local variables
2016-11-25 16:00:42 +01:00
jean-pierre charras
6d7f0b45f4
dialog_export_step_base: cosmetic enhancements, add tool tips and better messages.
2016-11-25 12:05:51 +01:00
jean-pierre charras
ccdfabc866
Add tool tips to autosave widget in dialogs (pcbnew and eeschema)
2016-11-22 11:26:32 +01:00
Wayne Stambaugh
64c892ee23
Make footprint ID into a generic library ID.
...
Rename FPID to LIB_ID as is now used as a generic library identifier and
is no longer specific to footprints.
Remove all mention of footprint from the new LIB_ID doxygen comments and
code.
Rename files fpid.h and fpid.cpp to lib_id.h and lib_id.cpp.
Rename fp_lib_table.keywords file to lib_table.keywords and adjust CMake
build dependencies accordingly.
Update all source files effected by the code and file name changes.
Update .gitignore for file name changes.
2016-11-20 18:35:08 -05:00
Wayne Stambaugh
b9c296420a
Complete library table and library table row refactor.
...
Derive LIB_TABLE_ROW from boost::noncopyable for use in boost pointer
containers.
Use std::unique_ptr to manage PROPERTIES pointer.
Add clone support for boost pointer containers.
Split common library table code out from FP_LIB_TABLE into base LIB_TABLE
object. The FP_LIB_TABLE object only contains the code specific to
footprint library tables.
Use boost::vector_ptr for storing library table row objects.
Fix move up and down bugs in footprint library table edit dialog.
2016-11-19 17:16:43 -05:00
Diego Herranz
90897d4983
Pcbnew, plot dialog: fix incorrect wording.
2016-11-19 09:48:32 +01:00
jean-pierre charras
19ce3f276c
Fixes: lp:1642864 (Pcbnew Eagle import layer 48 incorrectly mapped)
...
https://bugs.launchpad.net/kicad/+bug/1642864
2016-11-18 13:19:05 +01:00
jean-pierre charras
f53cfe58bd
Pcbnew: fix outdated environment vars settings for Kicad python on Windows:
...
On Windows, previously, Pcbnew try to set env vars PYTHONPATH, if <kicad>/bin/python27_us folder is found.
Now, if python.exe is found in kicad bin folder (therefore if our python executable and libs are
installed in Kicad), PYTHONPATH and PYTHONHOME are set to an empty string.
( the default python path work fine with our standard python install )
2016-11-14 08:23:02 +01:00
jean-pierre charras
7051b6d21f
Fixes: lp:1635723 (pcbnew: allows sometimes to draw tracks in non copper layers in Gal Mode)
...
https://bugs.launchpad.net/kicad/+bug/1635723
2016-11-13 19:02:44 +01:00
jean-pierre charras
9ab7cfea0c
* Pcbnew: in fill zones calculations, make polygons strictly simple before fracturing them.
2016-11-06 19:51:09 +01:00
jean-pierre charras
941eeee4d1
Fixes: lp:1638499 (footprint editor, footprint transform: incorrect mirror for pads (noticeable only for pads with offset)
...
https://bugs.launchpad.net/kicad/+bug/1638499
2016-11-02 12:55:19 +01:00
Wayne Stambaugh
192d4b87ad
Rework footprint library table for use in symbol library table.
...
Factor out ROW object from FP_LIB_TABLE so it can be reused to create a
symbol library table row object.
Create base LIB_TABLE_ROW object from ROW object common code.
Derived FP_LIB_TABLE_ROW object from LIB_TABLE_ROW to provide support for
footprint library table rows.
Update all instances of FP_LIB_TABLE::ROW with FP_LIB_TABLE_ROW.
Purge wxT() macros from modified files where possible.
2016-10-28 09:12:28 -04:00
jean-pierre charras
89f9b7df5c
Pcbnew: when update PCB from schematic, spread footprints also in legacy mode. Remove also one useless undo command level after update.
2016-10-25 15:34:59 +02:00
jean-pierre charras
4ee344e150
Gerber files: Enable net attributes options in plot Gerber dlg and fix net attribute for "no net" tracks and vias (netcode <= 0).
2016-10-23 19:43:31 +02:00
jean-pierre charras
1840c3c4c7
Eeschema/Pcbnew: Update PCB From Schematics tool: ensure the netlist is reliable: warn user if a component is not annotated before exporting the netlist to Pcbnew (like in netlist creation dialog).
2016-10-22 20:02:15 +02:00
Maciej Suminski
74b5858665
Fixed a crash when removing zones using the Global Deletion dialog
...
Fixes: lp:1635266
* https://bugs.launchpad.net/kicad/+bug/1635266
2016-10-20 17:15:50 +02:00
jean-pierre charras
ce83410c52
export_vrml.cpp: fix shadowed variable.
2016-10-20 13:20:49 +02:00
jean-pierre charras
45e67d25dd
Fixes: lp:1635018 (Per-footprint tedit timestamp updated even when footprint isn't (updated at loading time, not after edit))
...
https://bugs.launchpad.net/kicad/+bug/1635018
2016-10-20 13:20:00 +02:00
Tomasz Włostowski
4d180efa5f
router: correct handling of per-pad/per-module clearance
2016-10-19 17:54:00 +02:00
Henner Zeller
cd49ff0120
Pcbnew: prevent reversal of pad loading order when loading board.
...
When opening a board file and storing it again, the pads in all
embedded modules get reversed. This is generally not really nice
if the PCB is managed by version control as it creates churn and
could make merges hard.
2016-10-17 10:07:29 -04:00
jean-pierre charras
d167407d1a
Pcbnew: add "edit all tracks and vias" command in edit menu.
...
Previously, this command was accessible only by right clicking on a track and only in the legacy mode.
2016-10-14 21:07:39 +02:00
jean-pierre charras
038f8713ce
Pcbnew: trace length calculations:
...
fix incorrect calculation when a small segment at the end of the track was inside a pad: it was not taken in account.
Fix also the len die values not always taken in account (references to pads at end of track not always stored)
This is a partial fix of bug 1628585.
2016-10-14 10:35:08 +02:00
Maciej Suminski
4e5f11c646
Fixed a crash when a negative (although invalid) net code occurs in legacy plugin
2016-10-11 16:03:00 +02:00
Cirilo Bernardo
aa7d78494d
Fixed scaling problems in VRML export
2016-10-10 20:11:59 -04:00
Cirilo Bernardo
48ed9f080e
Add Help Menu item to open browser at kicad-pcb.org/contribute
2016-10-10 19:01:45 -04:00
Fabrizio Tappero
194bd1d617
Minor menu text consistency improvements.
2016-10-10 18:54:58 -04:00
Simon Richter
b0f9864bc4
Clean up warnings from exception handlers
...
The exception objects caught are either not referenced at all, or only in
debug builds. This avoids the warnings for the unused variables.
2016-10-10 11:08:49 -04:00
Wayne Stambaugh
f14dc8f2be
Pcbnew: fix epic footprint editor DXF import fail.
...
The unfortunate combination of using static_cast to promote board items
to module items then using the assignment operator without any thought as
to what would happen in MODULE::Add() caused the board objects to not be
added to the module. This is expected because board items cannot be in
modules. Did this ever work or did someone have a colossal brain cramp?
If it did work, who ever changed it did not test it because in debug
builds, you would have gotten and assertion on every object imported. On
release builds nothing is imported silently.
Add module object types to the DXF importer and code to choose which type
of object to import.
Remove offending static casts and assignment operator and pass the correct
object directly to the MODULE::Add() function when importing DXF in the
footprint editor.
The usual coding policy fixes.
2016-10-07 21:10:51 -04:00
Wayne Stambaugh
abf33cce68
Pcbnew: fix drill file naming issue.
...
On windows when the project path include a remote volume name (\\NAME),
the volume name does not get cleared by calling wxFileName.SetDir( "" ).
This caused the volume name to be prepended to the file name when
calling wxFileName::GetFullPath(). Use wxFileName::GetFullName()
which resolves the issue.
Fix some minor grammar errors.
Fix some minor coding policy issues.
Fixes lp:1606240
https://bugs.launchpad.net/kicad/+bug/1606240
2016-10-07 10:58:48 -04:00
Jean-Pierre Charras
e0fb7f89f4
Pcbnew: additional scripting build warning fixes.
...
Add pcbnewPYTHON_wrap.cxx to the list of files to apply -Wno-suggest-override
compiler flag to prevent compiler warnings on file that is generated by SWIG.
2016-10-06 09:06:42 -04:00
John Beard
93a843c022
Add override specifier in scripting dialog
2016-10-05 15:07:06 -04:00
John Beard
6504b7b55c
Disable -Wsuggest-override for scripting files, but not other files
...
This allows the warning to be active for code which would benefit from
it, but not spew hundreds of warnings for code over which KiCad does not
have control of the override specifiers.
2016-10-05 10:43:56 -04:00
jean-pierre charras
4505896634
A few zone outline context menu commands missing after creating a keepout area
...
( partial fix of lp:1630368 )
2016-10-05 15:12:10 +02:00
Chris Pavlina
b9abcc309f
Fix Validate hiding overloaded virtual in 3D viewer dialog
2016-09-30 22:32:24 -04:00
jean-pierre charras
67faa5e656
clean.cpp: better code.
2016-09-30 18:33:46 +02:00
jean-pierre charras
b5839893d0
Pcbnew, clean board: fix issues and add option in dialog to remove bad track segments (short circuit between 2 nets)
2016-09-30 11:11:52 +02:00
jean-pierre charras
1ebac06d2f
Pcbnew, undo redo: fix a crash in legacy mode when undo a footprint change (for instance a 45 degrees rotation)
2016-09-30 11:11:52 +02:00
Heikki Pulkkinen
ab0cf7dee1
clean.cpp little bug fix
2016-09-30 11:11:52 +02:00
jean-pierre charras
502d0a38be
Fix a missing parameter initialization (arc angle) in footprint DXF import
2016-09-30 11:11:52 +02:00
Maciej Suminski
abbd47e2f2
Remove an unused variable and a debug printf
2016-09-30 09:31:40 +02:00
Tomasz Włostowski
3257f1a863
pns: fixed inline drag grid snapping & undo-related assertion failure
...
Fixes: lp:1628697
* https://bugs.launchpad.net/kicad/+bug/1628697
2016-09-30 09:29:49 +02:00
Tomasz Włostowski
4bc4dc80b6
pns: unique_ptr for BOARD_COMMIT member
2016-09-30 09:05:58 +02:00
Chris Pavlina
2b7e6e73ec
Fix uninitialized variable in drawing_tool.cpp
2016-09-30 09:04:18 +02:00
Chris Pavlina
7454f5565f
Dismiss unused variable warning in ratsnest_data.cpp
2016-09-30 09:04:14 +02:00
Jean-Samuel Reynaud
91479bebf8
Fix for compilation error on Ubuntu 14.04 (has no effect on 16.04, and on Windows/msys2, certainly due to more recent swig and cmake versions)
2016-09-27 16:50:22 +02:00
Maciej Suminski
18695751e8
Fixed a footprint editor crash on DXF import
...
Fixes: lp:1627422
* https://bugs.launchpad.net/kicad/+bug/1627422
2016-09-27 13:36:52 +02:00
jean-pierre charras
673b094b2b
Fix a few missing override qualifiers and shadowed vars.
2016-09-27 10:58:05 +02:00
Maciej Suminski
f2462925ec
Fixed a crash when adding/removing pads
...
Fixes: lp:1627296
* https://bugs.launchpad.net/kicad/+bug/1627296
2016-09-27 09:30:32 +02:00
Chris Pavlina
52aa4ecdf4
Unify window title formats
...
Most window titles are now of the format "Application — file [info]",
with adaptations as necessary. Version information has been removed from
titles.
2016-09-26 17:28:25 -04:00
jean-pierre charras
41735b6563
Add missing override keywords.
2016-09-26 19:58:33 +02:00
Simon Richter
ad088db6d2
Add more "override" markers.
2016-09-25 13:59:41 -04:00
Maciej Suminski
83c805e8fb
Simplified code for adding/removing items in RN_DATA
2016-09-25 19:37:51 +02:00
John Beard
6b7c2685b2
Protect against uninitialised netcodes when adding to RN_DATA
2016-09-25 19:37:51 +02:00
Cirilo Bernardo
bf4b26d73f
Remove STEP diagnostic print
...
This patch removes a stdcerr print which was accidentally left in the code.
2016-09-25 10:08:13 -04:00
jean-pierre charras
48c18604fc
Layers manager: add (in context menu) show all layers and hide all layers, and code cleanup.
2016-09-25 13:08:04 +02:00
dino
33e1a4e884
pcbnew: Added 'show all layers' and 'hide all layers' option in layers manager
2016-09-25 10:57:33 +02:00
Wayne Stambaugh
8b59350e44
Pcbnew: fix override release build error.
...
NETINFO_ITEM::Show() method was not wrapped in #ifdef DEBUG/#endif causing
an error in release builds.
2016-09-24 16:00:09 -04:00
Simon Richter
59c81976dc
Explicitly mark overriding functions.
2016-09-24 14:53:15 -04:00
Wayne Stambaugh
9490b02cb8
Pcbnew: fix board I/O plugin formatter build warnings.
...
Internally time stamps are defined as unsigned long. On some platforms,
time_t is defined as unsigned long long. Cast all time_t instances to
unsigned long to prevent the compiler from complaining.
2016-09-24 11:53:22 -04:00
Simon Wells
3a50f7367f
Modified path on osx due to GetExecutablePath() pointing to the root of the .app bundle
2016-09-23 10:24:52 -04:00
Dick Hollenbeck
374808ac5b
Cleanup SWIG's board.i, remove scrap *.{ref,orig} files, and add .pyc to .gitignore
2016-09-23 08:04:12 -04:00
Maciej Suminski
3623421912
Fixed a PNS crash after undoing the last operation while routing
2016-09-23 13:58:33 +02:00
decimad
6a9c1cb6a1
Split the undo/redo event into the two stages "pre" and "post" for convenient synchronization of dependent state.
2016-09-23 13:29:25 +02:00
Cirilo Bernardo
8ea643cefc
Fix export_vrml.cpp warnings and removes the few instances of wxT() in that file.
2016-09-23 09:55:33 +02:00
Dick Hollenbeck
b8dc6af706
fix swig warning
2016-09-22 15:42:42 -04:00
Dick Hollenbeck
45f6f8b305
Remove experimental code added during swig work.
2016-09-22 10:51:29 -04:00
Cirilo Bernardo
8b8626ceeb
Removed wxT() from kicad2step modules and made modifications to the STEP Export GUI
2016-09-22 08:37:16 -04:00
Cirilo Bernardo
ba65c39b40
Fixed error in setting Windows extension on executable file
2016-09-22 08:37:16 -04:00
Cirilo Bernardo
88cdb8bbbe
Removed dialog, instead the autosave() is always invoked for a dirty PCB
2016-09-22 08:37:16 -04:00
Cirilo Bernardo
8b259f2837
Fixed typo preventing compilation on MSWin
2016-09-22 08:37:16 -04:00
Cirilo Bernardo
fb59a7416a
Added option to remove Virtual Components from STEP assembly
2016-09-22 08:37:16 -04:00
Cirilo Bernardo
33948e572d
Added STEP Export menu item and supporting code
2016-09-22 08:37:16 -04:00
Dick Hollenbeck
29be200843
Add SWIG support for NETCLASSPTR. Reduce SWIG visibility from C++ headers.
2016-09-21 19:52:04 -04:00
Dick Hollenbeck
85ef7ee467
Remove BOARD::Add() from board.i, since it is inherited from board_item_container.i
2016-09-21 19:12:45 -04:00
Gustav Bergquist
061a7b8450
Cast TOOL_EVENT parameter type to intptr_t
2016-09-21 21:22:19 +02:00
Cirilo Bernardo
d3771d53ef
Updated VRML exporter and fixed some VRML related bugs
2016-09-21 09:31:52 -04:00
Maciej Suminski
65821328d2
Fix a crash when dragging a via attached to a locked track (PNS)
...
Fixes: lp:1625835
* https://bugs.launchpad.net/kicad/+bug/1625835
2016-09-21 14:47:14 +02:00
decimad
ee3d75f273
Add coroutine call invocation context to identify the main stack frame.
...
Run the text draw-tool on the main stack frame.
Fixes: lp:1547282
* https://bugs.launchpad.net/kicad/+bug/1547282
2016-09-21 11:56:40 +02:00
jean-pierre charras
d42fd751f9
Gerbview print: print now the Gerber filename, the number of pages to print, and a page number
2016-09-21 11:34:18 +02:00
Ian Roth
ec3109472a
Correct page numbers on pcbnew multipage print
2016-09-21 09:04:05 +02:00
Dick Hollenbeck
1edaa773d3
Fix minor SWIG issues due to git rebase issues.
2016-09-20 21:52:48 -04:00
Dick Hollenbeck
1718ac1083
More SWIG improvements.
...
SWIG support for BOARD_ITEM_CONTAINER.
Split board.i into smaller included *.i files.
Add depencies on these smaller *.i files to CMakeLists.txt
2016-09-20 21:48:44 -04:00
Chris Pavlina
c57fd7ccbf
Fix signed/unsigned comparison warning in PNS::LINE::ClipVertexRange
2016-09-20 14:26:16 -04:00
Dick Hollenbeck
d957670034
Add more HANDLE_EXCEPTIONS(), board.i refactoring.
2016-09-20 12:00:17 -04:00
Dick Hollenbeck
7311f07eaf
SWIG Improvements
...
*) Extend SWIG support deeper into the BOARD class.
*) Move swig *.i files into a directory identified for SWIG, in preparation
for a parallel universe involving Phoenix's SIP.
*) Move swig files which will be common to both eeschema and pcbnew into
common/swig.
*) Sketch out a "common" python module, and plan on dovetailing that into a
libkicad_shared.{dll,so}
*) Add common/swig/ki_exceptions.i and define a macro HANDLE_EXCEPTIONS()
which is to be applied to any function which needs C++ to python
exception translation.
*) Move the test for SWIG tool into top level CMakeLists.txt file for use
in all python modules beyond pcbnew, i.e. eeschema and common.
*) Add SWIG_MODULE_pcbnew_EXTRA_DEPS which generates a better Makefile, one
which rebuilds the swig generated *.cxx file when one of its dependencies
change.
*) Re-architect the board.i file so that it can be split into multiple *.i
files easily.
*) Make some KIWAY from python progress, in preparation for Modular KiCad
phase III.
2016-09-20 11:59:43 -04:00
Dick Hollenbeck
9ad49dc2d1
Split IO_ERROR out of richio.* and store Problem() and Where() separately
2016-09-20 11:56:18 -04:00
Maciej Suminski
4bb16afc9e
Fixed text placement tool in FP editor
...
Fixes: lp:1625304
* https://bugs.launchpad.net/kicad/+bug/1625304
2016-09-20 10:19:33 +02:00
Maciej Suminski
61e415bdb9
Deboostified ratsnest model in GAL
2016-09-19 17:25:31 +02:00
jean-pierre charras
6edee2ae1d
Prepare Plot Gerber file to include advanced aperture and net attributes.
...
This option is not yet activated because the net attributes are not yet fully fixed by Ucamco, in Gerber file format specifications.
(To activate it, see dialog_plot.cpp, line 43)
2016-09-19 13:01:36 +02:00
Maciej Suminski
7f9380af26
Update the status panel after every commit.
2016-09-19 12:08:29 +02:00
Maciej Suminski
4ffd3c8511
Fix ratsnest after running DRC
...
Fixes: lp:1624000
* https://bugs.launchpad.net/kicad/+bug/1624000
2016-09-19 12:08:29 +02:00
Simon Richter
6689c7e75e
Include header instead of full source
2016-09-16 09:29:44 +02:00
Maciej Suminski
48c3f577a9
Do not include ratsnest_viewitem.cpp in two CMakeLists.
2016-09-15 22:04:07 +02:00
Maciej Suminski
5e9b2247eb
Fixed SWIG interface
...
Now Add()/Remove() methods are provided via BOARD_ITEM_CONTAINER
interface.
2016-09-15 16:14:38 +02:00
Maciej Suminski
8590809c7a
Selection tool fix to enable selecting overlapping items
...
Fixes: lp:1499022
* https://bugs.launchpad.net/kicad/+bug/1499022
2016-09-15 13:25:08 +02:00
Tomasz Wlostowski
104a066268
Faster layer visibility switching in GAL
...
Fixes: lp:1623055
* https://bugs.launchpad.net/kicad/+bug/1623055
2016-09-14 11:58:10 +02:00
Maciej Suminski
516510774c
Fixed ratsnest for nodes surrounded with zones
2016-09-13 17:13:42 +02:00
Maciej Suminski
b00ca19f41
Deboostified ratsnest algorithm.
2016-09-13 14:58:33 +02:00
Maciej Suminski
17806b58f6
Fixed unused variable warnings
2016-09-13 10:06:49 +02:00
Maciej Suminski
03f4a89521
More descriptive method names for RN_NODE
2016-09-13 10:06:25 +02:00
Maciej Suminski
02cfab4266
Display a message when a locked component is not removed
2016-09-12 13:45:57 +02:00
Maciej Suminski
c52a9d850b
Converted netlist updater to use BOARD_COMMIT
...
Fixes: lp:1579910
* https://bugs.launchpad.net/kicad/+bug/1579910
2016-09-12 13:45:57 +02:00
Maciej Suminski
3425624510
Compile_Ratsnest() refreshes track labels
2016-09-12 13:45:57 +02:00
Maciej Suminski
3bcbe0dfbd
GAL ratsnest code cleanup
2016-09-12 13:45:57 +02:00
Maciej Suminski
0cc2c87ef8
Removed BOARD::AppendNet()
...
It is handled by BOARD::Add() now.
2016-09-12 13:45:57 +02:00
Maciej Suminski
77f74646af
Auto update ratsnest data on net change
2016-09-12 13:45:57 +02:00
Maciej Suminski
d33672cce7
Added missing break
2016-09-12 13:45:57 +02:00
Maciej Suminski
828f28ecca
Ratsnest Add()/Remove()/Update() return true on success
2016-09-12 13:45:57 +02:00
Maciej Suminski
790b6eaeb9
Fixed ratsnest updates on undo/redo
2016-09-12 13:45:57 +02:00
Maciej Suminski
694aa7ff5b
Handle pad autonumbering when the number set is empty.
2016-09-12 13:45:57 +02:00
Maciej Suminski
267f01fa69
Code formatting (BOARD_NETLIST_UPDATER)
2016-09-12 13:45:57 +02:00
Maciej Suminski
029e275aa0
Unselect modified component before replacing by the FP editor.
2016-09-12 13:45:57 +02:00
Maciej Suminski
b0b64ac964
Fixed freeze after updating a footprint using the FP editor.
2016-09-12 13:45:57 +02:00
Maciej Suminski
edf64afa3e
Fixed freezes after appending a board.
2016-09-12 13:45:57 +02:00
Maciej Suminski
65b1225231
Added CHT_DONE flag to COMMIT::Stage to skip add/remove step
2016-09-12 13:45:57 +02:00
Maciej Suminski
6701b80f77
Converted global deletion, global text size setting & module exchange to BOARD_COMMIT.
2016-09-12 13:45:57 +02:00
Maciej Suminski
91ea4242ca
Fixed freeze after adding a module
2016-09-12 13:45:57 +02:00
Maciej Suminski
303a6928ab
Changed pointEditorUpdate to editModifiedSelection.
2016-09-12 13:45:57 +02:00
Maciej Suminski
ad1111748e
Removed 'undo inhibit' in EDIT_TOOL
2016-09-12 13:45:57 +02:00
Maciej Suminski
86895822b7
BOARD_COMMIT retracts changes in reversed order
2016-09-12 13:45:57 +02:00
Maciej Suminski
5a1f52bf30
Modified tools to use BOARD_COMMIT.
2016-09-12 13:45:57 +02:00
Maciej Suminski
5c0605f6dc
Mute a few warnings
2016-09-12 11:50:06 +02:00
Maciej Suminski
32c4bec31c
Implemented BOARD_COMMIT::Revert()
2016-09-12 11:50:06 +02:00
Maciej Suminski
39d5cd2aca
Unified BOARD::Duplicate()
2016-09-12 11:50:06 +02:00
Maciej Suminski
86b906463f
Fixed an assert in 'Create array' dialog
2016-09-12 11:50:06 +02:00
Maciej Suminski
c4be379b31
Modified properties dialog to take advantage of BOARD_COMMIT class.
2016-09-12 11:50:06 +02:00
Maciej Suminski
08d15a9961
BOARD_COMMIT::Revert() marked as not tested
2016-09-12 11:50:06 +02:00
Maciej Suminski
f1b37109e3
BOARD_COMMIT code cleaning
...
Moved a few conditionals to scopes where they can be executed.
Simpler way to create ITEM_PICKERs.
2016-09-12 11:50:06 +02:00
Maciej Suminski
c7ce82a4bf
BOARD_COMMIT creates only one copy of a modified module
2016-09-12 11:50:06 +02:00
Maciej Suminski
992ca6e7c7
Fixed removal function in BOARD_COMMIT.
2016-09-12 11:50:06 +02:00
Maciej Suminski
2ab7196035
Reenabled and corrected BOARD_COMMIT::Revert().
2016-09-12 11:50:06 +02:00
Maciej Suminski
497fb31ae0
BOARD_COMMIT can be constructed using a PCB_BASE_FRAME*.
2016-09-12 11:50:06 +02:00
Maciej Suminski
b25c407576
Rebuild the old ratsnest model only if GAL is inactive.
2016-09-12 11:50:06 +02:00
Maciej Suminski
b815ea7865
Removed remaining m_editModules flags.
2016-09-12 11:50:06 +02:00
Maciej Suminski
9861b35707
EDIT_TOOL::hoverSelection() works with current selection.
2016-09-12 11:50:06 +02:00
Maciej Suminski
b661993427
Removed SELECTION_TOOL::EditModules()
...
as there is already PCB_TOOL::SetEditModules() and
SELECTION_TOOL::m_editModules shadows PCB_TOOL::m_editModules.
2016-09-12 11:50:06 +02:00
Tomasz Wlostowski
a5b7a7ca0a
Changed DuplicateAndAddItem() to parametrized Duplicate().
2016-09-12 11:50:06 +02:00
Tomasz Wlostowski
1924507001
Added a PCB_TOOL subclass.
2016-09-12 11:50:06 +02:00
Tomasz Wlostowski
9588a7974c
Added classes COMMIT & BOARD_COMMIT.
2016-09-12 11:50:06 +02:00
Maciej Suminski
ff6bdeee4b
Removed a number 'if(m_editModules)' sections from pcbnew tools.
2016-09-12 11:50:06 +02:00
Maciej Suminski
c78faec247
SetLastEditTime() upon creating UR_CHANGED entry in undo buffer.
2016-09-12 11:50:06 +02:00
Maciej Suminski
0bf553b06c
Recompute local coordinates when an object is added to MODULE.
2016-09-12 11:50:06 +02:00
Maciej Suminski
a5d32bbd63
Moved method descriptions from .cpp to .h.
2016-09-12 11:50:06 +02:00
Maciej Suminski
1dd43d1d98
Unified undo buffer handling code for PCB & module editor.
...
Replaced UR_MODEDIT with UR_CHANGED.
2016-09-12 11:50:06 +02:00
Maciej Suminski
b0a191ce3d
Refactored TestForExistingItem()
2016-09-12 11:50:06 +02:00
Maciej Suminski
b897c5f290
BOARD_ITEM_CONTAINER class.
2016-09-12 11:50:06 +02:00
Maciej Suminski
09e0311d4e
Replaced Copy() method with operator=. Removed Copy() where default copy ctor was enough.
2016-09-12 11:50:06 +02:00
Maciej Suminski
2c08ff1d59
Switched to default copy ctor and/or operator= for BOARD, BOARD_CONNECTED_ITEM, DRAWSEGMENT & EDGE_MODULE.
2016-09-12 11:50:06 +02:00
Maciej Suminski
ec4531948f
Move all SetParent() calls to a single location in BOARD::Add().
2016-09-12 11:50:06 +02:00
Ian Roth
7ad2f37391
Add %L formatter to worksheets to print layer name.
2016-09-10 14:23:59 -04:00
Dick Hollenbeck
2adfb09d0e
Pcbnew: display unconnected net count in DRC dialog.
2016-09-08 14:17:37 -04:00
Tomasz Włostowski
0b8ab2f73d
router: fixed incorrect clearance computation in highlight collisions mode.
...
Fixes: lp:1621186
https://bugs.launchpad.net/kicad/+bug/1621186
2016-09-08 10:30:02 -04:00
Tomasz Wlostowski
03d372a0ec
Fixed an assertion triggered upon line simplification (PNS).
2016-09-06 16:40:40 +02:00
Maciej Suminski
f1e2a2c4c1
Corrected debug information display call. Removed an unused variable.
2016-09-06 16:27:35 +02:00
decimad
94aaa47583
Add Remove overloads for specific item types, split removal into index-handling and lifetime-handling (not 100% correct yet, since the index is defactor lifetime-owner, it will be later.)
2016-09-06 16:06:06 +02:00
decimad
94fae5d6a1
fix eager dynamic allocation in PNS::NODE::addLine
...
move implementation into PNS::NODE::Add since lines will never be part of the index itself
2016-09-06 16:06:06 +02:00
decimad
96a3145543
use unique_ptr at client <-> pns-router border, to document the pns router is taking ownership
...
add overloads for NODE::Add( ... ) taking pointers to specific item types (retain old private add-Functions, they will come in handy later)
LINE overloads now take by reference, to document their special treatment.
updated code throughout affected by these changes
2016-09-06 16:06:06 +02:00
decimad
2aef1a4568
use unique_ptr to document ownership (PNS::LINE_PLACER)
2016-09-06 16:06:06 +02:00
decimad
4770be0920
Make the segment-ref container a true member of PNS::LINE
...
improve const correctness
return segment container by ref
change client code accordingly
2016-09-06 16:06:06 +02:00
decimad
2faca77adf
use unique_ptr to document ownership (PNS::ROUTER)
2016-09-06 16:06:06 +02:00
decimad
6c749e0ba8
Remove PNS_ prefix from most types inside namespace PNS
2016-09-06 16:06:06 +02:00
decimad
4cf44d9725
Rename pns item kind constants in preparation for renaming pns classes
2016-09-06 16:06:06 +02:00
decimad
de6281e977
Move PNS router code into namespace PNS
...
update copyright messages
2016-09-06 16:06:06 +02:00
Wayne Stambaugh
cbcb3b896b
Fix incorrect string translation macros.
...
* Replace _T() with _() for translatable strings.
* Don't translate debug messages.
* Don't translate copyright symbol.
2016-09-03 12:10:49 -04:00
Wayne Stambaugh
9287b42648
Revert commit 67230ac8e7
.
2016-08-30 09:04:25 -04:00
jp-charras
69e4231303
Sch editor and Simulator: close the simulator frame when the schematic editor is closed, to avoid crash, due to the fact the simulator can try to access to a no more existing frame..
2016-08-29 19:47:08 +02:00
jp-charras
440f8c8b69
Fix an issue in DRC min via drill value, created in git commit 3a92db4312
2016-08-28 21:26:51 +02:00
Niki Guldbrand
67230ac8e7
Keep Source tree clean
...
* Move all generated files to the build tree during build so the source
tree is kept clean.
Signed-off-by: Niki Guldbrand <niki.guldbrand@gmail.com>
2016-08-26 17:25:12 -04:00
jp-charras
36ff4b5e93
Merge branch 'master' of git+ssh://git.launchpad.net/kicad
2016-08-25 09:37:20 +02:00
jp-charras
9d5300b284
Fix: Pcbnew net class editor is chopping off net class names
...
Fixes: lp:1616599
* https://bugs.launchpad.net/kicad/+bug/1616599
2016-08-25 09:35:35 +02:00
Maciej Suminski
ca499b80e1
Fixed wxLogTrace() calls in PNS
...
Fixes: lp:1616702
* https://bugs.launchpad.net/kicad/+bug/1616702
2016-08-25 09:24:55 +02:00
Simon Richter
91e953868a
DRC: Test all segments
...
The DRC also runs per-segment tests, not just segment-segment, so the last
segment needs to be tested as well, with an empty list of segments to test
against.
2016-08-24 22:17:39 -04:00
Simon Richter
3a92db4312
DRC: Add test for via drill size
...
This test is only run when the via size itself is acceptable, to avoid
bigger changes to the codebase.
2016-08-24 22:17:21 -04:00
Simon Richter
260b0f6b5f
Via properties: apply microvia settings to microvias
2016-08-24 22:16:21 -04:00
Jon Neal
532a5fb827
Small grammar fix
2016-08-24 16:18:04 -04:00
jp-charras
fdd434244c
dialog footprint properties: better tool-tips
2016-08-24 18:20:20 +02:00
jp-charras
d0fbd32bee
dialog edit footprint properties: Generate an error message if a parameter is incorrect.
...
(previously when happens, no message but the dialog cannot be closed)
2016-08-24 17:18:51 +02:00
jean-pierre charras
9f46d83175
Gerbview: locate item now does not take in account not visible layers. Remove an unused file
...
3d viewer: Remove a few ToUTF8() bad usage (replaced by GetData() )
2016-08-19 09:45:59 +02:00
Maciej Suminski
78050c05e2
Changed PNS logging routine to wxLogTrace
2016-08-17 16:00:21 +02:00
Maciej Suminski
9f0b42cb35
pns: fixed a few memleaks & conditional jumps depending on uninitalized variables
2016-08-17 15:09:48 +02:00
Chris Pavlina
910cafe72e
FUTURE_FORMAT_ERROR: don't nest errors unnecessarily
2016-08-16 22:02:05 -04:00
Simon Richter
bfb6e0bbb2
Convert remaining occurences of stri[n]cmp to str[n]casecmp.
...
This also reverses the substitution logic if strcasecmp is missing (config.h.cmake)
2016-08-16 10:27:09 +02:00
jean-pierre charras
01d3c72dda
Cosmetic enhancement: add a dismiss icon to clarification menu "title" (the "title" is also the close menu command)
2016-08-15 20:22:54 +02:00
Maciej Suminski
293849256e
Corrected the kicad_pcb file format revision to the new standard
2016-08-15 17:55:36 +02:00
Maciej Suminski
7e94e5282a
Changed PNS debug output to use wxLogTrace
2016-08-15 17:16:54 +02:00
Maciej Suminski
0ef866ee74
Code formatting
2016-08-15 17:16:53 +02:00
Tomasz Wlostowski
f0adbd757c
router: added missing files
2016-08-15 17:16:51 +02:00
Tomasz Wlostowski
a53ea81794
P&S: factor out Kicad-dependend PNS_ROUTER::SnapToItem() to the PNS_TOOL_BASE class
2016-08-15 17:16:51 +02:00
Tomasz Wlostowski
4d134e5522
fix direction-depending DP tuning glitch
2016-08-15 17:16:51 +02:00
Tomasz Wlostowski
b52eb441a1
router: fix compilation warnings
2016-08-15 17:16:50 +02:00
Tomasz Wlostowski
456c02c800
router: multiple fixes - fixed crash when trying to drag a locked via - prompt when the user attempts to drag a locked via/segment - removed remains of PICKED_ITEMS_LIST from the PNS_ROUTER class
2016-08-15 17:16:50 +02:00
Tomasz Wlostowski
2f3950e991
added missing boost headers
2016-08-15 17:16:50 +02:00
Tomasz Wlostowski
e5524832a9
pcbnew: added diff pair gap & width to Design Rules dialog & PCB file format.
2016-08-15 17:16:49 +02:00
Tomasz Wlostowski
bcf7990bf9
P&S: support for 45-degree style length tuning meanders
2016-08-15 17:16:49 +02:00
Tomasz Wlostowski
a2ac1cd087
P&S: cleaner placement of DP segments/vias. Speed improvements too.
2016-08-15 17:16:49 +02:00
Tomasz Wlostowski
4cbb0aebfd
P&S: support for custom visitor objects in PNS_NODE::QueryColliding()
2016-08-15 17:16:49 +02:00
Tomasz Wlostowski
2b32b6f72e
P&S: support for trace & via locking
2016-08-15 17:16:48 +02:00
Christian Gagneraud
7e0caf7abe
[pns] Make the placer algo draw debugging stuff by relying on a new PNS_DEBUG_DECORATOR, this removes a reversed dependency b/w PNS_ROUTER and PNS_ALGO Tom: some rework of the patch
2016-08-15 17:16:48 +02:00
Christian Gagneraud
e9a2cb0642
[pns] Remove unnecessary includes of KiCad colors.h
2016-08-15 17:16:48 +02:00
Tomasz Wlostowski
0700178d07
P&S: enable delete & backspace shortcuts while router is active
2016-08-15 17:16:47 +02:00
Tomasz Wlostowski
9c8bdcc894
P&S refactor: removed most of Kicad-dependent code from PNS internal classes
2016-08-15 17:16:47 +02:00
Tomasz Wlostowski
df50a10510
VIEW: replace boost with std
2016-08-15 17:16:45 +02:00
Maciej Suminski
02c404ab10
Removed unnecessary *.orig files for dialogs
2016-08-12 15:58:36 +02:00
Wayne Stambaugh
a4570f74bb
Pcbnew: fix several auto save file issues.
...
* When Pcbnew is launched in the stand alone mode with no board file command
line option, the project path is set to the current working directory. The
user may not have write access to the current working directory which would
cause the auto save to generate an error. If the user does not have write
access to the current working directory, set the path to a platform specific
temporary path that the user has write permission.
* When Pcbnew is launched in the stand alone mode with no board file command
line option, the default BOARD object has no file name. Set the file name
to "noname.kicad_pcb" to fix incorrect auto save file name and set the path
to the user's platform specific document folder.
* Delete orphaned auto save files when closing without saving due to broken
auto save file generation logic which prepended the file name with "$" rather
than "_autosave-".
* Fixes: lp:1596382
2016-08-11 15:13:47 -04:00
Maciej Suminski
0aad86435f
Adjust iterator after erasing an element
2016-08-10 12:17:56 +02:00
jean-pierre charras
7bc8cb56e0
Fix bug: Impossible to rescale 3D models
2016-08-05 21:30:23 +02:00
Michael Steinberg
86496d3141
Pcbnew: fix dangling board reference crash in GAL. (fixes lp:1584489)
2016-08-05 13:45:14 -04:00
Cirilo Bernardo
8fdd6b1627
Fix 3D model file name parsing bug. (fixes lp:1609122)
2016-08-03 13:39:39 -04:00
decimad
8dcf040a4e
Fix segfault on BOARDs without tracks
2016-08-03 10:20:52 +02:00
Thomas Pointhuber
e6129ca684
remove F.SilkS from default Through-hole and NPTH pads
2016-08-01 18:52:54 -04:00
jean-pierre charras
84cfef1de9
Minor change for drill files names: when separate PTH and NPTH drill files are generated, PTH drill file has its name finishing by "-PTH" (similar to the NPTH drill file name)
2016-08-01 16:29:15 +02:00
jean-pierre charras
e15ad9350f
Fix issue from rev 6994 "Run DRC" from plot dialog crashes on Linux.
2016-07-28 14:07:35 +02:00
jean-pierre charras
62bf20271b
Pcbnew, dialog plot: add a button (Run DRC) to run the DRC from the plot dialog.
2016-07-27 14:53:45 +02:00
jean-pierre charras
03e5208c5b
Fix: footprint libraries wizard fails with personal GitHub accounts (now uses https://api.github.com/users/xxx instead of https://api.github.com/orgs/xxx to retrieve the list of .pretty footprint libraries)
2016-07-20 10:24:24 +02:00
Dick Hollenbeck
7434e68876
Pcbnew: improved track scripting support.
2016-07-19 16:34:09 -04:00
jean-pierre charras
e10242a0a9
Minor changes in dialogs: use wxWidgets default event handlers for wxID_CANCEL and wxID_OK buttons
2016-07-19 19:44:28 +02:00
Mrio Luzeiro
d8eab321f7
3D Viewer: complete refactor of the 3D viewer.
...
* Split and rewrite the preview window and canvas.
* Create a new class for handling the board information.
* Adds new render targets: openGL, legacy, and ray tracing.
* Render targets take full advantage of the new 3D plugins system and 3D cache
for a fast 3D model loading.
* Faster board loading.
* New OpenGL render is faster than the old one.
* New ray tracing render target with a post processing shader.
* Use of new 3D plugins (WRL, X3D, STEP and IGES) and 3D model caching.
* Preview of 3D model while browsing the file name.
* 3D preview of the footprint while adding / align 3D shapes.
* Render of 3D models according to attributes: Normal, Normal+Insert, Virtual.
* Pivot rotation centered in one point over the PCB board.
* Shortcuts keys improved for XYZ orientation..
* Animated camera.
2016-07-19 13:35:25 -04:00
jean-pierre charras
fd42d76e2f
refinements in dialogs and OSX Cancel button fix. Dialog_pad_properties, pad viewer in GAL mode: better size of the drawing area. The scrollbars are now usable.
2016-07-19 11:16:16 +02:00
Dick Hollenbeck
e24990146d
Pcbnew: major swig fix.
...
* Switched hashtables.h over to std::undordered_map from boost version.
* Added new macros DECL_VEC_FOR_SWIG() and DECL_MAP_FOR_SWIG() in macros.h.
These along with future DECL_HASH_FOR_SWIG() unify the declaration to swig
and C++ so that the resultant type name is common in both languages, and
the types AGREE.
* Fixed swigging of NETINFO_ITEM and NETINFO_LIST via magic.
* Newly exposed (python wrapped) are: D_PADS, TRACKS (was TRACK_PTRS),
NETNAME_MAP, NETCODE_MAP, wxString (without constructor purposely, read
comment in wx.i), MARKERS, ZONE_CONTAINERS, NETCLASSPTR, KICAD_T types.
* std::vector<SOMETHING*> tends to end up named SOMETHINGS in C++ and python.
Having the name consistent between like types is helpful, and between
languages. std::map<> ends up as SOMETHING_MAP.
* NETINFO_LIST::m_netNames and NETINFO_LIST::m_netCodes are now std::map
instead of hashtables, because swig does not yet support std::unordered_map.
* You can now get to any netclass or net info. NETNAMES_MAP and NETCODES_MAP
are traversable basically the same as a python dictionary using a python
string (not wsString) as the key! The wxString typemap converts python
string to wxString before the lookup happens. Iteration also works.
2016-07-18 13:23:09 -04:00
jean-pierre charras
01100a57e5
refinements in dialogs and OSX Cancel button fix
2016-07-18 18:28:02 +02:00
jean-pierre charras
defac5272b
refinemenst in dialogs and OSX Cancel button fix
2016-07-18 17:54:41 +02:00
jean-pierre charras
f83a76a970
Eeschema: dialogs: incorrect sizes fixes and osx copy text fix
2016-07-18 09:04:13 +02:00
jean-pierre charras
d84f793fea
more about dlg sizes and osx fixes
2016-07-15 12:05:13 +02:00
jean-pierre charras
ee40137de7
more about dlg size fixes and osx fixes
2016-07-14 19:30:25 +02:00
jean-pierre charras
98bc4d3ba1
Fix dialog size issues (some widgets have a incorrect size when initialized inside a TransferToWindow() method because the SetSizeHints() method was called before the init) and fix OS X copy/close bug in a few dialogs.
2016-07-14 16:25:35 +02:00
jean-pierre charras
1d1453edbe
zone_filling_algorithm.cpp: fix missing closing parenthesis. Remove useless compare function.
2016-07-14 10:22:23 +02:00
jean-pierre charras
b7955001c1
zone_filling_algorithm.cpp: a small code cleanup, fix incorrect return type in a few methods, and add better comments.
2016-07-14 09:27:32 +02:00
Dick Hollenbeck
c2b8a4ee43
Move from class INSPECTOR as the EDA_ITEM::Visit() callback interface to a std::function
...
callback. This improves conciseness and encourages use of Visit() due to the lower cost
of entry in C++.
2016-07-12 15:05:54 -04:00
jean-pierre charras
34469c1d9c
Pcbnew, legacy mode: used spread_footprints to place new footprints after reading a netlist, like in GAL mode.
...
However they are put inside the "best" area, and not put inside a moving block, like in GAL, due to limitations of legacy mode.
2016-07-11 09:48:51 +02:00
Jon Neal
1293d04a7a
Fix a bunch of misspellings of length.
2016-07-10 23:09:18 -04:00
Wayne Stambaugh
4ed346ea64
Eeschema: initial schematic I/O plugin.
...
* Factor out PROPERTIES object from the PCB plugin code and move it into
common so it can be used by both the Pcbnew and Eeschema plugins.
* Add schematic I/O plugin manager for loading and saving schematic and
component library files.
* Add initial attempt at a parser for current schematic file format. This
parser will be infinitely more strict than the current parser which is very
forgiving in what it parses.
* Make minor changes to the base bitmap class to support the new parser.
* Add find root sheet support to sheet object to allow fetching the root
sheet from any sheet in the stack.
2016-07-06 05:22:56 -04:00
jean-pierre charras
05f849a746
Pcbnew: fix potential issue (crash) when loading board files with a missing net section (like created by Gerbview) due to an initialization made to late.
2016-07-05 17:01:41 +02:00
jean-pierre charras
e7bbe27e36
Fix double call of TransfertDataToWindows in 4 dialogs (fix a bug I created in rev 6962). Make change working on KDE.
2016-07-04 18:22:18 +02:00
jean-pierre charras
e6e77de4fa
Fix double call of TransfertDataToWindows in 4 dialogs. make change working on KDE.
2016-07-04 17:47:48 +02:00
jean-pierre charras
ed7c57f19f
Fix double call of TransfertDataToWindows in dialog_print_for_modedit.cpp
2016-07-04 17:19:59 +02:00
jean-pierre charras
474e0936cb
Fix double call of TransfertDataToWindows in 3 dialogs.
2016-07-04 17:17:09 +02:00
jean-pierre charras
4a20f376a3
Move call of SetSizeHints in a few dialogs form the dlg ctor to a wxInitDialogEvent event, because some widgets sizes are not fully initialized before this event is fired.
...
It is especially true in some Window Managers like KDE, but can be true in any WM, when initializations are made by TransferDataToWindow() method, called by the default wxInitDialogEvent handler.
2016-07-02 18:32:03 +02:00
jean-pierre charras
1ab1dca46c
Try to fix initial widgets size calculations on KDE, when using notebooks in dialogs
2016-07-02 16:13:10 +02:00
jean-pierre charras
1fbb84fd98
Move call of SetSizeHints in dialogs in a wxInitDialogEvent event, because some widgets sizes are not fully initialized before this event.
...
It is especially true in some Window Managers like KDE, but can be true in any WM, when initializations are mage by TransferDataToWindow() method.
2016-07-02 14:44:36 +02:00
jean-pierre charras
0eea3cffcf
DIALOG_SHIM: add void FinishDialogSettings() method which calls the usual methods at end of a dialog, to ensure proper size and position, the first time the dialog is called.
...
Fix an incorrect size of dialog_pcb_text_properties (due to the fact the dialog was not really initialized when its min size was calculated)
2016-07-02 11:35:52 +02:00
Simon Richter
1b2fd6a382
Replace BOOST_FOREACH with C++11 range based for.
2016-06-29 16:07:55 -04:00
Simon Richter
da5699de0a
Replace boost::shared_ptr with std::shared_ptr.
2016-06-29 11:09:55 -04:00
Dick Hollenbeck
5fa8aa3660
Increase cache validity period in nginx.conf
...
This revised nginx.conf holds the cache for one week, truly. For some reason there are
two tuning knobs required to make one adjustment (cache duration). Without this fix the
cache was only held for 10 minutes. The most important change is the "inactive=1w" which
as I implied, is the *second* reference to one week. Sorry for this oversight.
Nginx can be run on something as simple as a raspberry PI. I run it on a network file
server attached to my desktop via copper ethernet. By caching the footprint libraries
from github, I can load all github libraries in about 2.5 seconds, making github the
fastest plugin of any kind.
2016-06-29 12:25:28 +02:00
Michael Steinberg
fde12ebd25
Replace boost::function and boost::bind with their std:: counterparts
2016-06-29 12:23:11 +02:00
jean-pierre charras
83504c2b29
Pcbnew: Rework on print dialogs.
2016-06-19 20:29:13 +02:00
jean-pierre charras
68f0503586
Fix Pcbnew bug: print dialog: layers not listed in dialog (Linux specific)
2016-06-18 17:47:05 +02:00
jean-pierre charras
0862ac28d0
Dialog DRC: fix a minor bug created in rev 6936: the report file was always created, regardless the option selected in the check box.
...
Enhancement: the browse file dialog nows open the project folder by default.
2016-06-17 08:24:54 +02:00
jean-pierre charras
3f2b15711c
Fix bug: DRC report to File crashes Pcbnew, if the file cannot be created (for instance if the CWD is not writable, or if the path does not exist)
...
Fix also an other issue: if the file path is not entered, the file is now created in the current project directory.
2016-06-15 19:00:30 +02:00
jean-pierre charras
7abf006c80
Very minor fix: fix shadowed local vars.
2016-06-15 10:27:24 +02:00
Maciej Suminski
7ff3dd0807
Make sure GL canvas is visible upon destruction in Module properties dialogs.
2016-06-14 12:08:35 +02:00
jean-pierre charras
688fb5caaa
Minor enhancements in dlg_3d_pathconfig (better look, but not perfect). Also fix an issue: the minimal dialog size was not always calculated.
2016-06-13 12:41:27 +02:00
Chris Pavlina
5285962775
Remove option to not show footprint ratsnest when moving
...
This option only exists in legacy, with no real plan to port it to GAL. Nobody
seems to use this; there isn't really much of a point to it. Bye!
2016-06-11 22:34:07 -04:00
Chris Pavlina
81144c2476
Move hotkey list from Preferences menu to Help menu
2016-06-11 21:22:13 -04:00
Chris Pavlina
9eef653625
Remove legacy option to zoom to selection on middle mouse button
...
This feature was not reliably available: neither pl_editor nor GAL supported
it. It has been replaced over the past few commits with a new zoom-to-selection
tool available in all applications and modes.
2016-06-11 19:37:43 -04:00
Wayne Stambaugh
588d4c33a0
Set minumum SWIG version to 3.0 for C++11 support.
2016-06-10 14:08:35 -04:00
Cirilo Bernardo
e0a7f0041a
Better 3D filename resolution
2016-06-09 07:48:49 +02:00
Chris Pavlina
8c01318141
Add zoom-to-selection tool
2016-06-08 07:19:53 -04:00
jean-pierre charras
37deba60c3
Fix shadowed vars (in microstrip.cpp) and deprecated compil warnings.
2016-06-08 09:28:19 +02:00
Simon Richter
080d7f1024
Add missing dependency github_plugin -> pcbcommon.
2016-06-07 21:38:58 -04:00
jean-pierre charras
11c369ee1b
Fix minor compil warnings (deprecated warnings and shadowed local vars warnings)
2016-06-07 17:33:12 +02:00
Maciej Suminski
cef45c0297
Hide all related layers when footprint rendering is disabled.
2016-06-07 15:07:47 +02:00
Maciej Suminski
553899b79b
PNS: Do not create an undo buffer entry when there is nothing to save.
2016-06-07 14:42:42 +02:00
Maciej Suminski
71aade6b51
Fixed a few warnings (mostly gcc6 -Wmisleading-indent).
2016-06-07 14:42:42 +02:00
jean-pierre charras
f4525875f1
Pcbnew: fix bug : footprint editor: shape offset was ignored when placing new pads. Was also ignored in global pad change in fp editor and board editor.
2016-06-07 10:02:19 +02:00
Chris Pavlina
d682e4d7fa
Change default via dimensions to 0.8/0.4
2016-06-06 20:23:58 -04:00
jean-pierre charras
f311230874
Gerbview: when running gerbview from a command line, if a filename is given, and if it is a .drl file, it is loaded as drill file (instead of a gerber file, which generate an error message).
...
Code refactor: remove useless class members, and move read gerber file and read excellon file from gerbview frame to the corresponding classes
2016-06-05 14:26:39 +02:00
jean-pierre charras
6d1e904334
Code cleanup: Remove outdated decimils to/from iu defines and conversion functions (decimils are no more in use since a long time).
...
Remove convert_from_iu.h file, only used for one define, and containing brokenand duplicate defines. Only convert_to_biu.h is now used.
2016-06-05 13:49:25 +02:00
Maciej Suminski
01f32dd52c
GL_CONTEXT_MANAGER class to avoid unexpected GL context switches.
2016-06-03 15:46:12 +02:00
jean-pierre charras
185dc2bbdf
fix an incorrect filename (incorrect case) which created compil issue on Linux.
2016-06-03 08:49:55 +02:00
jean-pierre charras
93e61e7a2e
Minors fixes: dialog_print_using_printer.cpp: fix a Coverity warning and very minor coding style issue. xsl scripts: add bom2grouped_csv.xsl (from a contributor) and fix minor issues.
2016-06-03 08:32:24 +02:00
jean-pierre charras
dc4882c4bd
Pcbnew: Fix incorrect order of linked files, which can create issues (not defined symbols) at link stage.
2016-06-01 18:40:18 +02:00
jean-pierre charras
a4658ab6be
Fix a few compil warnings (not used vars, shadowed local vars)
2016-06-01 14:22:05 +02:00
jean-pierre charras
96e55de90d
Code cleanup: remove dead code (some removed methods were broken), and update or add comments.
2016-06-01 11:31:40 +02:00
jean-pierre charras
e2cc78b2b5
Code cleanup: remove dead code (some removed methods were broken), and update or add comments.
2016-06-01 11:28:07 +02:00
Simon Wells
4b5a4c0d36
Display correct page count in print dialog
2016-05-30 11:44:49 -04:00
Simon Wells
457b021101
Fix bug: printed duplicate pages when Single Page selected
...
https://bugs.launchpad.net/kicad/+bug/1523065
2016-05-30 11:25:40 -04:00
jean-pierre charras
1ae9175671
A few minor fixes for compil warnings (shadowed variables and deprecated auto_ptr)
2016-05-29 17:02:34 +02:00
jean-pierre charras
ca0113ab65
Fix my previous commit: I committed the wrong file
2016-05-28 21:51:35 +02:00
Simon Richter
5b3d1d72e8
Open namespace around definitions
...
While defining functions in another namespace is technically allowed as
long as the definition can be matched to a declaration, this can lead to
ambiguous resolutions, such as here (GAL vs KIGFX).
2016-05-28 12:57:19 -04:00
Simon Richter
96ec9db5d6
Add missing C++ stdlib headers
...
The GCC standard library headers often include other headers, which makes
some code compile that forgets to include several headers.
2016-05-28 12:46:29 -04:00
jean-pierre charras
e795dafc4b
Fix non optimal position of net name and pad name for pads with shape offset: the texts are now (like in legacy canvas) centered to the pad shape, not the pad position.
2016-05-28 12:53:29 +02:00
jean-pierre charras
dbb78db7ef
Gerbview: Shows now in the Layer manager the filename of gerber or drill files loaded.
...
A fex minor compil warnng fixes
2016-05-23 17:47:16 +02:00
Maciej Suminski
a30c8d7848
Coverity fixes.
2016-05-11 11:18:27 +02:00
jean-pierre charras
bbe42d0f47
Fix very minor issues: compil warnings (mainly deprecated and shadowed vars warnings).
2016-05-22 19:39:20 +02:00
Alexander Lunev
42c47c7970
pcad2kicadpcb: fixed an issue with an uppercase fileUnits parameter.
2016-05-22 11:01:19 +02:00
jean-pierre charras
e2d4118470
Eechema, Component editor: Fix a bug in Pin properties dialog: a parameter used to draw the pin in preview canvas was incorrect, due to code change in draw pin.
2016-05-19 18:38:36 +02:00
Chris Pavlina
0f407a756c
Pull existing settings into Doxygen module
2016-05-12 15:45:47 -04:00
Chris Pavlina
84d3fbfd68
Remove MaxUndoItems, make devel option DevelMaxUndoItems
...
Begin documenting configuration keys in Doxygen
2016-05-12 12:51:32 -04:00
Chris Pavlina
e782e463f4
Remove redundant NULL check
...
Coverity CID: 134088
2016-05-11 23:28:03 -04:00
jean-pierre charras
0bd287b6d9
Pcbnew: Fix a very minor bug ( The "Move exactly..." sometimes truncates the saved parameter floating point values during a session)
2016-05-11 12:16:07 +02:00
jean-pierre charras
e978a17ccd
Fix minor bug in Modedit: Adding a new rounded rect pad to a footprint doesn't clone rectangle rounding
2016-05-11 10:54:44 +02:00
jean-pierre charras
6a7544a2ca
Fix a few deprecated compil warnings in dialogs generated by wxformbuilder
2016-05-11 10:51:07 +02:00
Chris Pavlina
540275fe44
OS X: Disable full-screen cursor
...
This feature cannot work reliably for reasons explained in lp:1463505. Remove
the option on OS X builds and force cursor to the small one.
https://bugs.launchpad.net/kicad/+bug/1463505
> Bernhard Stegmaier (stegmaier) wrote on 2016-01-14:
>
> As far as I see from the code this is no bug but done on intention.
>
> The reason probably is that on OSX in the legacy canvas you don't have the
> XOR-drawing as on other platforms. To the best of my knowledge, this would
> mean that on every mouse move you would have to repaint the whole window just
> to get rid of the "old" cross.
>
> So, I would say this is a clear "won't fix".
> We could think of just removing/disabling the button in the legacy canvas.
2016-05-10 23:33:24 -04:00
Chris Pavlina
7b5ab741bb
Fix null dereference for certain bad PCB files
...
Coverity: CID 147344 Unchecked dynamic_cast
If a file that parses validly in Parse() but does not return a BOARD is loaded,
no exception will be thrown but the dynamic_cast will return NULL. This NULL
is tested by wxASSERT(), which does not actually halt anything (especially in
release builds), and then we proceed to board->SetFileName().
This can be demonstrated quickly by renaming a .kicad_mod to .kicad_pcb and
trying to load it. pcbnew will crash.
2016-05-10 22:36:39 -04:00
Chris Pavlina
445db7da58
Fix uninitialized fields
...
Coverity: CIDs 102698, 147347, 147349, 147350
2016-05-10 22:36:23 -04:00
Chris Pavlina
5044fc5799
Fix build error on some platforms from r6788
...
r6788 = git f9386fc
2016-05-10 18:57:10 -04:00
Chris Pavlina
ba17a54c08
Remove "Dump zone geometry to files when filling"
...
The code to perform the dump has not been removed, but the GUI option and
global flag (ugh) have been.
2016-05-10 17:37:51 -04:00
Chris Pavlina
e9a9a269b4
pcbnew legacy: remove option to hide via drill
...
Via drills are now shown in all cases, matching GAL behavior, and the option no
longer exists in the preferences dialog.
2016-05-10 16:47:37 -04:00
Chris Pavlina
f9386fcbc0
Add support for PCB and footprint format versioning
...
Currently, kicad_pcb files have a (version ...) tag, but it is ignored. This
commit does the following:
1. Parse the version. If it's later than the last supported version, present an
alternative error message suggesting an upgrade if the file does not load
correctly. The version will be interpreted as an integer YYYYMMDD to suggest
a KiCad release date.
2. Accept a (version ...) tag also in kicad_mod files, but do not write them
yet. If no version tag is present in these files, assume the version to be that
of the current format version at the time of this commit.
This is meant to be merged to the 4.x stable series, and preps for KiCad 5
which will start emitting version tags also in footprints - users with what
will then be 'old stable' will not get a parse error when we introduce this for
footprints, and we can safely increment the format version later.
2016-05-10 15:07:35 -04:00
Maciej Suminski
35fe82739b
Commented out 'override' keyword due to problems with older swig versions (see bug lp:1579042).
2016-05-10 14:35:36 +02:00
jean-pierre charras
bfeb61abef
Fix a few shadowed local variables and deprecated warnings in dialogs (using a very recent wxformbuilder version).
2016-05-10 08:56:03 +02:00
Maciej Suminski
d9f4877c94
Fixed a crash when starting pcbnew with OpenGL GAL.
2016-05-09 17:23:01 +02:00
Maciej Suminski
ad66af66af
Highlight an item when context menu is displayed (GAL).
2016-05-09 10:41:11 +02:00
Maciej Suminski
ce8f400645
Added menu for locking tracks & vias (GAL).
2016-05-09 10:29:06 +02:00
Maciej Suminski
dd10c577ec
Added SELECTION_CONDITIONS::OnlyTypes() variant that takes KICAD_T[]4
2016-05-04 18:35:20 +02:00
Maciej Suminski
dfa963f31a
Mark locked tracks with 'L' letter in status field.
2016-05-04 16:35:12 +02:00
jean-pierre charras
63decd70e6
Minor fixes: Fix a few shadowed local variables, and deprecated warnings is a few dialogs generated by wxFormbuilder (using a very recent wxFormbuilder version, after apr 25, 2016)
2016-05-06 17:15:30 +02:00
Maciej Suminski
06637a17d6
Added 'Reset Grid Origin' hot key (GAL).
2016-05-04 14:59:14 +02:00
Maciej Suminski
b735f57fa4
Refresh pads after enumeration in Footprint Editor.
2016-05-04 14:06:10 +02:00
Maciej Suminski
f502c4cc77
Fixed stroke text initialization in PCB_PAINTER.
2016-05-04 12:18:25 +02:00
Maciej Suminski
a62d2b5412
Bigger net labels (GAL).
2016-05-03 15:15:08 +02:00
Maciej Suminski
25fa2bbbbd
Fixed net names drawing in Cairo.
2016-05-03 14:40:47 +02:00
Maciej Suminski
2f874097ae
Fixed a crash in pcbnew (GAL).
2016-05-02 16:15:26 +02:00
Maciej Suminski
ed0b95d710
Added an option change grid style. Refactored DIALOG_SET_GRID. GAL can draw grid using lines or dots now. DIALOG_SET_GRID was refactored to use Transfer{From,To}Window() methods.
2016-05-02 16:15:24 +02:00
Maciej Suminski
bacb2dd52a
Adjusted required level of details for track labels to show.
2016-05-02 16:08:51 +02:00
Maciej Suminski
fa6360a2ba
Another way to select between dark/light netname labels.
2016-05-02 16:08:50 +02:00
Maciej Suminski
bda3011519
Initial support for bitmap fonts (OpenGL GAL).
2016-05-02 16:04:45 +02:00
Maciej Suminski
795fd28742
Set Stroke/Fill settings for stroke font in its Draw() function.
2016-05-02 15:56:17 +02:00
Maciej Suminski
b143ce6b0f
Moved text settings from STROKE_FONT to GAL.
2016-05-02 15:56:12 +02:00
Matthew Petroff
db54f3e7a7
Correct multiple UI spelling errors
2016-05-02 10:01:43 -04:00
jean-pierre charras
e46f706d4b
Add Set/GetOrientationDegrees and GetOrientationRadians for texts, pads and footprints to avoid internal units to usual angle units conversion in code (and avoid mistakes).
...
It should help if (or when) the internal angle unit used in kicad will be changed from 0.1 degree (a relic of code written for PCs without fpu) to degree ( a more natural unit).
2016-05-02 12:49:14 +02:00
jean-pierre charras
8c76b92fa9
Fix a few shadowed local vars which make the code not so easy to analyze.
2016-04-29 13:10:31 +02:00
jean-pierre charras
b92ad6f5a8
Add CSV file format in pcbnew position files (and cleanup code)
2016-04-26 14:16:16 +02:00
jean-pierre charras
c1f0ab91a2
Code cleaning and coding style fix.
2016-04-23 17:44:17 +02:00
jean-pierre charras
53c031257d
Fix a few shadowed local vars, and coding style issues.
2016-04-22 12:44:08 +02:00
unknown
baa5f0ddfb
Fix typos in dialogs.
2016-04-21 09:32:29 +02:00
jean-pierre charras
d7f1400e44
Make strings only used in debug mode not translatable.
2016-04-21 09:19:08 +02:00
Wayne Stambaugh
2b6889bc7a
Pcbnew: footprint text layer visibility improvements. (fixes lp:1527994)
...
* Always hide footprint text when the layer that the text resides is disabled
in the layer manager. There is no longer a difference between the value and
reference text compared to other field text.
* The usual smattering of coding policy fixes and general code cleaning.
2016-04-20 11:28:44 -04:00
jean-pierre charras
67982a4851
stroke font: fine adjust of text horizontal position. edat_text: fix an issue in SetOrientation: the rotation angle is now constrained between -360 and +360 degrees.
...
It was previously not the case, and rotated texts outside this interval created issues in dialog_pcb_text_properties which have now validators.
2016-04-19 20:35:47 +02:00
jean-pierre charras
fde2cfee27
Minor changes: remove a few local shadowed local variables detected using " -Wshadow" gcc compil option ( No bug, just a better code readability ) and fix minor coding style issues.
2016-04-18 20:15:44 +02:00
Patrick Pereira
b846a98199
Pcbnew: improve footprint edge plot logic.
2016-04-18 11:48:39 -04:00
Wayne Stambaugh
46ff5a2580
Pcbnew: remove dead macro code.
2016-04-18 11:03:59 -04:00
Cirilo Bernardo
6120472d60
3D file name resolver improvements.
...
* Paths defined via pcbnew->Preferences->Configure Paths are now included in
the 3D file browser's drop-down list except for KICAD_PTEMPLATES, KIGITHUB,
KISYSMOD, any paths resembling a URL, and any non-existent paths. When an
absolute path is shortened using one of these path aliases, let's say
'KISYS3DMOD' then the name appears in the pcb file as "${KISYS3DMOD}/blah.wrl".
If a user defines and actual environment variable with the same name, then
that user defined variable will have precedence over the internally defined
variable.
* Paths relative to the current project directory are no longer represented
as "some/path/to/file.wrl". For compatibility with previous KiCad versions
it shall always be stored as ${KIPRJMOD}/some/path/to/file.wrl.
* Various restrictions on alias path values have been removed since the
imposed restrictions could result in corrupted user data as aliases are
silently dropped.
* Overall the patch should improve back-compatibility by providing a ${ENV_VAR}
mechanism for supporting different model root directories and ensuring that
paths relative to KIPRJMOD are expressed in a way that is compatible with
earlier KiCad versions. This allows users more flexibility and the ability
to work in a way that ensures 3D model files can be correctly resolved in
earlier versions of KiCad. Users who do not care about back-compatibility
may prefer to use the newer alias system.
2016-04-17 18:35:32 -04:00
Chris Pavlina
ff3d22dcd9
Remove DIALOG_ORIENT_FOOTPRINTS
2016-04-17 10:11:14 -04:00
jean-pierre charras
bcd345c29f
Fix issues in dialog drc: because it is not modal, DRC parameters and unit selection can be modified outside the dialog, still opened. Now, the new parameters are taken in account.
...
Fixa also a corner case which crashes Pcbnew: if the dialog is opened, and the board was changed (reloaded, cleared), pcbnew crashed because many pointers stored in dialog become invalid. Now the dialog is just closed.
2016-04-15 20:15:22 +02:00
Chris Pavlina
36b53a50e9
Fix signedness in a couple comparisons (warning suppression)
2016-04-12 19:18:42 -04:00
Chris Pavlina
48573712e8
Exterminate another 0.1deg field
2016-04-12 19:18:33 -04:00
jean-pierre charras
95962cd2ba
Very minor changes: minor coding style fixes, and remove a few local shadowed variables (mainly local variables having the same name in the same function) detected using " -Wshadow" gcc compil option ( No bug, just a better code readability )
2016-04-12 17:50:42 +02:00
Chris Pavlina
9e3fd5b762
Nuke 0.1deg units in DIALOG_GRAPHIC_ITEM_PROPERTIES
2016-04-11 10:27:32 -04:00
Chris Pavlina
4d77388216
Clean up wxValidator window association
...
wxValidator::SetWindow was used too many times due to me being a dunderhead who
can't read the docs.
2016-04-10 18:28:06 -04:00
Chris Pavlina
8325d6fdf0
Eliminate 0.1deg units in DIALOG_PAD_PROPERTIES
2016-04-10 18:14:28 -04:00
Chris Pavlina
0a6583f902
Eliminate 0.1deg units in DIALOG_MODULE_BOARD_EDITOR
2016-04-10 08:59:23 -04:00
Chris Pavlina
4fe676753a
dialog_edit_module_text: fix display bugs
...
Displayed angle should be clamped to -90..90, 0 should not be displayed as
blank text, and locale should be used for initial rendering.
2016-04-10 08:23:44 -04:00
jean-pierre charras
f294834f4d
dialog_pad_properties: Some fixes. Dialog_edit_module_text: fix an issue related to displayed texts, which were deleted and replaced by the unit symbol only, and the name of the parameter was therefore lost.
2016-04-10 12:40:31 +02:00
Chris Pavlina
3ac5fc41cc
Refactor dialog_edit_module_text and nuke the 0.1 degrees
2016-04-09 16:17:19 -04:00
Chris Pavlina
f12d87b800
Adjust spacing in dialog_edit_module_text
2016-04-09 10:32:46 -04:00
Patrick Pereira
342ba51e6d
Allow arbitrary angles for footprint field texts
2016-04-08 19:18:44 -04:00
jean-pierre charras
5e41763d83
Fix a few Coverity warnings and typo is dialogs
2016-04-07 13:09:31 +02:00
jean-pierre charras
4a838fb8c3
Pcbnew: Add rounded rect pad shape.
2016-04-06 20:15:49 +02:00
jean-pierre charras
d18cdf1c53
merge 3d_initial_merge branch
2016-04-05 19:56:01 +02:00
unknown
b8a91c7a98
Enhancements in Create array tool (bad parameters detection and disable parms when not applicable)
2016-04-02 14:52:29 +02:00
Baranovskiy Konstantin
f3ee0b8252
Pcbnew: prevent zone tool from switching to no tool when deleting zone corner.
2016-03-22 13:47:29 -04:00
jean-pierre charras
99d18faca9
Change the way main editor frames are managed by Kicad: before this change, they had the Kicad manager frame as parent frame, and it creates a few issues:
...
- When the Kicad manager is iconized, all other child frames are iconized (normal wxWidgets behavior)
- For viewer frames in modal mode, there is a more annoying issue: they have the wxFLOAT_ON_PARENT frame style on unix, and wxSTAY_ON_TOP on Windows.
wxFLOAT_ON_PARENT frame style is incorrect (although on most WM it works) because the parent frame (Kicad manager Frame) is not the caller. It is usually a main editor frame.
It does not work on Windows (wx STAY_ON_TOP is used).
* Now each editor frame has a null parent.
Therefore iconizing the Kicad manager frame does not iconize other frames.
* Viewer frames have null parent in normal mode and the caller parent in modal mode (therefore wxFLOAT_ON_PARENT frame style is always and correctly used)
* References to opened/closed main frames are no more managed by the (complicated) kicad code. Instead of, a non critical and more easy to understand code just uses FindWindowByName to know if a main window exists or not.
These changes do not fix all issues about Kicad frames brought to the foreground or the background, but it fixes a few issues, and AFAIK do not add other issues.
2016-03-21 17:36:06 +01:00
Cirilo Bernardo
44a75e6f69
Sync to main branch r6634
2016-03-21 13:38:47 +11:00
Cirilo Bernardo
a4ba01f42d
Various fixes to DXF import
...
The attached patch makes the following changes to import DXF:
1. correctly implements scaling based on DXF $INSUNITS -
at least where INSUNITS is sensible. I ignore units like miles,
gigameters, AU, lightyear, parsec ...
2. correctly implements LWPolylines, adding an ARC segment
rather than a line segment when bulge != 0. A number of users
have been complaining about getting the wrong board shape
(chamfered corners rather than rounded corners) on DXF Import,
now they shouldn't complain.
2016-03-20 21:33:53 -04:00
jean-pierre charras
6e93672760
Icons: remove not used icons.
2016-03-20 18:52:15 +01:00
Jon Neal
00f9dbd095
Change misspelled dxf conversion constant from member variable to static const like other conversion constants
2016-03-19 23:51:02 -04:00
Chris Pavlina
60d93d024c
pcbnew: don't pick up selection after unsuccessful Duplicate
...
Following rev 6627 (git 2777182
), if a non-duplicatable item was the object of
a Duplicate action, the original item would be picked up, potentially
misleading the user into thinking something was actually duplicated.
2016-03-18 07:15:50 -04:00
Chris Pavlina
fd1d7ecb6e
pcbnew: fix Duplicate assertion in legacy also (lp:1558913)
...
Do not assert that the item to be duplicated can be duplicated, just don't
duplicate it. The user can trigger a Duplicate on items that aren't
duplicatable, like field texts - he'll figure out that they can't be duplicated
when they aren't, no need to deliver a scary warning and risk an abort.
2016-03-18 06:49:49 -04:00
Chris Pavlina
2777182a2c
pcbnew: fix Duplicate assertion
...
Do not assert that the item to be duplicated can be duplicated, just don't
duplicate it. The user can trigger a Duplicate on items that aren't
duplicatable, like field texts - he'll figure out that they can't be duplicated
when they aren't, no need to deliver a scary warning and risk an abort.
TODO: Don't pick up the duplicated selection if none of the items in it were
actually duplicated, it's misleading.
2016-03-18 06:28:11 -04:00
Jon Neal
d66cc0fedc
Fix one click dialog footprint spreading picking up extra footprints.
2016-03-17 23:09:24 -04:00
Tomasz Włostowski
aa5a1d1898
PCB updater: spread footprints after updating netlist
2016-03-16 23:05:08 -04:00
jean-pierre charras
5de85450b8
Pcbnew: Dialog list and select net: better dialog and make net selection to highlight a net working on GAL.
2016-03-16 15:14:00 +01:00
Wayne Stambaugh
b7c974b2c4
MinGW64 build warning fixes.
...
* On MinGW64 and possibly other 64-bit platforms, time_t is defined as a long
long unsigned integer but all of the scanf and printf format specifiers used
to save and load the schematic files are %lX which is a long unsigned integer
which causes compile warnings. Add casts and temporary variables to eliminate
the compile type warnings.
2016-03-14 14:20:19 -04:00
Cirilo Bernardo
968a18a859
Sync with main branch r6620
2016-03-14 19:00:24 +11:00
jean-pierre charras
44fc6cb337
Fix issue: "Malformed footprint causes crash on load" (in fact, no crash: just an assert dialog is shown)
2016-03-13 16:39:18 +01:00
unknown
3ba4226cb2
pcbnew: fix exception when import pcad pcb with zero size pads: zero size pads are now just ignored.
2016-03-13 11:41:14 +01:00
Simon Wells
145cd47d5c
Move copy version information code to about dialog.
2016-03-11 11:40:24 -05:00
jean-pierre charras
99e81aeb9c
Fix incorrect (too small) bounding box EDA_TEXT, noticeable when chars like j or { are used in zone fill functions.
...
I tried to merge some constants used both in legacy mode and gal mode (which were, before this patch, separate constants).
There is still a serious work to avoid different calculation code for the same text in draw and plot functions.
Work in progress to merge these calculation functions.
2016-03-11 13:08:34 +01:00
Cirilo Bernardo
ec580cff50
Sync to main branch r6614
2016-03-11 09:37:12 +11:00
Chris Pavlina
3fd179cd10
pcbnew: remove dead legacy save code
2016-03-08 15:49:25 -05:00
jean-pierre charras
b237d81b75
Create Array dialog: some fixes:
...
* No initial copied object changed (this was a serious bug to modify these objects. Previous version modified references and other texts using a very stupid algorithm).
It also fixes bug 1549231
* only new pads are numbered (therefore renumbering is used only in footprint editor)
* remove not working and useless feature in circular array: now only use number for pads (others options using alphabetical letters are removed: did not work corectly, and were useless)
* a more clear option is used to choose if the pads are numbered from a choosen value, or from the first avaible value
* Adding a warning messsage if a parameter is incorrect.
2016-03-07 08:13:06 +01:00
Cirilo Bernardo
317ec48e1b
Sync with main branch r6608
2016-03-05 10:00:32 +11:00
jean-pierre charras
ba038ac507
Pcbnew, File menu: break Open (board) into 2 menu items: Open (only for Kicad board files) and Import (only for non Kicad board files)
2016-03-04 19:48:08 +01:00
Cirilo Bernardo
dbe54067f9
Reverted/reworked BoardEdtor_base and Modedit_base *.fbp files to wx3.5-RC1 version due to bug in -RC2
2016-03-02 13:36:24 +11:00
Cirilo Bernardo
d0a2080823
Merge with main branch r6601
2016-03-01 11:44:15 +11:00
Wayne Stambaugh
bd800630be
Pcbnew: prevent delete hot key from deleting locked footprints. (fixes lp:1538805)
2016-02-29 16:12:03 -05:00
Simon Wells
4d2a05856f
Minor CMake configuration file fixes.
...
* Move add_directory()s in main CMakeList.txt after all find_package()
macros are run so all flags in the main CMakeList.txt are propagated
to the sub-folder CMakeList.txt files.
* Remove commented out include of config.h
* Make the link maps only build on linux as -${TO_LINKER},-cref
-${TO_LINKER},-Map=blah just gives warnings on osx w/ clang
* Make the link maps only build with flag -DKICAD_MAKE_LINK_MAPS is
defined during CMake configuration as they are highly specific.
* Moved the code for setting link maps into the main CMakeList.txt
file to avoid duplication.
* Removed -D__ASSERTMACRO__ from osx as its no longer needed
* Removed a couple of other OSX only things that wouldn't work anyway
* Moved set (BU_CHMOD_BUNDLE_ITEMS) to the main CMakeList.txt as
otherwise it would only work for the KiCad build not the other
applications
* Made KICAD_SCRIPTING_MODULES enable KICAD_SCRIPTING as currently if
you have modules enabled without the scripting base it will on build.
This could be changed to a fatal error saying you need to also enable
scripting but it seems unnecessary.
* Removed duplication of pcbnew.py install code under modules and
scripting since you can't have modules without scripting now
2016-02-29 14:08:03 -05:00
Cirilo Bernardo
4d20f32fd0
Added 'Configure Paths' button to Footprint Properties editors
2016-02-28 10:17:58 +11:00
Eldar Khayrullin
89ea49ff14
Pcbnew: PCAD2KICAD text conversion improvements.
...
* Fix text justification.
* Fix caret return symbol.
* Fix size of proportional font.
2016-02-27 12:33:38 -05:00
Bernhard Stegmaier
f8abe9c191
Add support for optional touchpad panning.
2016-02-24 14:53:02 -05:00
unknown
11da247aa1
Fix issues in PCAD import of P-CAD ASCII files.
2016-02-24 12:56:40 +01:00
unknown
3d635bca01
Add QFN Footprint generator python script
2016-02-24 09:48:55 +01:00
jean-pierre charras
cf09129387
Python interface: add methods to add or remove layers to/from a layer set. Usefull to modify the layer set of pads
...
Very minor other fixes.
2016-02-24 09:45:34 +01:00
Cirilo Bernardo
4c809f0f13
Sync with main branch r6579
2016-02-23 18:31:54 +11:00
jean-pierre charras
60ac4f7ee3
Pcbnew: fix a crash when trying to export a footprint in a non writable directory, or if a non writable old file was existing. (Linux only. On Windows, the wxWidgets file dialog dectects this issue)
2016-02-22 15:38:35 +01:00
Cirilo Bernardo
af0ac955b9
Merge with main branch r6576
2016-02-22 19:58:32 +11:00
Cirilo Bernardo
5776037a70
Flush model data upon exit of Footprint Properties dialogs
2016-02-21 11:54:34 +11:00
jean-pierre charras
c379df06bb
Remove CK1202_V1.pcb sample file, actually not used in Kicad, due to its unclear copyright. The http link to this sample file is in files.txt.
2016-02-20 08:50:54 +01:00
jean-pierre charras
d1559b129d
Pcbnew: fix 2 issues:
...
* File import: use case insensitive comparison to choose import plugin, from the file extension (It is not always in lower cases, especially on Windows.)
* onleftclick.cpp: fis a minor issue, which happens after switching form GAL to Legacy canvas: sometimes a board item is left selected from GAL, and creates false warning message in legacy.
2016-02-19 15:10:23 +01:00
unknown
c2fd462dd6
Footprint generators in Python: add a rounding method to put a coordinate on a grid (PutOnGridMM and PutOnGridMils) .
2016-02-18 18:53:39 +01:00
unknown
fb17b3fa17
Set SMD attribute in footprint python generators
2016-02-18 15:29:30 +01:00
Cirilo Bernardo
25a5db9092
Sync with main branch r6563
2016-02-18 13:15:44 +11:00
unknown
78d0cfc1a4
Fix Bug #1545668 (Pcbnew can't open P-CAD ASCII files)
2016-02-17 16:38:30 +01:00
jean-pierre charras
8931df339e
Fix incorrect assertion failure in specctra export, when a footprint contains segments on edge.cut layer (Bug #1545546 )
2016-02-15 09:55:10 +01:00
unknown
aa6beaaba0
Python footprint generators: fix a typo and fix text size (accordance KLC 6.9)
2016-02-14 10:47:07 +01:00
Cirilo Bernardo
a4861a0d64
Sync with main r6555
2016-02-14 09:16:40 +11:00
jean-pierre charras
7313b28e2a
Cvpcb: minor change in menubar: change menu name "files" to "Save" (there is no more files to read or save). Pcbnew, pad properies editor: show Axis (pad origin) in GAL mode (it was already shown in legacy mode).
2016-02-13 16:34:52 +01:00
Rohan Agrawal
8785df0d80
Merge lp:~rohbotics/kicad/bug_1424003 into lp:kicad
2016-02-12 17:43:23 +01:00
unknown
15624ab1c3
Fix issue #1412628 (long text values truncated in pos file) and serious cleanup of gen_modules_placefile.cpp code.
2016-02-12 12:50:42 +01:00
Rohan Agrawal
8d659b3e02
removed unnessacary curly braces
2016-02-11 19:26:03 -08:00
Rohan Agrawal
31a6a4adf0
Run fix_route until routing ended in EndTrack
...
Should fix Bug 1424003, by making making sure the routing is completed when endtrack is triggered.
2016-02-11 18:26:40 -08:00
unknown
450c2e4371
fix Tickness typo
2016-02-11 16:02:37 +01:00
jean-pierre charras
2284228c35
HPGL plot dialog: remove no more in use Pen Overlap parameter. Fix incorrect polygon fill by setting the hpgl pen thickness in hpgl file. Add filled circle (previously, a circle was never filled)
2016-02-11 13:14:46 +01:00
jean-pierre charras
5658ed9c8e
Prepare rounded rect and custom shaped pads: add plot functions. It fixes also a pcbnew crash in HPGL mode when plotting trapezoidal pads.
2016-02-10 17:02:40 +01:00
unknown
4726f51ba0
Set the courtyard width to 0.05mm to comply with KLC in the following python footprint generators: bga,qfp,sdip and zip
2016-02-09 10:10:17 +01:00
jean-pierre charras
050bdbc772
Pcbnew: minor changes:
...
* Dialog copper zones: Always enable thermal shape settings, because even with no thermal, some pads can use thermal option in local pad settings.
* GAL mode: shows page limits in gray color, like in legacy mode, and according to comments in sources.
2016-02-09 09:23:24 +01:00
Tomasz Wlostowski
5349eb4179
fixed segfault in selection tool
2016-02-08 15:12:59 +01:00
jean-pierre charras
711607f152
Fix minor Bug #1542935 (No solder mask unless there is something on the layer)
2016-02-08 14:04:42 +01:00
Tom Andrews
4c7a61dd25
pcbnew: correct minor grammatical errors
2016-02-05 14:34:23 -05:00
Cirilo Bernardo
b7a8661a03
Sync with main branch r6538
2016-02-05 16:15:51 +11:00
Dick Hollenbeck
7c637ea7be
github fix and comment improvements:
...
* Fix a StrPrintf() %s count mismatch bug
* Better comments
* Use std::string::data() instead of a ref to the first char to get the str::string buffer (should not change anything with GNU lib)
2016-02-04 17:49:20 +01:00
Maciej Suminski
c16b66ce0c
Ratsnest does not take into account non-copper pads (GAL).
2016-02-03 11:01:00 +01: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
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
Simon Wells
dbb7b38bae
Delete unused variables in GRID_HELPER::AlignToSegment
2016-01-11 17:06:11 -05:00
Tomasz Wlostowski
95252267ec
Router: check layers of all traversed joints in FindLinesBetweenJoints(). (fixes lp:1531762)
2016-01-11 13:37:00 -05:00
jean-pierre charras
74b629fa19
Fix issues I created in rev 6442 (no issue on msys2/gcc5.3, but issues on Kubuntu 14.04/ gcc 4.8). I'll find a better fix later.
2016-01-11 10:13:13 +01:00
jean-pierre charras
41db57c5f0
pcbnew.py: fix error "NameError: name 'UNDEFINED_LAYER' is not defined" when running pcbnew/wxPython, which prevents from openning the Python console.
...
CMakeLists.txt: remove no more used boost libs, and add missing coroutine lib in list.
Fix 2 minor compil warnings.
2016-01-11 09:26:55 +01:00
Wayne Stambaugh
5c6c2a0661
GitHub plugin: fix potential multiple initialization of libcurl bug.
...
* Prevent libcurl from inadvertently being initialized twice.
* Dynamically load libcurl only when required.
* Reduce the number of worker threads when loading footprint libraries to
prevent issues with the GitHub plugin.
2016-01-10 16:44:37 -05:00
Jon Neal
f309eaab00
Pcbnew: spread and pick up new footprints when loaded.
2016-01-10 16:24:13 -05:00
Chris Pavlina
13c5341040
pcbnew/scripting: delete orphaned header
2016-01-10 09:08:13 -05:00
Simon Schubert
c1b8a01e03
pcbnew: simplify pad DRC
...
This simplifies the pad DRC significantly and fixes a bug when two pads
are close to each other in a right angle, when the edge distances are
below the clearance, but the corner distance is actually above the
clearance:
+---..
|
+---..
+---+
| |
: :
---
----
<Chris> Pad DRC has handling for trapezoid pads and handling for square
pads. This patch looks relatively low-risk to me, as square is a subset
of trapezoid and the handling for trapezoid pads is not specific to that
pad type.
2016-01-09 16:07:52 -05:00
Chris Pavlina
c44c076bdb
Fix coding style error in 6429
2016-01-07 17:33:31 -05:00
Johannes Agricola
07b73b9677
Properly set keepout flag for new zones in GAL
2016-01-07 14:39:21 -05:00
Maciej Suminski
203e8156a1
pcbnew asks before rotating/flipping a locked item (GAL).
2016-01-05 17:01:59 +01:00
Cirilo Bernardo
43c2c7223b
Sync with main branch r6421
2016-01-05 16:37:52 +11:00
Wayne Stambaugh
ff924f6983
Remove download_avhttp.cmake and avhttp source archive.
2016-01-03 18:55:42 -05:00
Wayne Stambaugh
c751bf60bc
Remove Boost library building and other build improvements.
...
* Remove download and build Boost from source and all CMake boost source build
dependencies.
* Make FindCairo.cmake use pkg-config when it's available not just all
platforms except windows.
* Add version checking to FindCairo.cmake.
* Change find GML version to 0.9.5.1 which is the current version in Ubuntu
14.04 LTS.
* Update required Cairo version to 1.12.1.
2016-01-03 15:33:09 -05:00
Cirilo Bernardo
548b54d75d
+ resync with main branch r6409
...
+ work in progress: new VRML2 3D plugin
2015-12-31 09:28:39 +11:00
jean-pierre charras
6ff0092e21
Github plugin: fix lack of message when trying to download a non existing footprint library (Curl does not return an error: the message "Not Fount" is stored in buffer, and the zip handler returns a not suitable error message)
...
Minor and very minor other fixes.
2015-12-30 08:46:32 +01:00
Element Green
0417538ab3
Fix Bug #1529214 (pcbnew VRML export dialog settings have no effect)
2015-12-27 18:33:15 +01:00
jean-pierre charras
9d994663f1
Fix Bug #1527446 (Flipping a block in pcbnew doesn't flip inner layers nor their connected microvias).
...
Also fix a few typos and remove dead code.
2015-12-27 16:51:13 +01:00
Simon Wells
415c72262a
Pcbnew: use Legacy instead of Default when referring to wxDC canvas.
2015-12-22 16:25:59 -05:00
Simon Wells
6721545011
Pcbnew: remove the sunken border from the design rules dialog,
...
* On Linux it has no effect
* On OSX it removes the line border which looks ugly.
* On Windows it makes the dialog look cleaner.
2015-12-22 13:53:13 -05:00
unknown
a49b313c77
Fix a cosmetic issue: the "Move exactly" dialog was not exactly right on init
2015-12-22 15:34:34 +01:00
unknown
e506a4354b
Replace avhttp with libcurl: Some fixes:
...
1. Fixed an assumption somebody originally made in the plugin that std::string had contiguous storage. This is not specced behavior pre C++11 so we gamble by calling .reserve() which should give a far better guarantee.
2. Added copy to clipboard information for curl
3. Removed some openssl references in compiling.md
4. Renamed struct vars to be uppercase to match "public var" code style policy
2015-12-22 15:19:00 +01:00
jean-pierre charras
59d02cf1a4
Minor fixes:
...
* fix minor coding style issues.
* remove unused member in modview_frame.
* use different frame names in ctor of modview_frame and viewlib_frame depending on the fact they are built modal or not modal (allowing identifications when calling wxFindWindowByName)
* change questionnable code in class_libentry.cpp.
* remove unused code in class_treeproject_item.cpp
2015-12-22 12:58:26 +01:00
Cirilo Bernardo
07bd4cbc04
+ Resync with main r6397
...
+ Work in progress: VRML parser
2015-12-22 11:08:39 +11:00
Mark Roszko
e47bc6883d
Replace the avhttp library used by the github plugin with libcurl.
2015-12-21 15:30:33 -05:00
jean-pierre charras
56d1cac0e8
Pcbnew: avoid crash if something is wrong when opening the Python Console (for instance missing python module)
2015-12-21 21:00:32 +01:00
unknown
f041177c3a
Fix Bug #1526158 (pcbnew Zone tool: Minimum width is compared against thermal relief spoke, when Pad connection set to "None")
2015-12-21 19:42:16 +01:00
Wayne Stambaugh
96832a5185
Fix build error cause by previous commit when KICAD_SCRIPTING_WXPYTHON is not enabled.
2015-12-21 10:39:36 -05:00
unknown
0ea1c67caf
eeschema plot dialog: cosmetic enhancement:
...
Including the inline of the Output directory and its text field/browse button.
Moving the plot format to the left of the plot options as the plot options depend on the plot format.
2015-12-21 16:08:37 +01:00
Strontium
c3d3a7a4c8
Scripting: replace PyCrust shell with enhanced PyAlaMode shell.
2015-12-21 09:55:31 -05:00
jean-pierre charras
a11bbffe9b
Code reorganization, and change the way 3D viewer frame is managed (now using wxWidgets wxWindow::FindWindowByName() to know if it is existing) , to prepare others fixes.
2015-12-21 12:52:00 +01:00
jean-pierre charras
e175a96be4
Pcbnew: Enhancement: in Get footprint (hotkey 'T') : better footprint selector dialog.
2015-12-20 19:47:52 +01:00
jean-pierre charras
b881ba2bd7
Fix minor Bug #1527398 (Some items (NPTH holes) printed in color with B&W radiobutton checked)
2015-12-20 15:09:06 +01:00
Cirilo Bernardo
2c4b220f3c
Resync with main branch r6383
2015-12-19 15:02:52 +11:00
Simon Wells
f11da559c7
Removed the sunken border from the Design Rules dialog
2015-12-18 11:56:23 +13:00
Simon Wells
e7ac0d6764
Fix building layer widget in stand alone mode.
2015-12-16 10:19:27 -05:00
jean-pierre charras
178cf0dc25
Polygon calculation (zones filling): use fast mode when possible (in fact most of time) and strictly simple polygon option only in critical cases (in fact in plot Gerber functions mainly).
...
In polygon calculations (combining polygons, fracture) the mode of calculation (fast or strictly simple polygon option) as no more a default value, because choosing the best mode is better to optimize the calculation time.
2015-12-15 21:21:25 +01:00
Maciej Suminski
0caa47e73c
Fixed crash on undo pad placement in the footprint editor (GAL).
2015-12-15 13:39:53 +01:00
Cirilo Bernardo
1940bd71e4
Resync with main branch + fix MSWin build (accidental inclusion of dlfcn.h)
2015-12-15 10:56:11 +11:00
Cirilo Bernardo
2128594a85
Coding policy fixes: remove trailing white space.
2015-12-14 16:20:54 -05:00
Simon Wells
7b2858acc8
Updated layer_widget.cpp to remove build errors when STAND_ALONE is set
2015-12-15 06:45:11 +13:00
jean-pierre charras
5d429ed977
Pcbnew: drill file generation: always creates a NPTH file in separate files mode (as it was made in initial code) to avoid mistakes (old broken NPTH file after board edition for instance).
...
Eeschema: prepare case sensitive label comparison in netlist generation.
2015-12-14 09:00:49 +01:00
Cirilo Bernardo
c5e9bda936
Fix OpenGLM build errors for OSX homebrew developers.
2015-12-10 14:20:35 -05:00
Maciej Suminski
843c9b99d5
Fixed ratsnest for PCBs imported using plugins (GAL).
2015-12-10 16:29:12 +01:00
unknown
eaef5c1043
* Replace questionable wxString::PrintfV() call (which doesn't work reliably on different platforms) with wxString::Format()
...
* Extra win: due to use now of the THROW_IO_ERROR() macro, error messages contain line numbers.
2015-12-10 09:13:35 +01:00
jean-pierre charras
04271893ff
Fix Bug #1521282 (footprint wizard for SOIC ICs generates a wrong position pin mark)
2015-12-09 17:11:32 +01:00
Cirilo Bernardo
a0597c4614
GUI improvements including interactive update of model orientation/position
2015-12-09 16:43:30 +11:00
Cirilo Bernardo
47f40def0c
GUI improvements including control of panel sizes and resizing of GL canvas in preview
2015-12-09 10:38:25 +11:00
Cirilo Bernardo
2ba7c05cbf
Resync with main branch and fixed to work with new symbol visibility rules
2015-12-09 09:52:02 +11:00
unknown
0ae5fed41f
When changing the number of copper layers, new layers added to the board in pcbnew are now selected by default for plotting
2015-12-08 16:15:24 +01:00
unknown
893e018bc9
Better warning messages in duplicate zone
2015-12-08 13:02:44 +01:00
Mario Luzeiro
69cc788e8e
+ Removed glm source from kicad tree (Maciej / Cirilo)
...
+ Added renderer for 3D model preview (Mario)
+ Added 3d_cache including name resolver and modifications to 3D model dialogs (Cirilo)
2015-12-08 18:31:57 +11:00
unknown
2e04d4d621
Fix the following bugs in the IDF export:
...
1. incorrect orientation of components on the bottom side of the board
when the #D model rotation is non-zero
2. failure to export when some components have no model set
2015-12-07 10:22:09 +01:00
jean-pierre charras
4c880400b1
Better sizing of wx_html_report_panel in dialog_netlist (fix bug #1522758 )
2015-12-04 18:06:54 +01:00
Wayne Stambaugh
b04f18b245
CMake: remove OpenSSL download and build dependency code.
...
* Removed some left over OSX_DEP_BUILDER code missed in my previous commit.
2015-12-03 10:59:02 -05:00
Maciej Suminski
d373915340
Fixed crash when context menu is invoked during track dragging (GAL).
2015-12-03 14:26:12 +01:00
jean-pierre charras
f4cf050669
Eagle plugin: fix typo errors. Use paired fab layers for layers 51 and 52. Not perfect, but better than the old choice (drawing layer)
2015-12-02 12:46:55 +01:00
unknown
42525dda98
Eagle importer support dimensions
2015-12-02 09:47:02 +01:00
unknown
6abffca175
Fix incorrect import of footprint fields NAME and VALUE in Eagle import board.
2015-12-02 09:18:32 +01:00
jean-pierre charras
7f49fc9a03
Fix a minor bug I created in rev 6332 in dialog_design_rules.cpp (a line of code removed by accident).
2015-11-29 16:17:47 +01:00
jean-pierre charras
da9f68911c
Autosize row label column in wxGrid in pcb_calculator and design rules dialog.
...
Pcbnew: auxiliary axis shape: use the same look as GAL, to be consistent with GAL.
Minor change in dialog_env_var_config (use the wxStdDialogButtonSize for usual OK, Cancel and help buttons)
2015-11-29 15:19:22 +01:00
jean-pierre charras
407aa9c586
Very minor fix: a pcbnew option (show page limits) was not stored in user config, and was lost after closing the session.
...
3d-viewer: very minor fix
2015-11-29 07:56:27 +01:00
jean-pierre charras
2afee8fb58
Make translation easier in dialog_create_array_base.
2015-11-22 11:21:14 +01:00
jean-pierre charras
4749921bbc
Remove confirmation dialog when deleting footprints.
...
Very minor other fixes.
2015-11-18 19:59:24 +01:00
Tomasz Wlostowski
72b0593fdb
Pcbnew: push and shove router fixes.
...
* Fix segfault caused by invalidation of the end item by
PNS_LINE_PLACER::UpdateSizes().
* GAL zone drawing tool updates the ratsnest after zone drawing is complete.
* Fixed performance issue in zones processing using strict simplification
only for the final filled area.
2015-11-18 09:35:17 -05:00
jean-pierre charras
21d700facc
Replace "module" by "footprint" in a few messages.
2015-11-17 17:18:00 +01:00
Wayne Stambaugh
ebdc1e4b17
Pcbnew: minor footprint properties dialog fixes.
...
* Replace the term module with footprint.
* Use default dialog size to allow sizers to determine the size of the dialog.
* Fix a few alignment and spacing issues.
* Fix some minor grammatical issues.
* Use front and back for board side instead of top and bottom to be consistent
with layer naming scheme.
2015-11-17 09:03:57 -05:00
jean-pierre charras
49d75d5850
Drill file generation: add the option to merge NPTH and PTH, which was disabled recently, due to code changes.
...
Add missing translator name in AUTHORS.txt and About dialog (patch from Eldar Khayrullin)
2015-11-16 19:42:58 +01:00
jean-pierre charras
d5aef07816
Kicad manager: fix a very serious bug which crashes Kicad when running and closing gerbview, pcb_calculator, bitmap2component or pl_editor, when the Kicad manager frame is not the top level frame (It happens very easily if eeschema or pcbnew is running, after opening and closing a dialog).
...
Fix a few wxWidgets asserts.
menubar in pcbnew: move the recreate .cmp file menu to export menu, and fixes its help comment which was fully outdated.
2015-11-15 19:04:19 +01:00
unknown
4141a250fe
Eagle plugin: remve a non-static initializer.
2015-11-15 18:53:26 +01:00
Jon Neal
19075e3434
Pcbnew: fix segfault in eagle plugin when importing zone keepout areas.
2015-11-15 08:29:48 -05:00
jean-pierre charras
a356293fee
Cvpcb: Fix incorrect unique pad count for footprints using mixed letters/digits in pad name (like AA12, AB12 or Anod for instance.) and skip pads with no pad name.
2015-11-13 12:32:42 +01:00
Wayne Stambaugh
8f79b4fb11
Pcbnew: fix minor Doxygen comment error.
2015-11-11 15:16:39 -05:00
jean-pierre charras
34f1c0ea2d
Fix a few Coverity warnings.
2015-11-11 19:47:51 +01:00
Damien Espitallier
16c2c398e9
CvPcb: count unique pin numbers when filtering by pin count. (fixes:1300719)
2015-11-11 13:35:26 -05:00
jean-pierre charras
6cc91a074b
Remove a few conditional compilation for wxWidgets version < 3.0
...
Update a old .fbp file.
2015-11-09 13:14:28 +01:00
unknown
d830b24c56
Fix memory leak in meander placer.
2015-11-09 13:11:27 +01:00
unknown
2f92087bac
Small fix in eagle_plugin.cpp (see bug Bug #1513112 ). This is not actually a bug, just a fix in comments, and a minor enhancement
2015-11-05 19:38:19 +01:00
Tomasz Wlostowski
08178104bb
router: take track width changes into account when calculating trace length for tuning
2015-11-05 19:20:08 +10:00
unknown
1ee7458140
1. Fixed copy paste error in append_board_to_current.cpp ruining a if else condition, should fix a possible bounding box computation bug
...
2. Whole bunch of pointless casts removed
3. Unused variables removed
4. Fix bug caused by JP on April 25, 2015 where strings were adjusted for translation and the hotkeys section table accidentally swapped the footprint editor title with tag, resulting in "footprint editor" being exported instead of "[footprinteditor]"
No functional changes besides #4 , technically it'll "break" imports hotkeys files but April 25 broke imports as well.
2015-11-04 09:48:34 +01:00
jean-pierre charras
602e38dab5
Clipper.cpp: fix a few minor Coverity warnings (about not initialized private members)
2015-11-03 17:55:31 +01:00
Thomasz Wlostowski
6e470ece1d
Pcbnew: fix push and shove router segfault bug.
2015-11-03 11:19:42 -05:00
Simon Wells
0a9a07af2e
OSX package maker fixes.
...
* Removed outdated package maker information, the pmdoc is generated and does
not belong in the KiCad tree, it is also highly specific as seen due to the
references to /Users/marco. This is not used in normal builds nor in the
packaging for KiCad OSX nightly builds.
* Updated identifiers in package marker docs to remove references to sourceforge
and to follow other identifiers.
2015-11-02 13:29:55 -05:00
jean-pierre charras
ae506e8223
polygons in footprint body: fix incorrect calculation of polygons with clearance or outline thickness (fix bug #1511366 )
...
Clean demos
2015-11-02 10:24:32 +01:00
jean-pierre charras
c94a5dd46f
Footprint wizard: fixes and enhancements in python scripts.
2015-10-31 12:54:48 +01:00
Simon Wells
96918d4a8a
Changed the bundle identifier to org.kicad-pcb.<app> to follow the kicad domain name
2015-10-30 08:43:04 +13:00
jean-pierre charras
ad2c4b807b
footprint generators python plugins: fix a few issues, and make them more compliant with the KiCad Library Convention 0.11
2015-10-29 18:35:52 +01:00
jean-pierre charras
77f1d8a848
Pcbnew: Fix a bug in exchange footprints: if a set of pads having the same name (complex pads) is found in a footprint, not all pads of this set have the netname updated (however reading the netlist fixes this isssue).
2015-10-28 19:45:20 +01:00
jean-pierre charras
bb95fcccfc
plotcontroller: add method to get the current plot full file name and the current plot folder full path from Python script.
...
gen_gerber_and_drill_files_board.py:
* fix to make it compatible with rev 6280.
* allow this script to create files in the current plot folder defined from the board forder, no more only in current working directory.
2015-10-26 18:51:41 +01:00
unknown
1af9b46ada
Pcbnew, dialog create drill file: remove option to merge plated holes and not plated holes:
...
reasons:
* This option is called "bad practice" in gerber files format specifications and is even forbidden in gerber drill files.
* Generates problems with some board makers because these holes are not identified in a single NC file.
* No one was able to explain us how to identified them in a single NC file.
* Recent change in drill file generation is not compatible with merged holes (minor reason)
2015-10-26 08:43:30 +01:00
jean-pierre charras
ade51289a7
All: use solid lines instead of dashed lines to draw X and Y axis in legacy canvas (like in Gal canvas). The main reason: on OSX axis using dashed lines are very very slow to draw (looks like a wxWidget issue when the wxDC scale factor is very small)
2015-10-25 17:58:04 +01:00
jean-pierre charras
bafb06c8c0
Footprint wizard frame: closing the messages box before closing the frame is no more allowed, to avoid a pcbnew crash when changing a parameter or closing the wizard frame.
2015-10-24 19:46:50 +02:00
unknown
a0f52db1c8
Drill files generation: when using blind/buried vias, the files are now created for each via layer pair, each file groups vias having the same pair, and one for through holes.
...
Drill report: serious enhancements.
Plot files names for copper layers: build from the user layer name, like in bzr 4022 stable version. no change for other layers.
2015-10-23 16:30:22 +02:00
jean-pierre charras
289897e364
Pcbnew, Netlist reader: when replacing footprints, activate option "use library local settings values" for new footprints which replace old footprints, prepared by rev 6274.
2015-10-23 09:14:11 +02:00
jean-pierre charras
d63c017a0a
Exchange footprints: remove duplicate code, and keep the "Locked" attribute state after exchange/replace.
2015-10-22 18:50:27 +02:00
unknown
ad10218a58
Rename {Set,Get}GerberExtensions() to {Set,Get}GerberProtelExtensions() (better name) in public API.
2015-10-21 08:55:30 +02:00
jean-pierre charras
4dc2ece011
Fix a few wording issues in dialogs (dialog plot and dialog move exact) for translators (more explicit words/sentences to remove ambiguities).
...
Pcbnew: Plot files: for copper layers, create suffix from user copper layer names instead of default copper layer names, like in last stable Kicad version (bzr 4022), to build the plot files filenames.
Better test of illegal chars in plot filename, both in plot dialog and functions aclled by Python scripts.
Fix a Plotcontroller issue to make SetUseGerberExtensions() work as expected from Python scripts ( from Henner Zeller'patch with a fix to be sure it works properly from a Python script)
Note also using Protel Gerber Extensions is now a bad practice, because the official Gerber extension is .gbr since X2 Gerber version. But some users still use them)
2015-10-20 20:03:07 +02:00
jean-pierre charras
9aba2f2683
Add tool tips in pns settings dialogs. Use default events handlers in cancel and ok buttons and close window.
...
Fia an incorrect sentence in general board editor options dialog.
2015-10-16 17:56:50 +02:00
unknown
3ca82446d8
Fixes in GEDA footprint plugin import.
2015-10-14 20:22:47 +02:00
Wayne Stambaugh
bc6e9e855c
Pcbnew: fix broken board ratsnest visibility storage behavior.
...
* The board ratsnest visibility state was being saved in both the board file
and the Pcbnew configuration files causing visibility state issues. Use the
board file to save the board ratsnest visibility state.
* Remove all of the board ratsnest save visibility state to configuration file
code.
* Add code to set the board modified property when layer visibility states
change to give the user a chance to save the state in the board file.
* Some minor code cleaning and coding policy fixes.
2015-10-14 14:12:17 -04:00
jean-pierre charras
014f0eb61f
Gerber file X2 attribute: Change the attribute Project Id key word from .TF.JobId to .TF.ProjectId, due to a change between the draft Gerber file format specif and a the final specifs (Revision 2015.08).
...
Remove a few wxCHECK_VERSION conditional compilation, now useless.
2015-10-14 09:20:28 +02:00
Traumflug
c5f9896dec
Pcbnew: gEDA plugin fix to recognize values with units. (fixes lp:1427494)
...
* Recognize values with units in more recent gEDA footprint files and scale accordingly.
* Join both parseInt() implementations. This should reduce rounding errors as well as
code duplication.
2015-10-12 19:31:26 -04:00
Tomasz Wlostowski
0725575830
router: fixed disappearing segments when dragging corners/vias
2015-10-12 14:08:27 +02:00
Maciej Suminski
42b598d677
Fixed missing ratsnest lines when nodes are connected to different subpolygons of a zone.
2015-10-12 11:13:16 +02:00
Tomasz Wlostowski
cd0031be47
router: fix segfault when placing a via with failed shove of head trace
2015-10-12 10:02:03 +02:00
jean-pierre charras
70b584c5f5
Dialog Pad Properties: fix 2 issues: Bug #1504749 (pad parameter "delta" checking error for non trapezoid pads which do not use this parameter) and SMD pads allowed on all layers
...
The existing test was disabled for an unknown reason, which is a non sense and more important breaks the DRC.
2015-10-10 18:56:31 +02:00
Tomasz Wlostowski
3596ef2d4c
router: fixed loop removal regression in shove mode
2015-10-09 14:31:06 +02:00
Wayne Stambaugh
74f00d4027
Minor string and coding policy fixes.
...
* Make the about dialog help string consistent across all menus.
* Improve print preview window and print initialization error messages.
* The usual smattering of coding policy fixes.
2015-10-08 09:52:03 -04:00
Stefan (stol)
9537884f7e
Try to fix Bug #1502012 (Can not close print preview window with the "X" icon) Linux spécific.
2015-10-08 13:59:00 +02:00
Tomasz Wlostowski
b4fd9f3ed5
router: pick similar starting shapes for the diff pairs, not the very nearest one
2015-10-07 19:26:33 +02:00
Wayne Stambaugh
346b721156
Pcbnew: remove redundant export from IDFv3 menu entry. (fixes lp:1503076)
2015-10-07 11:05:21 -04:00
Wayne Stambaugh
40e48a6bb7
Pcbnew: fix design rules dialog tab switching bug on OSX. (fixes lp:1502823)
...
* Add skip event to notebook page changed event handler. Apparently OSX
updates the selected notebook page in this event instead of the page
changing event used on Window and Linux.
* Improve duplicate net class name error message.
2015-10-07 10:15:24 -04:00
Maciej Suminski
53cd964910
Merge lp:~xzcvczx/kicad/clarify-menu-fix into lp:kicad
2015-10-07 15:57:51 +02:00
Simon Wells
5bc6a55015
Changed behaviour so if the menu is closed without selection by pressing esc or clicking outside of the menu that the last highlighted option wont be selected
2015-10-08 02:32:36 +13:00
Maciej Suminski
a3786fd6d8
router; Changed 'custom track via/size' hotkey to Q (to avoid conflict with cycling through defined track widths).
2015-10-07 11:10:34 +02:00
jean-pierre charras
a112a33fa2
Fix Bug #1498252 (segfault + assert failed in Yield(): wxYield called recursively) and a few other issues (footprint viewer or 3D viewer not always raised in some cases). Linux specific
2015-10-06 08:23:05 +02:00
Maciej Suminski
2607497b37
Code formatting.
2015-10-05 18:28:41 +02:00
Maciej Suminski
480cf85102
router: Layer switching uses the layer pair settings when placing a through-hole via.
2015-10-05 13:28:32 +02:00
jean-pierre charras
8e08baee10
Export vrml: fix Bug #1502550 (Pcbnew Messes Up File-Name and File-Path with Multiple Export WRL) and fix a not so good file name handling after loading an other board in a stand alone Pcbnew session.
2015-10-04 19:07:20 +02:00
Nick Østergaard
5591353871
Pcbnew: fix minor issues with eagle plugin. (fixes lp:1399737).
...
* Co-authored by John Neal <reportingsjr@gmail.com>
2015-10-04 12:56:59 -04:00
jean-pierre charras
19124ceee8
Fix crash when exporting vrml (see bug Bug #1502549 ) when there is a Glu error.
...
Enhancement: dialog_footprint_wizard_list remembers now its size.
2015-10-04 13:46:56 +02:00
Bernhard Stegmaier
3f807bdc78
OSX Python scripting plugin path fixes.
2015-10-02 16:07:29 -04:00
Wayne Stambaugh
8e5e2164e8
Pcbnew: design rules dialog fixes and improvements. (fixes lp:1499538)
...
* Use default dialog size to allow sizers to do their job.
* General layout and sizer improvements.
* Remove HTML message window which could not be used when error dialog was displayed.
* Use wxStdDialogButtonSizer for the OK and Cancel buttons.
* Check for design rule validity in TransferDataFromWindow() to prevent dialog from being
closed and all new design rules being lost when an error is detected. This gives the user a
chance to fix any design rules errors before dismissing the dialog.
* Add missing test for extra via drill diameter violations.
* Remove unnecessary OK and Cancel butten clicked event handlers.
2015-10-02 15:11:33 -04:00
jean-pierre charras
a0b31b62ba
Eeschema: fix crashes when closing or moving the print preview frame on Windows 7
2015-10-02 16:07:37 +02:00
Andrey Fedorushkov
845638fc63
pcbnew: fix not build in linux
2015-10-02 07:07:08 +03:00
Wayne Stambaugh
053458b81a
Minor scripting improvements and code cleaning.
...
* Coding policy fixes in the scripting initialization code missed in my previous commit.
* Remove redundant checks for valid Python library paths in kicadplugins.i.
2015-10-01 20:15:01 -04:00
Brian Sidebotham
28bda90e87
Fix system scripting plugin path on Windows and Linux.
2015-10-01 15:21:00 -04:00
Maciej Suminski
ea005bc94d
Fixed crash on disabling all layers in the pad properties window.
2015-10-01 16:03:20 +02:00
Maciej Suminski
db8560f055
Fixed crash when placing 45-degree lines in the footprint editor (GAL).
2015-10-01 15:52:45 +02:00
Wayne Stambaugh
8f99fc0496
Minor Python scripting fixes.
...
* Actually install the contents of the pcbnew/scripting/plugins directory on
Windows and Linux
* Move the test for existence of a directory before adding it to the Python
system library paths when loading the Python plugins.
2015-09-30 16:14:59 -04:00
jean-pierre charras
ad48723deb
Update 2 footprint wizard python scripts to display the value of parameters in the window messages. DRC: do not generate warnings for pads which are only on tech layers and over a hole.
...
A very minor other fix.
2015-09-30 18:42:28 +02:00
Maciej Suminski
f13208dc04
router: Display an error message when trying to place diff pair tracks that violate design rules.
2015-09-30 13:37:19 +02:00
Maciej Suminski
f752f7875e
Code formatting.
2015-09-30 11:18:19 +02:00
jean-pierre charras
2a4f8db792
Pcbnew, archive footprints: fix bug #1495321 . The user can now save the footprints in a library in fp lib table, or in a new library.
2015-09-28 10:46:00 +02:00
jean-pierre charras
68bca14e64
wizard_3DShape_Libs_downloader : show/hide warning message when the target local folder name is modified by hand.
2015-09-26 18:03:38 +02:00
jean-pierre charras
d957ef9f71
Fix a Coverity warning (potential bug)
...
Prepare work to fix Bug #1495321 (clean code in dialog_select_pretty_lib, fix incorrect comments)
2015-09-26 08:46:25 +02:00
Wayne Stambaugh
a6a9d8eedf
Default and most recently used path fixes. (fixes: 1494210)
...
* Rename Eda_FileSelector to EDA_FILE_SELECTOR.
* Add optional pointer to wxString to save the most recently used path to EDA_FILE_SELECTOR.
* Rename Eda_DirectorySelector to EDA_PATH_SELECTOR.
* Replace wxGetCwd() with wxStandardPaths::GetDocumentsDir(). This fixes the windows issue
where wxGetCwd() returns the path where the executable files are located.
* Add code to handle most recently used path to EDA_BASE_FRAME.
* Fix string formatting error in kicad/files-io.cpp.
* Remove setting and restoring current working directory when launching GerbView. Setting the CWD
has no effect on the launched executable which starts with it's own CWD.
* Allow project path to be passed to GerbView when launched from KiCad.
* Note: this is a work in progress. Do not expect every path and/or file selection dialog to properly
update the most recently used path. The correct solution to this problem requires a much more
well though out solution which will not happen until after the next stable release.
2015-09-25 15:38:09 -04:00
Maciej Suminski
45a9b1c000
Fixed the build problem introduced in revision 6215.
2015-09-24 18:59:10 +02:00
Maciej Suminski
9bb74e5244
Synchronize layers visibility on canvas switch.
2015-09-24 18:34:22 +02:00
Maciej Suminski
f2807035df
router: Improved via placement code. - Blind/buried vias going through all layers are converted to TH vias. - If current layer is not set in the pair, router switches to the top layer instead of keep using the same layer. - Microvias switch between one of the outer layers and the adjacent one.
2015-09-24 18:34:22 +02:00
Maciej Suminski
504cf55642
Minor code formatting corrections.
2015-09-24 18:34:22 +02:00
Maciej Suminski
41e96e03d6
router: Added messages explaining why a blind/buried/microvia cannot be placed.
2015-09-24 11:04:42 +02:00
Dick Hollenbeck
b27176f230
Pcbnew: fix segfault after deleting a pad from a footprint then performing a DRC action such as a via drag.
2015-09-23 19:02:40 -04:00
Simon Wells
c0d9fc1b5c
Changed about menu items to just say About Kicad as its a common about dialog across the project
2015-09-24 06:59:31 +12:00
Simon Wells
e45cdaedb6
fixed footprint editor accelerator
2015-09-24 06:45:24 +12:00
Simon Wells
1b26ca59b1
Added getting started to the remaining menus and fixed the icons
2015-09-24 06:29:21 +12:00
Simon Wells
58d0abb23a
Made help menu items consistent
2015-09-24 04:47:34 +12:00
Wayne Stambaugh
41242a5a00
Pcbnew: fix error message on footprint ID load failure.
2015-09-22 13:05:07 -04:00
Maciej Suminski
0c92a8583a
Fixed crash on tracks & vias clean up (GAL).
2015-09-22 17:55:10 +02:00
Wayne Stambaugh
1831b2329a
Pcbnew: minor keep out zone properties dialog fixes.
...
* UI capitalization policy fixes.
* Set OK button as the default.
* Use default dialog size to allow sizers to do their job.
* Minor grammar and abbreviation string fixes.
2015-09-21 11:36:13 -04:00
Maciej Suminski
25d5a2fbfb
Disable capture cursor & autopanning for tools in idle state (GAL).
2015-09-21 10:16:23 +02:00
Wayne Stambaugh
3adff48dcd
Pcbnew: minor UI improvements.
...
* Make OK button the default in the copper zones properties dialog.
* Change the set global text edit properties menu entry so that is describes
what the dialog actually does.
* Make the clean up tracks and vias menu entry description more accurate.
2015-09-17 16:43:14 -04:00
Wayne Stambaugh
25ef22b00c
Pcbnew: fix assertion due to string formatting error when loading footprint from board in footprint editor. (fixes lp:1495744)
2015-09-15 13:16:23 -04:00
Tomasz Wlostowski
5bbf980ec7
router: fixes for disappearing segments after shoving & assertion in PNS_NODE destructor
2015-09-14 18:40:29 +02:00
Simon Richter
0e7f3bf366
Make forward declaration of SELECTION consistant with actual declaration.
2015-09-13 15:38:27 -04:00
jean-pierre charras
00cffb080e
Make call to DXF importer not possible if a footprint does not exist, also in GAL mode.
2015-09-13 18:44:07 +02:00
jean-pierre charras
8193a898f3
Footprint Editor: make call to DXF importer not possible if a footprint does not exist, to avoid crash. ( It fixes an issue on Unity, where the file menu to call the DXF importer is not always disabled when no footprint loaded)
2015-09-13 16:23:01 +02:00
Wayne Stambaugh
72e50b496c
Pcbnew: minor VRML export dialog improvements.
...
* Track the last used path for the current session.
* Set focus back to OK button after wxFilePickerCtrl button is pressed to change file path
and/or file name so next return key press fires OK event.
* Use default dialog size to let the sizers set initial dialog size.
* Add spacer to improve layout when resizing dialog.
2015-09-12 12:57:38 -04:00
Wayne Stambaugh
f3a142b03c
Pcbnew: minor pad properties dialog improvements.
2015-09-11 19:13:54 -04:00
Wayne Stambaugh
4541eb4f37
Pcbnew: minor graphic items properties dialog improvements.
...
* Use colons for consistency with other dialogs.
* Use default size to allow sizers to determine dialog size.
* Use "segment" rather than abbreviation "segm".
* Use width and height to describe text instead of X and Y.
* Add spacer to improve layout when resizing dialog.
2015-09-11 10:31:45 -04:00
Wayne Stambaugh
0ac50f3671
Pcbnew: minor track and via property dialog fixes.
...
* Use colons consistently in labels.
* Use default dialog size to allow sizers to size dialog.
* Fix control alignment and spacing consistency.
* Add spacer to improve layout when resizing dialog.
2015-09-11 10:02:57 -04:00
Wayne Stambaugh
b6bb87af74
Pcbnew: minor graphic item properties dialog improvements.
...
* Make control spacing and alignment consistent.
* Use default dialog size and to allow the sizers to do thier job.
* Add colons to per item labels for consistency.
* Fix error message box title capitalization per UI policy.
2015-09-11 09:08:53 -04:00
Wayne Stambaugh
2e3806c397
Pcbnew: minor display option dialog fixes.
...
* Remove hard coded dialog size and let the sizers do their job.
* Minor UI policy text fixes.
* Minor text changes to improve readability.
* Minor tool tip changes to improve readability.
2015-09-10 16:29:45 -04:00
Wayne Stambaugh
cae9b8b885
Pcbnew: minor global delete dialog fixes.
...
* Fix control spacing for more aesthetic layout.
* Minor UI policy text changes.
* Set OK button as the default action.
2015-09-10 16:00:18 -04:00
Wayne Stambaugh
a42adc096c
Pcbnew: minor IDF export dialog fixes.
...
* Fix control spacing and alignment for more aesthetic layout.
* Minor text changes to improve readability.
2015-09-10 15:48:28 -04:00
Wayne Stambaugh
c0d7c3fd0b
Remove unnecessary edits left over from previous commit.
2015-09-09 15:17:19 -04:00
Tomasz Wlostowski
2088b5296e
Fix bug when plotting DXF board outline.
2015-09-09 11:51:02 -04:00
Wayne Stambaugh
42ecf0a994
Fix VRML export bug.
...
* Split graphic circle objects into two 180 degree arcs to prevent the
VRML_LAYER::AddCircle() function from obscuring objects in the hole
(cut out) area of the circle.
2015-09-09 11:08:53 -04:00
Maciej Suminski
5659e3f8dc
Adjusted ROUTER_PREVIEW_ITEM depth values.
2015-09-09 11:56:16 +02:00
Maciej Suminski
6e23979253
Removal tool asks for confirmation only for modules (GAL).
2015-09-08 11:17:30 +02:00
jean-pierre charras
168940158d
Footprint wizard frame: Remove an assert message in Debug mode.
2015-09-07 20:25:45 +02:00
Simon Wells
3bcda184dd
Fix issue in plot Gerber X2 format ( missing % char). Stra,gely, does not happen on all platforms.
2015-09-07 20:09:41 +02:00
jean-pierre charras
4a06cd2326
Pcbnew: try to fix a crash (only on some Linux versions) when exporting a footprint from the footprint wizard frame.
...
Replace %zu by %d in wxString::Format (%zu format not always known by wxString::Format on Windows, depending on the way wxWidgets was built ) in a few messages
2015-09-07 17:45:44 +02:00
jean-pierre charras
991927a177
Fix crash (only on Linux) when exporting a footprint from the footprint wizard frame.
...
Replace %zu be %d in wxString::Format (%zu format not known by wxString::Format on Windows 32 bits)
2015-09-07 17:20:15 +02:00
Maciej Suminski
b98d745336
Fixed crash on "Cleanup Track and Vias" when GAL canvas is active.
2015-09-07 14:02:02 +02:00
jean-pierre charras
7b0d597f6d
Fix some issues related to the footprint wizard frame:
...
* Mainly the wxDialog that was opened when the wizard is created is now no more created by the wizard frame CTOR. On some W.M. it created a serious issue related to the way Event Loops are managed. Now the user has to call it by the toolbar tool.
* 2 settings not saved in config are now saved.
* a few other minor enhancements
* better icon in footprint wizard frame
Remove a few #define relative to the wxWidgets 2.8 version, no more supported.
2015-09-07 12:52:16 +02:00
Maciej Suminski
73e8645e2a
pcbnew starts with F.Cu layer selected as the active one.
2015-09-06 22:49:47 +02:00
Maciej Suminski
2f0cf27ae4
More adjustments to the layer ordering (GAL).
2015-09-06 12:58:46 +02:00
Brian Sidebotham
34aab6f687
Add axis origin to the Footprint Editor to align with the Legacy canvas
2015-09-05 20:47:35 +01:00
Maciej Suminski
8f14e9e0b7
Improved the displayed layer order (GAL).
2015-09-05 19:00:54 +02:00
Maciej Suminski
bfca6f083f
Bounding box for arc contains only the arc itself (excluding the center point) (GAL).
2015-09-03 23:05:01 +02:00
jean-pierre charras
7995f0e7de
Fix KIWAY_PLAYER::ShowModal: the top level windows children of the KIWAY_PLAYER Modal frame are now enabled (previously were disabled). It fix some issues for instance with the aui toolbar when moved, and the dialog open when starting the footprint wizard frame. Perhaps also explains a few other bugs in modal mode.
...
footprint wizard frame: now shows messages from footprints python scripts. Especially usefull when a parameter is incorrect. Fix also an other issue (IO exception error) with some python scripts when they are usin a print command to output messages (now they use the new message window.
2015-09-05 16:47:16 +02:00
jean-pierre charras
7808b2e240
Fix in KIWAY_PLAYER::ShowModal: the top level windows children of the KIWAY_PLAYER Modal frame are now enabled (previously were disabled). It fix some issues for instance with the aui toolbar when moved, and the dialog open when starting the footprint wizard frame. Perhaps explain a few other bugs.
...
footprint wizard frame: now shows messages from footprints python scripts. Especially usefull when a parameter is incorrect. Fix also an other issue (IO error) with some scripts which were usint the print command to output messages (now they use the nes message window.
2015-09-05 14:10:54 +02:00
Maciej Suminski
4636d8d615
PNS router changes layer on 'Place Via' hot key while it is not laying out a track.
2015-09-03 18:25:48 +02:00
Maciej Suminski
b1d241c271
Net highlighting mode is toggled when used on the same net (GAL).
2015-09-03 17:56:30 +02:00
Maciej Suminski
9f41fe0bda
Added a hot key for (un)locking modules (GAL).
2015-09-03 17:35:41 +02:00
Maciej Suminski
8dbf6beed6
Fixed a corner case for arc bounding box calculation.
2015-09-03 10:42:52 +02:00
unknown
8fedc57499
Small cleanup: remove a few unnecessary casts, and minor cleaning code.
2015-09-03 09:44:30 +02:00
jean-pierre charras
4a56ee42c5
Footprint wizard: Fix IO exception error in python scripts which happens sometimes, due to the fact these scripts printed messages to a console, but when Pcbnew is not run from a console, there is no IO channel to read these messages.
...
The fix is not perfect (still no IO channel to read these messages) , but it works better.
Also, fix erroneous comments in code, and cleanup code.
2015-09-02 15:55:36 +02:00
Maciej Suminski
387054d83f
Fixed a mistake in the previous commit.
2015-09-02 10:55:35 +02:00
Maciej Suminski
9c9b0d1c6d
One more fix for #1490786 .
2015-09-02 10:48:10 +02:00
Maciej Suminski
1d877f5b74
Redraw module texts on "Reset Footprint Field Sizes" (GAL).
2015-09-01 18:06:11 +02:00
Maciej Suminski
8fe18d83a0
Added missing comments for the last commit.
2015-09-01 15:06:54 +02:00
Maciej Suminski
3cddf14e73
Ratsnest algorithm handles items in pad areas (GAL).
2015-09-01 13:44:07 +02:00
Maciej Suminski
24e7f961b9
Fix a Coverity report (catches an unhandled exception).
2015-09-01 11:32:23 +02:00
Maciej Suminski
8b8098d228
GAL canvas highlight net mode works on all layers.
2015-09-01 11:27:38 +02:00
jean-pierre charras
dba0494b02
Pcbnew: Rework on dialog global deletions.
2015-09-01 11:13:22 +02:00
Maciej Suminski
330b253018
Recalculate ratsnest on canvas switch.
2015-09-01 10:50:59 +02:00
jean-pierre charras
f7f7e3e918
Remove useless or not working code used in Load/Save config.
2015-08-31 08:43:33 +02:00
jean-pierre charras
3eae0feeaa
Fix incorrect default URL in wizard_add_fplib_base. Update an old test dialog.
2015-08-30 13:00:30 +02:00
jean-pierre charras
156d5f50d6
fix unwanted foreground frame change on Windows when creating BOM and netlists from scripts.
...
Very minor coverity warning fixes.
2015-08-28 16:15:45 +02:00
Cirilo Bernardo
adddfd22a3
Pcbnew: add user position option to DXF import dialog.
...
* Dialog UI policy fixes and layout improvement provided by Wayne Stambaugh.
2015-08-27 14:10:28 -04:00
Michael Beardsworth
2e4136720d
Removed set-but-unused failingDirCheck variable
2015-08-26 17:52:56 +02:00
Maciej Suminski
33dd214b4f
Fixed crash on closing the footprint editor with hot key (GAL).
2015-08-26 11:50:16 +02:00
Maciej Suminski
a813deb579
Fix a ratsnest assertion when selecting a copper connection between only 2 nodes.
2015-08-25 18:27:04 +02:00
jean-pierre charras
f67c7fe052
Very minor changes. ( changes in clipper are made to avoid coverity minor warnings).
2015-08-25 16:47:09 +02:00
Jon Neal
0aa9fad668
Push UI preferences to child edit and view windows. (fixes lp:1468388)
...
* Push center on zoom, use middle mouse button to pan, limit panning, and
pan while moving object settings from schematic editor to symbol library
editor and symbol library viewer child windows.
* Push center on zoom, use middle mouse button to pan, limit panning, and
pan while moving object settings from board editor to footprint library
editor and footprint library viewer child windows.
2015-08-25 10:16:15 -04:00
Maciej Suminski
11275f78e5
Preserve module editor settings when a new footprint is created.
2015-08-25 11:44:45 +02:00
Tomasz Wlostowski
0723ac5bef
enumeratePads: fix segfault when no module is loaded in the editor
2015-08-25 10:22:52 +02:00
jean-pierre charras
204eb49ce5
Minor enhancement in python console: remove margins around the client area. simplify code.
2015-08-24 20:32:56 +02:00
Wayne Stambaugh
7ba02bad7c
Pcbnew: bug fix and minor changes in github plugin. (fixes lp:1484331)
...
* Catch all unhandled exceptions derived from std::exception() class in
KICAD_PLUGIN::get_remote_zip() to prevent KiCad from crashing when
exceptions are thrown from the C++ standard library.
* Make boost::system::system_error() catch const and and improve comments
about avhttp library usage in KICAD_PLUGIN::get_remote_zip(). Thanks to
Dick Hollenbeck for these improvements.
2015-08-24 13:30:26 -04:00
unknown
44b5d19d3b
barcodefootprint wizard - cleanup python code.
2015-08-23 21:44:34 +02:00
jean-pierre charras
4fc230b773
Rework on Enum PAD_SHAPE_T, PAD_DRILL_SHAPE_T and PAD_ATTR_T (see rev 6008) : the new and better names are now used in Kicad code and existing python scripts.
...
PAD_SHAPE_T and PAD_ATTR_T still have a double definition (new names and old names) to be sure python scripts are nor broken by the change.
PAD_DRILL_SHAPE_T does not have a double definition, because it is unlikely oblong holes are used in python scripts.
Double definitions will be removed in the (next) future.
2015-08-23 21:40:33 +02:00
jean-pierre charras
705eb1f245
Minor change in a fp wizard (better name). Add a new fp wizard to generate a fp with a bar code on the silkscreen layer.
2015-08-23 15:06:39 +02:00
unknown
d6b1aa764e
kicad footprint plugins wizards: avoid spaces in generated footprint names (which often creates issues in filenames)
2015-08-23 14:44:56 +02:00
jean-pierre charras
bb3dc5771c
Pcbnew: Fpid parser: Fix crash when reading a .kicad_pcb file containing a valid fpid with a revision value.
...
Fix an issue when a .kicad_pcb file contains an incorrect fpid ( containing a '/ ' in footprint section ) . After saving the board the file was no more readable, due to a broken fpid saved in file
(can happens in old .kicad_pcb files, coming from the bzr 4022 stable version, and/or in files converted from an other EDA tool like altium)
Fix 2 very minor coverity warnings.
2015-08-23 14:35:49 +02:00
Maciej Suminski
0386a4df94
Bulletproof canvas switching.
2015-08-21 10:33:36 +02:00
Tomasz Wlostowski
a33fc223ae
router: take net clearance when deskewing diff pairs.
...
Apply correction on DP corner radius to avoid DRC issues.
2015-08-21 16:37:44 +02:00
Tomasz Wlostowski
b4135e0a33
router: fixed snapping to target while placing diff pair
2015-08-21 16:35:34 +02:00
jean-pierre charras
2605ab0984
Fixes related to exchage footprint dialog:
...
* The exchange dialog can be now called from the footprint popup menu.
* It can be (as before) called from the footprint properties menu, but in this case, the footprint properties menu is closed before calling the exchange menu.
* Changes in exchange dialog to avoid truncation of long FPIDs
* Changes in exchange dialog to make some texts translatable (Previously, the same English sentence was used in very different contexts)
2015-08-20 20:13:18 +02:00
Tomasz Wlostowski
2b70aeafba
fix rare segfault when head line had unsimplified segments
2015-08-20 15:11:16 +02:00
jean-pierre charras
392600276f
Pcbnew: Add a wizard to download 3d shapes libraries from Github and make a local copy.
2015-08-20 12:23:38 +02:00
Tomasz Wlostowski
9da18f6db6
router: fix ortho snap mode for diff pairs
2015-08-20 09:46:19 +02:00
jean-pierre charras
edbcf2d0cb
Add a wizard to Pcbnew to download 3d shapes libraries from Github
2015-08-20 09:14:44 +02:00
Tomasz Wlostowski
a96299d456
router: improvements to shove algorithm
2015-08-19 18:07:16 +02:00
Tomasz Wlostowski
95c59c8060
router: multiple fixes:
...
- PNS_ITEMSET now keeps ownership info (does not rely on PNS_ITEM::Owner(), avoiding the risk of dangling pointers)
- fixed vias losing connected traces when dragging in mark obstacles mode
- fixed rare segfault when board item returned null netclass
2015-08-19 17:27:23 +02:00
Cirilo Bernardo
33a9f7ecc8
Pcbnew: restore automatic calculation of reference position when exporting to IDF.
2015-08-18 19:48:42 -04:00
jean-pierre charras
adca4d55f0
Dialog tracks and vias properties on GAL: fix a minor issue ( min size not set: missing call to SetSizeHints() ), which fixes also a more annoying issue on Unity (dialog never raised).
...
Remove useless code to find 3 sizers by just making them protected in wxFormBuilder.
2015-08-18 18:15:57 +02:00
unknown
cc7549a2a5
* Python scripting: brings pad.GetZoneConnection() and in example pad.SetZoneConnection(pcbnew.PAD_ZONE_CONN_FULL) to full workable.
...
* Cleanup namespace in enum ZoneConnection in pcbnew/zones.h to self-explained names unification: PAD_ZONE_CONN_INHERITED, PAD_ZONE_CONN_NONE,PAD_ZONE_CONN_THERMAL,PAD_ZONE_CONN_FULL, PAD_ZONE_CONN_THT_THERMAL
2015-08-18 16:19:17 +02:00
Tomasz Wlostowski
f6689f75a8
router: fixed loop removal issue
2015-08-18 11:38:17 +02:00
jean-pierre charras
cc2fe47c95
Fix a few coverity warnings.
2015-08-16 11:02:19 +02:00
Maciej Suminski
0cad702fc7
Fixed footprint editor crash on ref/val text layer change (GAL).
2015-08-15 16:00:34 +02:00
Henrik Nyberg
5486104e8d
Fixed the missing remove zone corner menu entry.
2015-08-15 15:28:48 +02:00
unknown
37742627b4
Restore Meter option to VRML export + other changes
...
* Adds a "Grid Reference Point" to the VRML export; this allows a user to specify the (X,Y) coordinate which will be the origin point on the output
* Adds a "Grid Reference Point" to the IDF export; this is similar in purpose to the corresponding VRML export feature.
2015-08-13 15:13:34 +02:00
Tomasz Wlostowski
e342744a32
router: Do not use reference to a temporary object. Prevent double freeing (m_joints). Draw tuned track always on top.
2015-08-12 21:12:13 +02:00
Maciej Suminski
6989af7904
Minor fixes (PNS).
2015-08-12 21:12:13 +02:00
Maciej Suminski
127fcfa7c9
Code formatting.
2015-08-12 21:12:12 +02:00
Henrik Nyberg
a6c94e26f6
Improved code for handling zone corner dragging (GAL).
2015-08-12 10:15:45 +02:00
jean-pierre charras
5ba6cb975b
3D viewer: a few optimizations to speed up scene building, and better look of circles in footprint outlines.
2015-08-11 13:56:02 +02:00
Maciej Suminski
65ebfe12c1
Fixed oval pads highlighting in mark collisions mode (PNS).
2015-08-10 17:50:10 +02:00
Maciej Suminski
8b46c4eb8f
Fixed crash when pcbnew was set to start with GAL canvas.
2015-08-10 14:34:55 +02:00
unknown
2330b13864
Fix coverity reported strcat/strcpy potential overflows
2015-08-10 10:17:22 +02:00
jean-pierre charras
f58e288140
Pcbnew option dialog: fix very minor bug #1482647 and remove the option about zone filling algo, now useless.
2015-08-08 15:54:32 +02:00
jean-pierre charras
9d3a24a87c
Fix bug #1482809 (Pcbnew crashes when opening if it was closed in OpenGL mode)
2015-08-08 14:44:39 +02:00
Maciej Suminski
6018bb6625
Pcbnew saves the type of used canvas.
2015-08-07 19:15:47 +02:00
Maciej Suminski
1d6fc920e6
Simplified code for switching canvases.
...
Moved SwitchCanvas() to PCB_BASE_FRAME and made it common for all subclasses.
More code from UseGalCanvas() is shared between classes.
2015-08-07 19:15:36 +02:00
Maciej Suminski
ddcdda1a59
GalType -> GAL_TYPE
2015-08-07 18:24:43 +02:00
Maciej Suminski
f43510739c
Append board in GAL.
2015-08-07 18:24:42 +02:00
Maciej Suminski
0bd85fd8d1
Fixed a minor memleak.
2015-08-07 18:20:49 +02:00
Maciej Suminski
03d8d6850a
Minor fixes. - Prevent a crash if m_activeTools is empty (should not happen, but you know the Murphy's law) - Better use of conditions in FOOTPRINT_EDIT_FRAME::Process_Special_Functions()
2015-08-07 18:17:51 +02:00
Maciej Suminski
a4ffb065d4
Corrected TEXTE_MODULE:GetBoundingBox() function.
2015-08-07 18:17:51 +02:00
Maciej Suminski
5caa1523bd
Handling Coverity reports.
2015-08-07 17:07:06 +02:00
jean-pierre charras
a0b5d1cd7b
Pcbnew, dialog exchange footprints: better messages in option radio box.
2015-08-07 10:28:14 +02:00
Cirilo Bernardo
64760cc952
Pcbnew: minor exporter fixes.
...
* Remove unused 1 inch units choice from VRML export dialog.
* Fix model offset calculation in IDF exporter.
2015-08-06 19:13:02 -04:00
Chris Pavlina
acb2c54594
Option dialog mnemonic and padding fixes
...
* Fix conflicting mnemonics in Eeschema options dialog.
* Add mnemonics to Pcbnew, Footprint editor, and Component editor option
dialogs.
* Fix padding in all option dialogs.
* Remove obsolete DIALOG_LIBEDIT_DIMENSIONS.
2015-08-06 14:40:22 -04:00
Wayne Stambaugh
09d8e85d84
Pcbnew: minor fixes to exchange footprint dialog.
...
* Replace module nomenclature with footprint for improved consistency.
* Replace abbreviations in control text.
* Replace exchange nomenclature with change.
2015-08-06 13:11:51 -04:00
Wayne Stambaugh
90a53b9aa2
Pcbnew: set default button in footprint editor options dialog.
2015-08-06 11:29:06 -04:00
Chris Pavlina
fa29c62277
Fix saving undo/redo limits in Eeschema.
2015-08-05 20:10:52 -04:00
Chris Pavlina
aaadb40a71
Make undo/redo limits user configurable.
...
* Add code to allow each editing window it's own undo/redo count.
* Add code to allow for infinite undo/redo when count is set to 0.
* Add edit control to all editing windows general options dialog for
user configuration of undo/redo count.
* Add code to save and restore undo/redo count for each editing window.
2015-08-05 10:28:27 -04:00
Jon Neal
89f4316afc
Pcbnew: fix minor string formatting error in DIALOG_PLOT_BASE.
2015-08-05 09:00:01 -04:00
Maciej Suminski
d624115f35
Fixed failing undo while routing.
2015-08-04 23:08:13 +02:00
Tomasz Wlostowski
b6f61ff676
PNS: correctly snap to offset pads
2015-08-04 12:15:47 +02:00
Tomasz Wlostowski
86b07d89a7
PNS: fixed crash on via dragging
2015-08-04 11:37:16 +02:00
Maciej Suminski
2a93d083ee
More DXF import fixes.
2015-08-03 21:11:59 +02:00
Maciej Suminski
0fbf31ef38
P&S: memory mgr & disappearing trace fixes. Still a bit buggy, though...
2015-08-03 21:11:51 +02:00
Tomasz Wlostowski
07f5516e59
geometry: Parse() method for SHAPE_LINE_CHAIN, working on Read() in SHAPE_FILE_IO
2015-08-03 20:29:44 +02:00
Tomasz Wlostowski
9c2bcb2f3c
Fixed crash on right click on zone with GAL mode.
2015-08-03 11:53:58 +02:00
Bernhard Stegmaier
5f4423f7af
Changed abs() to std::abs() in pns_topology.cpp.
2015-08-03 10:50:05 +02:00
Wayne Stambaugh
7b39b1bfc4
Pcbnew: fix dimension dialog default button on Linux.
2015-08-02 18:14:13 -04:00
jean-pierre charras
b0585253c3
Avoid creation of the zones_dump.txt file each time the zones are re-filled, when this option is not enabled.
2015-08-02 19:39:24 +02:00
jean-pierre charras
9f61254839
Fix bug #1480619 (Moving silkscreen reference of rotated footprints glitches in GAL)
2015-08-02 11:19:01 +02:00
Wayne Stambaugh
e9ed3e3e55
Pcbnew: make OK button default item in dimension properties dialog.
2015-08-01 17:30:38 -04:00
jean-pierre charras
6a6a55f9bf
A few messages modified in dialogs to help translations.
2015-08-01 14:48:38 +02:00
jean-pierre charras
4b4d9d9770
Plot solder mask layer: fix incorrect margin of zones drawn on this layer (zone areas were slighly larger than the actual areas)
...
Fix a few minor and very minor other issues: coverity warnings and compil warning.
2015-08-01 12:20:23 +02:00
jean-pierre charras
75d02086ad
Modedit: fix a minor bug in footprint transform (polygons not mirrored or rotated in global footprint transform).
...
Code cleaning: in class EDGE_MODULE and TEXTE_MODULE, remove duplicate methods for fp edition (about rotation, mirroring and move) and add comments.
2015-07-31 21:04:30 +02:00
Maciej Suminski
f140e36021
Footprint editor uses the same canvas as the layout editor.
2015-07-31 17:40:19 +02:00
Maciej Suminski
73a6e95407
Ratsnest algorithm takes into account pad offset.
2015-07-31 17:40:19 +02:00
Maciej Suminski
e3cbfb0609
Better way of handling changes in EDIT_TOOL (GAL).
2015-07-31 17:40:19 +02:00
Maciej Suminski
cb629e0ad4
Fixed DXF placing problem (GAL).
2015-07-30 13:49:36 +02:00
Maciej Suminski
781ac8df9f
RN_NET::GetClosestNodes() minor fix.
2015-07-30 13:49:36 +02:00
Maciej Suminski
3049bc1d5f
Fixing SELECTION_TOOL heuristics, take #2 .
2015-07-30 13:49:35 +02:00
Maciej Suminski
4718b6d7c8
Code formatting.
2015-07-30 13:49:35 +02:00
Maciej Suminski
29cbaa206e
Fixed updating of Zoom & Grid context menus.
2015-07-30 13:49:35 +02:00
Maciej Suminski
094c286024
Fixed issues reported by Coverity.
2015-07-30 13:49:35 +02:00
unknown
07ad6cb0bb
Fix potential crash in pcbnew (if if a pad in a footprint in a mal-formed .pretty library contains a reference to a net)
2015-07-29 20:55:56 +02:00
jean-pierre charras
32f0ea621f
Shape poly set: fix bug in BBox calculation. Class MARKER : fix broken code and clean code. Fix bug #1369682 (EESchema Erc not show error count) due to this broken code.
2015-07-29 14:18:53 +02:00
Maciej Suminski
63b0e63152
Prevent 'select copper' & 'select trivial connection' from picking modules.
2015-07-28 17:33:18 +02:00
Maciej Suminski
f7dbd8a213
Fixed a refresh issue on footprint insert (GAL).
2015-07-28 17:33:18 +02:00
Maciej Suminski
c632f3db18
Update ratsnest on footprint change (GAL).
2015-07-28 17:33:18 +02:00
Maciej Suminski
5402bf0960
Allow zone drawing tool to start a new zone in the previous zone last point.
2015-07-28 17:33:18 +02:00
Maciej Suminski
55b09483df
Picker tool captures cursor by default.
2015-07-28 11:11:18 +02:00
Maciej Suminski
c9837595ef
Fixed VIEW_CONTROLS too frequent reset.
2015-07-28 10:30:06 +02:00
Maciej Suminski
6983f90b9f
Align cursor to the grid when dragging multiple items (GAL).
2015-07-28 10:28:59 +02:00
Jean-Pierre Charras
1d26647a60
de-boostization: Fixed incorrect zone fill clearance when overlapped with another zone of higher priority.
2015-07-27 21:47:49 +02:00
Tomasz Wlostowski
1d7e49a45c
SHAPE_POLY_SET::Inflate(): correct arc approximation for negative offsets (deflation). Control circle->segments count explicitly in all Inflate() calls
2015-07-27 21:46:47 +02:00
Tomasz Wlostowski
63b35f40a7
Removed all dependencies on boost::polygon except for bitmap2component. Replaced almost all instances of CPOLYGONS_LIST with SHAPE_POLY_SET.
2015-07-27 21:45:57 +02:00
jean-pierre charras
17d900411f
Pcbnew fixes in import plugins: Legacy .brd files: accept pcb texts tracks on non activated copper layers (tracks are removed and texts front on top layer) .
...
Eagle plugin: if a board has a odd number of copper layers, the converted board copper layer count is rounded to the next even count (a odd count creates issues in .kicad_pcb files).
2015-07-25 13:16:05 +02:00
jean-pierre charras
ee08e8d1de
Pcbnew: Fix some issues in dialog netlist: remove useless check box, avoid a message sometimes erroneously shown, use lazy mode to build the netlist report, store the netlist report options in user config.
2015-07-24 20:49:47 +02:00
jean-pierre charras
9b9c7945a2
Many minor fixes (like bug #1477213 ). Better help in dialog environment variables editor (the tooltip was never shown on Windows)
2015-07-24 12:23:34 +02:00
Maciej Suminski
d010703eaf
Fixed cursor freeze in pcbnew (GAL).
2015-07-24 10:58:47 +02:00
Maciej Suminski
656790a672
Make module texts selectable if overlapping with module pads.
2015-07-24 09:42:46 +02:00
Maciej Suminski
74584e2081
Fixed crash on undo layer change in TEXTE_MODULE.
2015-07-24 09:42:46 +02:00
Maciej Suminski
7650b0e8ad
Minor code cleaning (PNS).
2015-07-24 09:42:46 +02:00
Maciej Suminski
d6bc33bd42
Removed a few more memory leaks and fixed crash on exit.
2015-07-24 09:42:46 +02:00
Maciej Suminski
982eee7905
Do not invoke PNS inline dragging when 'Duplicate' is run.
2015-07-24 09:42:45 +02:00
Maciej Suminski
f7fa0852b5
Fixed screen scrolling on zooming in/out.
2015-07-24 09:42:45 +02:00
Tomasz Wlostowski
591f54f540
DRAWING_TOOL: show cursor when placing text
2015-07-22 13:51:59 +02:00
Tomasz Wlostowski
afb6571249
PNS_NODE: fix segfault when dragging a track/corner of a track forming a ring
2015-07-22 13:51:12 +02:00
Tomasz Wlostowski
8752f46f07
PNS_ROUTER: correctly handle NPTH pad layer sets.
2015-07-22 13:49:53 +02:00
Maciej Suminski
83171482b3
Fixed a memleak (CONDITIONAL_MENU).
2015-07-22 10:46:57 +02:00
Maciej Suminski
6cb57f100a
Fixed a memleak (PNS).
2015-07-22 10:46:56 +02:00
Maciej Suminski
b16ade0805
PNS code formatting.
2015-07-22 10:46:56 +02:00
Jan Dubiec
7f1f436a4e
Proper OPT_OBSTACLE casting.
2015-07-22 10:46:45 +02:00
Chris Pavlina
ca0849b968
Pcbnew: fix default button while in text edit control on Linux in footprint text edit dialog.
2015-07-21 09:28:19 -04:00
Chris Pavlina
991d1066ef
Pcbnew: improve dialog message when no footprints on BOM export.
2015-07-20 16:49:39 -04:00
Ruben De Smet
4b98dc9dda
Minor coding policy fix.
2015-07-20 10:24:56 -04:00
jean-pierre charras
1885a924d3
Fic bug #1475891 (Assertion failed when appending a board in pcbnew)
2015-07-19 11:18:07 +02:00
unknown
40ccc0bedf
replace round() with KiROUND(), our function that is used almost everywhere for rounding, and detects int overflows in debug mode.
2015-07-17 10:26:48 +02:00
jean-pierre charras
3372b77b43
Fix a minor issue on Windows: when a viewer or a lib editor is already open and iconized, and when one try to run it, it stayed inconized. It is now raised, like on Linux.
2015-07-16 21:29:40 +02:00
Maciej Suminski
27eafcb5c1
Fix erroneous cursor control with keys when grid size is less than one pixel with certain zoom levels.
2015-07-16 17:52:08 +02:00
Maciej Suminski
232d7462b6
Removed wrong assert.
2015-07-16 12:05:07 +02:00
Maciej Suminski
dd8f7cc4b5
Fixed crash on ratsnest calculation after a zone was removed.
2015-07-16 11:10:31 +02:00
Maciej Suminski
cba132aaf4
Fixed an assert in the Create Array dialog.
2015-07-16 11:10:30 +02:00
Maciej Suminski
fbdaf9bbdc
Removed unnecessary header file.
2015-07-16 11:06:17 +02:00
Maciej Suminski
6451fcf174
Fixed double EndModal() assert in the Global Deletion dialog.
2015-07-15 19:05:59 +02:00
Maciej Suminski
36d3d9f78e
Cursor warps to the drag origin (GAL).
2015-07-15 17:32:30 +02:00
jean-pierre charras
5fb7c211f9
Fix issues on Unbuntu Unity (dialogs/frames not raised when they are created and shown)
2015-07-15 15:03:19 +02:00
jean-pierre charras
2ee222e3bc
Fix issues on Linux/Unity (dialogs not always raised)
2015-07-15 14:41:30 +02:00
Maciej Suminski
4b45146c46
Improvements to the SELECTION_TOOL heuristics & sanitization rules.
2015-07-15 14:08:52 +02:00
Maciej Suminski
6a6ea35335
Fixed assert on double 'Move' command invocation (GAL).
2015-07-15 14:08:52 +02:00
Maciej Suminski
59af7a96f8
Minor code cleaning.
2015-07-15 14:08:52 +02:00
Maciej Suminski
36d1818b54
Fixed snapping problem when commands are issued from the context menu (GAL).
2015-07-15 14:08:51 +02:00
Maciej Suminski
2752953f34
Merging for non-copper zones (GAL).
2015-07-15 14:08:50 +02:00
Maciej Suminski
694ff39f53
Footprint Library Wizard accepts any folder name as .pretty library.
2015-07-15 14:08:50 +02:00
Maciej Suminski
6f8b02c726
Zones cleared in the legacy canvas are not refilled on modification in GAL.
2015-07-15 14:08:50 +02:00
Maciej Suminski
600bb2b640
Track & via properties dialog start with focus on track width/via diameter text input.
2015-07-15 14:08:50 +02:00
jean-pierre charras
ac1deb32ee
Fix issues on Linux/Unity (dialogs not always raised)
2015-07-15 10:18:48 +02:00
Maciej Suminski
d2ebf688f9
Reverted commits that remove boost::polygon dependency (need more testing).
2015-07-14 22:23:13 +02:00
Tomasz Wlostowski
9f18e5a98f
SHAPE_POLY_SET::Inflate(): correct arc approximation for negative offsets (deflation). Control circle->segments count explicitly in all Inflate() calls
2015-07-14 15:05:41 +02:00
Tomasz Wlostowski
41c753b05d
Removed all dependencies on boost::polygon except for bitmap2component. Replaced almost all instances of CPOLYGONS_LIST with SHAPE_POLY_SET.
2015-07-14 13:36:24 +02:00
Andrew Zonenberg
561a962977
Fixed bug where "add text" tool in module editor did not update the toolbar radio buttons correctly
2015-07-11 17:03:50 -07:00
Andrew Zonenberg
6775cf392a
Removed leading space
2015-07-11 16:50:31 -07:00
Andrew Zonenberg
1ea566b59d
Fixed bug where GAL text tool was overzealously capturing the cursor when not necessary
2015-07-11 16:03:07 -07:00
Andrew Zonenberg
a3a0db9be9
Fixed bug where GAL module editor does not release mouse capture after exiting text tool
2015-07-11 15:31:01 -07:00
Wayne Stambaugh
c01a9d0285
Footprint editor dialog improvments and UI policy fixes.
...
* Clean up formatting and make OK button the default in the array dialog.
* Make the OK button the default in the move exact dialog.
* Change the directory picker control from wxGenericDirCtrl to wxDirPickerCtrl so the native
directory picker dialog is used to select the directory in the select pretty library path dialog.
* Make the OK button the default in the select pretty library path dialog.
2015-07-11 19:11:34 -04:00
Maciej Suminski
c9370ae5e6
Fixed a PNS assert.
2015-07-10 23:42:13 +02:00
Maciej Suminski
a530ffad50
Code formatting.
2015-07-10 23:42:05 +02:00
Tomasz Wlostowski
a7613b6d6a
Fixed cancelling inline track dragging.
2015-07-10 12:14:27 +02:00
unknown
be42bd163b
BOARD::chainMarkedSegments() : fix coding style, bad comments, and better debug messages.
2015-07-10 18:43:25 +02:00
jean-pierre charras
6ec3d891d4
Pcbnew: remove erroneous warning message when starting pcbnew if scripting mode is enabled and wxpython disabled
2015-07-09 21:22:40 +02:00
Maciej Suminski
ca27eeb5c7
Fixed "select copper connection".
2015-07-09 20:04:54 +02:00
jean-pierre charras
01ae08a9a9
Remove the call to wxversion.py on winbuilder, because it does not work (not found, even when exists), ans it is not useful. Avoid crashes when wxPython scripting layer is not loaded, on kicad exit, and when trying to open the py console.
2015-07-09 18:44:23 +02:00
Maciej Suminski
f0a1f6dd78
Hotkeys for selecting trivial or copper connection (GAL).
2015-07-09 17:11:34 +02:00
Maciej Suminski
825fe8e5de
F4 panning (GAL).
2015-07-09 17:09:34 +02:00
Maciej Suminski
33e1797116
Tracks & vias properties dialog.
2015-07-09 13:35:51 +02:00
Maciej Suminski
f7ea9f9136
DIALOG_TRACK_VIA_SIZE does not allow to set 0 for track width or via diameter/drill.
2015-07-09 13:35:50 +02:00
Maciej Suminski
13739217b8
New SELECTION_CONDITION subclass (OnlyTypes).
2015-07-09 13:35:49 +02:00
Jon Neal
fdf5b821f0
Add centering cursor on zoom to GAL.
2015-07-09 10:18:27 +02:00
Garth Corral
901e96126d
Fix OSX Python scripting builds.
2015-07-08 13:44:55 -04:00
jean-pierre charras
da89f8a47a
A bit of cleaning code.
2015-07-08 19:46:24 +02:00
Maciej Suminski
4fffd147f2
Fix one warning.
2015-07-07 18:38:49 +02:00
Maciej Suminski
f2785d35bf
Muting Coverity report.
2015-07-07 18:37:03 +02:00
Maciej Suminski
df15be4f01
CONTEXT_TRACK_VIA_SIZE_MENU: generic context menu that displays track/via sizes.
2015-07-07 18:36:56 +02:00
Maciej Suminski
3a908b8b8a
PNS: fix hotkey conflict (Diff Pair Dimensions vs Drag).
2015-07-07 18:36:54 +02:00
Maciej Suminski
15e9e69ae0
Clicking with keyboard handles keyboard modifiers (GAL).
2015-07-07 18:36:52 +02:00
Maciej Suminski
e7099036d7
Fixed one key delay when moving items with arrow keys (GAL).
2015-07-07 18:36:50 +02:00
Maciej Suminski
2dc9d2ae66
PNS: hide cursor after inline dragging.
2015-07-07 18:36:47 +02:00
Maciej Suminski
5b7d08f2fd
PNS: initalize starting point.
2015-07-07 18:36:45 +02:00
Maciej Suminski
8e98008f67
PNS: prevent placing multiple vias in the same spot.
2015-07-07 18:36:43 +02:00
Maciej Suminski
e7626a8592
PNS: hide preview via when disabled.
2015-07-07 18:36:41 +02:00
Maciej Suminski
66778e1b00
PNS code formatting.
2015-07-07 18:36:38 +02:00
Maciej Suminski
1b4daade82
GRID_HELPER anchors for vias (GAL).
2015-07-07 18:36:32 +02:00
unknown
fa9727b3e3
Drc dialog, progress bar: fix issue on OSX.
2015-07-08 09:33:11 +02:00
jean-pierre charras
169905d26e
Drc dialog: fix some issues, and mainly the fact the progress bar shown during track tests and zone filling can be sent to the background and the dialog can be closed during tests or the board edited during tests.
...
Add a minor change in dialog_shim only for OSX. (force raising the dialog).
Very minot other fixes: coverity warnings, better message in debug mode in baord outlines calculations.
2015-07-07 19:49:03 +02:00
jean-pierre charras
351914da9d
Fix minor and very minor compil and Cppcheck warnings.
2015-07-06 19:56:05 +02:00
Garth Corral
c9739b622b
Canvas switching with Alt-Fx on Mac OS.
2015-07-06 13:52:52 +02:00
Maciej Suminski
8c80f0b4dd
Fixed fatal assert on track removal.
2015-07-06 10:52:58 +02:00
jean-pierre charras
b9f1ada90b
Use Clipper lib in 3D viewer, in calculations that crashed the 3D viewer when using boost:: polygon. Work in Progress.
2015-07-04 18:38:08 +02:00
unknown
a85964b8ad
fix incorrect slot orientation and width in export IDF
2015-07-04 18:32:37 +02:00
Maciej Suminski
bbce641ad5
Umbilical lines for module texts (GAL).
2015-07-03 20:58:13 +02:00
Maciej Suminski
453b05db09
One more zoom fit-to-screen fix (GAL).
2015-07-03 20:58:13 +02:00
Maciej Suminski
0cc6992d88
Double click finishes drawing (GAL).
2015-07-03 20:58:13 +02:00
Maciej Suminski
1b208e0a5e
Display info in the message panel if only one item was selected using area selection tool.
2015-07-03 20:58:12 +02:00
Maciej Suminski
3cb095b7c2
GAL canvases update status bar, message panel & zoom widget.
2015-07-03 20:58:12 +02:00
Maciej Suminski
891bd3d629
Do not show 'Properties' menu entry if there is more than one item selected (GAL).
2015-07-03 20:58:11 +02:00
unknown
10098b5c71
Some minor fixes and cleanup.
2015-07-03 10:42:47 +02:00
jean-pierre charras
3907de0289
Modedit: fix Bug #1471020 (user grid not stored)
2015-07-03 10:15:37 +02:00
Maciej Suminski
766da1e494
Code formatting.
2015-07-02 16:11:15 +02:00
Tomasz Wlostowski
f650eca784
dialogs: store inline drag mode in PNS settings dialog
2015-07-02 16:10:54 +02:00
Tomasz Wlostowski
a180f70086
router: compute (and display) DP gap dynamically when tuning length
2015-07-02 16:10:49 +02:00
Tomasz Wlostowski
0ade919a98
router: fix shortcut crash & inline dragging for inline dragging P&S
2015-07-02 16:10:07 +02:00
Jonathan Jara-Almonte
2fd493255d
router: compute diff pair gap on the fly when tuning the length
2015-07-02 16:10:02 +02:00
Tomasz Wlostowski
171d39c8d0
router: invoke interactive drag when dragging traces/vias in edit tool (disabled by default)
2015-07-02 16:09:56 +02:00
Tomasz Wlostowski
a86fda1d37
tools: added TOOL_SETTINGS class for storing persistent tool settings in config file (just a wrapper for wxConfigBase) router: free angle mode (mark obstacles only) & persistent settings
2015-07-02 16:09:51 +02:00
Mathias Grimmberger
7724c581fd
router: support for non-90 degree pad orientations
2015-07-02 16:09:43 +02:00
Tomasz Wlostowski
4abcc159d2
router: don't run optimizer if head line == NULL or on shove failure
2015-07-02 16:09:38 +02:00
Tomasz Wlostowski
52e193eded
router: fixing assert
2015-07-02 16:09:32 +02:00
Tomasz Wlostowski
e6dd016cb2
router: improve rounding error handling in hull calculation
2015-07-02 16:09:29 +02:00
Tomasz Wlostowski
f96c65254c
router: allow for insertion of a via without leading trace (e.g. in the middle of already existing trace)
2015-07-02 16:09:24 +02:00
Tomasz Wlostowski
a3edd9706f
router: more robust nearest obstacle clipping
2015-07-02 16:09:16 +02:00
jean-pierre charras
c48a417dcd
Pcbnew: Replace wxComboBoxes by wxChoice in auxiliary horizontal toolbar, to try to avoid issues on OSX (combo boxes not responding to mouse clicks).
2015-07-02 14:51:27 +02:00
jean-pierre charras
1311f81448
Replace wxComboBoxes by wxChoice in auxiliary horizontal toolbar, to try to avoid issues on OSX.
2015-07-02 11:50:38 +02:00
Maciej Suminski
1073ba1999
Fixed crash on double switching to legacy canvas on start.
2015-07-02 11:40:36 +02:00
Maciej Suminski
d3e276387d
Ratsnest fix (GAL).
2015-07-02 11:25:59 +02:00
jean-pierre charras
5c7f073a28
Hotkeys: try to use Cmd instead of Ctrl on Mac OSX.
2015-07-02 09:28:54 +02:00
Maciej Suminski
51c0ae3480
Fixed cursor offset in GAL.
2015-07-01 03:46:42 +02:00
jean-pierre charras
377942ed2a
Minor fixes.
2015-06-30 18:31:48 +02:00
Maciej Suminski
b352ef9deb
Panning with keyboard (GAL).
2015-06-30 14:08:29 +02:00
Maciej Suminski
30b679ae5e
Cursor control with keyboard (GAL).
2015-06-30 14:08:24 +02:00
Maciej Suminski
b5ef511063
Fixed alignment to grid when there is a grid offset (GAL).
2015-06-30 14:08:03 +02:00
Maciej Suminski
5ca8e0b9d6
Fixed incorrect polygon finishing in 45-degree mode (GAL).
2015-06-30 13:55:30 +02:00
jean-pierre charras
3076876ef2
Dialog set grid: add error checking in dialog (min and max grid size and max offset)
2015-06-28 16:11:57 +02:00
Eldar Khayrullin
f556161a21
Fix Pcad to kicad circle conversion.
2015-06-28 16:02:47 +02:00
jean-pierre charras
7be1d32a10
Fix minor issues (included Bug #1469358 hierarchical sheet pin not redrawn after edition)
2015-06-27 11:12:32 +02:00
Maciej Suminski
15857f22ca
Fixed dragging offset in eeschema after crossprobing a multipart component in pcbnew GAL canvas.
2015-06-26 17:32:48 +02:00
Maciej Suminski
37db33cbca
Update cross hairshape (GAL).
2015-06-26 17:30:41 +02:00
Maciej Suminski
a43a288e10
Update zones when DRC is launched (GAL).
2015-06-26 17:30:04 +02:00
Maciej Suminski
ac6a90afa3
Update ratsnest after properties are changed.
2015-06-25 17:36:57 +02:00
unknown
71b3125d8e
Cleanup: remove unnecessary macros EXCHG and NEGATE. add MIRROR macro.
2015-06-26 15:41:56 +02:00
Jon Neal
3e398ce1c6
Fix assertion in CvPcb, Eeschema, and Pcbnew when cancel is selected from save on exit dialog.
2015-06-25 15:06:51 -04:00
Marco Hess
8699fdf12e
Pcbnew: minor Protel gerber file extension fixes.
...
* Assign file extensions .g1d, .g2d, .g3d, ... for internal copper layers.
* Assign file extension .gm1 for edge cut layer.
2015-06-24 13:59:44 -04:00
unknown
257ee806fd
Pcbnew: enhancements in algorithm to build the board outlines as polygon (with holes) in specctra.cpp. the polygonal description is used in specctra export but also in 3D viewer.
2015-06-24 18:13:25 +02:00
Maciej Suminski
a8bffb862c
Fix for disappearing ratsnest lines (GAL).
2015-06-24 00:28:21 +02:00
Chris Pavlina
5a4e528d6a
Correct PNS boundaries for offset pads.
2015-06-23 11:41:53 +02:00
unknown
3160553d31
Specctra export/import: fix an issue: via drill sizes were not round tripping if they were bigger than the default.
2015-06-23 10:37:54 +02:00
jean-pierre charras
bf2f480b7c
Dialog exchange modules: add a fp selection from the fp viewer
...
Fix also an issue on Windows, when using the footprint viewer or the component viewer in modal mode:
Reason: these frames (when run under the Kicad manager) have the Kicad manager as parent, and were built with wxFRAME_FLOAT_ON_PARENT style.
On windows, when the frame with style wxFRAME_FLOAT_ON_PARENT is displayed its parent frame is brought to the foreground, on the top of the calling frame.
and stays displayed when closing the frame in modal mode.
This issue does not happen on unix so we use now wxSTAY_ON_TOP on Windows, and wxFRAME_FLOAT_ON_PARENT on unix to simulate a dialog called by ShowModal.
This is not perfect, but at least it works.
2015-06-22 19:21:34 +02:00
Tomasz Wlostowski
c55e729117
fp library wizard: remember last local download directory & refresh download progress dialog.
2015-06-22 14:24:40 +02:00
unknown
bea46ddde3
Fix a regression in session back-import from specctra, broken recently (The symptoms of this regression is that all tracks are moved to the front layer as they are back imported)
2015-06-19 20:01:22 +02:00
Maciej Suminski
09febe745d
Remove a corner from zone outline function (GAL).
2015-06-19 17:32:33 +02:00
Maciej Suminski
a988ebaabd
Zone merging (GAL).
2015-06-19 17:32:33 +02:00
Maciej Suminski
39ddb3e9ae
Two new selection conditions: same net & same layer.
2015-06-19 17:32:33 +02:00
Maciej Suminski
e91fdd0079
Removed redundant transition in SELECTION_TOOL.
2015-06-19 17:32:32 +02:00
Maciej Suminski
8162260e80
Removed another dialog assert.
2015-06-19 17:32:32 +02:00
Chris Pavlina
872a43ff92
Pcbnew: assertion work around when automatically saving an unnamed file.
2015-06-19 09:27:06 -04:00
J. Morio Sakaguchi
4464032b6d
Blind vias currently user ALT-V for a hotkey. This will also open the View menu.
2015-06-19 08:32:31 -04:00
unknown
fe6cf2f5f8
3d-viewer: Fix a regression: grid was not updated ( now updated by calling CreateDrawGL_List )
2015-06-19 11:06:52 +02:00
jean-pierre charras
355bd47e16
Edit microvia: fix incorrect drill size (Bug #1466653 )
...
Fix a few coverity minor warnings.
2015-06-19 10:55:37 +02:00
Henner Zeller
e211a77d8b
Pcbnew: fix ADD_APPEND option in BOARD::Add() so using version control for board files is practical.
2015-06-18 15:23:01 -04:00
jean-pierre charras
4f71260319
Fix micro via size incorrect when adding it in pns router
2015-06-18 20:22:23 +02:00
Maciej Suminski
a16dd894d5
Show Place & Drill origin in GAL.
2015-06-18 17:51:54 +02:00
Maciej Suminski
28a270a328
Refactored grid origin point drawing (GAL).
2015-06-18 17:51:53 +02:00
Maciej Suminski
2ebacfa3c2
GAL sets appropriate top layer after loading a PCB.
2015-06-18 17:51:53 +02:00
Maciej Suminski
fa3d074ca4
Find command zooms in found items (GAL).
2015-06-18 17:51:52 +02:00
Maciej Suminski
8964ff8922
Hotkey lists displayed after pressing the Help button (GAL).
2015-06-18 17:51:52 +02:00
Maciej Suminski
f63170ca84
Tools available under toolbar buttons: delete items, highlight net, set drill/place origin (GAL).
2015-06-18 17:51:51 +02:00
Maciej Suminski
057bd1b886
PICKER_TOOL - generic tool for picking a point.
2015-06-18 17:51:51 +02:00
Maciej Suminski
ac10ca40f8
Net highlighting is moved to a separate TOOL_ACTION.
2015-06-18 17:51:50 +02:00
unknown
c636c4e735
Fix to closing polylines in DXF imports.
...
The DXF format polylines and lwpolylines have a 'flags' field of which bit 0 indicates if the polyline/lwpolyline is to be closed or open.
This flags field is correctly read during the import but in the conversion to board segments, was previously not used.
2015-06-18 17:51:17 +02:00
unknown
1c8fd8b207
Eeschema: remove the run cvpcb menu entry from eeschema tools menu when running as stand alone.
...
Pcbnew: fixes a problem exporting to DSN where the layername for B_Cu provided to the *.DSN file was incorrect
2015-06-18 15:29:26 +02:00
jean-pierre charras
6ff03b41fd
Vias, creation and editon: fix a bug in legacy mode when creating a micro-via (the drill diameter was the standard vias drill, not the micro-via drill).
...
Also in global vas edition, always set the via drill to the actual current netclass value (do not use anymore the 0 value as default), to avoid unwanted invisible drill change for existing vias when the netclass value is modified.
This is consistent with the via creation, in GAL mode
2015-06-18 15:20:32 +02:00
jean-pierre charras
07d6cbaeb7
Vias, creation and editon: fix a bug in legacy mode when creating a micro-via (the drill diameter was the standard vias drill, not the micro-via drill).
...
Also in global vas edition, always set the via drill to the actual current netclass value (do not use anymore the 0 value as default), to avoid unwanted invisible drill change for existing vias when the netclass value is modified.
This is consistent with the via creation, in GAL mode
2015-06-18 15:19:30 +02:00
Jon Neal
3a9dfe274b
Zoom to DRC error after double clicking an entry (GAL).
2015-06-18 11:35:02 +02:00
Maciej Suminski
d3b31316ba
Fixed module text visibility settings (GAL).
2015-06-16 17:03:36 +02:00
Maciej Suminski
12adb25a71
Fixed 'Edit in footprint editor' hotkey (GAL).
2015-06-16 15:27:59 +02:00
Maciej Suminski
dd5275f6c6
Minor SELECTION_TOOL fixes.
2015-06-16 14:51:39 +02:00
Tomasz Wlostowski
b562cfb8bb
WX_HTML_REPORT_PANEL: a REPORTER widget on steroids.
2015-06-16 14:20:42 +02:00
Maciej Suminski
d433a06d11
Fixed initialization for custom track/via size values (PNS). More meaningful error messages.
2015-06-15 17:54:58 +02:00
jean-pierre charras
49fac351ab
Fix a few coverity warnings.
2015-06-15 16:01:43 +02:00
Maciej Suminski
6d07e9a754
Fixed dialogs asserts.
2015-06-15 15:54:58 +02:00
Maciej Suminski
db44fc3649
Removed debug messages from Footprint Library Wizard.
2015-06-15 14:53:40 +02:00
unknown
c70f4a0706
Pcbnew: Increase board thickness limit from 3mm to 10mm
2015-06-14 20:18:34 +02:00
jean-pierre charras
dc9ebf30e5
A few minor fixes. Eeschema: add a workaround (not afix) to solve issue Bug #1464773 (Print bug with differently sized subsheets).
2015-06-14 19:58:57 +02:00
jean-pierre charras
fc15404947
Fix a build issue in scripting mode (due to a no more existing method still declared in class_zone.h header)
2015-06-12 18:32:24 +02:00
Tomasz wlostowski
eba3a55bb2
pcbnew: new zone filling algorithm using ClipperLib. Possibility to fall back to the old one
2015-06-12 17:13:18 +02:00
Chris Pavlina
8b33bfc61b
Fix remaining invalid net ID bugs in board file parser.
2015-06-12 09:59:58 -04:00
jean-pierre charras
0027bb14c5
Pcbnew: read netlist dialog: remove the .cmp file option. Use only the netlist to know the footprint associated to a component.
2015-06-12 14:46:41 +02:00
Chris Pavlina
097c73b8eb
Fix crash when parsing a PCB file with an invalid net code.
2015-06-08 15:28:04 -04:00
Dick Hollenbeck
8fb520249e
Use KiwayExpress messaging for CvPcb footprint assignment instead of *.cmp file.
...
* Remove global s_NetObjectslist.
* Separate out non-owning version of NETLIST_OBJECTS_LIST into NETLIST_OBJECTS.
* Fix double free pertaining to ~NETLIST_READER().
* Remove all file-io from CvPCB.
* Remove exe launcher cvpcb, retain only cvpcb.kiface, since cvpcb.kiface has no file i/o.
* Add void CVPCB_MAINFRAME::KiwayMailIn( KIWAY_EXPRESS& mail ) and teach it to use old
netlist loading code with a STRING_LINE_READER LINE_READER.
* Fix BEGIN_EVENT_TABLE( CVPCB_MAINFRAME, KIWAY_PLAYER )
2015-06-07 14:18:45 -04:00
Maciej Suminski
aadcd93ab5
Removed a redundant field in RN_NODE class.
2015-06-05 17:49:01 +02:00
Maciej Suminski
e86351b1b0
Fixed ratsnest for tracks with 0 length.
2015-06-05 17:49:01 +02:00
Maciej Suminski
fa421f15d8
Clearer dynamic ratsnest (for moved items).
2015-06-05 17:49:00 +02:00
Maciej Suminski
16db8e644b
Logical operators for ratsnest node filters.
2015-06-05 17:49:00 +02:00
Maciej Suminski
6cc535f27f
Less significant changes to the ratsnest code (GAL).
2015-06-05 17:49:00 +02:00
Maciej Suminski
f202e5318c
Fixed SELECTION_CONDITIONS::lessThanFunc().
2015-06-05 17:48:59 +02:00
Wayne Stambaugh
16daa04518
Fix title capitalization in P&S router properties dialog.
2015-06-05 09:59:57 -04:00
Maciej Suminski
209e630873
Disable net highlighting after loading a new board.
2015-06-04 14:54:08 +02:00
Maciej Suminski
ce4b4f8221
Update ratsnest on zone refill (GAL).
2015-06-04 14:54:08 +02:00
Maciej Suminski
c23adc47b7
Ratsnest algorithm distinguishes layers (GAL).
2015-06-04 14:54:08 +02:00
Maciej Suminski
42215f2388
Moved GetLayerSet() to BOARD_ITEM.
2015-06-04 14:54:07 +02:00
Maciej Suminski
a12ea29de8
Refactored the way zones are kept in ratsnest model (GAL).
2015-06-04 14:54:07 +02:00
Maciej Suminski
a2b8ab6b41
Ratsnest fix (GAL).
2015-06-04 14:54:07 +02:00
Maciej Suminski
0331d9958a
Minor optimization for ratsnest.
2015-06-04 14:54:06 +02:00
Wayne Stambaugh
e81477704d
Make OK button default in P&S router properties dialog.
2015-06-04 08:21:30 -04:00
Chris Pavlina
064e8a82e1
Fixed an assertion in arc drawing tool (GAL).
2015-06-02 20:16:55 +02:00
jean-pierre charras
ba37f33bbb
Pcbnew: Use a better (i.e. more suitable to calculate clearance areas) algorithm to inflate/deflate zones outlines. It fixes bug#1459734.
...
Previously, acute angles (especially small angles) in zone outlines create incorrect shapes and sometimes strange shapes for clearance areas, when using generic algorithms.
This happens when zones outlines have "spikes", but not usually for smooth outlines.
2015-05-30 14:02:55 +02:00
Wayne Stambaugh
2500976e31
Fix undefined MODULE dtor for auto_ptr in pcb_netlist.h which caused a memory leak. Thanks Simon Richter for finding this.
2015-05-28 20:21:38 -04:00
Simon Schubert
2db1b3adc8
Print out footprint texts placed on layers different than silkscreen.
2015-05-27 22:14:51 +02:00
Simon Schubert
cfeabde282
Grey out text in high-contrast mode.
2015-05-27 22:13:51 +02:00
Dick Hollenbeck
89143851ba
Added missing config file for nginx.
2015-05-27 15:33:33 +02:00
jean-pierre charras
1cf6979d89
Dialog BOM: update help displayed by the help button.
...
Rename dialog_footprint_wizard_list.fbp to dialog_footprint_wizard_list_base.fbp, to be consistent with other dialogs.
2015-05-27 11:35:21 +02:00
Dick Hollenbeck
60bcbba585
Configuration file for nginx.
...
Radically improves the speed of github plugin if run on a machine near you. It acts as a cache-ing proxy server.
2015-05-26 17:12:43 +02:00
Chris Pavlina
775f08b2bb
Eliminate "PAD has no layer" warning for valid pads.
2015-05-26 16:33:46 +02:00
jean-pierre charras
9ebcf41b8d
Fix bug #1458188 , about zone clearance, when a zone is inside an other zone, the clearance was sometimes not right.
2015-05-23 19:12:40 +02:00
jean-pierre charras
fd907a413c
Minor changes: modify a few messages in dialogs to allow a better or more easy translation of these messages (too short messages cannot be safely translated).
...
Remove no more existing special.lib from template file kicad.pro
2015-05-22 13:00:43 +02:00
jean-pierre charras
84ba36fa72
Allows switching GAL or legacy mode in footprint editor (previously, the mode was inherited from the board editor, and was not modifiable without closing the footprint editor) by menu or F9, F11 and F12 keys)
2015-05-19 18:39:05 +02:00
Maciej Suminski
01c9f09833
wxWidgets under OS X require wxMenuItem ids to be >0.
2015-05-18 13:48:13 +02:00
Maciej Suminski
6788e31a1e
Fixed context menu crash on OS X (GAL).
2015-05-18 13:48:12 +02:00
Maciej Suminski
7c59d0dcc4
Layer toggling with 'Place Via' hot key when router is
2015-05-18 13:48:11 +02:00
Maciej Suminski
26ee2092af
PNS router uses the legacy canvas hot key bindings.
2015-05-18 13:48:11 +02:00
Maciej Suminski
15cefcda9f
Code formatting.
2015-05-18 13:48:11 +02:00
Maciej Suminski
4fe65715a2
Added trivial connection selection (GAL).
2015-05-18 13:48:10 +02:00
unknown
00cf800ce8
Pcbnew: fix false DRC violations for oval pads, minor code cleaning and translate French comments in drc_clearance_test_functions.cpp file.
2015-05-17 12:58:23 +02:00
jean-pierre charras
77249d9b2d
Minor fixes: remove a few useless includes and move a few others to the right file. Remove a few coverity warnings about not initialized members.
...
Minor bug fix: Zone duplicate zone in legacy mode: duplicate a zone to the same layer (and therefore the same location) is no more allowed.
2015-05-15 14:49:11 +02:00
Maciej Suminski
4f3337f5ed
Fix hot keys for adjusting grid size (GAL).
2015-05-12 12:03:39 +02:00
jean-pierre charras
37b0868376
Pcbnew: fix minor issues about fast grid switching, and next/previous grid selection from hotkeys. (GAL mode still has an issue)
2015-05-12 11:05:36 +02:00
jean-pierre charras
4ebe471420
Minor fixes in add zone and duplicate zone (legacy mode)
2015-05-10 21:10:10 +02:00
jean-pierre charras
e2c7e6bf02
onrightclick.cpp: remove useless wxClientDC, which was used only the hide/show (to the same location) the on-grid cursor during the creation of the popup menu (perhaps a trace of legacy code).
...
Minor changes in pcb_calculator GUI messages to make easier translation of these messages.
Cosmetic enhancements for 2 icons
2015-05-09 10:37:50 +02:00
jean-pierre charras
e3700cae91
Enable/disable (depending on the display mode) menus which are usable only in GAL mode (and have no action in legacy mode)
2015-05-08 10:58:59 +02:00
Maciej Suminski
7eaceffd35
Fixed weird handling of 'Find' action.
2015-05-05 20:39:42 +02:00
Maciej Suminski
da75c52665
Hot keys settings are synchronized between GAL & legacy
2015-05-05 20:39:42 +02:00
Maciej Suminski
99e5228948
Moved the list of TOOL_ACTIONs to ACTION_MANAGER.
2015-05-05 20:39:41 +02:00
jean-pierre charras
425ddb92a7
Cosmetic enhancements in dialogs and menus
2015-05-03 20:43:07 +02:00
unknown
04ffd0a4ac
i18n pcbnew GAL popup menu entries
2015-05-03 17:53:44 +02:00
jean-pierre charras
d41bc31c49
Fix bug #1447905 (very minor bug, in fact). Fix a few minor coding style issues.
...
Fix 2 coverity warnings.
2015-05-03 08:31:14 +02:00
jean-pierre charras
2047d87317
Minor fixes (Bug #1414328 and Bug #1440312 ). Remove translatable attribute in a debug message.
...
tools/edit_tool.cpp: remove limitation (GAL mode) to delete the last pad in a footprint (a footprint can have 0 pad, for instance a logo)
2015-05-01 17:01:09 +02:00
jean-pierre charras
5a02b91e5f
Fix some issues created by rev 5632:
...
* Use only double to store zoom levels in class BASE_SCREEN (int type is not working for eeschema or page layout editor) (this fix Bug #1450551 , Assertion failed on wxRound() when zooming)
* Fix crash in all apps but Pcbnew when a grid or a zoom was selected from the popup menu.
* Modify default hotkeys for Next Grid and Previous Grid: the initial key was a dead key, not suitable as hotkey. the 'N' and Shift N keys are used instead (with a change for unfill zone hotkey)
* Modify code in EDA_DRAW_FRAME::SetNextGrid() and EDA_DRAW_FRAME::SetPreviousGrid() to make them compatible with other editors than the board editor.
2015-05-01 11:31:23 +02:00
Maciej Suminski
81ea3ce408
Missing files.
2015-04-30 11:08:18 +02:00
Maciej Suminski
872259981a
CONDITIONAL_MENU supports separators and ordering.
2015-04-30 10:46:08 +02:00
Maciej Suminski
958046ddb2
Moved SELECTION_TOOL context menu to a separate class.
2015-04-30 10:46:08 +02:00
Maciej Suminski
9ef9b7b8e1
Preliminary selection mode for SELECTION_TOOL.
2015-04-30 10:46:07 +02:00
Maciej Suminski
b8295b6af8
Code formatting.
2015-04-30 10:46:07 +02:00
Maciej Suminski
d18ed945c9
Do not run OpenMP loops when there is no data to
2015-04-30 10:46:06 +02:00
Maciej Suminski
787415c2aa
Updating the user grid size on change in GAL.
2015-04-30 10:46:06 +02:00
Maciej Suminski
3e46f2233a
Corrected "Zoom Auto" in GAL with empty board.
2015-04-30 10:46:06 +02:00
Maciej Suminski
6379d80636
Zoom & grid menus for GAL canvases.
2015-04-30 10:46:05 +02:00
Maciej Suminski
06b978b829
Refactored CONTEXT_MENU, added handler for updating.
2015-04-30 10:46:05 +02:00
Maciej Suminski
dfb0443b67
Refactoring library dependencies.
2015-04-30 10:46:05 +02:00
Maciej Suminski
10a4b64005
More icons for context menus.
2015-04-30 10:46:04 +02:00
Maciej Suminski
025d4cf23a
Alternative way of handling grid settings in GAL.
2015-04-30 10:46:04 +02:00
Maciej Suminski
4be876a13a
Expandable CONTEXT_MENUs (GAL). Minor CONTEXT_MENU
2015-04-30 10:46:04 +02:00
Maciej Suminski
946b9d1933
setTransitions() are called automatically for tools.
2015-04-30 10:46:03 +02:00
Maciej Suminski
c4888afbcc
Refactored the way GAL handles zoom settings.
2015-04-30 10:46:02 +02:00
Maciej Suminski
557bb43dd2
Moved TOOL_MANAGER & TOOL_DISPATCHER to EDA_DRAW_FRAME.
2015-04-30 10:46:02 +02:00
Maciej Suminski
5c984aa069
Parametrized TOOL_ACTIONs.
2015-04-30 10:46:01 +02:00
jean-pierre charras
699c76ccea
Rework on EXCELLON_WRITER class, to allow gerber and drill files creation from a python script.
...
added the example gen_gerber_and_drill_files_board.py in demos, which shows how to do that.
Fix a Printf format issue (shown in Debug mode) in Libedit (%d used for a size_t, changed in %zu)
2015-04-29 17:37:37 +02:00
jean-pierre charras
569c2be354
Minor fixes: dialog rescue: make strings translatable. Remove a few coverity warnings (not initialized members). Very minor other changes.
2015-04-28 17:07:36 +02:00
jean-pierre charras
c74f7b1a3d
Add missing dependency to build python wappers.
2015-04-27 21:27:59 +02:00
jean-pierre charras
9da39717ae
Add a python script example in demo folder to create various plot files from a board. Fix also some issues in plot controller helper class.
...
Important note: from a python script one cannot plot the palge layout, because the page layout template file is not stored in the board file, but it is part of the project.
Because when using a python script, the project is not loaded, the page layout template is not known.
Trying to plot it crashes the script.
2015-04-27 20:02:27 +02:00
unknown
665f346a03
Arcs in modules and board were rendered incorrectly on vrml export (bug 1448192).
2015-04-27 10:55:08 +02:00
jean-pierre charras
3084c0aa0b
Eeschema: add missing rotate and mirror sheet in sheet context menu (these transforms were possible in block commands, but not from the sheet menu).
...
Fix a i18n issue in field names when loading a component, if the language was changed during a session, and kicad not restarted (see Bug #1448654 ).
However changing the language needs restarting kicad, in order to have all messages or menus translated.
2015-04-26 18:32:16 +02:00
Wayne Stambaugh
ad9ec412f5
UI consistency and assertion fixes.
...
* Use "Close" in the file menu of every main frame window instead of the
mismatch of the terms "Close", "Exit", and "Quit".
* Change the terminology in the Pcbnew graphic text edit dialog to match the
module text edit dialog.
* Improve the layout of the Pcbnew graphic text dialog.
* Fix some wxPrintf parameter type assertions for 64 bit time_t.
* Fix all (at least I think I got all of them) duplicate menu accelerator
characters.
2015-04-23 15:43:45 -04:00
jean-pierre charras
20dfe9ca29
Minor fixes: dialog_create_array.* files: clean code ( remove useless declarations and functions ).
...
fix a few coverity warnings about not initialized members in ctors.
2015-04-22 18:39:49 +02:00
Dick Hollenbeck
e637493e04
Github plugin: Do not hard code https as the URI scheme for GITHUB_PLUGIN.
...
Use whatever comes from the lib_path in the fp-lib-table, thus opening up the same plugin for alternative generic servers.
2015-04-22 14:02:18 +02:00
jean-pierre charras
584f35e6d4
Minor fix in a long message.
2015-04-21 17:53:51 +02:00
jean-pierre charras
ea6b03cd5f
footprint wizard python plugins management: Fix a memory leak. Remove useless and outdated code, and add a minor enhancement.
...
Make a string translatable in a pcbnew info dialog.
2015-04-21 17:42:30 +02:00
jean-pierre charras
53b8a8ca96
Pcbnew: add the board thickness setup in dialog_layers_setup.cpp (mainly for the 3D viewer)
2015-04-20 18:48:31 +02:00
jean-pierre charras
4e210a2d05
ModEdit: fix a refresh issue after deleting a pad (depending on the position of the pad, the pad was sometimes not immediately undrawn).
...
Fix a few coverity wanings (not initialized members in ctors)
2015-04-20 16:59:25 +02:00
jean-pierre charras
016eef39e4
Dialog layers setup: cosmetic enhancements (fix a very minor issue on Windows). Remove a not used and outdated file.
2015-04-19 13:09:35 +02:00
jean-pierre charras
dcdf9066b9
Better handling of disabled layers when editing a footprint (value, ref) from the board editor (avoid the "illegal layer" message box when possible).
2015-04-17 12:24:35 +02:00
Maciej Suminski
d281d86eee
Fixed undo/redo display refresh for miras & dimensions (GAL).
2015-04-17 12:15:07 +02:00
jean-pierre charras
4daf9039db
Eeschema: Fix a very old bug relative to the tool to load power parts:
...
Previously, only the lib named "power" was used (and therefore power parts defined in other libs not shown).
Now, all power parts can be loaded from any library.
Also, when loading power parts from the chose component dialog or the lib viewer, libs and parts are filtered: only power parts and libs containing power parts are listed.
Hotkeys: move a few global strings in the files where ther are actually used (and make them local.) and code cleaning.
Fix a few other minor issues.
2015-04-16 17:26:51 +02:00
unknown
d40ea8adcb
3D viewer: fix issues with transparencies in some models (material issues in VRML2 parser)
...
Fix some issues in filling zones normals.
Fix an issue with some models that have materials but didn't defined the diffuse color.
Workaround for Bug #1443431 .
Implement some missing "code logic" for pervertexperface normals.
Remove some not used functions.
Calculate normals using double type.
2015-04-16 09:43:27 +02:00
jean-pierre charras
79af0c454d
2 very minor fixes.
2015-04-14 17:57:07 +02:00
jean-pierre charras
19347b1243
3D viewer: minor fixes. Use our class REPORTER to show warning messages and activity info when building the 3D board view. Add a few comments in sources.
...
Very minor other fixes.
2015-04-14 17:12:35 +02:00
jean-pierre charras
c519eea12b
3D viewer: fix (the fix is not perfect) a minor issue in zone rendering: copper thickness was not good when the option 'Show Holes in Zones" was OFF, and "Show Copper Thickness" ON.
...
Fix a few coverity minor warnings.
2015-04-12 19:44:46 +02:00
Maciej Suminski
cec0a956bd
bugfix: pcbnew segfaults after adding footprint directly from editor
2015-04-11 23:41:22 +02:00
Chris Pavlina
3fc45fb74f
Fix bug where user defined grid change does not update in GAL canvas. (fixes lp:146098)
2015-04-10 19:43:15 -04:00
Chris Pavlina
148ba4302e
Make tab order more sensible for DIALOG_PCB_TEXT_PROPERTIES.
2015-04-10 19:28:25 -04:00
unknown
d545c698fb
3D vrml export: fix for bug #1441734
2015-04-10 09:30:21 +02:00
Nick Østergaard
44d6595c6a
Fix swapped M and N in create array dialog string.
2015-04-09 19:41:08 -04:00
jean-pierre charras
ec17455d35
board_items_to_polygon_shape_transform.cpp: remove full duplicate code between DRAWSEGMENT and EDGE_MODULE, and fix incorrect conversion of DRAWSEGMENT polygon type to its polygonal shape.
...
Gerbview: better info from X2 filefunction attribute displayed in layer manager about copper layers
2015-04-09 20:53:36 +02:00
jean-pierre charras
0d77a8600d
Pcbnew: always save the line width of footprint graphic edges in files, to allow width = 0 in polygon outlines.
...
(should not change anything currently for all existing footprints).
2015-04-08 15:45:34 +02:00
jean-pierre charras
0f7e358030
3D viewer: fix a bug introduced in rev 5579s. Remove a few useless wxBusyCursor. Minor other fixes.
2015-04-08 14:50:36 +02:00
Maciej Suminski
78d9e7b789
bugfix: pcbnew crashes when selected component is removed in OpenGL canvas
2015-04-07 18:31:37 +02:00
jean-pierre charras
17297babe7
Eeschema: extend max number of units per package to 52 and clean code to easily extend this value upto 26x26 (but 52 is a reasonable max value).
...
Fix a few minor coverity warnings.
Add about_dialog typo fix from Nick Østergaard
2015-04-07 13:52:29 +02:00
Mikhail Karpenko
886a8521a4
Comments typos fixed.
2015-04-06 21:50:12 +02:00
Eldar Khayrullin
7d5ad2785a
Make translatable 'Routing Options...' entry
2015-04-05 18:01:50 +02:00
Sven D.
a7af3346e0
Enable 'Via Gap' setting when respective checkbox is selected.
2015-04-05 16:58:19 +02:00
jean-pierre charras
f25f465d4c
Make strings translatable in Create Array dialog (and a minor cosmetic enhancement).
...
Modview: fix issue about mouse on wrong monitor when starting Modview.
2015-04-05 11:52:41 +02:00
Eldar Khayrullin
5d55fa018e
Translate Selection tool "Select..." entry.
2015-04-04 21:57:38 +02:00
jean-pierre charras
cbf487c598
Pcbnew: duplicate and create array: popup menus in legacy mode: remove these options for a few items which cannot be (safely) duplicated (pads in board editor, and a few others )
...
Modedit, GAL mode: fix a crash when a duplicated area includes the ref or value fields.
Add missing bitmap for pad enumerate.
fix bad flag for Portuguese language.
Fix a few typo in messages.
2015-04-03 21:10:09 +02:00
jean-pierre charras
4def0958a5
Fix some coverity warnings. Fix typo and errors in comments. Very minor other fixes.
2015-04-03 11:13:06 +02:00
Tomasz Wlostowski
be785d554b
Update GAL ratsnest on canvas switch.
2015-04-02 22:45:19 +02:00
Maciej Suminski
b1cd83c197
Icons in GAL context menus.
2015-04-02 16:09:48 +02:00
Maciej Suminski
6083f3b011
Internationalization of GAL dialogs & menus.
2015-04-02 16:09:26 +02:00
Maciej Suminski
be839aca29
Fixed Footprint Library Wizard for builds with GIthub plugin disabled.
2015-04-02 13:31:29 +02:00
jean-pierre charras
bbbb84e6c2
Fix a few minor coverity warnings.
...
Fix minor 3D viewer issues (includling change number of segments and its optimization to draw pad holes.)
Fix Bug #1439132 (track and via list on toolbar not always refresh after loading a board).
Remove useless tool in Modedit.
2015-04-02 13:18:19 +02:00
Maciej Suminski
589dd442f5
Clippy returns home.
2015-04-02 09:18:45 +02:00
Maciej Suminski
8be73ad05a
KiCad assistant.
2015-03-31 23:45:02 +02:00
jean-pierre charras
c9a917eef1
3d viewer: fix a few warning coverity (and a potential bug). fp libs wizard: make it internationalized, and replace an untranslatable string created by grouping 3 strings by one translatable string.
2015-03-31 13:14:21 +02:00
Maciej Suminski
bfb700c79b
Removed the remaining lines related to WebViewer. Undone reduced number of layer in VIEW.
2015-03-30 22:40:29 +02:00
Maciej Suminski
09f2af3c42
Fixed invisible tracks in PNS.
2015-03-30 21:49:30 +02:00
Maciej Suminski
7f1ea9e54d
New Footprint Library Wizard.
2015-03-30 18:42:39 +02:00
Maciej Suminski
9e8719d3ff
Fixed overlapping segment endings in OpenGL view.
2015-03-30 14:09:56 +02:00
Wayne Stambaugh
45d0448bb9
Add path (environment variable) configuration dialog.
...
* Create new dialog to edit environment variables.
* Add helper class ENV_VAR_ITEM to manage environment variable values and
if they were defined externally.
* A path configuration dialog access to KiCad, CvPcb, Pcbnew, and Footprint Editor
window menus.
* Add validator for environment variables.
2015-03-29 17:22:53 -04:00
unknown
26990213db
3ED viewer: added more support for the VRML2 parser
2015-03-28 17:16:40 +01:00
Wayne Stambaugh
ec4d74c984
Minor 3D viewer improvements (fixes lp:1406680).
...
* Make OK button the default action in the 3D viewer option dialog per UI
policy.
* Fix standard button sizer padding in 3D viewer options dialog.
* Let sizers do their job by using default size for 3D viewer options
dialog.
* Set 3D viewer hot key to Alt+3 in all parent windows where 3D viewer is
accessible.
* Minor code cleaning and coding policy fixes.
2015-03-26 15:04:52 -04:00
jean-pierre charras
45808deb47
Minor fix: Gerber X2 attribute: remove one attribute (TF .GerberVersion, now no more in use) I added in my recent changes relative to the new J5 gerber version attributes.
2015-03-26 19:57:19 +01:00
jean-pierre charras
bb50e141f4
Pcbnew: Force visibility of items which have no option in dialogs to controle this visibility, when reading the .kicad_brd file.
...
these options are used in GAL mode, but the usercannot control this visibility. So if the board file does not have these visibility flags set, the GAL never show them.
Fix also a compil warning.
2015-03-26 14:20:11 +01:00
jean-pierre charras
85bc2ae015
Rework on Gerber plot functions: add X2 attributes in J5 version. Minor code cleaning.
2015-03-25 14:07:05 +01:00
Maciej Suminski
0b7fd874a0
Fixed printing issues under Linux.
2015-03-25 10:55:00 +01:00
Wayne Stambaugh
ec8bf0c13a
Library configuration menu naming improvements.
...
* Add footprint and drop table from the Pcbnew footprint library table menu
entry to make it clear to new users.
* Add component to the Eeschema library configuration menu entry.
2015-03-23 11:44:19 -04:00
unknown
74154480de
Eeschema enhancements: Option to annotate keeping multi-unit parts grouped and friendlier warning for modifying power values.
2015-03-23 12:45:31 +01:00
jean-pierre charras
9c43d6f22b
Very minor fixes: 3D viewer: remove artifacts with NPTH pads having the save size as their hole. Kicad: remove duplicate submenu in menubar. remove a minor coverity warning
2015-03-23 09:28:12 +01:00
jean-pierre charras
0e03fbff07
Make hotkey string info translatable in dialogs. These strings are now prefixed by _HKI , which can be used by translation tools to extract them.
2015-03-22 15:04:09 +01:00
https://launchpad.net/~john-j-beard
0350290499
Fix Bug #1426675 (Undo and cancel commands don't have effect for Duplicate operation in legacy mode)
2015-03-22 10:42:41 +01:00
jean-pierre charras
6e8a8a6b25
Fix some coverity warnings (mainly not initialized members)
2015-03-21 10:06:04 +01:00
jean-pierre charras
834b31b491
Plot pdf: fix issue when a 0 sized text is plotted (files are broken): now 0 sized texts are ignored.
...
pcbnew: remove a false error message when undoing a change on a text, or some other board items (graphic items for instance)
2015-03-18 20:50:42 +01:00
unknown
eef494d9c5
Pcbnew: Fix an Incorrect save-on-quit in pcbnew with unamed board
2015-03-17 08:34:02 +01:00
jean-pierre charras
115cb2d647
Try to fix Bug #1431765 (Pcbnew crashes in GAL when entering 3d display when a board outline is not closed)
...
This change modify the way warning messages are displayed: now the are displayed outside a paint event.
2015-03-16 18:39:35 +01:00
John Beard
900ecbae9d
Fix for cancellation of duplicate in GAL mode.
2015-03-16 10:25:40 +01:00
jean-pierre charras
5c26381963
Pcbnew: Fix Bug #1432370 (Solder mask cutouts extended by "Zone min thickness value")
2015-03-15 16:11:14 +01:00
Balint Kiss and John Beard
797ff5eeb7
Better icons for diff pair routine menus
2015-03-15 15:22:37 +01:00
jean-pierre charras
efe5658a9b
Fix bug Bug #1432165 (fp lib table dialog editor not shown on XFCE and Unity)
...
Cvpcb: Shows a better message when a netlist is not found.
2015-03-14 17:47:25 +01:00
jean-pierre charras
f743b98844
Try to fix Bug #1431391 (Unable to edit pins in Schematic library editor). It happens on XFCE, but also on Unity. This fix works on Unity. (it is due to the fact the dialog is not raised, for an unknown reason, and this bug depend on the way Eeschema and Libedit are run).
...
Add Ctrl+E hotkey in eeschema to edit a component with Libedit (similar to pcbnew Ctrl+E hotkey)
As usual, fix a few minor coverity warnings
2015-03-14 12:50:39 +01:00
unknown
adf2fc830e
Pcbnew, legacy mode: add Hotkey for editing module with module editor (Ctrl-E)
2015-03-14 08:43:36 +01:00
unknown
cbb0e2ad35
Rework on 3D viewer. Fix some issues, some optimizations and better rendering.
2015-03-13 20:27:25 +01:00
jean-pierre charras
9004ed8801
Remove a few coverity warnings. Fix some comments which were incorrect, due to the changes in code. Remove not compiled code (kept as comments), now outdated or useless
...
legacy plugin: better compatibility with old brd files (current track width and current vias size, stored in SETUP section, were not read from file and incorrectly set)
2015-03-13 17:48:42 +01:00
jean-pierre charras
2427b40271
Fix Bug #1431423 (pcbnew: edited 3d model filename is not saved).
...
Eechema, libedit, pin dialog editor: show pin texts in pin preview canvas.
2015-03-12 18:43:39 +01:00
Tomasz Wlostowski
aeddbb51ff
router: respect NPTH holes too
2015-03-11 23:48:53 +01:00
Tomasz Wlostowski
e9bc7b58cc
Snap cursor to pad center when moving (GAL footprint editor).
2015-03-11 18:06:44 +01:00
unknown
b3b791961a
coverity common folder fixes (mainly not initialized members).
2015-03-11 17:04:20 +01:00
jean-pierre charras
f16e083ecf
Fix minor bug #1429990 (3D viewer shows hidden footprint graphic texts ). Fix minor coverity warnings (not initialized members and dead code)
2015-03-11 14:59:43 +01:00
Maciej Suminski
b6c5b291a2
Coverity fixes.
2015-03-11 14:17:43 +01:00
jean-pierre charras
c586d9735e
Eeschema: fix bug #142970 (broken append sheet function)
...
Fix a few minor coverity warnings.
2015-03-10 19:31:21 +01:00
Maciej Suminski
035b231b62
Refinement for fix in 5497.
2015-03-10 18:31:23 +01:00
Maciej Suminski
2ecb72da84
Fixed disappearing selected items when switching between GAL canvases.
2015-03-10 17:05:38 +01:00
Maciej Suminski
26f20fbb00
Moved "Place Target" and "Place Module" tools from DRAWING_TOOL to PCB_EDITOR_CONTROL (to avoid placing modules in the footprint editor).
2015-03-10 16:58:26 +01:00
Maciej Suminski
721949b50e
Fix memory leak in pns_node and pns_line_placer. Fix coverity uninitialized warnings.
2015-03-10 15:38:27 +01:00
Maciej Suminski
97e4a3897c
Minor fix to ratsnest algorithm (GAL).
2015-03-10 15:02:27 +01:00
Maciej Suminski
c160a7de17
Capturing cursor in drawing tools (GAL).
2015-03-10 14:43:14 +01:00
Maciej Suminski
cc72e585f0
Fixed segfault in arc drawing tool (GAL footprint editor).
2015-03-10 14:32:40 +01:00
Maciej Suminski
56b692ae3e
"Select net/connection" (GAL).
2015-03-10 09:36:04 +01:00
Maciej Suminski
190af5d95b
Added functions to resolve connectivity queries in ratsnest (GAL).
2015-03-09 13:41:34 +01:00
Maciej Suminski
e6a10faab7
FIxed a few clang warnings.
2015-03-09 11:06:54 +01:00
jean-pierre charras
c9b9ccd2b6
Fix issue #1429665 (eeschema doesn't recognize .sch file when the LIBS section is empty. But the section is not used, just a comment, therefore can be empty).
...
Very minor other fixes.
2015-03-09 10:25:39 +01:00
jean-pierre charras
086ff54ef0
Fix minor issues: plot svg did not handle dashed lines.
...
Eeschema now uses dashed lines for graphic lines (to be consistent with plot functions and toolbal icon).
Fix an old bug in some envionments which warp the mouse on a bad monitor when opening eeschema, pcbnew and some other windows, only noticeable guys who are lucky enough to have more than one monitor.
2015-03-06 18:46:04 +01:00
unknown
c3e3ff3682
Minot fixes: Minor coding style issues fix (tab -> spaces). Add missing GetClass to all classes derived from EDA_ITEM. Make debug method Show() only compiled in debug mode.
2015-03-06 09:58:32 +01:00
Tomasz Wlostowski
435ca8a7dd
router: fix tuning status popup & incorrect length display
2015-03-05 10:02:29 +01:00
Tomasz Wlostowski
504c8bf286
router: fix segfault on misnamed DP complementary net
2015-03-05 10:01:54 +01:00
jean-pierre charras
6a016742c9
Fix a typo.
2015-03-04 21:08:57 +01:00
Wayne Stambaugh
d13912c26a
Fix bug in gEDA footprint library parser and OpenSSL version CMake file. (fixes lp:1427917)
...
* Fixed incorrect parameter ordering in gEDA footprint library parser
which read drill diameter, pad clearance and solder mask clearance.
* Fix FindOpenSSL.cmake version detect bug which was exposed by OpenSSL
version 1.0.2.
2015-03-04 14:46:06 -05:00
Maciej Suminski
8cc70d4468
Refinement to the previous commit.
2015-03-04 20:22:33 +01:00
Maciej Suminski
63ae839489
Fix for uninitialized length tuning status popup.
2015-03-04 20:08:30 +01:00
jean-pierre charras
a550ff84db
Fix some coverity and cppcheck warnings (most are very minor issues: not initialized members and initialized but not used variables)
2015-03-04 10:26:00 +01:00
Tomasz Wlostowski
5f1c9060ac
P&S router: fix unguarded boost optional derefernce. (fixes lp:1427880)
2015-03-03 20:16:14 -05:00
Tom Wlostowski
b580ef70c5
Fix segfault in P&S router.
2015-03-03 15:58:36 -05:00
Tom Wlostowski
7977ac5421
Fix double free in P&S router causing KiCad to segfault. (fixes lp:1427803)
2015-03-03 15:07:56 -05:00
jean-pierre charras
c7d04c3d08
Code cleaning: Remove EDA_BASE_FRAME::m_FrameName member which is a duplicate of wxFrame name.
2015-03-03 15:53:47 +01:00
Maciej Suminski
9716165d06
Merged the differential pair router & track length tuning tool.
2015-03-03 13:41:43 +01:00
Maciej Suminski
a6bd3314e4
Fixed warnings.
2015-03-03 12:59:26 +01:00
Maciej Suminski
161b360297
Fixed frozen cursor (GAL).
2015-03-03 11:55:23 +01:00
Maciej Suminski
0dd9efd9db
Merged the differential pair router & length tuning tool.
2015-03-03 11:50:50 +01:00
Tomasz Włostowski
385d3648d6
router: removed some printfs()
2015-03-03 10:36:44 +01:00
jean-pierre charras
2804d2e566
Add hotkeys to Kicad manager, and some rework on hotkeys management.
2015-03-02 18:29:18 +01:00
Tomasz Włostowski
fe40567426
router: shove now respects diff pair gap
2015-03-02 17:21:04 +01:00
Tomasz Włostowski
bf3128c683
router: fix syntax error in PNS_LOGGER output files
2015-03-02 17:20:48 +01:00
jean-pierre charras
399ab4baa4
Footprint editor: set the default footprint text size to 1 mm. Minor cleaning code. Very minor other fixes.
2015-03-02 16:59:03 +01:00
jean-pierre charras
4bab8dde65
Fix some minor coverity warnings. Fix a bug in pcad2kicad plugin. Scripting: map BASE_SET. Rename some python bom scripts with better names. Fix erroneous comments and add comments
2015-03-02 09:28:49 +01:00
Wayne Stambaugh
25b9a42ea3
More Coverity scan error fix goodness.
2015-02-28 15:50:35 -05:00
John Beard
873e0740e8
Fix bug in footrpint editor when creating circular arrays. (fixes lp:1424331)
2015-02-28 12:39:05 -05:00
Blair Bonnett
2101324691
Fix wxGTK scrollbar assertion in Pcbnew layer setup dialog.
2015-02-28 11:48:39 -05:00
jean-pierre charras
d6c6b4debb
Fix some coverity warnings (mainly not initialized vars).
2015-02-27 15:33:13 +01:00
Bernhard Stegmaier
30acc07e11
Default path fixes and remove old to find 3D model path code.
...
* Fix default KISYSMOD/KISYS3DMOD (#ifdef typo) for OSX builds.
* Remove setting KIGITHUB from kicad/pcbnew Info.plist in favor of hardcoded default
setting for OSX builds.
* Remove now unneeded Set3DShapesDefaultPath() and other small things.
2015-02-27 08:34:02 -05:00
Tomasz Włostowski
3f015705ac
working on shove fix for DPs
2015-02-26 16:34:10 +01:00
jean-pierre charras
10d67ffbd9
Fix some coverity warnings (not initialized members). Add comments. Better (more informative) title in dialog to download .pretty libs.
2015-02-26 11:33:15 +01:00
jean-pierre charras
dbdadbf519
Fix someminor coverity warning, and one bug found by coverity in drill report files : buried holes were not properly counted and listed.
2015-02-25 20:43:37 +01:00
jean-pierre charras
ede0daf9db
lib_dxf: Update to version 0.5.13 (previous: 0.5.11) due to a bug (memory leak) fixed in 0.5.13, which has also more comments, and try to fix most of coverity warnings (not initialized class members).
...
These members are now initialized, which also fix some other more serious coverity issues.
2015-02-24 10:07:40 +01:00
jean-pierre charras
feb14fa37d
pcbnew, place file: Fix a minor bug in side identification: a comment in file header was generated with always "top side" id even when the bottom side file was created. Fix also a minor coverity warning (no bug)
2015-02-23 14:03:20 +01:00
Bernhard Stegmaier
1e6c8cf88f
Enable file extension filters on OSX file dialog.
2015-02-22 17:48:33 -05:00
Wayne Stambaugh
4c6ca81f2c
More Coverity scan error fixes.
2015-02-22 16:25:29 -05:00
jean-pierre charras
7e80e7207c
Pcbnew, Footprint place file: use standard keywords "top" and "bottom" as board side identifiers instead of external copper layers names, which have no meaning in this fabrication file
2015-02-22 16:42:13 +01:00
jean-pierre charras
0975e3e5bd
Move exact dialog: make all messages translatable. Fix minor issues (some can be Windows specific). Remove useless declarations. Fix coding style issues
...
Fix minor warnings from cppcheck.
2015-02-22 15:43:44 +01:00
jean-pierre charras
c1978b3242
Pcbnew: fix crash when undoing a move exact pad in board editor.
...
Fix also very minor warnings detected by cppcheck.
2015-02-22 10:39:58 +01:00
Maciej Suminski
014905e7db
bugfix: pad enumerator skips pads if mouse cursor is moved too fast (GAL module editor).
2015-02-21 21:16:28 +01:00
Maciej Suminski
de03accdb1
Coverity report fixes.
2015-02-21 14:58:39 +01:00
Mark Roszko
3918d3f0b2
Eeschema code cleanup and coverity fixes.
2015-02-21 09:11:58 +01:00
Wayne Stambaugh
d1d1e2b58a
Lots of Coverity scan error fixes.
2015-02-20 19:41:10 -05:00
jean-pierre charras
bd5d468251
Pcbnew: fix bug #142348 (airwire does not always appear after deleting a track). Very minor other fixes.
2015-02-20 20:04:32 +01:00
Maciej Suminski
3e9bb6b887
SELECTION::GetCenter() returns VECTOR2I instead of wxPoint.
2015-02-20 11:40:36 +01:00
Maciej Suminski
c2bd2491f1
Added asserts in spots where DEGREES are not handled.
2015-02-19 16:03:45 +01:00
Maciej Suminski
84517d0e79
BOARD::DuplicateAndAddItem() handles vias too.
2015-02-19 14:55:46 +01:00
Maciej Suminski
f7a32e839e
Moved UndoInhibit related functions from TOOL_MANAGER to EDIT_TOOL.
2015-02-19 14:53:31 +01:00
Maciej Suminski
aafdfd015e
Disabled 'Duplicate' & 'Create array' for pads in the layout editor.
2015-02-18 20:30:14 +01:00
Maciej Suminski
9bed4814a3
Ratsnest update in 'Create array' tool (GAL).
2015-02-18 20:29:52 +01:00
Maciej Suminski
f06690c8d3
Merged lp:~john-j-beard/kicad/moveexact.
2015-02-18 20:27:00 +01:00
Maciej Suminski
4fb9bce354
Code formatting.
2015-02-18 17:53:46 +01:00
jean-pierre charras
63d3c835cb
Pcbnew: refinement to Bug #1422093 fix.
2015-02-18 10:13:17 +01:00
Tomasz Włostowski
112adccbcb
router: differential pairs & length tuning support
2015-02-18 01:29:54 +01:00
Tomasz Włostowski
e5deafb4bb
bulk improvements for selection and edit tools (GAL) disambiguatin heuristics and smarter grid alignment
2015-02-18 01:10:20 +01:00
Tomasz Włostowski
a46a92f918
new IDs for diff pair & length tuning tools
2015-02-18 01:06:14 +01:00
Tomasz Włostowski
9f0b02268b
tools: moved tools registration outside pcbframe.cpp
2015-02-18 01:04:47 +01:00
Tomasz Włostowski
4da839f30f
groundwork for invoking module editor on selected footprint in GAL mode
2015-02-18 01:01:02 +01:00
Tomasz Włostowski
da9fc84421
improved module locking: lock pads only/lock whole module mode added
2015-02-18 00:58:14 +01:00
Tomasz Włostowski
5d78a007cc
added ClassOf() for DRAWSEGMENTs, PADs and PCB_TEXTs
2015-02-18 00:53:57 +01:00
Tomasz Włostowski
0879b457ac
undo should work on pads too (GAL view)
2015-02-18 00:51:40 +01:00
jean-pierre charras
6312f8386a
Temporary fix a crash I created in rev 5427, when erasing all modules on a board and read the netlist. Will be fully fixed later.
...
Very minor fixes: remove duplicate #define in vrml_v2_modelparser.cpp, and "undo" a very minor change I made in class_board.cpp when I tried to fix a Pcbnew crash.
2015-02-17 21:32:49 +01:00
Wayne Stambaugh
f4d5e349bf
Fix a bunch of Coverity scan "unhandled exception" errors.
2015-02-17 13:47:21 -05:00
jean-pierre charras
39497b109e
Pcbnew: fix Bug #1422093 (pcbnew crashes after editing a footprint cominng from the board with the fp editor and saving it on a librray and trying to load it to the board)
...
Some other very minor fixes.
2015-02-17 17:32:47 +01:00
Cirilo Bernardo
dcdaee4c63
Pcbnew IDF and VRML exporter Coverity scan error fixes.
2015-02-17 09:56:45 -05:00
Wayne Stambaugh
f2edf02b35
Coverity error fixes.
...
* Fix unitialized variable in MSG_PANEL_ITEM default ctor.
* Fix a bunch of uncaught exception issues.
* Fix a memory leak in the NETLIST_READER::GetNetlistReader() when an
an attempt to read an invalid net list file occurs.
2015-02-15 19:04:48 -05:00
Maciej Suminski
b0ad779ee4
Calming down the Coverity report.
2015-02-15 23:21:52 +01:00
Miguel Angel Ajo
1e2af7fed1
Add GetLayerID method to BOARD.
...
This method is added for scripting purposes, to be able to query
specific board layer names thru a board object.
If no board specific layer name is found, it will fallback to
standard layer names.
2015-02-15 14:31:47 +01:00
Maciej Suminski
b1ace1607b
Reworked GAL switching.
...
Now OpenGL can report its problems instead of shutting down the application.
2015-02-15 02:18:35 +01:00
Maciej Suminski
b19010ff8b
Cross-probing pcbnew<->eeschema (GAL).
2015-02-14 21:52:22 +01:00
Maciej Suminski
bb861b81b2
Missing comments in the PLACEMENT_TOOL class.
2015-02-14 21:49:06 +01:00
Maciej Suminski
902d0e3f1f
Tools are processing const TOOL_EVENT& (Tool Framework).
2015-02-14 21:28:47 +01:00
Wayne Stambaugh
69553d6fa3
wxPython find and version loading fixes. (fixes lp:1408060)
...
* Add test to CMakeLists.txt to verify wxPython is installed when
KICAD_SCRIPTING_WXPYTHON=ON.
* Add test to make sure wxPython version major and minor numbers match
the version of wxWidgets found.
* Add code to set the correct version of wxPython to the python scripting
initialization code.
* Minor code simplification in Pcbnew KIFACE main window creation.
2015-02-14 19:23:54 -05:00
jean-pierre charras
1a74913063
Minor fixes: fix issue Bug #1420910 (Linux specific).
...
Rename eeschema/dialogs/dialog_sch_find.fbp to dialog_schematic_find_base.fbp, to be consistent with other dialogs.
Pcbnew run from the project manager: add menu Save Copy As..., which is the same command as Save As ... in stand alone mode, but with the constraints of a project (no cwd change, no board filename change, and keep project settings)
2015-02-14 13:43:11 +01:00
John Beard
d7f96d37a4
Add Fit() call to move exact and create array dialogs
2015-02-12 03:22:24 +00:00
John Beard
8c6313ac1a
Extend arrays and duplicate to pcbnew (GAL and legacy), covering modules, text, lines, tracks, dimensions and targets.
...
Text arrays can now use "%s" as a placeholder to be substituted with the array index.
Also expand menu options for move exact, arrays and duplicate.
Minor fixes for arrays - use proper unit parsing, add numbering start for circular arrays
Add circle radius indicator to array dialogue
2015-02-12 03:22:24 +00:00
John Beard
3c5f3f7049
Add create array tool
2015-02-12 03:22:24 +00:00
John Beard
4f3672da4d
Add "move exact" and "duplicate" tools to pcbnew
2015-02-12 03:22:24 +00:00
jean-pierre charras
74e83e924a
Pcbnew: Fix Bug #1420074 (Crash when a footprint is added to the board (or edited) from the footprint editor, if a new pad was added, because the net info of the new pad is broken in this case)
2015-02-11 11:10:53 +01:00
jean-pierre charras
698bd331c4
Dialog enum pads: fix incorrect use of sizers.
2015-02-10 11:38:22 +01:00
jean-pierre charras
80f6a4f2a0
Pcbnew: fix ver minor issues. ModEdit: fix issue in GAL mode: when importing a footprint from the footprint wizard, the new footprint was not shown.
2015-02-10 09:35:17 +01:00
Blair Bonnett
07db7c8d29
Prevent Pcbnew edit graphics property dialog from excepting zero length objects. (fixes lp:1392117)
2015-02-06 16:49:40 -05:00
jean-pierre charras
d52436aed8
Pcbnew: fix Bug #1418135 (scrollbars never shown in design rules dialog, in netclasses grid list, which prevent to use many netclasses). Also fix very minor other issues.
2015-02-06 11:54:55 +01:00
jean-pierre charras
4265fa60bd
Pcbnew - plot dialog: fix Bug #1417435 (Gerber(and some others) plot mode is fixed as”sketch” instead of "filled" )
2015-02-03 11:35:46 +01:00
jean-pierre charras
5eb7b41fba
Dialogs edit footprint in module editor and edit footprint in board editor: add button to edit the selected 3D shape filename.
...
Dialog edit component in library editor: add button to edit the selected footprint filter.
2015-02-02 17:43:34 +01:00
jean-pierre charras
b1cd42cf08
Pcbnew: simplify draw code in default canvas and plot functions by removing the plot LINE option, which is not existing in all plotters, not existing in opengl/cairo canvas, and not usefull in default canvas.
2015-02-02 09:06:39 +01:00
jean-pierre charras
3c343b415a
Fix the minor bug 1016924 ( Unhandled event id 6263 in pcbnew ). Remove duplicate code.
2015-02-01 08:19:31 +01:00
jean-pierre charras
8412f2ad4e
ModEdit: add a settings menu option(and the corresponding dialog) to set default values used when creating a footprint or add graphic items to a footprint being edited.
...
These settings are now not common to the board editor, because the footprint editor can be run outside the board editor.
download_boost.cmake: ignore .htm* files when installing boost. They are not used, and often have a very very long (and stupid) name which sometimes creates issues.
2015-01-30 19:42:46 +01:00
Maciej Suminski
789bb9663c
bugfix: Find does not work in high contrast mode in GAL.
2015-01-29 18:23:54 +01:00
jean-pierre charras
b556fb2324
Class BOARD: Rename an overloaded method named SetLayer with the better name SetLayerDescr, and comment it. It also remove some warnings when compiled with option -Woverloaded-virtual
2015-01-29 17:01:48 +01:00
jean-pierre charras
ba6e2ffbcf
Footprint Editor: New footprint creation: change defaults for ref and value texts: now Ref text is REF** and Value text is the footprint name. Also Value is put on fab layer (front)
...
muonde.cpp: cleanup this very old code, and fix not working code.
2015-01-28 11:00:48 +01:00
jean-pierre charras
2a4d0bad60
Fix minor aesthetic issues in dialogs (these minor issues (overlapping widgets) exit only with some Windows managers like KDE)
2015-01-27 08:34:19 +01:00
Maciej Suminski
2647fdfd89
Fixed context submenus event handlers (GAL/Windows).
2015-01-25 19:11:02 +01:00
Maciej Suminski
5447bb5914
bugfix: Pcbnew (Windows) crashes using selection tool in OpenGL or Cairo
2015-01-25 19:08:52 +01:00
jean-pierre charras
f0a52644ea
Pcbnew: fix Bug #1413701 (Segfault on highlight "unconnected" net 0 in Pcbnew ). Also, remove now useless code and other very minor fixes.
2015-01-23 12:24:32 +01:00
Wayne Stambaugh
ca065833ea
Remove EDA_DRAW_FRAME::IsActive() and replace with wxFrame::IsActive().
2015-01-22 08:42:24 -05:00
jean-pierre charras
ebb967c46f
Pcbnew: fix issues and potential issues when reading board files and mainly old board files, and enhance the DRC tests and Delete Single Pad Net option when reading a netlist:
...
* Delete Single Pad Net option does not delete the net if a zone use this net (i.e. is attached to this pad).
* pcb_parser accept now negative netcodes in zones (can happen with old files, which previously could crash Pcbnew)
* pcb_parser accept now files with incorrect or missing net count (can happen with old files, which previously could crash Pcbnew)
* if a zone has a non-existent net name it now keep this net name, and DRC detect it (previously, the net name was lost, and the DRC did not tected this issue).
* Drc test: now detect a "dead" net, i.e. a net with 0 pads, but still used by a zone. It happens easily after a schematic modification, when a net disappears or is renamed.
2015-01-22 13:06:34 +01:00
jean-pierre charras
59f497978a
Pcbnew, layers manager: Fix an annoying bug I added in rev 5359, in Render options: in Board editor many render options were not displayed (similar fp editor mode).
...
Now fixed.
2015-01-20 08:01:32 +01:00
jean-pierre charras
d4e04dcc97
Fix bugs detected by Cppcheck.
2015-01-19 20:03:50 +01:00
jean-pierre charras
79e2a41469
Pcbnew: Fix potential bug in DRAG_SEGM_PICKER (a variable type bool was used as int. type is now int). Minor code cleanup.
2015-01-19 09:23:10 +01:00
unknown
8876fdf4af
Misc minor fixes (Fix some minor compil warnings).
2015-01-18 12:49:32 +01:00
jean-pierre charras
ac539b9578
Minor and very minors fixes: move -DKICAD_USE_WEBKIT definition to the main CMakeLists.txt. Remove duplicate semi-colon at end of some lines.
2015-01-17 09:01:16 +01:00
Maciej Suminski
92a8f8f19c
Support for zone cut-outs in the point editor (GAL).
2015-01-16 16:44:42 +01:00
jean-pierre charras
c27b2fbf4c
Fix issues in fp lib table wizard
2015-01-16 09:10:23 +01:00
jean-pierre charras
0b1a6fd7c3
More work on fp lib table wizard: add a button to import the full list of .pretty libs on github.
...
* if the current select plugin is the github plugin, one can select some of these libraries and add them to the table
* if the current select plugin is the kicad plugin, one can select some of these libraries and download them to make alocal copy.
They can added to the table after they are downloaded.
2015-01-15 21:01:53 +01:00
unknown
b269128b8c
Fixes issues with IDF file I/O on Windows (the famous 'ascii vs. binary' issue) and the reported problem of partial paths when KISYS3DMOD is specified.
2015-01-13 11:47:07 +01:00
Wayne Stambaugh
0b6d1bbcf7
Minor dialog improvements.
...
* Make generate button the default in Eeschema netlist dialog.
* Fix spacing issues in export IDF dialog.
* Make OK button the default in export IDF dialog.
* Remove unnecessary end dialog code from export IDF dialog.
* Improve resizing of export IDF dialog.
2015-01-12 14:25:20 -05:00
jean-pierre charras
0cb7c3dc7d
ModEdit: fix incorrect size of the toolbar grid size combo box
2015-01-10 12:08:12 +01:00
jean-pierre charras
9cfb97d8b4
Add hight contrast option in Modedit. In hight contrast mode, solder masks and solder paste are shown.
...
this option was possible only by modifying the way display options are managed.
before these changes, display options were a global DISPLAY_OPTIONS class instance.
Now each EDA_DRAW_FRAME(and derivated classes) includes its own DISPLAY_OPTIONS class instance.
As a consequence, some duplicate display option variables in these classes have been removed, because there were just duplicate variables of the DISPLAY_OPTIONS class instance.
2015-01-10 11:27:49 +01:00
jean-pierre charras
7d8df0425f
Modedit: now shows a specific layers manager, which allows user to select the technical layer which is used when adding a new graphic text or outline to the current footprint.
...
Please, note the layer manager was already available in GAL mode, but is was the same as tne board editor, which is not good.
Now:
- In default mode or GAL mode, the look is the same.
- Only suitable technical layers (i.e. paired layers) are selectable from the layers manager (for special purposes, some other layers can be used, via the graphic items properties dialog)
2015-01-07 20:07:15 +01:00
jean-pierre charras
678a763481
Pcbnew: better display of tracks/vias/grid in toolbar. All: modify the zoom value shown in toolbar or status bar (roughly now zoom 1.0 is near the 1:1 scale, on a 22 inches Monitor). Fix also many other minor and very minor issues
2015-01-06 08:38:58 +01:00
Paulo Henrique Silva
f5059ec4c2
Fix duplicate text in IDF header export. (fixes lp:1407336)
2015-01-05 16:51:47 -05:00
Wayne Stambaugh
a2129fcd39
Minor toolbar and menu coherence fixes.
...
* Change Read to Load in Pcbnew and Eeschema preference menus.
* Make electrical rules check status bar message the same for both the menu
and toolbar entries.
2015-01-05 16:01:35 -05:00
jean-pierre charras
ad74a9a191
Pcbnew: better display of tracks/vias/grid sizes in toolbar
2015-01-05 14:20:04 +01:00
unknown
036a7cd8ed
Fix a typo error in wizard lib.
2015-01-04 12:50:12 +01:00
jean-pierre charras
6a19315557
Fix compat with swig 3.03
2015-01-04 08:19:04 +01:00
Fat-Zer
846b2ae24e
Fix Bug #1381287 (CvPCB ignores the footprint filter field on aliased components)
2015-01-02 08:52:29 +01:00
jean-pierre charras
9aa4fb6955
Cvpcb: force project name in stand alone mode, to allow access to project fp lib table. In project mode: disable the read netlist option (the netlist is read when Cvpcb is started by eeschema)
...
Dialog fp lib table editor: now shows the table full filenames, to help users.
2015-01-01 16:46:11 +01:00
jean-pierre charras
6ba5e40669
Fix a minor issue in fp lib wizard.
...
Remove a duplicate code for dialog select dir list.
2015-01-01 12:37:23 +01:00
jean-pierre charras
605a9bb5f2
Page layout selection: fix Bug #1405972 , and add minor enhancement in page layout selection dialog (the new layout is shown after selection).
...
When the filename is not absolute, the page layout file is now searched first in project folder, and then in kicad template folder, if not found in project.
2014-12-31 13:31:19 +01:00
jean-pierre charras
de8ae428fd
Minor fixes (typo in messages)
2014-12-30 18:15:46 +01:00
Bernhard Stegmaier
fcbce8b60e
Add KIGITHUB definition for stand alone version of Pcbnew on OSX
2014-12-28 17:07:15 -05:00
Cirilo Bernardo
0ceb90dfe1
Fix bug in IDF exporter when circles and arcs have zero radius. (fixes lp:1371656)
2014-12-28 10:09:35 -05:00
Maciej Suminski
a5972e7b48
Fixed crash on toggling the pad outline display mode in CvPcb.
2014-12-26 18:07:45 +01:00
jean-pierre charras
bc230f7650
Code cleaning: move class PAGE_INFO from common.h to class_page_info.h;
...
Fix issue when using a page layout file in project folder: eeschema and Pcbnew did not use it, unless using an absolute path.
Now, if the file path is nor absolute, it is seen as relative to the project (which is the expected behavior)
fp lib wizard: when pcbnew id compiled with USE_GITHUB_PLUGIN=OFF, the github plugin option is no more accessible (and the web viewer no more used).
2014-12-23 14:01:59 +01:00
jean-pierre charras
21cc8e0dc0
Freeroute dialog: remove freeroute access via java web start, because freeroutecanot be run now via java web start.
...
freeroute.jarcan be run by Kicad, as long freeroute.jar is found by Kicad (for instance if it is in kicad bin folder)
2014-12-22 17:58:43 +01:00
jean-pierre charras
e4a74213e4
Add wizard to fp lib dialog to easily add entries to this table.
2014-12-21 15:13:14 +01:00
unknown
05073c15ed
Add option to VRML Export for Plain PCB (patch from Cirilo Bernardo)
2014-12-20 17:13:51 +01:00
Nick Østergaard
41e044c0b4
Handle arcs in board outline in Eagle pluging.
2014-12-19 17:02:02 -05:00
jean-pierre charras
bb7a74f58f
Pcbnew: fix Bug #1404191 (Zone filling fails when a zone inside having the same net and a highter priority exists, which is allowed to manage different fill parameters )
2014-12-19 20:09:53 +01:00
jean-pierre charras
6deb3823d7
Aesthetic enhancements ( use few svg icons from Konstantin Baranowskiy).
...
Allows use of modifier shift key with letters A ... Z in hot keys (including hot key editor). Thanks to John Bird, who helped me with his patch.
2014-12-18 19:53:19 +01:00
jean-pierre charras
d83eb11aa6
Minor fixes. Remove unused icon. Add 3 new icons. Change one icon (3 icons are from Konstantin Baranowskiy)
2014-12-11 13:00:59 +01:00
Nick Østergaard
1df31338a3
Shortcut for fill all and unfill all zones for GAL.
2014-12-08 23:41:47 +01:00
Blair Bonnett
de4e688b83
Imporve hot key name description. (fixes lp:1066193)
2014-12-07 14:10:12 -05:00
Paul LeoNerd Evens
33f39fc282
Fix Eagle footprint library import of arcs. (fixes lp:1399745)
2014-12-07 12:07:05 -05:00
Nick Østergaard
e373850d26
Add remove fill and fill all zones hot keys.
2014-12-06 16:21:13 -05:00
jean-pierre charras
0e996cac9e
Pcbnew: fix Bug #1395594 (pcbplotparams parser sensitive to formatting)
...
Looked like a minor issue, but was due to a more serious bug, when using 2 different DSN_LEXERS which were not synchronized.
The fix is not perfect, but unfortunately, the parser used to read the PCB_PLOT_PARAMS in .kicad_pcb files is also used in legacy board file reader.
Therefore it is better than write 2 parser functions, one for legacy files, the other for the .kicad_pcb files, which make the same thing.
2014-12-04 20:15:26 +01:00
jean-pierre charras
f3765a32d8
Fix minor issues. Fix some outdated and broken BOM python scripts. Add info in BOM python scripts.
...
BOM dialog: remove a not very useful button, and merge its function with an other (not perfect, need more work)
Add message box to show info added in BOM python scripts (See scripts/bom-in-python/README-bom.txt about this info)
2014-12-03 17:22:06 +01:00
jean-pierre charras
479af2a7a8
Pcbnew, export Solder masks in Gerber Format: fix not working export when the solder mask minimal width is not 0 (the exported shapes were the same as if the vule = 0) with boost version >= 1.56
...
This is due to the fact the boost::pylygon function resize ( a inflate/deflate function) used for calculations does not work with boost version >= 1.56.
Use Clipper inflate/deflate function instead. It is faster and works fine.
2014-12-01 15:54:33 +01:00
jean-pierre charras
25a801ed8a
Modify usage of Inflate/deflate polygon in zone calculations, in order to be compatible with boost::polygon >= 1.56
...
Some code cleanup.
2014-11-30 18:07:02 +01:00
jean-pierre charras
4bba4b875d
Pcbnew: Allows trapezoidal pads in zones.
2014-11-29 13:58:34 +01:00
Maciej Suminski
e6ff6af7b3
Fixed typo.
2014-11-27 11:51:16 +01:00
Maciej Suminski
0daa1fa67e
Missing fixes for the revision 5301.
2014-11-27 11:47:17 +01:00
Angus Gratton
6c4808bd49
pns: Non-copper pads are not treated as obstacles.
2014-11-26 15:46:47 +01:00
Maciej Suminski
03f7003c00
pcbnew: Unconnected items share the same NETINFO_ITEM, even if on different boards.
2014-11-24 16:34:47 +01:00
Maciej Suminski
0c1a87ca56
selection_tool: Added SelectItem and UnselectItem actions.
2014-11-21 11:50:13 +01:00
Maciej Suminski
823623acb8
selection_tool: Renamed deselect* to unselect* for naming consistency.
2014-11-21 11:49:54 +01:00
Maciej Suminski
62e2537e73
selection_tool: Renamed selectSingle to selectCursor.
2014-11-21 11:49:28 +01:00
jean-pierre charras
1e5fa54d1a
Try to fix an issue on Ubuntu/Unity for some dialogs which are not displayed. Adding GetSizer()->Fit( this ) after last dialog "geometry" change (size for instance) or Raise() if the window is not a dialog fix it.
...
Partial fix. There are few cases where the frame is still not displayed.
Looks like a Unity issue, not a Kicad issue.
2014-11-19 20:13:10 +01:00
Blair Bonnett
149a04f331
Fix crash in footprint editor when SMD pad diameter is zero. (fixes lp:1378917)
2014-11-19 13:39:02 -05:00
jean-pierre charras
8a1c8a91f4
More fixes on Ubuntu/Unity for dialogs which are not displayed.
2014-11-19 18:13:55 +01:00
jean-pierre charras
1ebaf1371a
Fix remark 1 in Bug #1393277 (the option "use absolute paths" acts reversed: ticked exports relative paths, unticked exports absolute paths)
2014-11-17 14:55:26 +01:00
Wayne Stambaugh
1dc5178095
Message panel consistency improvements and coding policy fixes.
...
* Make title capitalization consistant.
* Replace some instances of module with footprint.
* Use angle instead of orientation where appropriate.
* Remove abbreviations where it made sense.
* Coding policy fixes.
2014-11-15 14:06:05 -05:00
Camille
5729ee7ea5
Compile warning fixes and minor code policy fixes.
2014-11-15 08:43:23 -05:00
John Beard
71e5fb13e6
Segment message panel infromation improvements.
...
* Make "Drawing" string translatable.
* Add segment length to message panel.
* Add segment angle to message panel.
2014-11-15 08:09:59 -05:00
Maciej Suminski
9245b90392
Code formatting.
2014-11-14 20:19:00 +01:00
Tomasz Wlostowski
4e280f065f
P&S router: fixed shove force propagation incorrect issues causing improper via dragging.
2014-11-14 19:17:52 +01:00
Tomasz Wlostowski
4e67de5c15
P&S router bugfixes
...
- fixed walkaround bug causing unwanted overlap/clearance violation when the first segment of trace being laid intersects the obstacle's hull at the same point twice (ie. goes in, turns around and goes out).
- fixed placer bug not splitting the start segment after toggling via placement or changing trace width
2014-11-14 19:17:01 +01:00
Tomasz Wlostowski
80adf9d85b
router: multiple changes
...
- re-worked PNS_LINE_PLACER and PNS_ROUTER classes a bit, removing duplicate class members
- cleaned up Andrew's blind/buried via fixes
- fixed 'custom via width' dialog bug updating the width even when closed/cancelled
- fixed incorrect radius of drawn microvias
2014-11-14 19:15:58 +01:00
Nick Østergaard
32eb568ec4
Pcbnew place track menu entry hot key text fix.
2014-11-14 11:09:07 -05:00
jean-pierre charras
35c591166f
Pcbnew: fix Bug #1391561 (PCBNew segfaults on BOM creation). Does not happen on all platforms. Could be due to use of data just previoulsy deleted.
...
Very minor other changes.
2014-11-14 08:25:17 +01:00
Maciej Suminski
15aa24afe8
pcbnew: Modules can be selected with block selection tool without including texts & references (GAL).
2014-11-13 17:32:59 +01:00
Maciej Suminski
4eabe23104
pcbnew: Allows selecting module edges in module editor, when they are covered with other items (GAL).
2014-11-13 16:58:24 +01:00
Maciej Suminski
1855db5493
pcbnew: Fix persistent multiple items selection box that stays after selecting a polygon/line (GAL).
2014-11-13 14:11:26 +01:00
unknown
d54675b56b
Fix bug in IDF export (plus minor cleaning up of IDF/VRML export)
2014-11-13 12:29:05 +01:00
Maciej Suminski
d84567ae40
pcbnew: fixes crash when a new part footprint is changed.
2014-11-13 11:06:41 +01:00
jean-pierre charras
f5fd471dd9
Pcbnew: fix Bug #1392087 ( adhesive layer plot broken ).
2014-11-13 09:00:28 +01:00
Wayne Stambaugh
37da6766ec
Update avhttp-master.zip to the latest version so Boost 1.57 can be used to build KiCad.
2014-11-12 19:13:27 -05:00
Blair Bonnett
1188cd433b
Fix wxWidgets debug assertion for wxTextCtrl::IsSingleLine() in GTK.
...
* Fix assertions in Eeschema when editing net labels, electronic rules check,
and plotting.
* Fix assertion when opening PCB calculator.
* Fix assertions in Pcbnew when changing footprints in footprint properties
dialog and adding or editing text.
2014-11-09 14:24:37 -05:00
jean-pierre charras
6a93777a51
Polyline.h: remove useless class CRect. Use the more powerful EDA_RECT instead. Clean and remove duplicate code.
2014-11-08 13:25:29 +01:00
jean-pierre charras
f55a436d58
map class CPolyLine (used in zones) in Python.
2014-11-06 16:27:22 +01:00
jean-pierre charras
24f516f6ae
Fix many doxygen warnings (due to missing info, old comments, typo ...) when building the doxygen doc.
2014-11-02 17:25:04 +01:00
Marco Ciampa
40f044bd8d
More renaming instances of module to footprint for consistency.
2014-11-02 07:44:57 -05:00
Michal Jahelka
835bb37b88
Remove library nickname from module position file
2014-10-31 21:18:25 +00:00
jean-pierre charras
7b5318ff64
Fix minor issues about translated strings and coding style. Add comment relative to file function info in X1 gerber file format.
2014-10-31 19:59:37 +01:00
jean-pierre charras
db31daffe4
Fix compil issue I created in rev 5242 when KICAD_SCRIPTING_WXPYTHON is ON
2014-10-31 16:21:57 +01:00
jean-pierre charras
4fd2a4da94
Pcbnew, python console: refinements.
2014-10-31 15:45:46 +01:00
jean-pierre charras
7e431a0d4b
Pcbnew: Console python: use a wxMiniFrame to show the console and remove the management by a EDA_PANEINFO, which was not the right way to manage this console.
2014-10-31 08:51:22 +01:00
Marco Ciampa
359e64850d
More renaming instances of module to footprint for consistency.
2014-10-30 13:31:56 -04:00
Marco Ciampa
5d306bb244
Rename instances of module to footprint for consistency.
2014-10-30 11:37:46 -04:00
jean-pierre charras
09e20c6c0f
Pcbnew: fix a serious bug in ZONE_CONTAINER class copy constructor: a pointer was not initialized. Pcbnew crashes when deleting or filling a copied zone.
...
Eeschema: remove dead code and uncrutify class_netlist_object.h
2014-10-30 09:42:11 +01:00
Wayne Stambaugh
f86eb756af
Source license, coding policy, and documentation fixes.
...
* Add more missing source code licenses.
* Fix coding policy violations (tabs and trailing white space) in Python
scripting code.
* Add stable release policy to full documentation build.
2014-10-28 15:43:12 -04:00
jean-pierre charras
3abfb6ca97
Cvpcb: Add a tool to solve conflict assignments when the schematic netlist and the .cmp file do not contain the same assignment and both are valid fpid.
...
It happens when footprint assignments are modified outside Cvpcb (when editing the footprint assignment field in schematic)
2014-10-28 16:15:39 +01:00
Wayne Stambaugh
86b39ca3c0
More missing source license fixes.
2014-10-27 10:14:39 -04:00
Wayne Stambaugh
e273a48ddc
Remove old build configuration since kiway is now the only way to build kicad.
2014-10-26 15:54:48 -04:00
unknown
ad645abac4
Eeschema, Plot dialog: add Plot directory selection. The patch from 1383026@bugs.launchpad.net was widely used.
2014-10-26 14:59:01 +01:00
Maciej Suminski
1338774d54
pcbnew: Disable DXF import in the module editor when there is no module loaded.
2014-10-24 11:19:54 +02:00
Luis
83d666806c
Fix temporary file bug when saving modified footprints. (fixes lp:1384550)
...
* Use wxRenameFile which falls back to a file copy and file remove when
wxRename fails.
2014-10-23 16:25:04 -04:00
Wayne Stambaugh
f12953855e
More missing source license fixes.
2014-10-23 13:53:38 -04:00
Wayne Stambaugh
b7f890adb3
Fix parallel build bugs.
...
* Make all files generated by make_lexer() dependencies of thier respective build targets.
* Make building Boost a dependency for all libraries.
* Remove duplicate make_lexer() call for Specctra lexer files.
2014-10-22 19:25:59 -04:00
Wayne Stambaugh
431ed318e0
Pcbnew VRML export improvements.
...
* Improve VRML export dialog lay out.
* Make the OK button the default action in the export dialog.
* Make 3D model export work correctly and avoid redundant file copies.
* Fix embedded path separators in wrl files on windows.
* Fix absolute model file path creation in wrl files.
* Clean up VRML export code.
2014-10-17 19:28:12 -04:00
Bernhard Stegmaier
f06bfe6d70
Commit the rest of the OSX build fixes missed in the previous commit.
2014-10-17 13:45:33 -04:00
Mark Roszko
816974b8ca
Hot key editor dialog improvemnts.
...
* Change hot key editing contol from wxGridTableBase to wxListCtrl.
* Separate hot key lists into separate tabs rather than one large list.
* Coding policy fixes.
2014-10-17 10:36:47 -04:00
Bernhard Stegmaier
a4c59e6b97
More OSX build fixes.
...
* Many path related fixes.
* Fix execution of external applications.
* Update mac-osx.txt.
* Add top-level links for standalone applications inside OSX bundle.
* Fix document icons for Eeschema and pl_editor.
* Create individual bundles for standalone applications inside the main application bundle.
* Add usual 'site-packages' to python path in OSX bundle.
* Fix name of OSX bundle plugin folder.
2014-10-16 18:13:01 -04:00
Mark Roszko
606f2e91f8
Make hotkey command titles use consistent capitalization.
...
Rename "Switch highcontrast" to "Toggle High Contrast".
Eliminate most of the abbreviated hotkey titles.
Doxygenize dialog_hotkeys_editor.h and add missing license block.
Display <unassigned> if key code is 0 (NULL).
2014-10-15 21:17:51 -04:00
Mark Roszko
651a92a80f
Hotkey Editor Polishing
...
Refactor hotkey editor to use tab control instead of one giant list.
Each tab is a separate hotkey section.
Modify EDA_HOTKEY_CONFIG to change the m_Comment member to m_Title for a new purpose.
We want a pretty title in the hotkey editor. We use m_Title for the key export comment which
still conveys the purpose just as easily.
Refactored usage of wxGrid into wxListCtrl which allows capturing navigation characters
and also works better (single selection is built in).
Add hotkey overwrite prompts that are paired with "Common" section. It will check if a hotkey
overlaps with the proper sections. i.e. Common with the all other sections; or Section 1 with just Common.
Right-click menu removed due to wxListCtrl being able to catch the special keys properly.
2014-10-15 21:17:46 -04:00
jean-pierre charras
d82f403fd7
Libview and Modview: fix issues relative to hotkeys (hardcoded keys instead of user defined keys) and not working tools and popup menus.
...
Fix also some minor coding style issues.
2014-10-15 13:40:38 +02:00
Maciej Suminski
788a25438a
pcbnew: Minor fixes to 'Find Item' dialog (GAL canvas).
2014-10-13 20:27:36 +02:00
Maciej Suminski
d12ffd307f
Added missing header file.
2014-10-13 15:30:57 +02:00
Maciej Suminski
0d7b7b02e7
pcbnew: Apply display settings on canvas switch (GAL canvas).
2014-10-13 15:26:06 +02:00
Maciej Suminski
ac7bdfc7f6
pcbnew: Fixed 'Find Item' (GAL canvas).
2014-10-13 15:25:16 +02:00
Maciej Suminski
18c9a62c6e
pcbnew: DIALOG_FIND allows to change warp options and set callbacks for found items.
2014-10-13 15:23:30 +02:00
Maciej Suminski
1c74019f4c
pcbnew: Added "Get and Move" in pcbnew (GAL canvas).
2014-10-13 15:22:14 +02:00
unknown
4280a1f5d3
Fix absence of PCB_TARGET class in python interface.
2014-10-13 13:14:02 +02:00
jean-pierre charras
82339a9235
Fix bug #1358742 (drill map file output faulty), which was Gerber format specific.
...
Minor code change (which removes a SWIG warning)
2014-10-13 10:40:34 +02:00
Mark Roszko
2d008c79fd
More module to footprint UI fixes.
2014-10-12 11:12:02 -04:00
Mark Roszko
a08471b725
Convert UI inconsistent use of legacy term module to footprint.
2014-10-09 20:23:40 -04:00
Bernhard Stegmaier
a9ab824373
Fix OSX wxPython scripting build when running parallel builds.
2014-10-09 19:45:58 -04:00
Berhnard Stegmaier
b8d1789a22
OSX build fixes and improvements.
...
* Fix creation of single app bundle with respect to scripting support.
* Cleanup scripting search paths for OSX.
* Fix some small CMake bugs from previous OSX build change.
* Optimize bundle file structure to be consistent with Apple specs.
* Add helper script for compiling wxWidgets and wxPython
* Update OSX build instructions.
2014-10-08 14:41:36 -04:00
Mark Roszko
fbc4abc55a
Update module to footprint in the little info bar at bottom of window
...
Fix text in Get and Move Footprint Dialog
Fix right click in board editor options
2014-10-08 02:26:26 -04:00
Mark Roszko
fcbfaac7c9
Update footprint editor property dialog to use "Footprint" instead of "Module"
2014-10-08 01:58:59 -04:00
Mark Roszko
bfdc13df61
Update footprint property editor (activated from board editor) to use "Footprint".
2014-10-08 01:54:52 -04:00
Mark Roszko
08f0051799
Rename module to footprint in menu,toolbars, window, etc that are in code
2014-10-08 01:50:56 -04:00
Henri Valta
bfab279a43
Fix parallel build issue when KICAD_SKIP_BOOST=ON.
2014-10-07 14:10:01 -04:00
jean-pierre charras
fc2229dfca
Eeschema: fix Bug #1376669 (graphics lost in aliased components)
...
Cleaning 3 svg files (no icon change)
Very minor other changes.
2014-10-06 20:13:11 +02:00
Wayne Stambaugh
99f30c9d38
Road map and Doxygen work.
...
* Remove obsolete settings from Doxygen configuration file.
* Fix some Doxygen warnings.
* Add the board edge segment snapping to developers road map.
* Fix some coding style issues in CMakeLists.txt
2014-10-05 21:18:24 -04:00
Lorenzo Marcantonio
94f8c2a276
Implemented TEXTE_MODULE::GetShownText
...
Handles % macro expansion in user texts inside pcb modules.
At the moment the following are available:
%% A plain %
%R Insert the reference
%V Insert the value
2014-10-04 17:15:38 +02:00
Bernhard Stegmaier
8b3c14c08b
OSX build improvements.
...
* Compile all binaries into a single application bundle.
* Use CMake BundleUtilities to make application bundle relocatable.
* Restructure build output to directly create an image file.
* Fix default search paths.
* Set KIGITHUB environment variable.
* Added patch to fix wxWidgets so names for OSX.
2014-10-02 19:03:52 -04:00
jean-pierre charras
e6274f70b0
BOARD::Add(): fix an issue for tracks: parent not set (could be an issue only in python scripts, because the parent is set by the constructor)
...
*.i : fix coding style issues.
python method: add BOARD_ITEM Duplicate, which is a wrapper to Clone(). ( defined as Cast_to_BOARD_ITEM(selt.Clone()).Cast() )
update some .py examples.
2014-10-02 19:09:32 +02:00
Wayne Stambaugh
7c747c1a44
Fix field greater than 2 legacy footprint library file parser bug. (fixes lp:1375419)
2014-10-01 10:13:11 -04:00
jean-pierre charras
e617c5e6b1
Pcbnew: fix some issues when using python scripting (remove outdated SEG_ZONE item, fix broken access to netclass, track width and via size lists, add missing access to zones)
...
Update listPcb.py to show how to access zones.
2014-09-30 20:23:27 +02:00
Andrew Zonenberg
45a8e4da74
pns_router: Support for blind/buried vias.
2014-09-30 16:46:19 +02:00
jean-pierre charras
927d11f78c
Eeschema: fix Bug #1375581 (libraries setup empty after clicking "print" icon)
2014-09-30 10:12:00 +02:00
jean-pierre charras
24ed7f50f5
Pcbnew: fix Bug #1370321 (Change Segment function applies last netclass used).
...
Also update main toolbar track width and via size info in pns router mode, when starting a track, and other very minor update issue.
2014-09-28 16:44:47 +02:00
jean-pierre charras
b653da5e29
change name TEXTE_MODULE::MirrorWithModule to TEXTE_MODULE::MirrorTransformWithModule, because it is a function specific to a footprint transform in modedit.
...
change also name TEXTE_MODULE::RotateWithModule to TEXTE_MODULE::RotateTransformWithModule for same reason.
Pcbnew: fix Bug #1374484 (text changes position when module is flipped and rotated). Fix also some bugs in modedit, in block commands.
2014-09-27 18:39:18 +02:00
jean-pierre charras
ea06ad14ae
Pcbnew: fix Bug #1373468 (Non Copper Zones Properties dialog "Layer selection" empty) (Linux specific)
2014-09-25 09:07:17 +02:00
jean-pierre charras
980ffac1c3
Pcbnew: add append board function, only available when Pcbnew is run in standalone mode (outside a project), to allow a basic panelization.
...
(this function is not compatible with a project, because it breaks the coherency with the schematic)
2014-09-24 18:56:20 +02:00
jean-pierre charras
70a61b8028
Pcbnew: fix Bug #1373267 (polygons in footprint outlines do not flip correctly)
...
Minor other fixes.
2014-09-24 18:42:56 +02:00
jean-pierre charras
dda896d530
dialog fp lib table: fix compatibility issue with wx 2.8
2014-09-22 11:37:22 +02:00
jean-pierre charras
6bae852cb9
Minor fixes: specctra export: skip malformed circles (having a radius = 0) in board outline creation, which can crash 3d-viewer or vrml export.
...
dialog_fp_lib_table: remember during a session the last open table (global or local).
drawing_tool: fix compil warning
Update demos.
2014-09-22 09:51:06 +02:00
Wayne Stambaugh
12f3fd35de
Fix Pcbnew design rules dialog wxGrid tab traversal bug. (fixes lp:1060028)
...
* Set wxGrid tab behavior to leave grid when using the tab key.
* Lots of coding policy fixes.
2014-09-19 19:58:32 -04:00
jean-pierre charras
686253cbaa
IO_MGR::PCB_FILE_T IO_MGR::GuessPluginTypeFromLibPath() : better test for KICAD type footprint libraries: previoulsy, just test if a library name ends with .pretty, which is not enough.
...
GitHub lib names also ends by .pretty, so also test if a lib name does not start by http (which could be a GitHub lib name).
2014-09-18 12:29:52 +02:00
jean-pierre charras
93a3d4cb28
Eeschema: back to KICAD_KEEPCASE option, to find parts in lib, when using case sensitive option (default).
...
Schematic component properties dialog: add 2 helper buttons to manage the chip name (name of the corresponding part in lib)
- a browse button to chose an other chip name
- a test button, to know if the part exists. If not existing, list the parts found when searching using a case insensitive comparison.
2014-09-17 18:04:04 +02:00
Tomasz Wlostowski
0cf334a072
pcbnew: bugfix for "PNS router allocates all memory"
2014-09-16 14:12:59 +02:00
Maciej Suminski
d3f6e3d623
pcbnew: Fixes crash when a module is changed after modification in the module editor.
2014-09-15 16:21:48 +02:00
jean-pierre charras
efd4c123eb
Fix bug #1369281 ( Pcbnew, initial save broken )
2014-09-14 19:12:56 +02:00
unknown
c1e0a8d067
Patch for the Python footprint wizard helpers. This adds a few more drawing functions, such as for circles, and also uses a matrix-based transform stack with greatly simplifies constructing footprints consisting of regularly spaced elements (e.g. in lines, grids, circles, or some list of points that you specify).
...
This fixes bug #1366299
2014-09-14 18:29:10 +02:00
jean-pierre charras
aa9de21cd7
Ref and Value for footprints: use now the layer color, not a specific color: this is needed by the fact these fields can be on an other layer than silk screen, and therefore must have the corresponding color
...
Also do not allow copper layers, solder paste and solder mask: put Ref or Value on these layers has no sense, and can create serious issues on the board.
2014-09-14 17:34:37 +02:00
Lorenzo Marcantonio
260ca0e79f
Added support for decoupling stored text from shown text in EDA_TEXT
...
Factored out text ellipsing support to max 15 character (for generating menu items)
2014-09-13 20:15:45 +02:00
Lorenzo Marcantonio
1247264458
Added layer change to the module text dialog (both user text and reference/value)
...
Since reference and value are not anymore always on silk changed the label on the corresponding options in the plot dialog
The 'proper Gerber extensions' was renamed in dialog as 'Protel Gerberl extensions': I don't know if it was a typo/misunderstanding or what but the proper extension is gbr; the set of alternative extensions seems to be the one used by Protel/Altium.
2014-09-13 08:15:16 +02:00
Lorenzo Marcantonio
0da38e5b62
More work on module texts, and especially on the collector
...
The members SetIgnoreMTextsOnCopper, SetIgnoreMTextsOnCmp,
SetIgnoreModulesOnCu, SetIgnoreModulesOnCmp in the collector guide are
renamed to the clearer SetIgnoreMTextsOnBack, SetIgnoreMTextsOnFront,
SetIgnoreModulesOnBack, SetIgnoreModulesOnFront
Modified the collector and drawing behaviour for text in modules as
discussed in the mailing list.
* Now module text on layers different than Silk should work! *
Still need UI support for setting the layer in the module editor.
2014-09-11 18:35:19 +02:00
Lorenzo Marcantonio
424aac6cf2
TEXTE_MODULE cleanup in preparation for text on different layers
...
- Removed the friends MODULE and FOOTPRINT_EDIT_FRAME from TEXTE_MODULE
(as in the @todo comment)
- Refactored the Rotate/Flip/Mirror for text in modules into the
TEXTE_MODULE class itself (members RotateWithModule, FlipWithModule,
MirrorWithModule)
- New behaviour in coloring text on screen: reference and value still
take the color from the MOD_TEXT_FR_VISIBLE and MOD_TEXT_BK_VISIBLE
visibles; other text takes the color of the layer containing it
(except when hidden, obviously) but still get its visibility
controlled by those visibles (probably the most intuitive and useful
behaviour)
- Still need to decide: should text on a layer be hidden when the layer
is? Probably yes (still to be implemented);
- Some comment fixed and many cast converted to static_cast
2014-09-10 17:18:42 +02:00
Lorenzo Marcantonio
c5681a3278
Backed out assembly plot patch
2014-09-09 18:55:27 +02:00
jean-pierre charras
fb590c7231
Fix PCB Module Editor Help Error.
...
Remove a minor compil warning in shape_collisions.cpp
2014-09-09 18:46:12 +02:00
Lorenzo Marcantonio
032b7cb71b
Implemented special rules for plotting assembly layers
...
- Reference is visible on silk and the corresponding assembly layer
- Reference is shown on assembly always on the component insertion point
Hidden references are not forced shown in assembly plots (there is
already a user option for that)
2014-09-08 19:57:39 +02:00
Maciej Suminski
9fca82c23f
pcbnew: bugfix for crashes when canvas is switched while dragging items (GAL).
2014-09-08 14:09:20 +02:00
Maciej Suminski
16b2c40184
pcbnew: Fix crashes of tools that rely on BOARD data.
2014-09-08 14:07:10 +02:00
Maciej Suminski
9195409f5e
pcbnew: GAL updates the worksheet layout when it is reloaded.
2014-09-08 14:06:38 +02:00
jean-pierre charras
ded4bf6477
Pcbnew: fix Bug #1366701 (Module position file (.pos) generation fails for F.Cu layer)
2014-09-08 13:07:54 +02:00
Dick Hollenbeck
3e861db371
Lock file improvements.
2014-09-07 15:01:26 -04:00
jean-pierre charras
fc6d73813e
Kicad: more understandable dialog when creating a project from template. Fix also a bug when copying and renaming template files.
...
Pcbnew: dialog to create new .pretty lib: fix an issue which prevent to open a full disk directory (at least on Windows)
2014-09-06 21:55:20 +02:00
Moses McKnight
6da5e2cdd0
Configuration file consolidation patch from Moses McKnight.
...
* Create GetNewConfig() and GetKicadConfigPath() to unify configuration file
creation and location.
* Move Windows configuration out of the registry into configuration files.
* Move Linux configuration files from $HOME to $HOME/.config/kicad to eliminate
configuration file pollution in the users $HOME folder.
* Fix a bug in the configuration file where the Eeschema hot keys are saved.
2014-09-05 17:12:38 -04:00
Maciej Suminski
c13cdb0964
Fixed line width settings in the module editor (GAL).
2014-09-01 13:48:51 +02:00
Maciej Suminski
b86ac3b3ab
GAL module editor selects the front silkscreen layer by default.
2014-09-01 13:48:10 +02:00
jean-pierre charras
3814cdaff1
Pcbnew: Minor fix in hotkeys. Demos: add an example to use a local fp-lib-table and local libs, and update schematics and boards.
2014-08-31 18:19:07 +02:00
Wayne Stambaugh
ec9cd765bc
Fix default menu alt key accelerator bug. (fixes lp:1035151)
...
* Add hot key handled return indicator to DRAW_FRAME::GeneralControl() and
DRAW_FRAME::OnHotKey() and all classed derived from DRAW_FRAME.
* Add code to all GeneralControl() and OnHotKey() functions to return true if
hot key was handled.
* Call event skip in DRAW_PANEL::OnKeyEvent() when key event is not handled to
allow default menu event handler to function properly.
2014-08-29 16:23:40 -04:00
jean-pierre charras
3d83434275
Very minor fixes.
2014-08-29 08:47:05 +02:00
jean-pierre charras
d8c3ccb424
Pcbnew, Eeschema: release lock file when these editors are closed (Until now, the lock file was released when the full Kicad application was closed, not when the editor was closed).
...
Should fix Bug #1360470 and Bug #1359502 .
2014-08-26 12:54:22 +02:00
Wayne Stambaugh
0b69ed3a5c
Fix Eeschema sheet issues. Should close out bug lp:593782
...
* Refresh canvas when user cancels edits so that the discarded sheet is
cleared from the schematic.
* Add file name validation to the sheet properties dialog to prevent
illegal file name characters from being entered into the text control.
* Rename FOOTPRINT_NAME_VALIDATOR to FILE_NAME_CHAR_VALIDATOR for clarity.
2014-08-24 18:49:31 -04:00
jean-pierre charras
5a38d2b657
Rework on env. variable KISYS3DMOD. Until now, was used in different files using different ways, so no consistency between files.
...
code cleanup.
2014-08-24 09:05:07 +02:00
jean-pierre charras
4c20fb4c4b
3d-viewer: code cleaning.
2014-08-21 13:59:57 +02:00
jean-pierre charras
fafd19c616
Add patch from Mario Luzeiro to 3D viewer. Fix a serious issue due to duplicate ID used in menus and toolbars between sub-applications, related to wxUpdateUIEvent events loop.
...
wxUpdateUIEvent events can be sent to parent frames, when opening a menu in a child frame, if parent and child frame share same ID fro menuitems (or tools)
The wrong menuitem can be used in some cases ( because there are more than one menuitem with the same identifier), by a wxUpdateUIEvent event function run in a parent frame.
2014-08-19 16:51:15 +02:00
Dick Hollenbeck
49538cafb9
https://lists.launchpad.net/kicad-developers/msg14286.html
2014-08-17 18:00:49 -05:00
Dick Hollenbeck
26c731ff42
abandoned
2014-08-14 09:05:07 -05:00
Andrew Zonenberg
484bc8344c
Fix a c_str() to wxString conversion memory overflow bug.
2014-08-13 16:57:22 -04:00
Dick Hollenbeck
7e483f69bd
Modular KiCad Blueprint Milestone B), major portions:
...
*) When kicad.exe closes a project, close any open KIFACEs so that they cannot
get disassociated from their true PROJECT.
*) Allow loading eeschema library editor from kicad.exe
*) Allow loading pcbnew library editor from kicad.exe
*) Rename LIB_COMPONENT to LIB_PART.
*) Add class PART_LIBS, and PART_LIB.
*) Make PART_LIBS non-global, i.e. PROJECT specific.
*) Implement "data on demand" for PART_LIBS
*) Implement "data on demand" for schematic SEARCH_STACK.
*) Use RSTRINGs to retain eeschema editor's notion of last library and part being edited.
*) Get rid of library search on every SCH_COMPONENT::Draw() call, instead use
a weak pointer.
*) Remove all chdir() calls so projects don't need to be CWD.
*) Romove APPEND support from OpenProjectFiles().
*) Make OpenProjectFiles() robust, even for creating new projects.
*) Load EESCHEMA colors in the KIWAY::OnKiwayStart() rather in window open,
and save them in the .eeschema config file, not in the project file.
*) Fix bug with wxDir() while accessing protected dirs in kicad.exe
*) Consolidate template copying into PROJECT class, not in kicad.exe source.
*) Generally untangle eeschema, making its libraries not global but rather
held in the PROJECT.
2014-08-13 15:28:54 -05:00
Wayne Stambaugh
c63459653a
CvPcb: fix broken event ID for configuration button on toolbar.
...
* Remap configuration button on toolbar to launch footprint library table
editor.
* Remove legacy footprint library path dialog from CVPCB_MAINFRAME.
* Remove unused event ID ID_CVPCB_CREATE_CONFIGWINDOW.
* Minor coding policy fixes.
2014-08-13 15:26:31 -04:00
unknown
c8d69f19c8
Pcbnew: add drc test for texts on copper layer (only in full drc test, not in on line drc), from a patch sent by Simon Schumann
...
Add EDA_TEXT::TransformTextShapeToSegmentList function to export a list of segments used to draw/plot the text.
2014-08-13 17:47:02 +02:00
Tomasz Włostowski
adbf343fef
bugfix: SIGABRT after starting a track with PNS and switching canvases a few times
2014-08-13 17:25:54 +02:00
Wayne Stambaugh
fc13e5d651
Footprint text properties dialog improvements and coding policy fixes.
...
* Improve footprint text properties layout.
* Use wxStdDialogButtonSizer instead of manually laid out buttons to improve
platform UI consistency.
2014-08-13 09:15:15 -04:00
jean-pierre charras
5b28980a05
Pcbnew, Cvpcb: fix Bug #1355883 . Due to a missing call to a delete operator in CMP_READER class (also creates memory leak).
2014-08-12 19:52:12 +02:00
Maciej Suminski
b649578734
FIxed invisible layers problem after changing the number of layers (GAL).
2014-08-12 10:17:16 +02:00
unknown
84a985f8af
Pcbnew: Commit patch (with very minor changes) about SVG file export with the layers ordered from bottom to top. ( bug 1286646 ), from Thiadmer Riemersma.
2014-08-10 16:15:02 +02:00
jean-pierre charras
cd85ee626b
Cosmetic enhancement: change plot icon in menus.
...
3dviewer: back to double (from float) in class S3D_MASTER for 3 members (m_MatScale, m_MatRotation, m_MatPosition) which are used in dialogs and r/w file functions, which expect double.
Using float create minor but unwanted issues in r/w file functions.
S3D_MATERIAL: enable all color options: if a 3d shape has bad color parameters, the shape must be modified, not the 3d rendering.
The rendering now matches what we see in other vrml viewer like FreeCAD.
Some minor coding style fixes.
2014-08-09 20:18:04 +02:00
Maciej Suminski
ca399b6401
Buried/blind vias indicate the layers they go through (GAL).
2014-08-06 13:53:02 +02:00
Maciej Suminski
bcdd3d7bb9
Items are either dragged by their origin or moved by a vector (depending on the number of selected items) (GAL).
2014-08-06 09:35:03 +02:00
Maciej Suminski
1b058cae1e
Disable highlight mode in the module editor (GAL).
2014-08-06 09:33:10 +02:00
Maciej Suminski
242d42cf1d
Changed 'line width change' & 'change arc posture' to TOOL_ACTIONs.
2014-08-04 14:23:19 +02:00
Maciej Suminski
64a9ebc70e
Selected items do not disappear after rendering backend switch.
2014-08-04 10:43:26 +02:00
Maciej Suminski
fa08d9fdcf
Fixed module anchor drawing (GAL).
2014-08-04 10:42:20 +02:00
Maciej Suminski
03a17a284b
bugfix: modules are not selectable in the high contrast mode (GAL).
2014-08-04 10:06:24 +02:00
jean-pierre charras
764369439e
Add comments. Fix bug #1351507 (pad color does not reflect, whether the pad is on front or back layer) and bug #1351388 (Adding a keepout area appears on the opposite layer than selected)
2014-08-02 12:29:10 +02:00
Maciej Suminski
94a46bf2df
Fixed pcbnew crash when a locked footprint is dragged from an edge of the screen.
2014-08-01 11:28:08 +02:00
Michael Narigon
34b645daed
warnings
2014-07-30 22:04:34 -05:00
jean-pierre charras
01a8442b35
3d viewer: minor code cleaning (remove useless #include )
...
dialog_track_via_size: set minimal size and make dialog resizable.
Update demo file.
2014-07-30 17:39:55 +02:00
unknown
7a4ea8955e
3D viewer enhancements (better render + better vrml reader) from Mario Luzeiro
2014-07-30 11:01:25 +02:00
jean-pierre charras
1540368422
Minor fixes and changes:
...
Remove a minor warning message in Debug mode for 2 dialogs.
Pcbnew: update Gerber X2 file format (File Attribute) to very last X2 specification
Eeschema: Fix a minor bug in block selection (sometimes the last selected component was select instead of items in selected area)
and better drag behavior when draging an item by the drag hotkey.
2014-07-29 18:38:27 +02:00
Maciej Suminski
6ba1410054
Fixed vanishing pads issue in the pad properties dialog (GAL).
2014-07-28 14:01:29 +02:00
Andrew Zonenberg
59be0f6ef7
1) Pad properties dialog can trigger divide-by-zero when "0" is entered as the pad size
...
2) PNS router incorrectly detects collisions with blind/buried vias that don't actually intersect the active layer
3) PNS router silently converts blind/buried vias to through-board vias when shoved
2014-07-28 11:32:15 +02:00
jean-pierre charras
33605eaaec
Eeschema fixes: fix Bug #1348983 save cmp file crashes cvpcb when eeschema is opened (backannotation crashes). Happens only when some footprint names are not set (blank names).
...
Also fix incorrect backannotation when footprint names contain spaces (put spaces in names is always a bad idea)
* Fix minor Bug #1349058 Choose component dialog: Search field loses focus after entering a character and internationalize the dialog.
* Fix a subtle bug which prevent eeschema to read the project config file when launched from kicad manager, and when kicad.pro is not found.
2014-07-28 11:24:15 +02:00
Andrew Zonenberg
e6fba84e13
Push-and-shove router now handles existing blind/buried vias properly. Can't yet create new ones.
2014-07-27 15:01:06 -04:00
Andrew Zonenberg
8c1dd1392e
Fixed divide-by-zero in D_PAD::ViewGetLOD()
2014-07-27 15:00:39 -04:00
jean-pierre charras
37757b5283
* Fix Bug #1348607 and a possible crash in libedit dialog component properties after moving up the first user field (which in not possible now).
...
* better info message in pcbnew when trying to delete a footprint in legacy library
2014-07-25 19:49:14 +02:00
jean-pierre charras
6cc3addc68
Fix overflow in track len calculations and display (Bug #1347878 ), in high-light tool.
2014-07-24 19:36:26 +02:00
Maciej Suminski
893618bf3f
Fixed a hot key conflict.
2014-07-24 13:09:16 +02:00
jean-pierre charras
13b0784cd5
Fix overflow in track len calculations and display (Bug #1347878 ).
2014-07-24 08:43:23 +02:00
Andrew Zonenberg
c1f11a1bd1
Draw VIAs only if a layer they penetrate is visible.
2014-07-23 11:27:52 -05:00
unknown
bde2a0a1be
Pcbnew: fix issue for "one file per layer" option in "Export SVG file"
2014-07-23 15:01:23 +02:00
Maciej Suminski
1d378cfcd1
View is automatically centered when a module editor or viewer are opened (GAL).
2014-07-23 12:06:24 +02:00
jean-pierre charras
4fc4ea6147
Make some system error messages not translatable. Better comments in some dialogs.
2014-07-23 12:48:30 +02:00
jean-pierre charras
580a1a6aa0
ModEdit: fix some issues due to the fact legacy footprint libraries cannot handle 32 copper layers, and are therefore no more editable:
...
* in file/library save as..., remove option to save a lib under the legacy format (which is not possible and creates an error message)
* if the current loaded lib is a legacy lib, when the user try to save or delete a footprint, displays a message which explains what the user should do.
* add a suitable dialog to select/create a .pretty folder library (a file dialog or a dir dialog coming from wxWidgets is not friendly usable.)
2014-07-23 12:28:48 +02:00
Maciej Suminski
e46780f89f
Modules loaded by the module editor are placed in the world origin (GAL).
2014-07-22 09:50:40 +02:00
jean-pierre charras
38027eb998
3d viewer: Add high quality mode option is realistic mode (Shows holes in copper zones, but with longer calculation time)
...
Gal: fix a very minor issue: the keys to switch between copper layers are now - and + (according to the doc and the normall mode), instead of - and =
2014-07-21 18:26:18 +02:00
Maciej Suminski
2f7b9bcd71
Fixed bug: module editor doesn't respect global "per module" solder mask clearance (GAL).
2014-07-21 13:17:11 +02:00
Maciej Suminski
0ec256ccb4
Fixed bug: solder paste clearance is not displayed (GAL).
2014-07-21 12:54:58 +02:00
jean-pierre charras
cab7e67b59
fix Bug #1345193 : Drill Map coordinates alway 0 when using Gerber format (due to a missing plotter initialization).
2014-07-21 11:42:36 +02:00
jean-pierre charras
680ca22279
Fix crash in Pcbnew and Gerbview when seceting (in layers manager) "always hide all layers but activer"
2014-07-20 19:41:12 +02:00
unknown
d6fbfbc001
Pcbnew: fix bug when generating drill files for blind/buried vias.
2014-07-20 16:46:59 +02:00
jean-pierre charras
4c77724134
Very minor fixes. *.kicad_pcb files update to current Pcbnew version.
2014-07-20 12:41:14 +02:00
jean-pierre charras
9ecb10996c
Fix wx28 compil issue, and a compil warning.
2014-07-15 20:13:08 +02:00
jean-pierre charras
197371de5f
dialog non copper zones: better look. dialog copper zones: fix a minor bug.
2014-07-15 18:53:13 +02:00
Maciej Suminski
0adb6fa943
Module editor does not ask for permission to modify a locked module.
2014-07-15 17:33:19 +02:00
Maciej Suminski
f24075bbf5
Fixed offset of dragged items when the moving tool is invoked by the hotkey (GAL).
2014-07-15 16:33:46 +02:00
Maciej Suminski
2c5b79456e
Fixed crash in pad properties dialog with wxWidgets 2.8.
2014-07-15 16:02:08 +02:00
Maciej Suminski
568fc74a3c
Clicking on the Selection Tool toolbar button deactivates the current tool (GAL).
2014-07-15 11:50:00 +02:00
Maciej Suminski
a1e08ae568
Drawing tools reset its state on layer change.
2014-07-15 11:41:55 +02:00
Maciej Suminski
8d91587863
PNS settings dialog size corrected.
2014-07-15 10:57:51 +02:00
jean-pierre charras
a82127277c
Gerbview: fix scaling error in x.6 file format. Minor cleaning code.
...
Better separation between Pcbnew code and Gerber code.
Update export to Pcb code (uses now the version 4 kicad_pcb file format).
2014-07-14 20:59:41 +02:00
Maciej Suminski
3aef4252ab
Refinement to commit #4993 .
2014-07-14 16:43:21 +02:00
Maciej Suminski
c3ed210e5d
Increase panning area in GAL view.
2014-07-14 09:43:20 +02:00
Kirill Mavreshko
ae44fb62fc
bugfix: pcbnew crashes when you try to save a file
2014-07-14 09:41:02 +02:00
Maciej Suminski
14cfd173e6
Fixed the Module viewer crash when there is no footprint loaded.
2014-07-09 16:57:01 +02:00
Maciej Suminski
78853febbe
Zone fill/unfill actions in context menu (GAL).
2014-07-09 16:57:01 +02:00
Maciej Suminski
898e4e269e
Fixed the only-type condition for empty selection case.
2014-07-09 16:50:31 +02:00
Maciej Suminski
e6c1254dc8
"Create corner" context menu entry for draw segments and zone outlines (GAL).
2014-07-09 16:50:31 +02:00
Maciej Suminski
4068d6c858
Selection tool uses the real drag origin to compute offset when dragging items.
2014-07-09 16:50:31 +02:00
Maciej Suminski
b8fd1de71c
Added module texts to the preferred types list in SELECTION_TOOL.
2014-07-09 16:50:31 +02:00
Maciej Suminski
433e17a582
Support for "locked" property for modules (GAL).
2014-07-09 16:50:31 +02:00
Maciej Suminski
c1eda6b88c
Some of the Tool Actions need to be run in immediate mode - fixed.
2014-07-09 16:50:31 +02:00
Maciej Suminski
49dd416c53
Dragged items offset is cleared when dragging is finished.
2014-07-09 16:50:31 +02:00
Maciej Suminski
f32419f7e6
New pads in the module editor does not show up in the center of the edited module.
2014-07-09 16:50:31 +02:00
Maciej Suminski
327f307a7f
FIx layer switching after via placement in PNS router.
2014-07-09 16:50:31 +02:00
Maciej Suminski
0953d5730b
Clear selection before opening the module editor.
2014-07-09 16:44:23 +02:00
Maciej Suminski
f2b5cf7d94
Fixed module editor crash when pcbnew is started from the main launcher.
2014-07-09 16:44:23 +02:00
Maciej Suminski
0163b589b4
Workarounded restoring focus to GAL canvas after layer switching.
2014-07-09 16:44:22 +02:00
Maciej Suminski
b1837615aa
Added event queue to handle events at the end of the event processing cycle.
2014-07-09 16:25:50 +02:00
Maciej Suminski
81ad03cf91
Code formatting.
2014-07-09 16:25:50 +02:00
Maciej Suminski
db0d708300
Simplified code for switching layers in GAL view. Tools are notified of layer change event.
2014-07-09 16:25:50 +02:00
Maciej Suminski
c0a96141df
Added AF_NOTIFY flag for TOOL_ACTIONs.
2014-07-09 15:10:32 +02:00
Maciej Suminski
b2d0737329
Fixed continous line drawing.
...
Outline mode can be set up on any layer.
2014-07-09 15:10:32 +02:00
Maciej Suminski
d7c3c7828b
wxWidgets 2.8 compatibility fixes.
2014-07-09 15:10:32 +02:00
Maciej Suminski
5275d4b58f
Fixed minor bugs introduced with outline mode display for module texts and edges.
2014-07-09 15:10:32 +02:00
Maciej Suminski
778011a893
Ratsnest is recalculated after global deletion of tracks and after importing a netlist.
2014-07-09 15:10:32 +02:00
Maciej Suminski
587f22e10b
Outline display mode for module edges & texts in the module editor.
2014-07-09 15:10:32 +02:00
Maciej Suminski
3b5ece39a1
Modules inserted from the module editor are instantly visible in GAL.
...
Ratsnest is updated after exporting changes from the module editor to the layout editor.
2014-07-09 15:10:32 +02:00
Maciej Suminski
65c116621d
Added support for changing the cursor size.
2014-07-09 15:10:32 +02:00
Maciej Suminski
15f5c228cc
Fixed autozooming with empty board/module.
2014-07-09 15:10:32 +02:00
Maciej Suminski
31e25ac4cf
Fixed module viewer crash.
2014-07-09 15:10:32 +02:00
Maciej Suminski
2b0e27f132
Introduced SELECTION_CONDITIONS to determine which menu entries should be visible in the SELECTION_TOOL context menu, depending on the selection.
2014-07-09 15:10:32 +02:00
Maciej Suminski
bfa15d8db0
Moved SELECTION out of SELECTION_TOOL class.
2014-07-09 15:10:32 +02:00
Maciej Suminski
d21271b432
Pad Enumeration tool support for SMD pads.
2014-07-09 15:10:32 +02:00
Maciej Suminski
709dfcc16e
Added settings dialog for Pad Enumeration tool.
2014-07-09 15:10:32 +02:00
Maciej Suminski
2bcbb67528
Initial version of the Pad Enumeration tool.
2014-07-09 15:02:56 +02:00
Maciej Suminski
cf79b4c64f
Removed redundant accessor calls in MODULE_TOOLS.
2014-07-09 15:02:56 +02:00
Maciej Suminski
ed88c40be5
Moved module editor-specific tools to a separate class (MODULE_TOOLS).
2014-07-09 15:02:56 +02:00
Maciej Suminski
0b9387fb12
Added support for graphics on Edge.Cuts layer in modules. Tested functionality that works fine:
...
- zone filling algorithm
- printing
- plotting (pdf & gerbers)
- SVG export
- Specctra export
- 3D viewer
2014-07-09 15:02:56 +02:00
Maciej Suminski
a6484f1acb
Drawing tools used to crash when the drawing tool was interrupted - fixed.
2014-07-09 15:02:56 +02:00
Maciej Suminski
b42091bc06
Fixed anchor placement tool in module editor (GAL).
2014-07-09 15:02:56 +02:00
Maciej Suminski
5f297726ca
Module anchors are visible in GAL canvas.
2014-07-09 15:02:56 +02:00
Maciej Suminski
6f772c90d9
Renamed "Placement" context menu to "Align/distribute".
2014-07-09 15:02:56 +02:00
Maciej Suminski
84fa537b22
Changes in display options are handled by PCBNEW_CONTROL (GAL).
2014-07-09 15:02:56 +02:00
Maciej Suminski
2b1d6b303a
Added support for module edge splitting with double click.
2014-07-09 15:02:56 +02:00
Maciej Suminski
47f1fec31d
DXF drawing placement tool for GAL.
2014-07-09 15:02:56 +02:00
Maciej Suminski
445d935880
Created dialog_dxf_import.h. Cleaned up some unnecessary stuff and fixed file open dialog DIALOG_DXF_IMPORT.
2014-07-09 15:02:56 +02:00
Maciej Suminski
72c70148e8
Fixed a few memory leaks and Valgrind warnings.
2014-07-09 15:02:56 +02:00
Maciej Suminski
da67880907
DXF files import is supported by module editor.
2014-07-09 15:02:56 +02:00
Maciej Suminski
b2a601756e
Refactored DXF import routines:
...
- DIALOG_DXF_IMPORT works with PCB_BASE_FRAME instead of PCB_EDIT_FRAME
- imported items are not immediately added to a BOARD
- imported items are held in a list, instead of vector
- imported items are instantly visible in GAL view
- added DIALOG_DXF_IMPORT::GetImportedItems()
- code formatting
2014-07-09 15:02:56 +02:00
Maciej Suminski
4ac277028b
Code formatting.
2014-07-09 14:41:52 +02:00
Maciej Suminski
77d8b2d84e
Context menu for the Placement Tool.
2014-07-09 14:23:13 +02:00
Maciej Suminski
f0ff744e97
Initial version of the Placement Tool.
2014-07-09 14:23:13 +02:00
Maciej Suminski
e3c4f425dc
Fixed wrong reference point for copied items in subsequent module editor invocations (GAL).
2014-07-09 14:23:13 +02:00
Maciej Suminski
ac8ee56e51
Pasted module texts are rotated in the right way.
2014-07-09 14:23:13 +02:00
Maciej Suminski
5941f196c3
Reference point is selected for copied items. Enabled autopanning for copy & paste operations (module editor/GAL).
2014-07-09 14:23:13 +02:00
Maciej Suminski
95a4f61eee
wxWidgets 2.8 compatibility fix.
2014-07-09 14:23:13 +02:00
Maciej Suminski
5e48a79639
Copy & paste for module editor (GAL).
2014-07-09 14:22:29 +02:00
Maciej Suminski
ae431bbb05
Added MODULE::Add( BOARD_ITEM* )/Remove( BOARD_ITEM* )/Delete( BOARD_ITEM* ).
...
Removed MODULE::AddPad().
2014-07-09 14:22:29 +02:00
Maciej Suminski
d73ab976df
Added support for placing the footprint anchor.
2014-07-09 14:01:06 +02:00
Maciej Suminski
637919a699
Added support for pads, texts and graphics removal in module editor (GAL).
2014-07-09 14:01:06 +02:00
Maciej Suminski
5dc1f92608
Added pad placement tool for module editor (GAL).
2014-07-09 14:01:06 +02:00
Maciej Suminski
67136d21b1
MInor fixes.
2014-07-09 14:01:06 +02:00
Maciej Suminski
ad000aefa4
Fixed the legacy module editor.
2014-07-09 14:01:06 +02:00
Maciej Suminski
99043b777d
Adapted graphics tools to cooperate with module editor.
2014-07-09 14:01:06 +02:00
Maciej Suminski
ba320ac7c3
Added "edit modules" mode for DRAWING_TOOL.
2014-07-09 14:01:06 +02:00
Maciej Suminski
fc44f34ade
Fixed DRAWING_TOOL::PlaceTextModule() method.
2014-07-09 14:01:06 +02:00
Maciej Suminski
d085ace884
Created a header file for DialogEditModuleText class.
2014-07-09 14:01:06 +02:00
Maciej Suminski
b05885c2f1
Refactored drawing tools: lines, circles and arcs.
2014-07-09 14:01:06 +02:00
Maciej Suminski
69c73b0ebc
Updated POINT_EDITOR to handle module edges.
2014-07-09 13:50:27 +02:00
Maciej Suminski
26323007b5
Added a handler for not implemented toolbar buttons functionality in GAL.
2014-07-09 13:50:27 +02:00
Maciej Suminski
94cc845b3f
Added AF_ACTIVATE flag for TOOL_ACTIONs.
...
Reworked the way of processing events in TOOL_MANAGER class.
Added GetCommandStr() for TOOL_EVENT class.
2014-07-09 13:50:27 +02:00
Maciej Suminski
34fbde42fc
Improved way of translating wxEvent commands to TOOL_ACTIONs.
2014-07-09 13:50:27 +02:00
Maciej Suminski
74522d5b3c
Corrected names of common tool actions.
2014-07-09 13:50:27 +02:00
Maciej Suminski
e3015930f1
Module editor: modules are shown in GAL mode when loaded from file/library.
2014-07-09 13:50:27 +02:00
Maciej Suminski
9ee8d1a2a7
Module editor loads the last edited footprint in GAL mode.
2014-07-09 13:50:27 +02:00
Maciej Suminski
6d1417bafa
SELECTION_TOOL in edit module mode does not try to select MODULEs.
2014-07-09 13:50:27 +02:00
Maciej Suminski
8e90a6167b
Rotate support for pads.
2014-07-09 13:50:27 +02:00
Maciej Suminski
583de985c7
Added required resets for tools.
2014-07-09 13:50:27 +02:00
Maciej Suminski
5d1ec2b204
Restored invocation of SELECTION_TOOL commands with TOOL_ACTIONs.
2014-07-09 13:50:27 +02:00
Maciej Suminski
5ce29330b1
Restored support for custom angle rotation.
2014-07-09 13:50:27 +02:00
Maciej Suminski
6e0bd1eedc
Adapted tools to PCB_BASE{_EDIT}_FRAME.
2014-07-09 13:50:27 +02:00
Maciej Suminski
b0f3e79e54
Created a common interface for edit frames.
2014-07-09 13:50:27 +02:00
Maciej Suminski
eee2779f6b
Moved some layout editor specific tool actions to another class (PCB_EDITOR_CONTROL).
2014-07-09 13:50:27 +02:00
Maciej Suminski
8898b34755
Code formatting.
2014-07-09 12:10:28 +02:00
Maciej Suminski
1617f15b51
FOOTPRINT_EDIT_FRAME undo buffer handles operations done with GAL editor.
2014-07-09 12:10:27 +02:00
Maciej Suminski
7ade7db078
SELECTION_TOOL got a new mode to edit MODULEs.
2014-07-09 12:10:27 +02:00
Maciej Suminski
d98a5c4efe
Unconditionally initialize the Tool Framework in FOOTPRINT_EDIT_FRAME.
2014-07-09 11:59:24 +02:00
Maciej Suminski
953f71df3e
Move() method updates local coordinates in EDGE_MODULE, D_PAD and TEXTE_MODULE classes.
2014-07-09 11:59:24 +02:00
Maciej Suminski
2ee890d74b
Minor changes.
2014-07-09 11:59:24 +02:00
Maciej Suminski
a6dac245c0
Removed TOOL_ACTIONs: selectionSingle, selectionClear. SELECTION_TOOL methods are called directly instead.
2014-07-09 11:59:24 +02:00
Maciej Suminski
b5b20ef4bd
Added layer widget to the module editor.
2014-07-09 11:59:23 +02:00
Maciej Suminski
dca4667e66
PCB_LAYER_WIDGET became able to cooperate with PCB_BASE_FRAME.
2014-07-09 11:59:23 +02:00
Maciej Suminski
0306ec7efe
{Set,Get}ActiveLayer moved from PCB_EDIT_FRAME to PCB_BASE_FRAME.
2014-07-09 11:50:27 +02:00
Maciej Suminski
5a428e1957
Moved layers visibility synchronization to PCB_DRAW_PANEL_GAL::SyncLayersVisibility().
2014-07-09 11:24:56 +02:00
Maciej Suminski
a24576f3ce
Initial version of the GAL-based Module Editor.
2014-07-09 11:22:43 +02:00
Maciej Suminski
8a5fedb728
Code formatting and cleaning.
2014-07-09 11:22:43 +02:00
Maciej Suminski
1f7ce5416c
Next/previous footprint toolbar buttons are handled in the Module Viewer using GAL canvas.
2014-07-09 11:22:43 +02:00
Maciej Suminski
553996e7be
bugfix: pads edited with properties dialog were not refreshed.
...
bugfix: changing track width/via size using the dropdown menu when custom size was enabled did not change anything.
2014-07-09 11:22:43 +02:00
Maciej Suminski
5134781a38
GAL view in pad properties dialog - initial version.
2014-07-09 11:22:43 +02:00
Maciej Suminski
0a6de2e13f
FOOTPRINT_VIEWER_FRAME handles events from toolbar buttons and hot keys.
2014-07-09 11:22:43 +02:00
Maciej Suminski
60b0a4e0be
Alternative approach to handling events and commands by TOOL_DISPATCHER.
...
Event handlers are (dis)connected depending on the active view.
TOOL_DISPATCHER inherits from wxEvtHandler, so now it receives events directly instead of being fed by external handlers.
2014-07-09 11:22:42 +02:00
Maciej Suminski
3fd26b6dd2
TOOL_ACTIONs are automagically registered by TOOL_MANAGER upon its construction.
2014-07-09 11:22:42 +02:00
Maciej Suminski
f5325f8d79
Removed a redundant pointer to EDA_EDIT_FRAME.
2014-07-09 11:22:42 +02:00
Maciej Suminski
e46c5cb778
Fixed toolbar buttons for zooming in GAL canvas.
2014-07-09 11:22:42 +02:00
Maciej Suminski
8059f4ddd4
Added autozooming and display of the last chosen module for module viewer using GAL.
2014-07-09 11:22:42 +02:00
Maciej Suminski
13e67e1f3c
Fixed VIEW::SetViewport().
2014-07-09 11:22:42 +02:00
Maciej Suminski
cc733a4966
Initial version of GAL-based module viewer in pcbnew.
2014-07-09 11:22:42 +02:00
Maciej Suminski
a68165d2a0
Minor changes (removed an unnecessary event handler and two function calls that had no real influence).
2014-07-09 10:57:32 +02:00
Maciej Suminski
f56e2e1454
Fixed switching between GAL canvases error.
2014-07-09 10:57:32 +02:00
Maciej Suminski
9a47f4c645
Created a specialization of EDA_DRAW_PANEL_GAL: PCB_DRAW_PANEL_GAL.
...
Moved View related routines & fields from PCB_{BASE,EDIT}_FRAME & BOARD to PCB_DRAW_PANEL_GAL.
2014-07-09 10:57:32 +02:00
Maciej Suminski
fb0045a898
Bugfix: Bottom layer not correctly handled in (PNS) Interactive router.
2014-07-07 10:48:47 +02:00
Dick Hollenbeck
c1814ad98e
netlist_stuff
2014-07-07 00:59:58 -05:00
Dick Hollenbeck
86132ad16b
add aDocName to NETLIST::Format()
2014-07-06 23:41:29 -05:00
Dick Hollenbeck
84a14c3a51
back annotation when CVPCB and EESCHEMA are running under KICAD
2014-07-06 23:12:04 -05:00
Dick Hollenbeck
7cc5985c7a
fix Inner1.Cu in pcb_parser.cpp, start cvpcb work.
2014-07-05 15:52:24 -05:00
Dick Hollenbeck
611592029f
fix Inner1.Cu in pcb_parser.cpp, start cvpcb work.
2014-07-05 15:42:59 -05:00
Lorenzo Marcantonio
e2e4fc4830
Added missing support for reading the *.CrtYd layer token
2014-07-05 14:35:18 +02:00
jean-pierre charras
9a7116d4ab
Update old demo board files. Minor code cleaning.
2014-07-04 21:36:43 +02:00
jean-pierre charras
f71418ace9
Pcbnew: fix read .kicad_pcb file error when an outdated plot parameter is found. Now outdated plot parameters are just ignored
2014-07-04 17:54:14 +02:00
jean-pierre charras
ab58dbfced
Pcbnew: Rework on Gerber ouput: allows choice between format 4.5 and 4.6. Fix a minor issue in Gerber layers attributes.
...
fix print issue when printing each layer on a separate page.
2014-07-04 16:22:38 +02:00
jean-pierre charras
5a4c16dcfb
Pcbnew, Gerbview : fix crash when updating the layer manager.
2014-07-04 15:53:41 +02:00
Lorenzo Marcantonio
89f14906a4
- Added the courtyard/fabrication layer to the layer combo and layer
...
panel
- Corrected handling of scrollability in layer panel (fixes 1336996)
2014-07-04 10:55:51 +02:00
jean-pierre charras
eb396a5e88
Fix footprint wizard issues. Fix export vrml incorrect Z position of items.
2014-07-02 15:08:28 +02:00
jean-pierre charras
39216b4b3a
Fix Bug #1336614 (Vias missing from drill export)
2014-07-02 09:05:29 +02:00
jean-pierre charras
8a1fd49377
Minor fixes in Gerber files, in file attribute for copper layers.
2014-07-01 21:20:38 +02:00
jean-pierre charras
dc38c50258
Fix Bug #1335914 (Export SVG menu) hangs pcbnew permanently.
...
Also a minor cosmetic enhancement in SVG export and plot dialogs.
2014-06-30 21:19:58 +02:00
Dick Hollenbeck
4d9f87bf0b
fix BUG parsing the kicad_pcb (layers ..) declaration section. First non-cu was being dropped.
2014-06-30 13:45:43 -05:00
jean-pierre charras
c6af2a7974
Fix a double minor bug about layers occupied by SMD pads and CONN pad:
...
The default layer stack between these 2 types was swaped in pad definition, and also in the dialog pad properties.
This double swap creates no bug, but creates bugs in the footprint wizards (SMD or CONN pads do not have the right layer stack)
FYI, the CONN pad type should be removed soon.
2014-06-30 20:14:06 +02:00
jean-pierre charras
a543f99eb3
Enable technical layers when starting Pcbnew with no board.
...
Use format 4.6 (full resolution of Pcbnew) in Gerber files to avoid the creation of self-intersecting polygons.
2014-06-30 17:46:47 +02:00
Dick Hollenbeck
e460b4a524
fix export_gencad.cpp
2014-06-30 10:03:20 -05:00
jean-pierre charras
b50872edca
Gerber output: Some changes after evaluation of Gerber files by Ucamco (the manager of GERBER format):
...
* default file ext is now .gbr (the "official extension")
* some outdated commands remoded.
* mainly use mm and 4.5 format instead of inches and 3.4 format. this is mandatory,
because the 3.4 format (comming from old pcbned internal units) creates truncations in coordinates.
(with serious issues in polygons which can appear self-intersecting afer truncation)
2014-06-30 12:00:21 +02:00
Dick Hollenbeck
60140dfbcf
merge
2014-06-30 01:44:46 -05:00
Dick Hollenbeck
1e7495e634
merge
2014-06-30 00:46:18 -05:00
Dick Hollenbeck
575f13d887
fix VIA::IsOnLayer()
2014-06-29 23:40:16 -05:00
Dick Hollenbeck
3aa880dedb
fix pcb_parser for new board, coding standards
2014-06-29 16:50:06 -05:00
Dick Hollenbeck
06bf0821b9
fix LSET() constructors, formatting
2014-06-29 15:33:29 -05:00
Dick Hollenbeck
add4d5eb6f
re-work the LSET(int,...) constructor
2014-06-29 13:09:32 -05:00
Dick Hollenbeck
0a1665d5aa
class_marker IsOnLayer()
2014-06-29 08:12:30 -05:00
Dick Hollenbeck
ad750defb6
LAYER_ID work
2014-06-29 08:05:51 -05:00
jean-pierre charras
013296cb1a
Make gerbview compilable and working (does not use now layers and layer masks from Pcbnew).
...
Export to Pcbnew is broken, but it is a very rarely used feature. It will be fixed later.
2014-06-27 19:07:42 +02:00
Dick Hollenbeck
8627684122
use LSET::any() whereever possible and avoid conversion to integral type
2014-06-25 12:01:50 -05:00
Dick Hollenbeck
8b6c569aef
copyright
2014-06-25 09:24:02 -05:00
Dick Hollenbeck
b920fa00a5
1) Fix compiles using wx 3.x and 2.8.
...
2) Fix passing wxString to common/config_params so lookup keys
can be dynamically generated. This gives ~/.kicad files all the colors.
3) Fix LEGACY_PLUGIN so it loads all layer types and masks properly.
4) Extend the table in router/pns_index.h to 128 from 64.
2014-06-24 23:36:02 -05:00
Dick Hollenbeck
ab51a49c5a
fix zones
2014-06-24 13:30:39 -05:00
jean-pierre charras
96b6e1a5cb
Make dialog pns properties resizable. DXF import: add very basic polyline import.
2014-06-24 20:04:16 +02:00
Dick Hollenbeck
4578ea8b9e
1) Add 32 Cu Layers.
...
2) Change from legacy Cu stack to counting down from top=(F_Cu or 0).
The old Cu stack required knowing the count of Cu layers to make
sense of the layer number when converting to many exported file types.
The new Cu stack is more commonly used, although ours still gives
B_Cu a fixed number.
3) Introduce class LSET and enum LAYER_ID.
4) Change *.kicad_pcb file format version to 4 from 3.
5) Change fixed names Inner1_Cu-Inner14_Cu to In1_Cu-In30_Cu and their
meanings are typically flipped.
6) Moved the #define LAYER_N_* stuff into legacy_plugin.cpp where they
can die a quiet death, and switch to enum LAYER_ID symbols throughout.
7) Removed the LEGACY_PLUGIN::Save() and FootprintSave() functions.
You will need to convert to the format immediately, *.kicad_pcb and
*.kicad_mod (=pretty) since legacy format was never going to know
about 32 Cu layers and additional technical layers and the reversed Cu
stack.
2014-06-24 11:17:18 -05:00
Maciej Suminski
95a6e8deb2
Dragging items by their origin is optional (activated by dragging elements with Ctrl held).
2014-06-23 16:12:59 +02:00
Kirill Mavreshko
b4e0a5cbbf
Fixes bug #1332438 : PNS router crashes when you another track while routing in "shove" mode
2014-06-23 08:50:53 +02:00
jean-pierre charras
4cd4990bc2
Fix compil issue with KICAD_SCRIPTING_WXPYTHON option ON.
...
Minor enhancements.
2014-06-20 19:29:35 +02:00
jean-pierre charras
7c99a242cf
Remove 2 global variables: g_DrawBgColor and g_ShowPageLimits.
...
They are now member of EDA_DRAW_FRAME.
This change could fix Bug #1330781 (Background color change in Eeschema affects background color in Pcbnew)
Show page limits has meaning only for the schematic editor, the board editor and the page layout editor.
Draw background color selection exists only in eeschema and page layout editor.
In pcbnew, only a black background is allowed.
A side effect is now the user should set the background color in schematic editor, and the library editor (2 different options).
The default is still the white color.
2014-06-20 13:13:04 +02:00
unknown
1a47508832
Gerber X2 patch (Support for the "file function" attribute) from Thiadmer Riemersma, committed in rev 4948: minor fix for better compatibility with older versions of Pcbnew
2014-06-19 09:12:48 +02:00
jean-pierre charras
9ee8dac056
Pcbnew, python console: make it not dockable (workaround to avoid the fact accelerator keys which are used in the main menu are not sent to the console, in docked mode).
...
Minor cosmetic enhancement.
2014-06-19 08:26:53 +02:00
jean-pierre charras
a2abb20793
Pcbnew, python console: make it not dockable (workaround to avoid the fact hot keys which are used in the main menu are not sent to the console, in docked mode)
...
Minor cosmetic enhancement.
2014-06-18 18:33:16 +02:00
jean-pierre charras
ba2c763222
better management of Python console.
2014-06-18 13:44:17 +02:00
jean-pierre charras
688dbe5de1
Minor cosmetic enhancement, and try to fix an issue with accelerator keys and the Python scripting console
2014-06-17 20:31:27 +02:00
Dick Hollenbeck
2ff53e95bd
fix some bugs in FOOTPRINT_VIEWER_FRAME, get rid of statics
2014-06-16 14:00:26 -05:00
jean-pierre charras
f43cf03789
Fix specctra export crash, when a non copper zone was found on the board to export.
2014-06-16 14:04:55 +02:00
unknown
a91eabb805
Apply vrml_layer_pth, from Cirilo Bernardo
2014-06-16 14:02:15 +02:00
jean-pierre charras
52d2e7eb59
Fix a bug in ClassOf which crashes Pcbnew when its argument is NULL. It fixes bug #1329364 .
2014-06-12 22:03:57 +02:00
Lorenzo Marcantonio
bee6b9f9b7
Fixes #1186269
...
- Refactored the common part of cursor key movement and crosshair update
in the various GeneralControl
- Add x10 movement with the keyboard (CTRL modifier)
- Avoid fixup of the cursor position by dummy mouse movements generated
by cursor warping (original analysis and idea Chris Gibson)
- Do key handling in a way to permit sub-pixel cursor movement
2014-06-12 18:12:14 +02:00
Dick Hollenbeck
21b70093b0
refinements
2014-06-11 00:57:26 -05:00
Dick Hollenbeck
1385e39d89
Save the footprint editor's last footprint in the PROJECT RString facility.
2014-06-11 00:18:41 -05:00
Dick Hollenbeck
3d311f831e
*) Remove more wxString static constructors which were crashing in PAGE_INFO assignment
...
to a new BOARD in the footprint editor. This is PAGE_INFO::A4 and company.
*) Remove static storage of the BOARD in the module editor.
2014-06-11 00:00:30 -05:00
jean-pierre charras
737ef50cc0
Plot SVG: fix issue with arcs (bug #1328155 ) both in Pcbnew and Eeschema.
2014-06-10 18:21:38 +02:00
Dick Hollenbeck
8cb3423262
Remove class RETAINED_PATH, put is main member function into SEARCH_STACK.
...
Change class PROJECT to use a generalized wxString in place of the
RETAINED_PATH items, so that new session and project specific strings
of any purpose can be saved there, for the life of a session.
2014-06-10 10:56:43 -05:00
unknown
53cd19a69b
VRML export rewritten
2014-06-08 12:35:42 +02:00
jean-pierre charras
bd174ebffe
Page layout editor: fix bad initialization on startup, which can crash pl_editor when trying to edit an item.
...
Minor other fixes.
2014-06-07 18:20:23 +02:00
Maciej Suminski
e7aa963011
Fixed layers switching in GAL.
2014-06-06 14:59:55 +02:00
Maciej Suminski
f5de166a7e
Removed an unused parameter from TOOL_BASE::getModel<T>() method.
2014-06-06 14:59:25 +02:00
jean-pierre charras
335f5a57e5
Pcbnew: fix an issue with very old .brd files.
2014-06-06 12:30:07 +02:00
Tomasz Wlostowski
4121c27269
Clang-alike lightweight RTTI for pcbnew + type casting cleanup.
2014-06-06 11:44:21 +02:00
unknown
7a110d0ce3
IDF tools: code cleanup and debugging
2014-06-05 20:37:04 +02:00
Bernhard Stegmaier
60a86853ec
Removed a few warnings.
2014-06-05 12:40:26 +02:00
Maciej Suminski
afbe21fe70
Single items are dragged by their origin in GAL canvas.
2014-06-05 09:55:53 +02:00
Maciej Suminski
fe341876eb
bugfix #1326155 : pcbnew shows strange ratsnest lines in OpenGL mode.
2014-06-05 09:55:35 +02:00
Maciej Suminski
9305f77fdc
Fixed: Modules become invisible after reloading a netlist, until GAL view is refreshed.
2014-06-05 09:54:47 +02:00
Maciej Suminski
517bfa3570
Minor code cleaning.
2014-06-04 18:01:01 +02:00
Maciej Suminski
0d734e8841
Placing the grid origin is possible with GAL.
2014-06-04 17:46:43 +02:00
jean-pierre charras
f76041e956
Fix some compil warnings and Debug assertions
2014-06-04 19:34:23 +02:00
Dick Hollenbeck
431675933a
remove global g_UserLibDirBuffer which was a project specific global, and no longer used with FP_LIB_TABLE support.
2014-06-03 10:59:52 -05:00
Maciej Suminski
3480c41caa
PNS router handles net class settings (dependent on the selected start item).
2014-06-03 16:09:27 +02:00
Maciej Suminski
79631def2c
Improved ratsnest updating in GAL.
2014-06-03 16:08:23 +02:00
Maciej Suminski
2af3e5f6e9
bugfix #1325743 : cvpcb crashes when opening any netlist.
2014-06-03 09:32:57 +02:00
jean-pierre charras
44014b2196
Minor fixes.
2014-06-02 18:16:06 +02:00
jean-pierre charras
ea755a10db
.kicad_mod files: always save the "last edited date" because only the footprint editor changes this parameter. Usefull to know if/when a footprint was actually modified.
...
Also fix a minor issue in footprint editor which always set the "modified" flag even when no change was made.
2014-06-02 12:46:29 +02:00
Maciej Suminski
fa846932c1
bugfix 1325375: pcbnew crash while append a board
2014-06-02 11:41:54 +02:00
Tomasz Wlostowski
a90680aa15
router: fix segfault on route-undo-route
2014-06-01 18:44:38 +02:00
jean-pierre charras
218cb8e7c1
Pcbnew: fix Bug #1325311 ("New Board" warning refusal broken)
2014-06-01 16:58:17 +02:00
jean-pierre charras
59dfc053c2
Cosmetic enhancements: fix incorrect icons.
2014-05-31 17:49:15 +02:00
Maciej Suminski
2619ceae03
PNS formatting code.
2014-05-31 16:04:25 +02:00
Maciej Suminski
3ef78c66bf
Brighter colors for pad net labels.
2014-05-31 11:50:01 +02:00
Maciej Suminski
4f678a919c
Fixed invisible buttons in PNS settings dialog (at least for some GTK themes).
2014-05-30 15:31:30 +02:00
jean-pierre charras
771ac33c80
Pcbnew: fix a minor bug: in zones with no net, only the zone clerance was used to created clearence, regardless the pad or footprint local clerance.
...
Very minor other fixes.
2014-05-29 13:48:14 +02:00
Maciej Suminski
707f5cd6e6
bugfix 1324144: broken PNS dragging
2014-05-28 19:21:12 +02:00
Maciej Suminski
b9246dd463
bugfix #1323135 : PNS creates vias with giant holes.
2014-05-28 13:16:15 +02:00
jean-pierre charras
afc5d13172
Apply a workaround in 3D_draw.cpp to avoid crash in boost::polygon (try to fix Bug #1322804 )
...
This workaround was already used (bzr 4301, in file plot_board_layers.cpp) also to avoid similar crashes (uses 18 segments instead of 16 to approximate a circle by segments).
Minor code cleanup in dialog_plot.
2014-05-26 08:54:04 +02:00
unknown
3802629adc
Fix kicad_plugin.cpp coding style fully broken by commit 4887 (patch from Orson, AKA maciej suminski).
2014-05-26 08:21:25 +02:00
Maciej Suminski
3087c05a5d
Bugfix #1322914 : pcbnew crashes when opening a file
2014-05-25 17:36:24 +02:00
Tomasz Wlostowski
c87baa9d22
router: fix segfault when trying to shove a line that forms a closed loop.
2014-05-23 11:57:43 +02:00
Maciej Suminski
537a97cf52
Ratsnest is computed for legacy boards in GAL view.
2014-05-22 19:34:28 +02:00
Maciej Suminski
dd1fcd0588
Fix for context menu hanging up in GAL.
2014-05-22 17:59:36 +02:00
Maciej Suminski
655721d9ae
Added missing changes required for updating footprints with the module editor.
2014-05-22 15:01:58 +02:00
Maciej Suminski
957f959e90
Fixed bug 1321936: changing a footprint for a set of modules relocates them in GAL canvas.
...
Changes introduced by the module editor are updated in GAL canvas.
2014-05-22 12:06:45 +02:00
Maciej Suminski
69816d8704
The GAL view uses colors settings from the legacy canvas.
...
Minor refactoring of PAINTER & RENDER_SETTINGS classes.
2014-05-21 23:13:30 +02:00
Lorenzo Marcantonio
07877f9044
Replaced the display line clipper with the way simpler (and faster) Cohen-Sutherland one.
...
A couple of trivial accessors made inline
2014-05-21 19:02:32 +02:00
Dick Hollenbeck
2fa082f698
fix bug lp:1319839
2014-05-21 01:06:52 -05:00
Maciej Suminski
f31f92e45e
Fixes the bug that causes pcbnew crash, when there are multiple net classes and the plot dialog was opened.
...
Changed NETCLASS* to boost::shared_ptr<NETCLASS>.
2014-05-20 11:29:37 +02:00
Dick Hollenbeck
f49e9a285f
fix compiler warnings
2014-05-19 17:27:09 -05:00
jean-pierre charras
cfa67aa218
Pcbnew: plot dialog: remove obscure and useless option about texts which are not value or reference.
...
cosmetic enhancement in dialog.
page layout: fix bug Bug #1320839 (canvas refresh countinously called when moving an item)
2014-05-19 20:24:07 +02:00
Maciej Sumiński
c97afea468
Upstream merge.
2014-05-18 17:32:35 +02:00
Maciej Sumiński
46020e20de
Merged the new Interactive Push and Shove router.
...
Do not pay attention to add/remove files - it seems there may be a bug in git-bzr-ng plugin. I have checked them, they stayed exactly the same as before.
2014-05-18 17:16:59 +02:00
jean-pierre charras
d54ade9403
Rework on DXF export.
2014-05-17 21:29:15 +02:00
Lorenzo Marcantonio
073a9e1724
TRACK::GetTrack can now be told to confine search to the netlist and/or force the sequential (restartable) algorithm
...
Reworked the collinear track routines. Cleanup should be faster given the above modification.
2014-05-17 19:36:02 +02:00
jean-pierre charras
41e41b95f8
Plot DXF: better generation of filled zone polygons.
2014-05-16 21:03:45 +02:00
Maciej Suminski
51ee6916ec
Removed header files from CMakeLists.txt.
2014-05-16 16:01:03 +02:00
Maciej Suminski
ad1b138f28
Reformatted PNS code to conform the coding policy.
2014-05-16 13:37:31 +02:00
Maciej Suminski
4fcaf4c586
Minor BOARD_DESIGN_SETTINGS refactoring.
...
Removed SetCurrentClassName() (it was not used anywhere and less safe than SetCurrentClass()).
Added BOARD_DESIGN_SETTIGNS::GetDefault() to make some pieces of shorter and clearer.
2014-05-15 10:51:08 +02:00
Maciej Suminski
b2a5b2f329
Scripting fix.
2014-05-15 10:11:17 +02:00
jean-pierre charras
bb0804ec29
DXF export: fix incorrect export of polygons having thick outline (like zones): Thick segments of outline were drawn like lines with no thickness.
...
Fix ( workaround only) crash (Windows only) when a quasi modal frame (like footprint viewer) was called from a dialog (like the component properties dialog in schematic editor).
Very minor other fixes.
2014-05-15 08:32:24 +02:00
Maciej Suminski
7a526261fb
PNS router deselects all items when started.
2014-05-14 19:15:25 +02:00
Maciej Suminski
f04997797b
Fixed freezing of GAL canvas if user chooses Cancel in the on close dialog..
2014-05-14 19:04:21 +02:00
Maciej Suminski
0d9373ca6c
Undo/report support for track dragging (PNS).
2014-05-14 18:45:59 +02:00
Maciej Suminski
d7ac368260
PNS routing settings are stored between router invocations.
2014-05-14 16:53:49 +02:00
Maciej Suminski
f31dd1cdaf
PNS debug output is enabled with PNS_DEBUG define.
2014-05-14 16:40:56 +02:00
Maciej Suminski
def53707d5
TOOL_MANAGER is no longer static. Reworked autoregistration of TOOL_ACTIONs.
2014-05-14 16:29:53 +02:00
Maciej Suminski
ae4f41c328
Added missing dialog files for pcbnew.
2014-05-14 16:28:39 +02:00
Tomasz Włostowski
061660e9e4
Long-awaited new version of the P&S router
2014-05-14 15:53:54 +02:00
Tomasz Włostowski
e9afb10a9d
Switching top layer should update the layer widget
2014-05-14 13:54:59 +02:00
Maciej Suminski
922bf1ddea
Fixed freezing of GAL canvas if user chooses Cancel in the on close dialog.
2014-05-14 12:08:29 +02:00
Maciej Suminski
d27ea7895d
Moved background color settings from GAL to RENDER_SETTINGS. Added RENDER_SETTINGS::TranslateColor() to convert between EDA_COLOR_T and COLOR4D.
2014-05-14 10:35:12 +02:00
Maciej Suminski
2cba91f974
Holding shift always activates extend current selection mode (in GAL canvas).
2014-05-14 09:56:35 +02:00
Maciej Suminski
27bb059aaf
Via holes were always visible in GAL canvas - fixed.
2014-05-14 09:48:29 +02:00
Maciej Suminski
562beafcde
Fixed modification point for EDIT_TOOL when the tool is not active.
2014-05-13 11:22:51 +02:00
Maciej Suminski
d9eb15c9fa
Moved NETCLASSES to BOARD_DESIGN_SETTINGS.
...
Most of the changes are just adding GetDesignSettings() before every occurence of m_NetClasses.
More complex changes:
class_netclass.cpp - NETCLASS does not store the pointer to the parent BOARD anymore. Added function SetParams( BOARD_DESIGN_SETTINGS& ).
class_netclass.h - Removed GetTrackMinWidth(), GetViaMinDiameter(), GetViaMinDrill(), GetuViaMinDiameter(), GetuViaMinDrill() as they were refering to BOARD_DESIGN_SETTINGS anyway (they are not net class specific).
kicad_plugin.cpp - filters out empty nets (that are anyway not saved) when storing net class information. Previously it was done in NETCLASS::Format() function.
2014-05-13 11:22:51 +02:00
Maciej Suminski
5af454c28b
Fixed namecase for private fields in BOARD_DESIGN_SETTINGS class.
...
Moved a few one-liners of BOARD_DESIGN_SETTINGS class to the header file.
2014-05-13 11:22:51 +02:00
Maciej Suminski
cd8aaee160
Moved most of the board design rules related fields & methods to BOARD_DESIGN_SETTINGS class.
2014-05-13 11:22:51 +02:00
Maciej Suminski
7ec1313cbc
Custom width settings taken into account in wxUpdateUIEvent handlers.
2014-05-13 11:22:51 +02:00
Maciej Suminski
917e47397d
Custom track/via size settings nicely cooperate with other options.
2014-05-13 11:22:51 +02:00
Maciej Suminski
ffe212ea5e
Initial support for custom track width & via size.
2014-05-13 11:22:51 +02:00
Maciej Suminski
9325a9e74d
Fixed rotation/flip point.
2014-05-13 11:22:51 +02:00
Maciej Suminski
a0801e2d8e
Pad properties are back.
2014-05-13 11:22:51 +02:00
Maciej Suminski
929008c6c3
SELECTION_TOOL updates dragging offset after rotating/flipping.
...
Cursor position is saved as a field in order to avoid drifting of items while they are being dragged and rotated/flipped.
2014-05-13 11:22:51 +02:00
Maciej Suminski
761375ddef
More compatibility fixes.
2014-05-13 11:22:51 +02:00
Maciej Suminski
2f5103bc67
Fixed jumpy zoom when hotkeys and scroll wheel were used alternatively.
2014-05-13 11:22:51 +02:00
Maciej Suminski
50193f1751
Resolved HOME hot key conflict between menu entry (Zoom Page) and event assigned to the hot key in the ACTION_MANAGER.
...
Conflicts:
pcbnew/menubar_pcbframe.cpp
2014-05-13 11:22:51 +02:00
Maciej Suminski
6b222d19d5
Added preference for selecting tracks/vias/graphics if there is a module present in the selection point.
2014-05-13 11:22:51 +02:00
Maciej Suminski
7fd9fc4911
Ratsnest lines are highlighted together with all items in the same net.
2014-05-13 11:22:51 +02:00
Maciej Suminski
1cbf03cb60
Ratsnest was not refreshed on board reload - fixed.
2014-05-13 11:22:50 +02:00
Maciej Suminski
d6fd8b2e23
Upstream merge.
2014-05-12 17:17:51 +02:00
Maciej Suminski
2ed804b8ef
Upstream merge.
2014-05-12 17:17:51 +02:00
Lorenzo Marcantonio
f9ba502b72
More refactoring of the track cleanup code
...
Algorithm is still the same... now need to know what it really meant to do
2014-05-10 14:48:17 +02:00
Lorenzo Marcantonio
7dc8fc1f29
More refactoring of the track cleanup code
...
Algorithm is still the same... now need to know what it really meant to do
2014-05-10 14:48:17 +02:00
Dick Hollenbeck
e45aadd11b
Modular-Kicad milestone B), minor portion:
...
*) Implement a framework for "Data Load On Demand".
*) Implement FP_LIB_TABLE* PROJECT::PcbFootprintLibs(), which is the first
prototype.
This allows the project specific footprint tables to be part of the Module Editor
when invoked from Eeschema.
2014-05-09 13:35:48 -05:00
Dick Hollenbeck
9fe5ce67e6
Modular-Kicad milestone B), minor portion:
...
*) Implement a framework for "Data Load On Demand".
*) Implement FP_LIB_TABLE* PROJECT::PcbFootprintLibs(), which is the first
prototype.
This allows the project specific footprint tables to be part of the Module Editor
when invoked from Eeschema.
2014-05-09 13:35:48 -05:00
Dick Hollenbeck
ecbe6e0856
Try some new Mac support ideas.
2014-05-09 09:27:21 -05:00
Dick Hollenbeck
c855824337
Try some new Mac support ideas.
2014-05-09 09:27:21 -05:00
Lorenzo Marcantonio
e797c489d1
Missing const caused unpickability of tracks
2014-05-06 17:14:47 +02:00
Lorenzo Marcantonio
e4508a65ff
Missing const caused unpickability of tracks
2014-05-06 17:14:47 +02:00
Dick Hollenbeck
0e8a72dbf0
Fix new bug which crashed pcbnew running under kicad.exe while adding a new module in mod editor
2014-05-05 23:58:33 -05:00
Dick Hollenbeck
8434498394
Fix new bug which crashed pcbnew running under kicad.exe while adding a new module in mod editor
2014-05-05 23:58:33 -05:00
Dick Hollenbeck
55e61bc6e3
Modular-Kicad milestone B), glamorous portions:
...
*) Eeschema can now show the footprint editor.
*) Eeschema can now invoke the footprint picker from the library part field editor.
*) KIWAY_PLAYER::ShowModal() takes aResultantFocusWindow that tells what window
to give the focus to. Required since frames are often near the top of the
hierarchy and they are invoked by a peer, not a parent.
2014-05-05 12:28:40 -05:00
Dick Hollenbeck
3b0712873a
Modular-Kicad milestone B), glamorous portions:
...
*) Eeschema can now show the footprint editor.
*) Eeschema can now invoke the footprint picker from the library part field editor.
*) KIWAY_PLAYER::ShowModal() takes aResultantFocusWindow that tells what window
to give the focus to. Required since frames are often near the top of the
hierarchy and they are invoked by a peer, not a parent.
2014-05-05 12:28:40 -05:00
Maciej Suminski
a4cdf25f83
Upstream merge.
2014-05-05 10:51:31 +02:00
Maciej Suminski
9536ed811d
Upstream merge.
2014-05-05 10:51:31 +02:00
jean-pierre charras
fc26cdfb74
footprint editor: fix crashes. In this fix, I removed the assumption the parent frame is the board editor.
...
However, this assumption is still present here and there in the moduleframe code.
2014-05-05 09:46:07 +02:00
jean-pierre charras
d9c3de9bbd
footprint editor: fix crashes. In this fix, I removed the assumption the parent frame is the board editor.
...
However, this assumption is still present here and there in the moduleframe code.
2014-05-05 09:46:07 +02:00
Dick Hollenbeck
74cb23a958
Quasimodo is not a monster, he is your friend.
2014-05-04 19:19:16 -05:00
Dick Hollenbeck
fb346a0c10
Quasimodo is not a monster, he is your friend.
2014-05-04 19:19:16 -05:00
Dick Hollenbeck
fef168aaed
Modular-Kicad milestone B), minor portions:
...
*) KIWAY_PLAYER::IsModal() is now a retained state, controlled by SetModal()
*) Fully re-work the KIWAY_PLAYER::ShowModal() to use a nested event loop.
*) Add support to DIALOG_SHIM for a "quasi-modal" dialog presentation and mode.
See top of dialog_shim.cpp about that for benefits and need.
*) You can now pick footprint from the schematic component field dialog, although
if you do this before you open the BOARD, you will only get the global footprint
libraries, not also the project specific ones. Opening the BOARD first avoids this
problem.
This is the first example of cross KIFACE invocation, it is also the first
instance of using a TOP_FRAME other than FRAME_PCB as the first thing. It works,
but it's missing support for opening the project specific table because
historically the FRAME_PCB did that. This is now starting to expose all the near
term needs for KIWAY_PLAYER <-> PROJECT interaction, independence and out of
sequence usage.
A fix for this will be coming in a few days.
However it mostly starts to show why the KIWAY is terribly useful and important.
2014-05-04 13:22:27 -05:00
Dick Hollenbeck
a2227a75b4
Modular-Kicad milestone B), minor portions:
...
*) KIWAY_PLAYER::IsModal() is now a retained state, controlled by SetModal()
*) Fully re-work the KIWAY_PLAYER::ShowModal() to use a nested event loop.
*) Add support to DIALOG_SHIM for a "quasi-modal" dialog presentation and mode.
See top of dialog_shim.cpp about that for benefits and need.
*) You can now pick footprint from the schematic component field dialog, although
if you do this before you open the BOARD, you will only get the global footprint
libraries, not also the project specific ones. Opening the BOARD first avoids this
problem.
This is the first example of cross KIFACE invocation, it is also the first
instance of using a TOP_FRAME other than FRAME_PCB as the first thing. It works,
but it's missing support for opening the project specific table because
historically the FRAME_PCB did that. This is now starting to expose all the near
term needs for KIWAY_PLAYER <-> PROJECT interaction, independence and out of
sequence usage.
A fix for this will be coming in a few days.
However it mostly starts to show why the KIWAY is terribly useful and important.
2014-05-04 13:22:27 -05:00
Maciej Suminski
fa5a6e5dd2
Clearing m_hiddentItems to avoid PNS crashes.
2014-05-04 20:20:49 +02:00
Lorenzo Marcantonio
85c5aa22c6
Constification of HitTest and GetParent
...
In particular HitTest for zones *do not* select the nearest vertex/edge as a side effect
2014-05-04 19:08:36 +02:00
Lorenzo Marcantonio
342016b692
Constification of HitTest and GetParent
...
In particular HitTest for zones *do not* select the nearest vertex/edge as a side effect
2014-05-04 19:08:36 +02:00
Dick Hollenbeck
f16f248bf9
Change order of headers for wx 2.8, use wxWindowDisabler not ENABLE_DISABLE.
2014-05-03 19:44:57 -05:00
Dick Hollenbeck
19c184df97
Change order of headers for wx 2.8, use wxWindowDisabler not ENABLE_DISABLE.
2014-05-03 19:44:57 -05:00
Dick Hollenbeck
25d1ab4008
Modular-Kicad milestone B), major portions:
...
*) Rework the set language support, simplify it by using KIWAY. Now any major
frame with a "change language" menu can change the language for all KIWAY_PLAYERs
in the whole KIWAY. Multiple KIWAYs are not supported yet.
*) Simplify "modal wxFrame" support, and add that support exclusively to
KIWAY_PLAYER where it is inherited by all derivatives. The function
KIWAY_PLAYER::ShowModal() is in the vtable and so is cross module capable.
*) Remove the requirements and assumptions that the wxFrame hierarchy always
had PCB_EDIT_FRAME and SCH_EDIT_FRAME as immediate parents of their viewers
and editors. This is no longer the case, nor required.
*) Use KIWAY::Player() everywhere to make KIWAY_PLAYERs, this registers the
KIWAY_PLAYER within the KIWAY and makes it very easy to find an open frame
quickly. It also gives control to the KIWAY as to frame hierarchical
relationships.
*) Change single_top to use the KIWAY for loading a KIFACE and instantiating
the single KIWAY_PLAYER, see bullet immediately above.
*) Add KIWAY::OnKiwayEnd() and call it from PGM_BASE at program termination, this
gives the KIFACEs a chance to save their final configuration dope to disk.
*) Add dedicated FRAME_T's for the modal frames, so m_Ident can be tested and
these modal frames are distinctly different than their non-modal equivalents.
KIWAY_PLAYER::IsModal() is !not! a valid test during the wxFrame's constructor,
so this is another important reason for having a dedicated FRAME_T for each
modal wxFrame.
On balance, more lines were deleted than were added to achieve all this.
2014-05-03 12:40:19 -05:00
Dick Hollenbeck
991926d320
Modular-Kicad milestone B), major portions:
...
*) Rework the set language support, simplify it by using KIWAY. Now any major
frame with a "change language" menu can change the language for all KIWAY_PLAYERs
in the whole KIWAY. Multiple KIWAYs are not supported yet.
*) Simplify "modal wxFrame" support, and add that support exclusively to
KIWAY_PLAYER where it is inherited by all derivatives. The function
KIWAY_PLAYER::ShowModal() is in the vtable and so is cross module capable.
*) Remove the requirements and assumptions that the wxFrame hierarchy always
had PCB_EDIT_FRAME and SCH_EDIT_FRAME as immediate parents of their viewers
and editors. This is no longer the case, nor required.
*) Use KIWAY::Player() everywhere to make KIWAY_PLAYERs, this registers the
KIWAY_PLAYER within the KIWAY and makes it very easy to find an open frame
quickly. It also gives control to the KIWAY as to frame hierarchical
relationships.
*) Change single_top to use the KIWAY for loading a KIFACE and instantiating
the single KIWAY_PLAYER, see bullet immediately above.
*) Add KIWAY::OnKiwayEnd() and call it from PGM_BASE at program termination, this
gives the KIFACEs a chance to save their final configuration dope to disk.
*) Add dedicated FRAME_T's for the modal frames, so m_Ident can be tested and
these modal frames are distinctly different than their non-modal equivalents.
KIWAY_PLAYER::IsModal() is !not! a valid test during the wxFrame's constructor,
so this is another important reason for having a dedicated FRAME_T for each
modal wxFrame.
On balance, more lines were deleted than were added to achieve all this.
2014-05-03 12:40:19 -05:00
unknown
0ff0b9b835
Fix issue in bga footprint wizard.
2014-05-02 08:28:40 +02:00
john.j.
32c676540d
Fix issue in bga footprint wizard.
2014-05-02 08:28:40 +02:00
Maciej Suminski
c3b448b633
Upstream merge.
2014-05-01 15:55:50 +02:00
Lorenzo Marcantonio
fca1ba6755
Virtual split of TRACK/VIA::HitTest
2014-05-01 08:50:11 +02:00
Lorenzo Marcantonio
7b4b3297db
- Better way to iterate on vias in the track list (GetFirstVia)
...
- Converted the Next/Prev C casts to static casts and removed the type
unsafe ones
- Splitted as virtual the VIA::Flip member instead of using RTTI
- Heavily refactored the 'unconnected track' cleanup routine
- Misc constification
2014-04-30 21:16:22 +02:00
Lorenzo Marcantonio
29c8ec4220
Fixed bug in via cleanup control flow
2014-04-26 13:23:00 +02:00
Lorenzo Marcantonio
c2af94ac03
Reworked the endpoint designator constants FLG_BEGIN and FLG_END in a
...
ENDPOINT_T enum type
2014-04-25 19:13:33 +02:00
Lorenzo Marcantonio
948f22de6d
Removed the ugly bit stuffing for the bottom via layer number
...
(just replaced it with a member)
2014-04-25 10:03:50 +02:00
Dick Hollenbeck
c0879414a5
SEGVIA -> VIA for swig
2014-04-25 01:43:14 -05:00
Lorenzo Marcantonio
3f2c0e1a8d
TRACK/SEGVIA cleanup
...
- SEGVIA becomes VIA
- Drill size moved from TRACK to VIA
- Removed shape from TRACK, becomes ViaType in VIA
- GetTrace becomes GetTrack, for uniformity
- Some minor constification and typo fixes
2014-04-25 08:00:04 +02:00
jean-pierre charras
9c1f6b7307
Pcbnew: fix Bug #1304418 . Fix also a related issue which crashes Pcbnew in some corner cases.
...
(for instance, when a footprint from the currently edited board is loaded in the footprint editor, and when the board is cleared or reloaded)
In footprint editor, the net names are no more shown od modifiable (becuase the footprint editor does not know anything about net names.
This change should allow the changes planned in pcbnew.
2014-04-24 20:54:49 +02:00
Andrey Fedorushkov
32a9a4a400
fix not correct build if BUILD_GITHUB_PLUGIN=ON in linux rpm-based distro
2014-04-24 09:44:27 +04:00
John Beard
38f36ae45c
Add John Beard's patch: new and useful footprint wizards (SIP/SIP, SOIC/SSOP/TSSOP/MSOP and BGA).
...
Add Python utility tools to make wizard scripts more easy to write.
2014-04-23 18:36:31 +02:00
Dick Hollenbeck
7a129e167b
Functional
...
*) void KIWAY::ExpressMail( FRAME_T aDestination, MAIL_T aCommand, const std::string& aPayload, wxWindow* aSource=NULL );
*) virtual void KiwayMailIn( KIWAY_EXPRESS& aEvent );
*) enum MAIL_T expansion into the brave new world if cross KIWAY_PLAYER communications.
Let the KIWAY_PLAYING begin.....
through well conceived mail from one KIWAY_PLAYER to another.
Get thinking now. Add a new MAIL_T value, then send ExpressMail(),
and receive it in KiwayMailIn(), it's that easy.
2014-04-21 09:49:33 -05:00
Dick Hollenbeck
1648d7fd43
Get cross-probing working under the Kiway.
2014-04-21 01:51:33 -05:00
Dick Hollenbeck
e47a2bc5d4
happy Easter
2014-04-21 01:28:17 -05:00
Dick Hollenbeck
a985255f95
add back missing pcbnew cross probing event handlers. eeschema launches kiface versions of pcbnew & cvpcb if not single.
2014-04-19 23:35:34 -05:00
Dick Hollenbeck
0d6560a218
*) Switch kicad.exe to using KIFACE modules for all major top level windows.
...
Eeschema, Pcbnew, and Cvpcb all run under the same process now,
FOR THE VERY FIRST TIME!
*) Added KIWAY::PlayerCreate(), PlayerClose(), and PlayersClose().
*) Factored FRAME_T into <frame_type.h> from ID_DRAWFRAME_TYPE.
*) Found that the following command line is helpful for collecting all the *.kiface
files into the <build>/kicad/ directory so that kicad can find them.
$ cp `find . -name '*.kiface'` kicad/
Maybe somebody will want to rework how the CMake files are organized so all
the binaries can go into the same place. See python-a-mingw-us.
*) This might fix the problem on the Mac where child process windows were not
coming to the front. See ->Raise() in kicad/mainframe.cpp.
*) You can set USE_KIFACE to 0 in kicad/mainframe.cpp to chain load child exes
instead of using the KIFACE modules directly, i.e. revert.
2014-04-19 13:47:20 -05:00
Nick Østergaard
ee3e97e6ca
Fix vertical offset for multiline text in VRML exporter.
2014-04-19 18:05:58 +02:00
Dick Hollenbeck
5f65d0da93
*) Add KIFACE_I::StartFlags() and IsSingle() so a KIFACE implementation can know
...
if it is running under single_top.cpp or under a project manager.
*) Test Kiface().IsSingle() when adding menus, some operations are not permitted
when running under a project manager and the KIWAY_PLAYER is pegged to a
specific project.
*) Implemented KIWAY::KiFACE() so it loads *.kiface files. They still have to be
in the same directory as the main *.exe launcher, so this presents some difficulty
when the binaries are not yet installed but rather the *.kiface files are still
in their original build directories. For today, I simply copied _pcbnew.kiface
to build/kicad/.
*) Add a test case to kicad/mainframe.cpp just to get an early peek at loading
_pcbnew.kiface under the C++ project manager. Got that working for one
specific invocation just for proof of concept. Surprise, it works.
2014-04-17 21:05:40 -05:00
Maciej Suminski
e7ea0480e4
Upstream merge.
2014-04-16 11:26:41 +02:00
Lorenzo Marcantonio
d2e56665f5
- Began rework/cleanup of the board cleanup routine
...
- Set the modified flag even for null segment removal
2014-04-13 20:24:44 +02:00
Dick Hollenbeck
95ea4f6cc5
remove a static wxString constructor which was out of sequence with another dependent one, at least with one toolchain.
2014-04-13 07:48:58 -05:00
Maciej Suminski
5efdac01c1
Fix MinGW OpenMP link error.
2014-04-09 20:55:34 -04:00
Maciej Suminski
3f8d9da31f
Key events are handled by wxEVT_CHAR instead of wxEVT_KEY_[UP|DOWN]. Fixed issue of chars that require modifiers (e.g. ? is Shift+/ on US keyboard layout).
2014-04-09 17:33:22 +02:00
Maciej Suminski
50b202fe99
Hot keys specific to a tool have priority over global hot keys (TOOL_ACTION scope: AS_GLOBAL/AS_CONTEXT is finally handled properly).
2014-04-09 17:05:05 +02:00
Maciej Suminski
371b2f7c0e
Fixed vias layer order.
2014-04-09 17:01:22 +02:00
Maciej Suminski
e6fd3934d1
Fixed ratsnest update after removing items.
2014-04-09 16:57:22 +02:00
Dick Hollenbeck
4011953455
Jettison FP_LIB_TABLE::ConvertFromLegacy() into a static function, where it
...
was used locally. Then comment it out in favor of a newer strategy for
filling in nicknames in cvpcb.
Add MODULE* FootprintLoadWithOptionalNickname( const FPID& aFootprintId )
throw( IO_ERROR, PARSE_ERROR );
from code found elsewhere.
2014-04-09 08:33:04 -05:00
Dick Hollenbeck
d053e5615b
More migration towards single process, extend PROJECT::Config*() in proper direction, cleanups.
2014-04-07 23:55:53 -05:00
Maciej Suminski
85365b0dbc
Upstream merge.
2014-04-07 18:00:13 +02:00
Maciej Suminski
82661dc3a6
GAL defaults to Cairo, so KiCad does not fail on completely OpenGL incapable systems.
...
Board is cached in GAL only when the canvas is activated.
2014-04-07 16:04:54 +02:00
Maciej Suminski
c5b65e1ec4
Fixed outline breaking for zones (points were not always created in the double click point).
2014-04-07 14:30:38 +02:00
Maciej Suminski
cc445391e9
Items that may be modified using EDIT_POINTs used to stay selected after pressing ESC (only EDIT_POINTs got away) - fixed.
2014-04-07 13:59:27 +02:00
Maciej Suminski
7dc08c8718
Fixed switching back to selection tool using the right toolbar buttons in pcbnew (GAL).
2014-04-07 13:50:18 +02:00
Maciej Suminski
6fa2f060fa
Formatted ttl library to comply with KiCad coding policy.
2014-04-07 13:32:09 +02:00
Dick Hollenbeck
c0ed226682
remove a warning message
2014-04-04 13:43:12 -05:00
jean-pierre charras
5768efe881
Pcbnew: commit forgotten change.
2014-04-04 20:35:07 +02:00
jean-pierre charras
fe37c549f7
Footprint Editor: minor cosmetic enhancement (which could avoid a report like bug #1302255 )
2014-04-04 20:28:35 +02:00
Maciej Suminski
a0fb4ed0c1
Bruteforce module update after a netlist reload.
2014-04-04 17:42:35 +02:00
Maciej Suminski
a6917280fe
Added net highlighting.
2014-04-04 17:40:00 +02:00
Maciej Suminski
9a84944fba
Corrected zone display settings for GAL.
2014-04-04 16:58:44 +02:00
Dick Hollenbeck
6beacd6e95
Rework FOOTPRINT_VIEWER_FRAME::GetActiveFootprintViewer(), fix up comments and warnings.
2014-04-04 09:57:26 -05:00
Maciej Suminski
4741d5607c
Elements visibility are updated in the GAL.
2014-04-04 16:48:45 +02:00
Maciej Suminski
89da70fe94
Edit->Global Deletions & Edit->Cleanup Tracks and Vias work in GAL, without toggling between canvases.
2014-04-04 15:43:30 +02:00
Maciej Suminski
8b8e8d8f7f
Fixed crashes related to ratsnest on canvas change.
2014-04-04 13:03:41 +02:00
Maciej Suminski
14687a45a7
Fixed occasional crashes on undo/redo while dragging.
2014-04-04 12:56:50 +02:00
Maciej Suminski
ba275918e3
Renamed [class_]drawpanel_gal.[cpp|h] to [class_]draw_panel_gal.[cpp|h] to follow current naming scheme.
2014-04-04 11:56:04 +02:00
Maciej Suminski
4c5afc46af
Added possibility of switching tools by the right toolbar buttons, without deactivating the current tool first (previously tools did not switch if there was one active).
2014-04-04 11:50:15 +02:00
Maciej Suminski
bad6cdaa06
TEXTE_MODULE relative position is updated when absolute position is changed (and viceversa).
2014-04-04 09:01:17 +02:00
jean-pierre charras
229613ef26
Cmakefiles: do not create map file on Windows, because creating map file generates hundred of useless wranings.
...
In PATCH_COMMAND, use patch instead of bzr patch if patch or patch.exe is found (mandatory to use msys2 because bzr patch does not work when using msys2)
2014-04-03 13:55:02 +02:00
Maciej Suminski
a01a7b911c
Fix Clang build error when OpenMP is not found.
2014-04-03 06:54:08 -04:00
Maciej Suminski
1ef68d73e5
Fixed missing transitions for EDIT_TOOLs.
2014-04-03 10:24:27 +02:00
jean-pierre charras
9b99ac2a53
All: add 2 hotkeys to simulate a mouse left click (key return) and left dclick (key end)
2014-04-03 09:40:55 +02:00
Maciej Suminski
b6aa832f83
Converted std::bind1st to boost::bind.
2014-04-02 16:30:48 +02:00
Maciej Suminski
5de41eabd1
Added EC_SNAPLINE to make possible snapping EDIT_LINES by their ends rather than by its center.
2014-04-02 15:57:21 +02:00
Maciej Suminski
23392ce8c9
Upstream merge.
2014-04-02 15:38:59 +02:00
Maciej Suminski
1828edbabe
Refactoring EDIT_POINTS, part 3: constraints split to EDIT_POINTs and EDIT_LINEs.
2014-04-02 09:31:35 +02:00
Maciej Suminski
0379247fd4
Refactoring EDIT_POINTS, part 2: replaced index numbers with constants.
2014-04-01 17:41:24 +02:00
Maciej Suminski
6b90eb3a64
Refactoring EDIT_POINTS, part 1: separated functions that operate on EDIT_POINTS and EDIT_LINES.
2014-04-01 17:18:43 +02:00
Maciej Suminski
e79934b03d
If tool was previously active and it is called again, it is brought to the top of the active tool stack.
...
It fixes issue of dragging of items that have EDIT_POINTs, when dragging was activated by hovering over an item and using hot key.
2014-04-01 14:35:09 +02:00
Maciej Suminski
79d353671b
Fixed autopanning for POINT_EDITOR.
2014-04-01 14:13:00 +02:00
Maciej Suminski
a55d25803e
Activation of any drawing/placement tool clears current selection.
2014-04-01 14:06:19 +02:00
Maciej Suminski
1fa49ce7f0
Fixed drifting for items dragged using EDIT_TOOL.
2014-04-01 13:30:31 +02:00
Wayne Stambaugh
4eec9fd013
Fix OpenMP link error on MinGW.
2014-03-31 22:38:19 -04:00
jean-pierre charras
4426d4c539
Pcbnew: bug fix: sometimes (depending on a previous command) pcbnew could create an usual zone instead of a keepout zone when the" create keepout zone" tool is activated
2014-03-31 20:14:01 +02:00
jean-pierre charras
4e18b14f14
Finishing dialog_freeroute_exchange.cpp changes to run freeroute.jar if found in kicad binaries.
...
Very minor other fix
2014-03-29 21:00:14 +01:00
Lorenzo Marcantonio
6d0c5555ea
Indentation was completely broken (editor tabbing issue, maybe?)
2014-03-29 12:22:20 +01:00
cdelbegu
44e1f4fa2d
Pcbnew - GAL: fix bug #1296811 (The grid can't be enable/disable via the layer manager)
2014-03-28 14:06:30 +01:00
Jean-Samuel Reynaud
47b5bdcd47
Fix a mismatch between method signature in scripting/python_scripting.cpp and scripting/python_scripting.h
2014-03-28 07:27:58 -05:00
jean-pierre charras
0449258761
Fix (temporary fix) a bug I created in dialog_freeroute_exchange.cpp in bzr rev 4769
2014-03-27 19:28:10 +01:00
jean-pierre charras
34c593916c
Pcbnew: Fix bug #1296649 (Text on flipped modules incorrectly placed).
...
Dialog Freeroute: if freeroute.jar is find in kicad binaries, it is run as a standard java application, not as web applcation
Very minor other fixes
FPC_(SMD_type)_footprintwizard.py wizard finished.
2014-03-27 18:45:05 +01:00
Maciej Suminski
39bca76df7
>Added handled hotkeys:
...
- resetting relative coordinates
- switching units
- not official: changing transparency for layers (works only for main layers, does not work on vias/pads/etc.)
2014-03-24 18:28:21 +01:00
Maciej Suminski
60e9546b62
PCB_EDIT_FRAME::SetHighContrastLayer() went public.
...
Refactored code that handled zooming events.
Added PCB_RENDER_SETTINGS::Get/SetSketchMode().
PCBNEW_CONTROL reacts to hot keys changing display modes (sketch via/tracks, high contrast).
2014-03-24 17:20:23 +01:00
Maciej Suminski
dc9298730d
Added PCBNEW_CONTROLS for handling miscellaneous hot keys (trying to be compatible with the default hot key settings). Currently there are a lot of stubs to be filled out (in pcbnew_controls.cpp).
...
Handled actions:
- switching layers
- switching grids
- changing track width & via size
2014-03-24 08:45:05 +01:00
Marco Serantoni
1c232f5608
[MacOSX] Support for kiface in bundles, workaround for some cairo issues
2014-03-22 12:35:33 +01:00
jean-pierre charras
262ec8920a
Minor fixes for Windows: move resources from dso to .exe, to have the application icon in executable, and therefore shown in shortcuts.
...
pcb_calculator: minor coding style fix.
2014-03-22 09:28:39 +01:00
Maciej Suminski
3a43f0527f
Changed void BASE_SCREEN::GetGrids( GRIDS& aList ) to const GRIDS& BASE_SCREEN::GetGrids().
...
Refactored:
- EDA_DRAW_FRAME::SetNextGrid() & SetPrevGrid()
- PCB_BASE_FRAME::SetFastGrid1() & SetFastGrid2()
Removed a warning from RN_DATA::updateNet(int).
2014-03-21 18:00:11 +01:00
Maciej Suminski
c7116e9d03
FIxed too late deletion of TOOLs.
2014-03-21 17:55:46 +01:00
Maciej Suminski
87c9423f0f
PCB_EDIT_FRAME::SetActiveLayer() & GetActiveLayer() made public.
2014-03-21 11:17:47 +01:00
Maciej Suminski
0694f2fa1c
TOOL_EVENTs autoregister themselves in ACTION_MANAGER.
...
ROUTER_TOOL events have temporarily changed their hotkeys assignment.
2014-03-21 10:40:50 +01:00
Dick Hollenbeck
a7f1939203
simplify and fix the technique used to get the project fp-lib-table
2014-03-20 20:24:35 -05:00
Maciej Suminski
426844896e
Minor fixes (check for net codes size for ratsnest, cursor coordinates are not always shown as if the cursor was snapped).
2014-03-20 11:31:32 +01:00
Maciej Suminski
dbc4a8f292
GAL zooms in and out using the default hot keys (F1/F2).
...
Screen size is saved in VECTOR2I instead of VECTOR2D.
2014-03-20 08:47:31 +01:00
Dick Hollenbeck
95aa19198c
* KIWAY Milestone A): Make major modules into DLL/DSOs.
...
! The initial testing of this commit should be done using a Debug build so that
all the wxASSERT()s are enabled. Also, be sure and keep enabled the
USE_KIWAY_DLLs option. The tree won't likely build without it. Turning it
off is senseless anyways. If you want stable code, go back to a prior version,
the one tagged with "stable".
* Relocate all functionality out of the wxApp derivative into more finely
targeted purposes:
a) DLL/DSO specific
b) PROJECT specific
c) EXE or process specific
d) configuration file specific data
e) configuration file manipulations functions.
All of this functionality was blended into an extremely large wxApp derivative
and that was incompatible with the desire to support multiple concurrently
loaded DLL/DSO's ("KIFACE")s and multiple concurrently open projects.
An amazing amount of organization come from simply sorting each bit of
functionality into the proper box.
* Switch to wxConfigBase from wxConfig everywhere except instantiation.
* Add classes KIWAY, KIFACE, KIFACE_I, SEARCH_STACK, PGM_BASE, PGM_KICAD,
PGM_SINGLE_TOP,
* Remove "Return" prefix on many function names.
* Remove obvious comments from CMakeLists.txt files, and from else() and endif()s.
* Fix building boost for use in a DSO on linux.
* Remove some of the assumptions in the CMakeLists.txt files that windows had
to be the host platform when building windows binaries.
* Reduce the number of wxStrings being constructed at program load time via
static construction.
* Pass wxConfigBase* to all SaveSettings() and LoadSettings() functions so that
these functions are useful even when the wxConfigBase comes from another
source, as is the case in the KICAD_MANAGER_FRAME.
* Move the setting of the KIPRJMOD environment variable into class PROJECT,
so that it can be moved into a project variable soon, and out of FP_LIB_TABLE.
* Add the KIWAY_PLAYER which is associated with a particular PROJECT, and all
its child wxFrames and wxDialogs now have a Kiway() member function which
returns a KIWAY& that that window tree branch is in support of. This is like
wxWindows DNA in that child windows get this member with proper value at time
of construction.
* Anticipate some of the needs for milestones B) and C) and make code
adjustments now in an effort to reduce work in those milestones.
* No testing has been done for python scripting, since milestone C) has that
being largely reworked and re-thought-out.
2014-03-20 01:47:30 -05:00
Dick Hollenbeck
6bfff89fe5
merge tip in, resolve.
2014-03-20 01:24:33 -05:00
Dick Hollenbeck
2c67c3ff80
* KIWAY Milestone A): Make major modules into DLL/DSOs.
...
! The initial testing of this commit should be done using a Debug build so that
all the wxASSERT()s are enabled. Also, be sure and keep enabled the
USE_KIWAY_DLLs option. The tree won't likely build without it. Turning it
off is senseless anyways. If you want stable code, go back to a prior version,
the one tagged with "stable".
* Relocate all functionality out of the wxApp derivative into more finely
targeted purposes:
a) DLL/DSO specific
b) PROJECT specific
c) EXE or process specific
d) configuration file specific data
e) configuration file manipulations functions.
All of this functionality was blended into an extremely large wxApp derivative
and that was incompatible with the desire to support multiple concurrently
loaded DLL/DSO's ("KIFACE")s and multiple concurrently open projects.
An amazing amount of organization come from simply sorting each bit of
functionality into the proper box.
* Switch to wxConfigBase from wxConfig everywhere except instantiation.
* Add classes KIWAY, KIFACE, KIFACE_I, SEARCH_STACK, PGM_BASE, PGM_KICAD,
PGM_SINGLE_TOP,
* Remove "Return" prefix on many function names.
* Remove obvious comments from CMakeLists.txt files, and from else() and endif()s.
* Fix building boost for use in a DSO on linux.
* Remove some of the assumptions in the CMakeLists.txt files that windows had
to be the host platform when building windows binaries.
* Reduce the number of wxStrings being constructed at program load time via
static construction.
* Pass wxConfigBase* to all SaveSettings() and LoadSettings() functions so that
these functions are useful even when the wxConfigBase comes from another
source, as is the case in the KICAD_MANAGER_FRAME.
* Move the setting of the KIPRJMOD environment variable into class PROJECT,
so that it can be moved into a project variable soon, and out of FP_LIB_TABLE.
* Add the KIWAY_PLAYER which is associated with a particular PROJECT, and all
its child wxFrames and wxDialogs now have a Kiway() member function which
returns a KIWAY& that that window tree branch is in support of. This is like
wxWindows DNA in that child windows get this member with proper value at time
of construction.
* Anticipate some of the needs for milestones B) and C) and make code
adjustments now in an effort to reduce work in those milestones.
* No testing has been done for python scripting, since milestone C) has that
being largely reworked and re-thought-out.
2014-03-19 19:42:08 -05:00
jean-pierre charras
0f09c15f11
Pad editor dialog: Better tests and error messages about issues in pad settings. Fis also an other hard to translate error messge.
2014-03-19 21:06:09 +01:00
Maciej Suminski
093e311a8d
Fixed a few ratsnest glitches in GAL.
2014-03-19 15:33:13 +01:00
Maciej Suminski
2d8dc04693
Fixed undo for MARKER_PCBs.
2014-03-19 13:46:52 +01:00
Maciej Suminski
ef1ed9646a
DRC markers are drawn in GAL canvases.
2014-03-19 13:42:46 +01:00
Maciej Suminski
696a8a89fe
Changed cast from float to double in RN_POLY::HitTest.
2014-03-19 11:16:01 +01:00
Maciej Suminski
c11b0bc8a6
Break points for zones are not added in the same place as existing points.
2014-03-18 17:02:10 +01:00
Maciej Suminski
e6a7ff3c34
Isolated EDIT_CONSTRAINTs to different .cpp/.h files.
2014-03-18 16:55:06 +01:00
Maciej Suminski
6a1d344541
Instant dragging (without prior selection).
2014-03-18 16:25:46 +01:00
Maciej Suminski
9783aaf3e6
Splitting DRAWSEGMENTs with POINT_EDITOR.
2014-03-18 15:46:38 +01:00
Maciej Suminski
17ec7ace4c
Breaking outlines for zones using POINT_EDITOR.
2014-03-18 14:52:22 +01:00
Maciej Suminski
dbcc18ab31
Enabled autopanning while drawing zones.
2014-03-18 14:01:09 +01:00
Maciej Suminski
342fd6e19e
EC_CONVERGING handles colinear lines properly.
2014-03-18 13:57:10 +01:00
Maciej Suminski
4d6f628a1f
Minor fixes to zone drawing tool.
2014-03-18 11:33:49 +01:00
Maciej Suminski
1ff99b47c8
Fixed triple click bug while drawing zones with DRAWING_TOOL.
2014-03-18 11:09:43 +01:00
Maciej Suminski
48161dcc4a
Yet another approach to EC_LINE and EC_CONVERGING edit constraints.
2014-03-18 11:05:24 +01:00
Maciej Suminski
f6959c039c
Comments.
2014-03-18 11:04:52 +01:00
unknown
b436924380
Warning removal, patches from Camille 019
2014-03-16 18:40:23 +01:00
Maciej Suminski
40ee66f8c5
ZONE_CONTAINERs are drawn as outlines while being edited using the POINT_EDITOR.
2014-03-14 16:05:30 +01:00
Maciej Suminski
19a87ac780
Added EC_CONVERGING for zone areas modification.
2014-03-14 15:37:55 +01:00
Maciej Suminski
d6c1670cd7
Templated EDIT_POINT_CONSTRAINT.
...
Removed EDIT_CONSTRAINT::Update() - replaced with resetting constraints.
EDIT_CONSTRAINT is stored in EDIT_POIN using boost::shared_ptr instead of pointer.
Added EDIT_LINE::GetEnd() & GetOrigin(). Overridden ApplyConstraint() for EDIT_LINE.
Side EDIT_POINTS for zones are drawn as circles.
2014-03-14 15:15:38 +01:00
jean-pierre charras
ab27f56cc7
Doc update
2014-03-14 08:37:04 +01:00
Marco Serantoni
bc707ced58
[MacOSX] Pcbnew crash on editing dimension's line width
2014-03-14 02:10:27 +01:00
Maciej Suminski
85e8b8bd87
Yet another approach to 45 degree constraints.
2014-03-13 11:48:19 +01:00
jean-pierre charras
d00fae588a
Footprint Editor: fix a crash when the dialog to set pad properties is called from the main toolbar (i.e. to define the default setting for new pads, and not to edit an existing pad)
2014-03-13 08:15:19 +01:00
Maciej Suminski
52791f2375
Changed cast from float to double in RN_POLY::HitTest.
2014-03-12 22:42:08 +01:00
Maciej Suminski
f9d5f584cb
Fixed 45 degree mode toggle.
2014-03-12 17:50:24 +01:00
Maciej Suminski
a377c9c1bc
Fixed erroneous hit testing for polygons in ratsnest for GAL.
2014-03-12 17:11:52 +01:00
Maciej Suminski
afc56d3f6f
Moved panning boundaries and scale limits from VIEW to VIEW_CONTROL.
2014-03-12 17:09:53 +01:00
Maciej Suminski
c7e3887ba4
Fixed erroneous hit testing for polygons in ratsnest for GAL.
2014-03-12 15:00:14 +01:00
Maciej Suminski
55f9aaabd7
Workarounded SWIG problems (does not support nested C++ classes, more on the subject: http://www.swig.org/Doc1.3/SWIGPlus.html#SWIGPlus_nested_classes ).
2014-03-12 14:58:49 +01:00
Maciej Suminski
e5b0c720ed
Switched order of EDIT_POINTs for DIMENSION, so in case when feature lines are of 0 length, then still can be stretched.
2014-03-12 10:53:42 +01:00
Maciej Suminski
e6571f6862
Added new constraint for EDIT_POINTs (EPC_LINE).
...
Dimensions have EDIT_POINTs.
Different handling of 45 degree mode in POINT_EDITOR.
2014-03-12 10:46:11 +01:00
Maciej Suminski
f0251ebdb6
Merge selection tool branch.
2014-03-11 20:45:01 -04:00
Maciej Suminski
d2ed2efc85
Workarounded SWIG problems (does not support nested C++ classes, more on the subject: http://www.swig.org/Doc1.3/SWIGPlus.html#SWIGPlus_nested_classes ).
2014-03-11 14:50:53 +01:00
Maciej Suminski
54bf21768c
Added a few settings to make the layer settings more similar to KiCad defaults (moved vias to VIA_THROUGH_VISIBLE, added a few rules for required layers).
2014-03-11 10:58:58 +01:00
Marco Serantoni
5feddb8cac
[MacOSX] fixes some interations with KicadOSXBuilder
2014-03-10 23:37:59 +01:00
Maciej Suminski
5ac6579a87
Cursor snaps to EDIT_POINTs.
...
Added POINT_EDITOR::isModified().
2014-03-10 16:25:40 +01:00
jean-pierre charras
4fd3dbb5a5
Finishing work on a better 3D viewer. this also fix bugs like Bug #1129630 .
2014-03-09 19:43:53 +01:00
jean-pierre charras
f24bc87a84
Pcbnew: fix Bug #1289416 (Broken setting of layer list in D_PAD:: ViewGetLayers() for GAL).
2014-03-08 20:07:35 +01:00
jean-pierre charras
63401f3d95
Rework on 3D viewer (work in progress): Disable or enable layers, grid or 3D footprint shapes should be now faster.
2014-03-08 20:04:23 +01:00
Wayne Stambaugh
c89d52ee1a
Pcbnew: make block rotate honor the rotation angle setting. (fixes lp:1281605)
...
* Make block rotate command honor the rotation angle setting. Thank you
Umesh Mohan <mohan.umesh@gmail.com> for the patch.
* Change block rotate undo command from UR_ROTATE to UR_CHANGED so consecutive
rotations do not lead to round errors and for proper undo in case the user
changes the rotation angle setting between block rotations.
2014-03-07 17:34:54 -05:00