Maciej Suminski
1bba172393
Upstream merge.
2014-04-16 11:26:41 +02:00
Dick Hollenbeck
ac353fc037
PROJECT::configCreate() logic changes.
2014-04-15 00:34:28 -05:00
Dick Hollenbeck
a340308dc1
improve help file finding after kiway breakage.
2014-04-14 13:49:52 -05:00
Maciej Suminski
e4a4578b40
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
1c35e7d6f6
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
Dick Hollenbeck
2249b3be12
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
289c4c2f9d
More migration towards single process, extend PROJECT::Config*() in proper direction, cleanups.
2014-04-07 23:55:53 -05:00
Maciej Suminski
c5e84fe49a
Upstream merge.
2014-04-07 18:00:13 +02:00
Maciej Suminski
19f1adabea
Fixed refreshing issues (DRC, new items after reloading netlist and probably many other places).
2014-04-07 15:35:50 +02:00
Maciej Suminski
2b328721d4
Formatted ttl library to comply with KiCad coding policy.
2014-04-07 13:32:09 +02:00
jean-pierre charras
030cee7ddf
Footprint Editor: minor cosmetic enhancement (which could avoid a report like bug #1302255 )
2014-04-04 20:28:35 +02:00
Maciej Suminski
5bd06278d3
Bruteforce module update after a netlist reload.
2014-04-04 17:42:35 +02:00
Maciej Suminski
dfb461307a
Added net highlighting.
2014-04-04 17:40:00 +02:00
Maciej Suminski
d5d4ae3305
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
d5b2a3b007
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
0e270eec05
Upstream merge.
2014-04-02 15:38:59 +02:00
jean-pierre charras
e962b9f4f6
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
3b05177a3a
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
9330924636
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
Dick Hollenbeck
2b6305ba48
single_top.c logic, improved OpenProjectFiles() documentation.
2014-03-21 11:59:19 -05:00
Maciej Suminski
1f38879fef
FIxed too late deletion of TOOLs.
2014-03-21 17:55:46 +01:00
Maciej Suminski
18f51a4dbe
PCB_EDIT_FRAME::SetActiveLayer() & GetActiveLayer() made public.
2014-03-21 11:17:47 +01:00
Maciej Suminski
5eb4ecbf1c
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
e454408772
simplify and fix the technique used to get the project fp-lib-table
2014-03-20 20:24:35 -05:00
Dick Hollenbeck
3b48abba6d
documentation clarity
2014-03-20 11:32:34 -05:00
Dick Hollenbeck
2b39b1e7ea
some doxygen fixes, comment fixes
2014-03-20 09:18:32 -05:00
Maciej Suminski
84161768fa
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
b1a1b12e42
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
ca969f0884
merge tip in, resolve.
2014-03-20 01:24:33 -05:00
Dick Hollenbeck
88489e4af6
* 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
Maciej Suminski
46efeb0a46
DRC markers are drawn in GAL canvases.
2014-03-19 13:42:46 +01:00
Maciej Suminski
d52568908f
EC_CONVERGING handles colinear lines properly.
2014-03-18 13:57:10 +01:00
unknown
fc961993d5
Warning removal, patches from Camille 019
2014-03-16 18:40:23 +01:00
Maciej Suminski
657ac76bbf
Fixes build error with the choosy CLANG (Thanks to Maciej Suminski)
2014-03-13 18:50:52 +01:00
Maciej Suminski
3e50e00f89
Moved panning boundaries and scale limits from VIEW to VIEW_CONTROL.
2014-03-12 17:09:53 +01:00
Maciej Suminski
e35647b25b
Changed the way of handling BOX2 traits (used std::numeric_limits).
2014-03-12 17:09:37 +01:00
Maciej Suminski
70c62508a5
Removed excessive variable (m_Corners) from MARKER_BASE.
2014-03-12 15:53:20 +01:00
Maciej Suminski
3f4ba31188
Minor fix to SEG class.
2014-03-12 10:05:09 +01:00
Maciej Suminski
187f9ff0f4
Merge selection tool branch.
2014-03-11 20:45:01 -04:00
jean-pierre charras
f610294d27
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
Maciej Suminski
21d2c19333
Merged selection_tool branch.
2014-03-06 10:43:40 +01:00
Maciej Suminski
4419ef42bb
Merged upstream.
2014-03-06 09:42:16 +01:00
Maciej Suminski
1d6357a76a
Squashed memory leaks.
2014-03-05 14:57:14 +01:00
Maciej Suminski
c66a3232ac
Removed a few memory leaks.
2014-03-03 17:15:41 +01:00
Maciej Suminski
8d8c72856d
Added TOOL_MANAGER & ACTION_MANAGER::RunAction( const TOOL_ACTION aAction ).
...
Selection clearing is invoked using TOOL_ACTION object rather than its name.
2014-02-28 15:46:05 +01:00
Martin Janitschke
f503ee945f
make microwave toolbar accessible from menu (Bug #1285425 )
2014-02-27 19:48:18 +01:00
Maciej Suminski
dbe19fc5f9
Added VIEW::ToWorld( double ).
...
TOOL_EVENT message is supposed to contain string as parameter.
Added missing header for class_drawsegment.h (KiROUND).
Renamed SELECTION_TOOL::containsSelected() to SELECTION_TOOL::selectionContains().
2014-02-27 16:13:27 +01:00
Maciej Suminski
62a76f1ed2
Removed a few RecacheAllItems() calls, some of them changed to specific type recaching (using TYPE_COLLECTOR & VIEW_ITEM::ViewUpdate() ).
...
Removed OPENGL_GAL::SetStrokeColor().
2014-02-25 14:28:09 +01:00
HennerZeller
dd628646f2
Eeschema: * Preselect the currently chosen component in the browser when pressing the thumbnail view.
...
* Various smallish documentation updates in the component chooser area.
2014-02-24 11:52:08 +01:00
Maciej Suminski
be6dc9d0af
Revisiting GAL:
...
- VIEW_ITEM::ViewUpdate() does not update items immediately. Now it marks them to be updated and the real update occurs on the next rendering frame.
- VIEW::InvalidateItem() made private.
- VIEW_LAYER::enabled -> visible
- Some functions moved to header files.
2014-02-21 16:57:18 +01:00
Maciej Suminski
81b610df16
Upstream merge.
2014-02-21 11:05:28 +01:00
Maciej Suminski
3dbb864e5e
Continous mode for drawing tools (i.e. they do not finish after adding a single object).
2014-02-19 13:51:32 +01:00
unknown
a3e7b856b1
GLM (tool for opengl) update to 0.9.4.6
2014-02-19 11:51:33 +01:00
Henner Zeller
4cdd8e754a
Eeschema component selection dialog improvements.
...
* Allow to select units in components that have more than one right in the
component chooser dialog.
* Keep chosen unit in history.
* Show preview of current component unit as thumbnail image next to the
description box.
* Fixes lp:1280567
2014-02-18 16:41:27 -05:00
unknown
19d3864a5d
GLM (tool for opengl) update to 0.9.4.6
2014-02-17 19:42:52 +01:00
Maciej Suminski
e79d47fed2
Improved way of drawing 45-degree lines.
2014-02-17 11:33:03 +01:00
Maciej Suminski
6348c77788
Pcbnew: fix OpenGL PNS router track not shown bug. (fixes lp:1275319)
2014-02-15 18:54:51 -05:00
Maciej Suminski
4c9e2acb02
GAL::GetGridPoint() returns point in world coordinates.
2014-02-14 14:16:08 +01:00
Maciej Suminski
249de46078
Cursor is in world coordinates.
2014-02-13 20:23:28 +01:00
Maciej Suminski
d19280aeb9
Small GAL refactorization, mostly correcting constness.
2014-02-13 19:31:27 +01:00
Maciej Suminski
ff12d3d2e5
Changed PCB_EDIT_FRAME::setTopLayer() to PCB_EDIT_FRAME::SetTopLayer() and changed to public (as it had exactly the same functionality).
2014-02-13 15:57:57 +01:00
Henner Zeller
a66758406e
* Apply Henner Zeller's patch to add connecting line from reference and labels to component position whilst moving to help identify which component the reference or label belongs too
2014-02-11 21:54:30 +00:00
Fabrizio Tappero
6c8b0ea59c
Icon update, and an other very minor fix.
2014-02-11 19:32:09 +01:00
jean-pierre charras
0c615f78a1
Add the environment variable KYSYS3DMOD to define a default path for 3D models.
2014-02-08 11:44:55 +01:00
Maciej Suminski
9583c522dd
Moved PCB_VISIBLE size check to .cpp.
2014-02-07 20:54:58 +01:00
jean-pierre charras
aff1bdc853
Remove duplicate icon apply.svg (use ckecked_ok.svg instead which is the same icon).
...
Add a workaround to fix a new bug in wxWidgets 3.0 ( Windows specific ) which shows icons only with a size = 16x16 in menus which have attribute wxITEM_CHECK
2014-02-07 20:32:08 +01:00
jean-pierre charras
8ddba7a836
Minor fixes.
2014-02-07 17:09:15 +01:00
Maciej Suminski
5959e7c2ef
Upstream merged.
2014-02-07 09:52:47 +01:00
Maciej Suminski
9f18e6f152
Reverted changes introduced by the revision 4655.
2014-02-06 21:34:03 +01:00
Maciej Suminski
171d3e1c88
Merged fix for wrong snapping.
2014-02-06 17:31:24 +01:00
Maciej Suminski
9f5d968476
Fixed snapping item in a wrong spot bug.
2014-02-06 17:29:13 +01:00
jean-pierre charras
11fcf7ab6e
Fix some incorrect icons (which were using a not supported font for texts). Add ps_router icon from Konstantin Baranovskiy.
2014-02-06 15:13:31 +01:00
Maciej Suminski
5299e41ac4
Added TOOL_INTERACTIVE::Activate().
...
Removed an unnecessary header from class_board_item.h.
2014-02-06 14:45:33 +01:00
Maciej Suminski
37dc675b7a
Merged the lp:~cern-kicad/kicad/selection_tool branch.
2014-02-06 12:48:18 +01:00
Maciej Suminski
8718c57d41
Fixed included headers.
2014-02-06 12:38:47 +01:00
Maciej Suminski
6732726f13
GAL::GetGridPoint() takes a const reference.
2014-02-06 12:38:06 +01:00
Maciej Suminski
b3c5980e61
Merged ratsnest_threadsafe branch.
2014-02-05 11:55:04 +01:00
Maciej Suminski
221b68d0b8
Snapping settings are valid while autopanning.
2014-02-04 09:44:16 +01:00
Dick Hollenbeck
3a0f1c4126
Windows name export tweak
2014-02-03 23:05:07 -06:00
Dick Hollenbeck
cad85c8a7a
KIWAY in progress...
2014-02-03 13:26:18 -06:00
Dick Hollenbeck
5d4eab87f8
Initial KIWAY (modular-kicad) work. Various tweeks.
2014-02-03 09:10:37 -06:00
Maciej Suminski
82838e6770
Moved netnames (GAL specific layers) to a separate enum, to avoid saving/reading their settings from files.
...
Added a check for the number of PCB_VISIBLE elements.
Worksheet & general purpose overlay layers are visible by default.
2014-02-03 14:14:53 +01:00
Maciej Suminski
eb053cac2b
Changed BOARD_DESIGN_SETTINGS::m_VisibleElements from int to long, to assure at least 32 bits length (without depending on the platfrom int size).
2014-02-03 13:08:01 +01:00
Dick Hollenbeck
0ec0b63ad2
Another attempt at wxFrame::SaveSettings() standard infrastructure.
2014-02-02 14:18:10 -06:00
jean-pierre charras
659c2184b3
Eeschema: Fix bug #1271155 relative to Grid selection in Eeschema.
2014-02-02 20:51:50 +01:00
Maciej Suminski
27ecb2c930
Undo/redo buffer fixed once again..
2014-01-31 16:08:20 +01:00
Maciej Suminski
7caeff6af9
Ratsnest color is saved in RENDER_SETTINGS. Temporary ratsnest is drawn using a brightened color.
2014-01-31 11:16:01 +01:00
Maciej Suminski
d2e865146b
Added a new tool event: TA_UNDO_REDO, sent after undo/redo operation is issued.
2014-01-30 11:18:58 +01:00
jean-pierre charras
e8ef3c14d4
Add specific bitmaps in export IDF and export DSN menus.
...
Add missing calls to Show( false ) to some main frames (Kicad, eeschema, gerbview), to force config saving when closing these windows.
Code cleanup and minor coding style fixes in footprint_wizard_frame
2014-01-29 18:01:42 +01:00
Maciej Suminski
cd0d91a611
Added BOARD_[CONNECTED_]ITEM::IsConnected() for checking if a BOARD_ITEM is BOARD_CONNECTED_ITEM as well.
2014-01-28 16:23:08 +01:00
Maciej Suminski
ea943ce605
Merged the netnames branch.
2014-01-28 11:59:04 +01:00
Maciej Suminski
b114526b12
Upstream merge.
2014-01-28 10:43:55 +01:00
Dick Hollenbeck
c389c2f6e4
Add EDA_BASE_FRAME::Show() and call SaveSettings() only from there for all derived wxFrames. Remove calls to SaveSettings() elsewhere.
2014-01-27 19:29:26 -06:00
Maciej Suminski
04ff538d11
Thread-safe version of Delaunay triangulation.
2014-01-27 11:42:47 +01:00
Dick Hollenbeck
d932043905
Remove g_LibraryNames and all supporting infrastructure from pcbnew. FP_LIB_TABLE is now local to major wxFrames.
2014-01-27 01:23:02 -06:00
jean-pierre charras
608de9970b
Pcbnew: fix bug #1272714 . Code cleanup: use 2 different enums for pad shapes and pad drill shapes. Remove never used pad shape.
2014-01-26 15:20:58 +01:00
jean-pierre charras
1119c1e68f
add patch from Cirilo Bernardo, and minor fixes.
2014-01-25 13:23:29 +01:00
Dick Hollenbeck
068076a2c2
tugs and bugs
2014-01-21 00:59:32 -06:00
Dick Hollenbeck
f7f45dc4c8
Add EDA_APP::setLanguageId() accessor and fix FindwxWidgets.cmake for windows cross on linux.
2014-01-20 03:33:17 -06:00
unknown
4478c09544
Fix compile errors when wx3.x is built with --enable-stl
2014-01-18 03:07:05 -06:00