Dick Hollenbeck
51fe856360
freerouter does not understand "mixed" layers, export mixed as signal
2014-01-20 13:11:42 -06:00
jean-pierre charras
2d62eab4b4
Fix some issues in modview, relative to few incorrect use of some wxAuiManager functions.
...
Fix not working + and - keys in layers manager.
Fix typo errors and modify some messages to make translator's life more easy.
2014-01-19 14:12:57 +01:00
unknown
4478c09544
Fix compile errors when wx3.x is built with --enable-stl
2014-01-18 03:07:05 -06:00
jean-pierre charras
0c540ebea6
Fix some issues in modview, relative to some a bad use of some wxAuiManager functions.
2014-01-13 16:09:52 +01:00
jean-pierre charras
269e88b18d
Update demo files. A minor code cleaning.
2014-01-10 21:12:36 +01:00
jean-pierre charras
ec37f295c7
Code cleanup: Pcbnew: move files relative to exort functions to the new folder exporters
...
all: remove include <protos.h> from a lot of files which do not need it.
2014-01-08 15:18:51 +01:00
Dick Hollenbeck
edc2938fb8
Make KiCad compile with minimal warnings against SVN HEAD of wxWidgets as of today.
2014-01-07 19:34:04 -06:00
jean-pierre charras
2498414e91
Move files relative to export code to subdir exporters.
2014-01-07 21:41:32 +01:00
jean-pierre charras
6742f54243
Better vrml export, from Cirilo Bernardo.
2014-01-06 21:14:24 +01:00
Dick Hollenbeck
16a70dd267
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
8c540c8b83
IDF3 wxDateTime patch to fix MinGW builds for missing localtime_r().
2014-01-03 08:31:50 -05:00
Cirilo Bernardo
95bb3d6bb1
Adds basic IDF3 export (board and cutouts / holes only)
2014-01-02 10:26:03 +01:00
Dick Hollenbeck
3142172cff
8 bit string relief via class UTF8
2014-01-01 20:17:07 -06:00
Dick Hollenbeck
074a265166
FIX: only invoke fp-lib-table options editor when table not empty.
2013-12-31 10:59:33 -06:00
Marco Serantoni
2fc8a05aec
[MacOSX] Adding better support for Retina Display (NSHighResolutionCapable)
2013-12-31 12:03:02 +01:00
Marco Serantoni
5777523b35
Fixing typo
2013-12-30 01:36:57 +01:00
Marco Serantoni
e0eb666f6c
[MacOSX]/All purpose - Support for static linking
2013-12-30 01:27:03 +01:00
jean-pierre charras
7ec2c004a2
fix bugs 1264240, 1264247, 1264239, 1264233 (clang report errors)
2013-12-29 16:12:27 +01:00
jean-pierre charras
7e884e1eb1
Fix bugs 1264236, 1264238, 1264254
2013-12-29 12:01:54 +01:00
jean-pierre charras
7689d48632
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
e18828bed7
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
0d52d9aa52
Pcbnew, 3D viewer: fix incorrect position of multiline texts.
2013-12-27 08:24:36 +01:00
Dick Hollenbeck
bf9db2148c
Hide m_galCanvas and m_galCanvasActive behind accessors. Fix DLIST concatonation API corner case.
2013-12-26 16:36:43 -06:00
Dick Hollenbeck
d160459f4a
FIX: avoid use of wxFileName::GetModificationTime() when it can fail.
2013-12-24 13:09:41 -06:00
jean-pierre charras
f56e4fe1a4
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
58b96efe06
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
0328cfe83e
[MacOSX] Fixing crash/missing refresh in pcb text
2013-12-22 18:39:37 +01:00
Marco Serantoni
4270fece64
[MacOSX] Fixing crash when changing module text properties - bug #1230090
2013-12-22 18:29:57 +01:00
Maciej Suminski
9cba0c0b02
Merge zone outline drawing fix request.
2013-12-22 11:30:46 -05:00
Maciej Suminski
64201d49f0
Merge aligned text fix request.
2013-12-22 11:07:47 -05:00
Maciej Suminski
ebdddf0bc0
Ratsnest is updated, when there are tracks added using the P&S router.
2013-12-20 15:18:41 +01:00
Maciej Suminski
a8ac725564
Fixed broken search filters.
2013-12-20 11:54:48 +01:00
Maciej Suminski
342684587a
Upstream merge.
2013-12-20 10:15:00 +01:00
jean-pierre charras
9a532f2cda
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
909b7fb425
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
Wayne Stambaugh
a8339496e5
Pcbnew: change general properties dialog rotation angle to text edit control.
2013-12-17 16:38:20 -05:00
Wayne Stambaugh
9a183196a2
Merge changes from testing head.
2013-12-16 16:41:32 -05:00
Wayne Stambaugh
5a12aa9e1b
Pcbnew: fix 45 degree rotation angle undo and global variable elimination.
2013-12-16 16:40:03 -05:00
Maciej Suminski
5c0d62ac2e
Fixed drawing of rotated texts that are not horizontally center aligned.
2013-12-16 10:36:33 +01:00
jean-pierre charras
3d511efbb9
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
5a9aa812e2
Make old behavior the default in EnumerateFootprint() changes.
2013-12-13 18:14:30 -05:00
Wayne Stambaugh
35a9deb301
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
c0ed445918
github_plugin.cpp was erroneously affected by rev 4552 patching.
2013-12-13 10:39:46 -06:00
Povilas Kanapickas
f954ace66b
Remove some uses of using namespace std.
2013-12-13 10:27:30 -06:00
Wayne Stambaugh
ba345cb823
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
39abd88a54
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
ecccdf0279
Fix footprint viewer perspective save bug.
2013-12-11 15:08:13 -05:00
Dick Hollenbeck
a66ae2f51b
FIX: make LEGACY_PLUGIN re-entrant. extern "C" strtok_r() put conditionally into libcommon.
2013-12-10 17:41:34 -06:00
Marco Mattila
781c6449d3
Fix wxWidgets 2.8 validator bug in footprint name entry dialog. (fixes lp:1259204)
2013-12-10 14:24:10 -05:00
Maciej Suminski
eca952b8c5
Commit merge request lp:197913.
2013-12-10 12:14:30 -05:00
Dick Hollenbeck
92e0d7bab2
molding mercury.
2013-12-09 13:06:47 -06:00
Dick Hollenbeck
d9174a110b
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
f9c92b7c78
*) 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
scrizt
da08a4129e
Allow spoke width to equal minimum zone width in pcbnew (fix bug #1255059 )
2013-12-08 12:00:20 +02:00
Wayne Stambaugh
0f6dfb782e
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
3d4fa72b51
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
b67faf780e
Corrected drawing of zone outlines.
2013-12-06 11:25:23 +01:00
Maciej Suminski
3afbd8f2e1
Corrected polygon outline width.
2013-12-06 10:00:51 +01:00
Dick Hollenbeck
f37fb67e5a
merge lp:~cern-kicad/kicad/bugfix_1256302 from Orson
2013-12-05 12:55:07 -06:00
Maciej Suminski
0a51662c0b
Changed std::wstring to wxString.
2013-12-05 16:00:24 +01:00
Maciej Suminski
84af2eb8e1
Fixed SetCurrentContext() assert, that was firing on closure of pcbnew, when the OpenGL backend was active.
2013-12-05 14:54:30 +01:00
Dick Hollenbeck
8cc9b69017
Add a test script for plugin testing, and some asserts, no bugs fixed.
2013-12-03 12:37:21 -06:00
Maciej Suminski
12098fe113
Fixed non ASCII characters drawing using GAL.
2013-12-03 11:00:52 +01:00
jean-pierre charras
53053d0693
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
47b6dd34af
Pcbnew: fixed disappearance of selected items after GAL switching.
2013-12-02 13:04:26 -05:00
Robert Yates
4bd71d676f
Boost::Context support for ARM platform.
2013-12-02 10:59:09 -05:00
Maciej Suminski
9a860c355a
Fixed disappearance of selected items after GAL switching.
2013-12-02 11:34:07 +01:00
Wayne Stambaugh
43eb124964
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
jean-pierre charras
4897ea8c35
eeschema, Pcbnew: fix Bug #1255822 (incorrect position of multiline texts when plotting them)
2013-11-29 09:13:43 +01:00
Dick Hollenbeck
fa2edf8547
*.kicad_mod omits (at 0 0) for brevity.
2013-11-28 10:40:23 -06:00
Dick Hollenbeck
dcefaf675c
API Documentation improvements, especially noticable when viewing doxygen output.
2013-11-28 09:41:10 -06:00
Dick Hollenbeck
82b2558d96
Even more clarification on "Github" plugin usage
2013-11-27 14:15:11 -06:00
Dick Hollenbeck
466ecca932
Better GITHUB class header documentation, better eeschema library field dialog stretching and title.
2013-11-27 14:06:41 -06:00
jean-pierre charras
96adde2d52
Pcbnew: fix Bug #1255568 (relative to .pos file creation). Minor compil warnings fixes
2013-11-27 20:38:59 +01:00
jean-pierre charras
ecafc030ef
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
08ecc5005f
Profile counter simplified, so it should be more portable.
2013-11-27 09:46:59 +01:00
Dick Hollenbeck
7b70f2835c
Ensure a unique FootprintEnumerate() return list in GITHUB_PLUGIN when using COW.
2013-11-27 00:51:49 -06:00
Dick Hollenbeck
d8b046a361
*) Implement "Copy On Write" (COW) support in GITHUB_PLUGIN. See class header
...
comment for GITHUB_PLUGIN which should flow into Doxygen output.
*) Rewrote:
PCB_BASE_FRAME::Save_Module_In_Library(): now uses fp-lib-table and PROPERTIES.
PCB_EDIT_FRAME::ArchiveModulesOnBoard(): now can archive to any writable library type.
PCB_BASE_FRAME::SelectLibrary(): is now generic for selecting a library, not just the active library.
2013-11-27 00:04:04 -06:00
Dick Hollenbeck
0b01c898f0
PLUGINs which implement FootprintLibOptions() should call base class's implementation too.
2013-11-26 11:06:54 -06:00
Maciej Suminski
dd89260db3
Added ratsnest for GAL
2013-11-25 16:50:03 +01:00
jean-pierre charras
534a04206b
Fix bugs in autoplac.cpp
2013-11-25 12:29:16 +01:00
Andrey Fedorushkov
25eaf50586
pcbnew: fix error build autoplace.cpp in linux gcc-4.8.2
...
template: add file fp-lib-table.for-eagle
2013-11-25 10:10:24 +04:00
jean-pierre charras
e259a150fb
All: GetBoundingBox returns now a const EDA_RECT.
...
Pcbnew: Code cleaning and bug fix in autoplace functions
Dialog exchange footprints has now a separate button to update the .cmp file, only on request.
2013-11-24 18:48:14 +01:00
jean-pierre charras
6bc8d6a231
Pcbnew: Fix a crash on exit when an item was previously deleted. Fix not working footprint exchange functions
2013-11-22 20:47:10 +01:00
jean-pierre charras
8122846078
Pcbnew: Code cleaning and some minor fixes.
2013-11-20 18:26:47 +01:00
Dick Hollenbeck
2be3ebd401
FIX: regression loading of SMD pads within EAGLE_PLUGIN::FootprintLoad().
...
FIX: unique renaming of eagle footprints by substituting illegal : and / with URL encoding technique.
ADD: window resize border to DisplayError() windows.
2013-11-20 10:35:03 -06:00
Wayne Stambaugh
f114bed0d2
Pcbnew: minor target properties dialog improvements.
...
* Make spacing between controls and dialog frame consistent.
* Use default size to allow wxWigdets to determine optimal dialog size.
* Set OK button as default so return key works properly.
2013-11-20 11:03:09 -05:00
Dick Hollenbeck
413b776194
FIX: wx 2.8 convert to UTF8 differently than 2.9 caused problems in DIALOG_FP_PLUGIN_OPTIONS.
2013-11-19 14:38:29 -06:00
Wayne Stambaugh
af18baba7b
Pcbnew: fix graphic item undo/redo bug. (--fixes lp:1252264)
...
* Use std::swap for PCB_LINE_T items in SwapData().
* Use std::swap for PCB_MODULE_EDGE_T items in SwapData().
* Add assignment operator to EDGE_MODULE object.
* Move code from copy method to assignment operator.
* Minor coding policy fixes.
2013-11-19 13:58:12 -05:00
Dick Hollenbeck
bcd3470b20
*) Switch to later environment variable expansion in fp-lib-table.
...
*) Save library nickname in APP so upon module editor re-entry last is re-used.
*) Fix bug editing fp-lib-table Description field.
2013-11-19 11:24:45 -06:00
jean-pierre charras
801d72c55a
Eeszchema: Minor fixes.
...
Code cleanup: remove m_Son member in EDA_ITEM which was never used.
2013-11-19 17:27:13 +01:00
Dick Hollenbeck
6ea28cb69d
more useable, in the face of wx 2.8 vs. 3.0 differences.
2013-11-18 16:42:01 -06:00
Dick Hollenbeck
eed87fc699
more EDA_LIST_DIALOG usability enhancements, compiler warning, coding standards
2013-11-18 13:27:27 -06:00
jean-pierre charras
6c1a67684e
Fix some minor issues
2013-11-18 18:52:18 +01:00
Dick Hollenbeck
e5b6055e7d
Show the "Description" field from fp-lib-table in pcbnew's module editor 'set current library' dialog.
2013-11-18 10:04:23 -06:00
Dick Hollenbeck
1b01dba827
Show KISYSMOD in DIALOG_FP_LIB_TABLE even if it has not been referenced by a URI.
2013-11-15 08:36:11 -06:00
Dick Hollenbeck
4aa52ddd60
Show KIPRJMOD in DIALOG_FP_LIB_TABLE even if it has not been referenced by a URI.
2013-11-15 08:11:46 -06:00
jean-pierre charras
ca927e4227
Minor code cleaning: Remove unused file, remove obsolete or useless defines
2013-11-15 10:28:31 +01:00
jean-pierre charras
5f2f80f480
rtree.h: suppress compil warnings about not initialized vars.
...
Pcbnew: add WIN32_LEAN_AND_MEAN define in github_plugin.cpp. Note: this define is already in use in avhttp build (Windows specific)
2013-11-14 19:00:57 +01:00
Dick Hollenbeck
5c2b9d6011
Completion of DIALOG_FP_PLUGIN_OPTIONS
2013-11-12 14:49:17 -06:00