BIND 10 trac2375-r1, created. be89b811e83d3729ff7fb48ed9d0e16348532978 [2375] Don't restore internal token on ungetToken

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Nov 19 15:59:57 UTC 2012


The branch, trac2375-r1 has been created
        at  be89b811e83d3729ff7fb48ed9d0e16348532978 (commit)

- Log -----------------------------------------------------------------
commit be89b811e83d3729ff7fb48ed9d0e16348532978
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Mon Nov 19 16:45:27 2012 +0100

    [2375] Don't restore internal token on ungetToken
    
    It was not safe, because it may refer to some data elsewhere. Luckily,
    it seems it is not needed anyway, since the only way that a token can
    get out of the lexer is through the getNextToken, which would get a new
    one, and through a testing method not meant for public use.

commit 83053b85d90b62e575aa4e8c185e80f3165b0f8b
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Mon Nov 19 16:33:28 2012 +0100

    [2375] Don't propagate exceptions from internal namespace
    
    Move the ReadError exception into the MasterLexer. That way, it is in
    public namespace, so people can expect to see it.

commit 6131e5b395558dd51a63deb4565e2b9bc253c704
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Wed Nov 14 13:59:15 2012 +0100

    [2375] Provide weak exception guarantee

commit bc474e23988f7a815ac5de332498d8210a11a16b
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Wed Nov 14 13:34:17 2012 +0100

    [2375] Implement ungetting tokens

commit 0287ca83ae439396e9ea478e9e4bfe2ee78308bb
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Wed Nov 14 11:01:33 2012 +0100

    [2375] Tests for ungetting tokens

commit 33a3143ca00c21437081918f38da6d3c2370330b
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Tue Nov 13 19:18:20 2012 +0100

    [2375] Check we don't read past the end

commit a48d74bc879ef62d112fb017698466e65dc02e72
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Tue Nov 13 19:04:16 2012 +0100

    [2375] Add a test a token is actually produced
    
    This is a debug test. It checks the state machine produced a token.
    There are no tests for this test, since such condition would be a
    programmer error, not something expected.

commit 200ed42600985f09ef96db73cbfa79a03e61a71a
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Tue Nov 13 18:53:11 2012 +0100

    [2375] Implement basic getNextToken
    
    No error handling, no special cases, no returning.

commit 9d2bab2003be39da1ebf2b96ccbbb0af45e42a1e
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Tue Nov 13 14:39:15 2012 +0100

    [2375] Tests for simple versions of getToken
    
    No fancy stuff yet, like ungetting tokens, changes of parentheses count,
    etc. Just the basic stuff.

commit 1c14515cc61d0d80942687211f8c418ecb3f6a3e
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Mon Nov 12 19:24:21 2012 +0100

    [2375] A fake state class
    
    It is for tests, but in the main code for technical reasons.

commit 5a3cd7b57c0ad49e48d0cf3ce383a1d972deaab6
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Mon Nov 12 18:14:46 2012 +0100

    [2375] getNextToken() and ungetNextToken() interface.
    
    With doxygen description of what it should do and empty method bodies,
    so the tests in following commits will at least compile.

-----------------------------------------------------------------------



More information about the bind10-changes mailing list