diff mde/setup/Init.d @ 86:79d816b3e2d2

New InitStage system, Screen & Screen.Drawable, separate testing and guiDemo binaries. This (and the previous) commit are the result of several quite significant changes to mde. All the unittests run, but it hasn't had a huge amount of testing so don't be surprised if bugs show up.
author Diggory Hardy <diggory.hardy@gmail.com>
date Fri, 12 Sep 2008 17:36:14 +0100
parents 56c0ddd90193
children 01f4f5f1acc9
line wrap: on
line diff
--- a/mde/setup/Init.d	Thu Sep 11 11:33:51 2008 +0100
+++ b/mde/setup/Init.d	Fri Sep 12 17:36:14 2008 +0100
@@ -257,7 +257,6 @@
                 }
             }
         }
-        debug logger.trace ("Added {} init/cleanup stages", toRun.size);
         int numWorking = miscOpts.numThreads;
         bool abortInit = false;
         Mutex toRunM = new Mutex;       // synchronization on toRun, numWorking
@@ -275,7 +274,6 @@
          *      if no other threads are working, notify waiting threads and terminate (finished)
          * When notified, threads start at 1. */
         void initThreadFct () {
-            debug logger.trace ("initThreadFct: starting");
             try {       // created as a thread - must not throw exceptions
             InitStage* stage;
             
@@ -346,7 +344,6 @@
                 abortInit = true;
             }
             toRunC.notifyAll(); // Most likely if we're exiting, we should make sure others aren't waiting.
-            debug logger.trace ("initThreadFct: returning");
             return;
         }
         
@@ -396,8 +393,6 @@
     }
     
     debug (mdeUnitTest) unittest {
-        logger.trace ("Starting unittest");
-        
         auto realInit = stages;         // backup the real init stages
         stages = new typeof(stages);    // an empty test-bed