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
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
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
Dick Hollenbeck
b0c739e7ee
*) 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
96c2bee8c3
PLUGINs which implement FootprintLibOptions() should call base class's implementation too.
2013-11-26 11:06:54 -06:00
jean-pierre charras
18616d7782
Fix bugs in autoplac.cpp
2013-11-25 12:29:16 +01:00
Andrey Fedorushkov
1b58582e25
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
5f01f123de
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
78670eebb0
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
44bb2e6d4d
Pcbnew: Code cleaning and some minor fixes.
2013-11-20 18:26:47 +01:00
Dick Hollenbeck
8df7407b80
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
53f33d3941
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
abfeab02d7
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
abe9801d3d
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
f3ad2463e2
*) 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
5a50b968d5
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
9546c59fab
more useable, in the face of wx 2.8 vs. 3.0 differences.
2013-11-18 16:42:01 -06:00
Dick Hollenbeck
300a047ffe
more EDA_LIST_DIALOG usability enhancements, compiler warning, coding standards
2013-11-18 13:27:27 -06:00
jean-pierre charras
cf7dbf6f94
Fix some minor issues
2013-11-18 18:52:18 +01:00
Dick Hollenbeck
7cf3467851
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
593aa2dc12
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
7196e7bc98
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
9f9f2ed380
Minor code cleaning: Remove unused file, remove obsolete or useless defines
2013-11-15 10:28:31 +01:00
jean-pierre charras
ccab3ff5ce
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
943b0678e3
Completion of DIALOG_FP_PLUGIN_OPTIONS
2013-11-12 14:49:17 -06:00
Maciej Suminski
e8e6b1f7c4
Commit Launchpad merge request 194664.
...
* Modify error handling for OpenGL backend.
* Correct Doxygen comments notation.
2013-11-12 14:29:01 -05:00
Dick Hollenbeck
dc138512b9
wxString PCB_BASE_FRAME::SelectFootprintFromLibBrowser() now returns empty string on abort.
...
GITHUB_PLUGIN uses redirected URL to remove one HTTP hit time.
2013-11-11 19:14:17 -06:00
Wayne Stambaugh
5821d4bc48
Footprint library table fixes.
...
* Pcbnew: catch exceptions when saving changes to footprint library table.
* Pcbnew: update footprint viewer library list if open when footprint library
table changes.
* CvPcb: update library list when footprint library table changes.
* Minor coding policy fixes.
2013-11-11 20:05:23 -05:00
Dick Hollenbeck
76fed4f995
*) Add PLUGIN::FootprintLibOptions( PROPERTIES* ), and extend DIALOG_FP_PLUGIN_OPTIONS to use it.
...
*) Move button handlers to LEFT MOUSE CLICK from COMMAND events, so wxGrid focus is not lost.
*) Sketch out the concept of COW support for the GITHUB_PLUGIN in its @todo.
2013-11-11 18:17:27 -06:00