Commit 1effb1fe authored by Dick Hollenbeck's avatar Dick Hollenbeck

USE_NEW_PCBNEW_LOAD and USE_NEW_PCBNEW_SAVE are enabled by default.

This uses the new LEGACY_PLUGIN, so we can force more usage & testing of it
before ioascii.cpp and item_io.cpp are deleted, along with 
BOARD_ITEM::Save() and BOARD_ITEM::ReadDescr() associated functions.
parent 571bca20
......@@ -22,8 +22,8 @@ set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMakeModules)
option(USE_PNG_BITMAPS "use PNG bitmaps instead of XPM (default ON)" ON)
option(USE_NEW_PCBNEW_LOAD "use new plugin support for legacy file format" OFF)
option(USE_NEW_PCBNEW_SAVE "use new plugin support for legacy file format" OFF)
option(USE_NEW_PCBNEW_LOAD "use new plugin support for legacy file format" ON)
option(USE_NEW_PCBNEW_SAVE "use new plugin support for legacy file format" ON)
option(USE_PCBNEW_NANOMETRES
"Use nanometers for Pcbnew internal units instead of deci-mils (default OFF).")
......
......@@ -52,7 +52,7 @@ PCBNew
See the @todos in class_zone.cpp
Dick's Peronal TODO Items (Last Update: 20-Feb-2012)
Dick's Peronal TODO Items (Last Update: 5-April-2012)
-----------------------------------------------------
0) Check that the new load visibility BOARD settings is properly setting the toolbar
buttons like show grid or ratsnest. Add PCB_EDIT_FRAME::SetVisibleElements() so
......@@ -60,8 +60,9 @@ Dick's Peronal TODO Items (Last Update: 20-Feb-2012)
1) Finish removing global access requirements from KICAD_PLUGIN, so that:
*) a BOARD is a fully self contained document description.
*) plugin developers do not have to access globals, which assumes there were ever
only be one BOARD in RAM. Problems remain with BASE_SCREEN
*) plugin developers do not have to access globals, since a plugin could
very well be a dynamically loaded DLL/DSO.
A problem remain with BASE_SCREEN
2) Extend PLUGIN API to facillitate loading and saving of modules.
......@@ -69,7 +70,7 @@ Dick's Peronal TODO Items (Last Update: 20-Feb-2012)
4) Check back with Vladimir about finishing the nanometer work.
5) Do an EAGLE XML import PCBNEW PLUGIN, and possible add export support to it.
5) Do an EAGLE XML import PCBNEW PLUGIN, and possibly add export support to it.
This is PLUGIN::Load() and maybe PLUGIN::Save().
6) Get back to the SWEET work.
......
......@@ -783,10 +783,10 @@ void KICAD_PLUGIN::loadSETUP()
else if( TESTLINE( "GridOrigin" ) )
{
/* @todo
BIU gx = biuParse( line + SZ( "GridOrigin" ), &data );
BIU gy = biuParse( data );
/* @todo
GetScreen()->m_GridOrigin.x = Ox;
GetScreen()->m_GridOrigin.y = Oy;
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment