[dmd-internals] [D-Programming-Language/dmd] d6c770: [refactoring] turn PROT into struct and rename it
GitHub via dmd-internals
dmd-internals at puremagic.com
Tue Aug 26 09:29:41 PDT 2014
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: d6c770a38f00ffce65f7cc0464947121b3fd2cef
https://github.com/D-Programming-Language/dmd/commit/d6c770a38f00ffce65f7cc0464947121b3fd2cef
Author: Dicebot <public at dicebot.lv>
Date: 2014-08-24 (Sun, 24 Aug 2014)
Changed paths:
M src/access.c
M src/aggregate.h
M src/attrib.c
M src/attrib.h
M src/class.c
M src/cppmangle.c
M src/declaration.c
M src/declaration.h
M src/doc.c
M src/dsymbol.c
M src/dsymbol.h
M src/enum.c
M src/enum.h
M src/func.c
M src/hdrgen.c
M src/import.c
M src/import.h
M src/json.c
M src/parse.c
M src/scope.h
M src/struct.c
M src/template.c
M src/template.h
M src/tocvdebug.c
Log Message:
-----------
[refactoring] turn PROT into struct and rename it
Makes it possible to easily add additional protection
information and differentiates between protected imports
and actual attribute.
Commit: c595ba471f46ad54db3e218a2b6f65cbbc095733
https://github.com/D-Programming-Language/dmd/commit/c595ba471f46ad54db3e218a2b6f65cbbc095733
Author: Dicebot <public at dicebot.lv>
Date: 2014-08-24 (Sun, 24 Aug 2014)
Changed paths:
M src/attrib.h
M src/dsymbol.c
M src/dsymbol.h
M src/hdrgen.c
M src/module.c
M src/module.h
M src/parse.c
M src/parse.h
Log Message:
-----------
Support 'package(ident)' syntax (parser/AST)
This commit adds capability of parsing and resolving
explicit package defined for package protection attribute. Adjusting
acess checks to use it will be done in separate commit.
Commit: 5c4018ebc5d12dbfedc28e6ec24e9bab623d19c5
https://github.com/D-Programming-Language/dmd/commit/5c4018ebc5d12dbfedc28e6ec24e9bab623d19c5
Author: Dicebot <public at dicebot.lv>
Date: 2014-08-24 (Sun, 24 Aug 2014)
Changed paths:
M src/access.c
M src/attrib.c
M src/dsymbol.c
M src/dsymbol.h
M src/template.c
A test/compilable/protattr.d
A test/compilable/protection/basic/mod1.d
A test/compilable/protection/basic/tests.d
A test/compilable/protection/subpkg/explicit.d
A test/compilable/protection/subpkg/tests.d
A test/compilable/protection/subpkg2/tests.d
Log Message:
-----------
Fix #2529: package protection + sub-package
Fix relevant issue by allowing to explicitly define
package to bind protection attribute to. Defaults
remain unchanged.
Commit: 8c8f9392d74956cfa405e319321f261a95b9fa2e
https://github.com/D-Programming-Language/dmd/commit/8c8f9392d74956cfa405e319321f261a95b9fa2e
Author: Dicebot <public at dicebot.lv>
Date: 2014-08-24 (Sun, 24 Aug 2014)
Changed paths:
M src/attrib.c
M src/attrib.h
M test/compilable/protection/subpkg/explicit.d
M test/compilable/protection/subpkg/tests.d
M test/compilable/protection/subpkg2/tests.d
A test/fail_compilation/protattr1.d
A test/fail_compilation/protattr2.d
A test/fail_compilation/protattr3.d
A test/fail_compilation/protection/subpkg/test1.d
A test/fail_compilation/protection/subpkg/test2.d
A test/fail_compilation/protection/subpkg/test3.d
Log Message:
-----------
Reject non-parent protection packages
Using non-existent or non-parent package as an argument to
'package' protection attribute will result in compile-time error.
Test cases with error message output added.
Commit: 2b25d9e1c3009e3b103a876d79b06cb7c3ada167
https://github.com/D-Programming-Language/dmd/commit/2b25d9e1c3009e3b103a876d79b06cb7c3ada167
Author: Dicebot <public at dicebot.lv>
Date: 2014-08-24 (Sun, 24 Aug 2014)
Changed paths:
M src/attrib.c
M src/attrib.h
M src/parse.c
M test/fail_compilation/protattr1.d
M test/fail_compilation/protattr2.d
Log Message:
-----------
Improve ProtDeclaration error formatting.
Now includes actual protection attribute kind and package name (if any)
into error message. Also stores location information from the parser.
Commit: 65ff492cdf72ec4ad54f602719e6e993b62cce3b
https://github.com/D-Programming-Language/dmd/commit/65ff492cdf72ec4ad54f602719e6e993b62cce3b
Author: Dicebot <public at dicebot.lv>
Date: 2014-08-24 (Sun, 24 Aug 2014)
Changed paths:
M test/compilable/protattr.d
Log Message:
-----------
Do not generate code for protection tests
Commit: 9432019c26e72ea45e541dc89963945493e80e39
https://github.com/D-Programming-Language/dmd/commit/9432019c26e72ea45e541dc89963945493e80e39
Author: Dicebot <public at dicebot.lv>
Date: 2014-08-24 (Sun, 24 Aug 2014)
Changed paths:
M src/attrib.c
M src/attrib.h
Log Message:
-----------
Printing of ProtDeclaration is handled by visitor
Commit: 50bf1696a99c1b439e52b804ee1dfcab8b9fecd8
https://github.com/D-Programming-Language/dmd/commit/50bf1696a99c1b439e52b804ee1dfcab8b9fecd8
Author: Dicebot <public at dicebot.lv>
Date: 2014-08-24 (Sun, 24 Aug 2014)
Changed paths:
M src/module.c
M src/module.h
Log Message:
-----------
Move isAncestorPackageOf docs to definition
Commit: 8ea09acf8ce17aaa4fb7c9cad4bb3bea443d56e7
https://github.com/D-Programming-Language/dmd/commit/8ea09acf8ce17aaa4fb7c9cad4bb3bea443d56e7
Author: Dicebot <public at dicebot.lv>
Date: 2014-08-24 (Sun, 24 Aug 2014)
Changed paths:
M src/module.c
Log Message:
-----------
Simplify isAncestorPackageOf implementations
Commit: ab2d968b5e831f654ffb87b7450da157d0e3b8f4
https://github.com/D-Programming-Language/dmd/commit/ab2d968b5e831f654ffb87b7450da157d0e3b8f4
Author: Dicebot <public at dicebot.lv>
Date: 2014-08-24 (Sun, 24 Aug 2014)
Changed paths:
M src/parse.c
Log Message:
-----------
Trivial whitespace fix
Commit: c72470d444c19e5ba23fafcfd126425af406cf8c
https://github.com/D-Programming-Language/dmd/commit/c72470d444c19e5ba23fafcfd126425af406cf8c
Author: Dicebot <public at dicebot.lv>
Date: 2014-08-24 (Sun, 24 Aug 2014)
Changed paths:
M src/attrib.c
M src/attrib.h
M src/parse.c
Log Message:
-----------
Move package resolution to semantic phase
Commit: cc1079ab38b533a83504dc3a045904f146c70df1
https://github.com/D-Programming-Language/dmd/commit/cc1079ab38b533a83504dc3a045904f146c70df1
Author: Dicebot <public at dicebot.lv>
Date: 2014-08-24 (Sun, 24 Aug 2014)
Changed paths:
M src/access.c
Log Message:
-----------
Fix debug printfs in access.c
Commit: 9873073c514590e1442d2b21fb29d3630c331b80
https://github.com/D-Programming-Language/dmd/commit/9873073c514590e1442d2b21fb29d3630c331b80
Author: Dicebot <public at dicebot.lv>
Date: 2014-08-24 (Sun, 24 Aug 2014)
Changed paths:
M src/parse.c
Log Message:
-----------
Consume remaining line tokens on error
Commit: a41dccc3ce3b330b13eab1a336a54e9c8f29801d
https://github.com/D-Programming-Language/dmd/commit/a41dccc3ce3b330b13eab1a336a54e9c8f29801d
Author: Walter Bright <walter at walterbright.com>
Date: 2014-08-26 (Tue, 26 Aug 2014)
Changed paths:
M src/access.c
M src/aggregate.h
M src/attrib.c
M src/attrib.h
M src/class.c
M src/cppmangle.c
M src/declaration.c
M src/declaration.h
M src/doc.c
M src/dsymbol.c
M src/dsymbol.h
M src/enum.c
M src/enum.h
M src/func.c
M src/hdrgen.c
M src/import.c
M src/import.h
M src/json.c
M src/module.c
M src/module.h
M src/parse.c
M src/parse.h
M src/scope.h
M src/struct.c
M src/template.c
M src/template.h
M src/tocvdebug.c
A test/compilable/protattr.d
A test/compilable/protection/basic/mod1.d
A test/compilable/protection/basic/tests.d
A test/compilable/protection/subpkg/explicit.d
A test/compilable/protection/subpkg/tests.d
A test/compilable/protection/subpkg2/tests.d
A test/fail_compilation/protattr1.d
A test/fail_compilation/protattr2.d
A test/fail_compilation/protattr3.d
A test/fail_compilation/protection/subpkg/test1.d
A test/fail_compilation/protection/subpkg/test2.d
A test/fail_compilation/protection/subpkg/test3.d
Log Message:
-----------
Merge pull request #3651 from Dicebot/package-protection
Fix #2529: explicit protection package
Compare: https://github.com/D-Programming-Language/dmd/compare/39d3dc6fbb83...a41dccc3ce3b
More information about the dmd-internals
mailing list