Maciej Suminski
75db0cebb7
Fixed Push and Shove and ratsnest cooperation (tracks added by PNS are taken into account while calculating ratsnest).
2014-01-07 14:22:37 +01:00
Maciej Suminski
69cf8aa325
Fixed snapping for Push and Shove router.
2014-01-07 14:21:37 +01:00
Maciej Suminski
3fe183c472
Tools have possibility to react to GAL switching or model (board) reload.
2014-01-07 14:16:47 +01:00
Maciej Suminski
aaf857e894
Items removed from board are removed from ratsnest as well. Corrected the way of items removal from ratsnest.
2014-01-07 14:15:40 +01:00
Maciej Suminski
bc71a2c007
Removed TOOL_STATE.idle field, as it was redundant.
2014-01-07 14:11:53 +01:00
Maciej Suminski
7784365b39
Fixed bounding box for module texts.
2014-01-07 14:09:27 +01:00
jean-pierre charras
714d5b28d2
Better vrml export, from Cirilo Bernardo.
2014-01-06 21:14:24 +01:00
Maciej Suminski
537d82fb98
Upstream merge.
2014-01-06 10:29:31 +01:00
Dick Hollenbeck
6b08cb4ca1
comment out broken tool_modview.cpp's useless footprint select button. somebody needs to fix this.
2014-01-03 17:19:54 -06:00
Cirilo Bernardo
6e56aa2ff0
IDF3 wxDateTime patch to fix MinGW builds for missing localtime_r().
2014-01-03 08:31:50 -05:00
Cirilo Bernardo
0b853c5af2
Adds basic IDF3 export (board and cutouts / holes only)
2014-01-02 10:26:03 +01:00
Dick Hollenbeck
c264823731
8 bit string relief via class UTF8
2014-01-01 20:17:07 -06:00
Dick Hollenbeck
f346727214
FIX: only invoke fp-lib-table options editor when table not empty.
2013-12-31 10:59:33 -06:00
Marco Serantoni
4d139b590f
[MacOSX] Adding better support for Retina Display (NSHighResolutionCapable)
2013-12-31 12:03:02 +01:00
Marco Serantoni
6e586d6996
Fixing typo
2013-12-30 01:36:57 +01:00
Marco Serantoni
ea4bec99d0
[MacOSX]/All purpose - Support for static linking
2013-12-30 01:27:03 +01:00
jean-pierre charras
612e2ddb4a
fix bugs 1264240, 1264247, 1264239, 1264233 (clang report errors)
2013-12-29 16:12:27 +01:00
jean-pierre charras
a455ab4a90
Fix bugs 1264236, 1264238, 1264254
2013-12-29 12:01:54 +01:00
jean-pierre charras
46e82e4e18
Move HitTestForCorner and HitTestForEdge code from class_zone to polygon/PolyLine.cpp, to avoid redundant code.
...
Fix bug 1264248.
Fix a very minor issue in RemoveTrailingZeros, for countries where the separator in floating numbers is a comma.
2013-12-29 11:15:06 +01:00
jean-pierre charras
ca60f0863a
Dialog fp plugin option: Fix compil issue under gcc 4.4 (does not happen with 4.6 and later) about an overloaded function.
2013-12-27 12:44:40 +01:00
jean-pierre charras
f9cc325bd8
Pcbnew, 3D viewer: fix incorrect position of multiline texts.
2013-12-27 08:24:36 +01:00
Dick Hollenbeck
517ca83fbc
Hide m_galCanvas and m_galCanvasActive behind accessors. Fix DLIST concatonation API corner case.
2013-12-26 16:36:43 -06:00
Dick Hollenbeck
b9c56b2fc4
FIX: avoid use of wxFileName::GetModificationTime() when it can fail.
2013-12-24 13:09:41 -06:00
jean-pierre charras
c5031d3f62
specctra_export.cpp: Fix a conversion error from mils to mm I made i n may last commit, which set min dist to find a segment end for internal outlines holes to 1 mil instead of 10 mils.
2013-12-23 09:07:08 +01:00
jean-pierre charras
d337d340ee
Fix broken download_boost.cmake. Fix minor other issues:
...
dialog fp lib table display not updated (Windows specific) when an option is changed from the lib table option editor
overloaded function in dialog_fp_lib_table.cpp not compiled with gcc 4.4.7 (try to fix Bug #1262002 ).
specctra_export.cpp: set min dist to find segment ends when building the board outline to 2 microns (should break anything, but should be enough to fix rounding issues when creating/importing board outlines with arcs)
2013-12-22 20:02:04 +01:00
Marco Serantoni
057a947a4b
[MacOSX] Fixing crash/missing refresh in pcb text
2013-12-22 18:39:37 +01:00
Marco Serantoni
f3cfea9521
[MacOSX] Fixing crash when changing module text properties - bug #1230090
2013-12-22 18:29:57 +01:00
Maciej Suminski
578ecc6f45
Merge zone outline drawing fix request.
2013-12-22 11:30:46 -05:00
Maciej Suminski
702a90addc
Merge aligned text fix request.
2013-12-22 11:07:47 -05:00
Maciej Suminski
c79962635e
Ratsnest is updated, when there are tracks added using the P&S router.
2013-12-20 15:18:41 +01:00
Maciej Suminski
5fe20bbc70
Fixed broken search filters.
2013-12-20 11:54:48 +01:00
Maciej Suminski
fe5c5953fc
Upstream merge.
2013-12-20 10:15:00 +01:00
jean-pierre charras
dd3da8428c
Undo the change in specctra_export I erroneously committed, which is not fully tested.
2013-12-19 12:43:16 +01:00
jean-pierre charras
50f6186ebc
Dxf export: fix an issue in exported arcs. Update libdfx.
...
Pcbnew:, libedit, Save lib as...: the new .pretty lib format is the default, instead of legacy .mod format. The legacy format is still selectable in the file selection dialog.
2013-12-19 12:33:57 +01:00
Maciej Suminski
84c496e138
Upstream merge
2013-12-19 11:15:27 +01:00
Maciej Suminski
d613da8b8d
Module texts are undo/redoable.
2013-12-19 10:10:42 +01:00
Maciej Suminski
7ce91d4e38
Fixed zone area removal (& undoing) using the EDIT_TOOL.
2013-12-18 17:16:15 +01:00
Maciej Suminski
fb78432367
Made pads & module texts unselectable
2013-12-18 16:26:21 +01:00
Maciej Suminski
f4de2877f3
Added possibility of removing selected items while dragging.
2013-12-18 15:38:38 +01:00
Maciej Suminski
fd0a3348ea
More elegant way of handling interruption of current modifications.
2013-12-18 15:11:12 +01:00
Maciej Suminski
c1d6e44413
Speed optimization during selection of multiple items.
...
Removed debug output.
2013-12-18 15:09:09 +01:00
Maciej Suminski
873235304e
SELECTION_TOOL uses ITEMS_PICKED_LIST to store selected items.
...
Modifications done using the EDIT_TOOL are saved using the default KiCad's undo buffer.
If there is only one item selected, info about the item is displayed in the bottom status bar.
2013-12-18 14:33:34 +01:00
Maciej Suminski
e4efe212d6
Added MODULE::RunOnChildren().
2013-12-18 13:39:11 +01:00
Maciej Suminski
32065b339a
Added const modifiers where applicable (PICKED_ITEMS_LIST).
...
Added PICKED_ITEMS_LIST::FindItem().
2013-12-18 13:27:18 +01:00
Maciej Suminski
4a0407fb69
Removed some debug logs.
2013-12-18 12:46:18 +01:00
Wayne Stambaugh
ca11fcb5c9
Pcbnew: change general properties dialog rotation angle to text edit control.
2013-12-17 16:38:20 -05:00
Wayne Stambaugh
8fe06e12b9
Merge changes from testing head.
2013-12-16 16:41:32 -05:00
Wayne Stambaugh
8f6d69e57e
Pcbnew: fix 45 degree rotation angle undo and global variable elimination.
2013-12-16 16:40:03 -05:00
Maciej Suminski
60e3b01ace
Fixed drawing of rotated texts that are not horizontally center aligned.
2013-12-16 10:36:33 +01:00
jean-pierre charras
bb8741c74f
Pcbnew: remove broken patch for" Bug #1255059 ".
...
Minor change: Eeschema+Pcbnew: display timestamp in edit dialogs (for footprints, sheets, components)
2013-12-14 20:03:38 +01:00
Wayne Stambaugh
2d9385b43a
Make old behavior the default in EnumerateFootprint() changes.
2013-12-13 18:14:30 -05:00
Wayne Stambaugh
30a08e2bed
Pcbnew: minor Geda and KiCad plugin improvements.
...
* Make GPCB_PLUGIN::EnumerateFootprints() read the directory contents
instead of loading the entire cache.
* Make KICAD_PLUGIN::EnumerateFootprints() read the directory contents
instead of loading the entire cache.
2013-12-13 18:01:42 -05:00
Dick Hollenbeck
031ab96f12
github_plugin.cpp was erroneously affected by rev 4552 patching.
2013-12-13 10:39:46 -06:00
Povilas Kanapickas
7f12513c7e
Remove some uses of using namespace std.
2013-12-13 10:27:30 -06:00
Wayne Stambaugh
6c4518b015
Pcbnew: Geda plugin fixes.
...
* Prevent cache from being reloaded on every footprint file read.
* Fix a bug forming wxFileName in GPCB_FP_CACHE::Load().
* Fix invalid file name time stamp debug assertion.
* Use FPID to set loaded footprint name.
* Remove file name <> from exception strings per UIPolicy.
2013-12-12 12:42:38 -05:00
Dick Hollenbeck
7ba078b620
remove USE_FP_LIB_TABLE code, make it the norm. Add lazy loading support to FOOTPRINT_INFO.
2013-12-12 10:01:03 -06:00
Wayne Stambaugh
b85a713395
Fix footprint viewer perspective save bug.
2013-12-11 15:08:13 -05:00
Dick Hollenbeck
e842d711c6
FIX: make LEGACY_PLUGIN re-entrant. extern "C" strtok_r() put conditionally into libcommon.
2013-12-10 17:41:34 -06:00
Marco Mattila
40d0a14560
Fix wxWidgets 2.8 validator bug in footprint name entry dialog. (fixes lp:1259204)
2013-12-10 14:24:10 -05:00
Maciej Suminski
4940bff891
Commit merge request lp:197913.
2013-12-10 12:14:30 -05:00
Dick Hollenbeck
3582df6a0b
molding mercury.
2013-12-09 13:06:47 -06:00
Dick Hollenbeck
d8b270ca4d
move ${Boost_LIBRARIES} into cvpcb, pcbnew, _pcbnew and out of github, because worker threads used regardless of github
2013-12-09 12:48:42 -06:00
Dick Hollenbeck
dba4fccec9
*) Change FOOTPRINT_LIST::ReadFootprintFiles( FP_LIB_TABLE*, const wxString*)
...
To use multiple working threads. This entailed adding KiCad typedefs:
*) Add typedefs for MUTEX and MUTLOCK which mask the actual choices for the project.
*) Add FOOTPRINT_LIST::DisplayErrors( wxWindow* ) which is a single strategy for
showing aggregated load errors. Although what's there is only scaffolding
and needs a volunteer who knows HTML pretty well.
*) Ensure all callers of ReadFootprintFiles() use the new DisplayErrors() function.
*) Push utf8.cpp and utf8.h into common library for open use.
2013-12-09 12:09:58 -06:00
Maciej Suminski
7e60cc530a
Comments.
2013-12-09 11:07:30 +01:00
Maciej Suminski
a3909d4f71
Added removal of BOARD_ITEMs for the TOOL_FRAMEWORK.
2013-12-09 11:01:05 +01:00
Maciej Suminski
d8acd1c718
Moved Init() & Reset() from TOOL_INTERACTIVE to TOOL_BASE.
...
Added REASON enum for Reset() function, so tools will know why a reset occured.
Fixed SELECTION_TOOL (it was bailing out, when a new board was loaded and some items were still selected).
Added removal of VIEW_ITEM groups after changing layers and removing items.
2013-12-09 10:42:38 +01:00
scrizt
aef48d2716
Allow spoke width to equal minimum zone width in pcbnew (fix bug #1255059 )
2013-12-08 12:00:20 +02:00
Wayne Stambaugh
4f2921f384
Pcbnew: footprint viewer wxAUI improvements.
...
* Make the tool bar dockable.
* Enable the overflow control in the tool bar in case the it does not fit in
it's parent window.
* Fix some wxAuiPaneInfo usage issues.
* Remove unused wxAuiPaneInfo objects.
* Move perspective saving and loading into EDA_BASE_FRAME object in preparation
for extending this to all frame windows.
2013-12-06 19:33:16 -05:00
jean-pierre charras
4374e25219
Plot functions: some enhancements in mirror mode (Pcbnew specific): boards are mirrored horizontally, and the page layout is no more mirrored, and therefore is always readable.
2013-12-06 19:31:15 +01:00
Maciej Suminski
b8b96f77a2
Corrected drawing of zone outlines.
2013-12-06 11:25:23 +01:00
Maciej Suminski
afe2bbaca7
Corrected polygon outline width.
2013-12-06 10:00:51 +01:00
Dick Hollenbeck
ed29423b78
merge lp:~cern-kicad/kicad/bugfix_1256302 from Orson
2013-12-05 12:55:07 -06:00
Maciej Suminski
ca11855f12
Changed std::wstring to wxString.
2013-12-05 16:00:24 +01:00
Maciej Suminski
0e7db24049
Fixed SetCurrentContext() assert, that was firing on closure of pcbnew, when the OpenGL backend was active.
2013-12-05 14:54:30 +01:00
Maciej Suminski
fc2d8e91c9
Changed selection rules (pads&modules can be selected depending on the 'modules front/back' visibility instead of corresponding copper layers).
...
Fixed comments.
2013-12-05 14:52:08 +01:00
Maciej Suminski
27c7eb5dce
The Selection Tool displays information about selected items. ClearSelection() made public.
2013-12-04 10:58:51 +01:00
Dick Hollenbeck
879a6225c2
Add a test script for plugin testing, and some asserts, no bugs fixed.
2013-12-03 12:37:21 -06:00
Maciej Suminski
24a317ce28
The Selection Tool is always active. Removed entries for toolbar menu and hotkeys for the tool.
2013-12-03 17:11:22 +01:00
Maciej Suminski
7d788109fe
Merged upstream
2013-12-03 16:43:53 +01:00
Maciej Suminski
07a5774a1e
Renamed MOVE_TOOL to EDIT_TOOL.
2013-12-03 16:09:03 +01:00
Maciej Suminski
b582162cb5
Split rotate and flip operations into separate functions.
...
Added Properties action (display properties windows)
2013-12-03 15:57:09 +01:00
Maciej Suminski
bec2e9b178
Added some comments & asserts.
2013-12-03 15:17:43 +01:00
Maciej Suminski
7678983e38
Fixed non ASCII characters drawing using GAL.
2013-12-03 11:00:52 +01:00
jean-pierre charras
ab36d23595
Pcbnew: fix issue in modedit, undo command: moved fields were not drawn afetr undo (due to incorrect flags state)
...
Fix incorrect initialization of lib names column in EDA_LIST_DIALOG. (Only the row 0 was initialized)
2013-12-03 09:50:58 +01:00
Maciej Suminski
0e514e93c4
Pcbnew: fixed disappearance of selected items after GAL switching.
2013-12-02 13:04:26 -05:00
Robert Yates
697d95cc86
Boost::Context support for ARM platform.
2013-12-02 10:59:09 -05:00
Maciej Suminski
08fd9d8cbd
Overridden ViewUpdate() for MODULE class, so it handles its pads, drawings and texts.
2013-12-02 14:35:05 +01:00
Maciej Suminski
2b0f3350e3
Fixed disappearance of selected items after GAL switching.
2013-12-02 11:34:07 +01:00
Wayne Stambaugh
56e2df79f6
Pcbnew: footprint library table fixes.
...
* Replace illegal file system characters when reading legacy libraries to
prevent FPID parsing errors and allow saving to PRETTY file format.
* Create validator to filter illegal file system characters from footprint
name text edit controls to prevent issues when saving to PRETTY file format.
* Add missing source file licenses and some minor coding policy fixes.
2013-11-29 13:29:41 -05:00
Maciej Suminski
3ce3d22b97
Moved the SELECTION_TOOL out of the KIGFX namespace.
2013-11-29 09:37:23 +01:00
jean-pierre charras
48f9ea2287
eeschema, Pcbnew: fix Bug #1255822 (incorrect position of multiline texts when plotting them)
2013-11-29 09:13:43 +01:00
Dick Hollenbeck
a105a1ea4d
*.kicad_mod omits (at 0 0) for brevity.
2013-11-28 10:40:23 -06:00
Dick Hollenbeck
224594625a
API Documentation improvements, especially noticable when viewing doxygen output.
2013-11-28 09:41:10 -06:00
Maciej Suminski
af976b2d36
Automatic unregistration of tool actions during ACTION_MANAGER destruction.
2013-11-28 15:24:19 +01:00
Dick Hollenbeck
183afdd089
Even more clarification on "Github" plugin usage
2013-11-27 14:15:11 -06:00
Dick Hollenbeck
1b93203f7c
Better GITHUB class header documentation, better eeschema library field dialog stretching and title.
2013-11-27 14:06:41 -06:00
jean-pierre charras
cd9da9dd64
Pcbnew: fix Bug #1255568 (relative to .pos file creation). Minor compil warnings fixes
2013-11-27 20:38:59 +01:00
jean-pierre charras
f068c0d94f
Pcbnew: Autoplace functions: renamed spread footprint functions. Rewritten.
...
Now footprints, after loaded by reading a netlist are grouped by sheets by the footprints spread function, and the grouping is better.
Rename 2 files. Fix minor issues. Clean code
2013-11-27 14:20:42 +01:00
Maciej Suminski
06f4662ea0
Profile counter simplified, so it should be more portable.
2013-11-27 09:46:59 +01:00
Dick Hollenbeck
251f0c7f9b
Ensure a unique FootprintEnumerate() return list in GITHUB_PLUGIN when using COW.
2013-11-27 00:51:49 -06:00