Re: [Kicad-developers] Project file churn

2020-03-07 Thread Bevan Weiss
Perhaps something like an MD5 checksum field could be added to the file format (and the timestamp removed). If the timestamp is only used for change detection, an MD5 hashvalue etc might be a cleaner 'single location' to check. It could also be used for file integrity (as a secondary feature).

[Kicad-developers] Stroke font changes

2020-03-07 Thread Jeff Young
I brought the time to open Eeschema for the first time from ~ 5 seconds to 1 by changing the stroke font from a 3-dimensional vector (character x stroke x points) to 3 vectors (the top two of pointers and the bottom of wxPoints). If you see anything fishy, it’s probably due to this…. ___

Re: [Kicad-developers] Project file churn

2020-03-07 Thread Wayne Stambaugh
AFAIK, I don't think we use them for anything so they could be removed unless someone is using them in a Python script somewhere. I doubt that is the case. You should check to make sure all the parsers don't choke when there is no time stamp. If any of them do, that would be an issue because you

Re: [Kicad-developers] Project file churn

2020-03-07 Thread Jon Evans
Should we just remove the timestamps from all the files? What are they needed for? On Sat, Mar 7, 2020 at 2:09 PM Wayne Stambaugh wrote: > We could use the file modification time but that would be inconsistent > with our other files but don't have a strong preference one way or the > other. > >

Re: [Kicad-developers] Project file churn

2020-03-07 Thread Wayne Stambaugh
We could use the file modification time but that would be inconsistent with our other files but don't have a strong preference one way or the other. On 3/7/20 2:05 PM, Jon Evans wrote: > We don't currently use the update timestamp for anything that I can > see.  But even if we did, couldn't we jus

Re: [Kicad-developers] Project file churn

2020-03-07 Thread Jon Evans
We don't currently use the update timestamp for anything that I can see. But even if we did, couldn't we just use the file modification time from the OS? On Sat, Mar 7, 2020 at 2:02 PM Wayne Stambaugh wrote: > Hi Jon, > > On 3/7/20 1:25 PM, Jon Evans wrote: > > I've started work on the new proje

Re: [Kicad-developers] Project file churn

2020-03-07 Thread Wayne Stambaugh
Hi Jon, On 3/7/20 1:25 PM, Jon Evans wrote: > I've started work on the new project system for V6.  One question that I > wanted to cast a wide net on: > > Are there any real-world uses for the "update" and "last_client" lines > that are stored in the current project format? The "last_client" set

[Kicad-developers] Project file churn

2020-03-07 Thread Jon Evans
I've started work on the new project system for V6. One question that I wanted to cast a wide net on: Are there any real-world uses for the "update" and "last_client" lines that are stored in the current project format? KiCad internally doesn't make any use of these, and they just cause file chu