Login to participate
  
Register   Lost ID/password?
Louis Kessler’s Behold Blog » Blog Entry           prev Prev   Next next

Thursday, May 1, 2003 - Thu, 1 May 2003

After making all the changes to get the Tags and Numbering defaults working, the Tag counts were not updating properly. This seemed to have to do with the Initialization routines being a bit all-over-the-place and somewhere the tags were getting reset before they were getting displayed.

I have a lot of different Initialization routines - for the Everything Report, for the Organize GEDCOMs, the Organize Families, the Tags, the data structure, the links, plus a number of Finalization routines to release memory when done processing. Over the last few years of development of Behold, these Initialization and Finalization procedures were built on an as-needed basis, and there was some redundancy, extra calls, and misplacement of the location of calls that were making it harder and harder to figure out where everything was starting and ending. Time for a needed cleanup.

Over the last few days, I had a few false starts in this cleanup. I thought I knew how best to reorganize, but they were not quite right and I went back to the original and took some time to think. After printing out all the Init/Final routines and mapping their calls to see the order and whereabouts they were called from, I came up with a scheme that would work. In addition, I was able to consolidate my overall Behold processing in one place, which was my goal long ago and allows me to time the processing for large datasets and show the progress with a progress bar (which is sort of working but is not quite finished yet).

Several hours later today, I reworked the Initialization routines and tweaked the main processing to get everything working again.

No Comments Yet

Leave a Comment

You must login to comment.

Login to participate
  
Register   Lost ID/password?