Changeset 87:2212285f714c

Show
Ignore:
Timestamp:
09/23/08 07:31:48 (4 months ago)
Author:
Diggory Hardy <diggory.hardy@gmail.com>
branch:
default
Message:

Added a workaround for a dmd bug.

For some reason the bug showed up after upgrading dsss.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • codeDoc/jobs.txt

    r86 r87  
    16164   Not guaranteed to catch up-click ending callback! Appears not to be a problem... 
    17174   OutOfMemoryException is not currently checked for − it should be at least in critical places (use high-level catching of all errors?). 
     183   Use of dtors - don't rely on them? Or what happens when init throws during creation - relying on undefined behaviour. 
    18193   Fonts from Options. Get yMax for font not all glyphs on line? 
    19203   glBindTexture not working with non-0 index (??) 
  • mde/file/mergetag/Reader.d

    r85 r87  
    3333import Util = tango.text.Util; 
    3434import ConvInt = tango.text.convert.Integer; 
    35 import tango.util.container.HashSet; 
     35//import tango.util.container.HashSet; 
     36import mde.workaround2371; 
    3637import tango.util.log.Log : Log, Logger; 
    3738 
     
    263264    * If secSet is provided, reading is restricted to sections given in secSet, otherwise all 
    264265    * sections are read. Sections given in secSet but not found in the file are not reported as an 
    265     * error. Suggested: supply a HashSet!(uint) as the View!(ID). An ArrayBag!(ID) as used is not a 
    266     * good choice, except that in this case it's empty
     266    * error. Suggested: supply a HashSet!(ID) as the container. If an ID[] is passed this is 
     267    * converted to a HashSet!(ID) to speed up lookups
    267268    * 
    268269    * Merging: 
     
    300301    /** ditto */ 
    301302    public void read (ID[] secSet) { 
    302         HashSet!(ID) hs = new HashSet!(ID); 
     303        myStringHS hs = new myStringHS; // FIXME: workaround2371 
    303304        foreach (id; secSet) hs.add(id); 
    304305        read (hs); 
  • mde/input/Config.d

    r86 r87  
    2525 
    2626import tango.util.log.Log : Log, Logger; 
    27 import tango.util.container.HashSet; 
     27//import tango.util.container.HashSet; 
     28import mde.workaround2371; 
    2829 
    2930/** Class to hold the configuration for the input system. Thus loading and switching between 
     
    116117     
    117118    static Config[char[]] configs;  /// All configs loaded by load(). 
    118     private static HashSet!(char[]) loadedFiles;    // all filenames load tried to read 
     119    // FIXME: workaround2371 
     120    private static myStringHS loadedFiles;  // all filenames load tried to read 
    119121    private static Logger logger; 
    120122     
     
    122124    static this () { 
    123125        logger = Log.getLogger ("mde.input.Config"); 
    124         loadedFiles = new HashSet!(char[])
     126        loadedFiles = new myStringHS
    125127    } 
    126128