It’d certainly be better for situations where we’re saving lists, etc.  Is the 
JSON stuff all in so I could play around with that now, or do I need to wait a 
bit?

> On 12 Mar 2020, at 14:17, Jon Evans <j...@craftyjon.com> wrote:
> 
> Or, maybe I didn't understand you right -- there are similar PARAM helpers 
> for JSON as well, so that code doesn't necessarily need to know about JSON 
> and its requirements/limitations in order to save settings.  I was not 
> planning on removing those and have everywhere that writes settings just 
> write to the JSON object directly.  If you think that would be better for 
> some situations, feel free to play around with that approach.
> 
> On Thu, Mar 12, 2020 at 10:15 AM Jon Evans <j...@craftyjon.com 
> <mailto:j...@craftyjon.com>> wrote:
> Yes, that's right.  As part of splitting the project settings into different 
> files, those new files will be in JSON format, at which point all the 
> wxConfig helper code will be deprecated/removed.
> 
> On Thu, Mar 12, 2020 at 10:13 AM Jeff Young <j...@rokeby.ie 
> <mailto:j...@rokeby.ie>> wrote:
> Hi Jon,
> 
> Speaking of which, I note that we’re still using the PARAM_CFG stuff to 
> read/write the stuff in the new preferences structs.  I assume that’s a 
> temporary measure and we’ll just be writing the structs to JSON at some point?
> 
> Thanks,
> Jeff.
> 
> 
>> On 12 Mar 2020, at 14:10, Jon Evans <j...@craftyjon.com 
>> <mailto:j...@craftyjon.com>> wrote:
>> 
>> Project (it will be moved into a separate ERC settings file)
>> 
>> On Thu, Mar 12, 2020 at 9:59 AM Jeff Young <j...@rokeby.ie 
>> <mailto:j...@rokeby.ie>> wrote:
>> We don’t currently save the ERC pin-to-pin map (which I would think makes it 
>> nearly useless).
>> 
>> Should it be project-relative, or global?
>> 
>> Cheers,
>> Jeff.
>> 
>> 
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers 
>> <https://launchpad.net/~kicad-developers>
>> Post to     : kicad-developers@lists.launchpad.net 
>> <mailto:kicad-developers@lists.launchpad.net>
>> Unsubscribe : https://launchpad.net/~kicad-developers 
>> <https://launchpad.net/~kicad-developers>
>> More help   : https://help.launchpad.net/ListHelp 
>> <https://help.launchpad.net/ListHelp>
> 

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to