This is an automated email from the ASF dual-hosted git repository.
junichi11 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
from 894d91bf68 Merge pull request #6746 from jhorvath/vault-to-configmap
new 4ca2b05414 Add the enum case icon
new 1bb69e8099 Improve the code completion documentation for enum cases
new 0770e4d207 Check an initializer of an enum case
new 52127d6cc7 Improve the code completion for enum cases
new 8d3e459b91 Merge pull request #6825 from
junichi11/php-improve-enum-cases
The 9434 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
php/php.editor/licenseinfo.xml | 1 +
php/php.editor/nbproject/project.properties | 2 +-
.../modules/php/editor/actions/IconsUtils.java | 53 +-
.../php/editor/api/elements/EnumCaseElement.java | 9 +
.../modules/php/editor/completion/DocRenderer.java | 6 +
.../php/editor/completion/PHPCompletionItem.java | 23 +-
.../modules/php/editor/csl/NavigatorScanner.java | 23 +-
.../php/editor/elements/CaseElementImpl.java | 31 +-
.../modules/php/editor/index/PHPIndexer.java | 2 +-
.../modules/php/editor/model/CaseElement.java | 8 +
.../php/editor/model/impl/CaseElementImpl.java | 18 +-
.../modules/php/editor/parser/ASTPHP5Parser.java | 2751 +++++++--------
.../modules/php/editor/parser/ASTPHP5Symbols.java | 2 +-
.../php/editor/parser/EncodedActionTable1.java | 2568 +++++++-------
.../php/editor/parser/EncodedActionTable10.java | 2684 +++++++--------
.../php/editor/parser/EncodedActionTable11.java | 2572 +++++++-------
.../php/editor/parser/EncodedActionTable12.java | 1246 +++----
.../php/editor/parser/EncodedActionTable13.java | 576 ++--
.../php/editor/parser/EncodedActionTable14.java | 1496 ++++----
.../php/editor/parser/EncodedActionTable15.java | 488 +--
.../php/editor/parser/EncodedActionTable16.java | 934 ++---
.../php/editor/parser/EncodedActionTable17.java | 1784 +++++-----
.../php/editor/parser/EncodedActionTable18.java | 274 +-
.../php/editor/parser/EncodedActionTable19.java | 420 +--
.../php/editor/parser/EncodedActionTable2.java | 1692 +++++-----
.../php/editor/parser/EncodedActionTable20.java | 538 +--
.../php/editor/parser/EncodedActionTable3.java | 1086 +++---
.../php/editor/parser/EncodedActionTable4.java | 3562 ++++++++++----------
.../php/editor/parser/EncodedActionTable5.java | 3192 +++++++++---------
.../php/editor/parser/EncodedActionTable6.java | 1774 +++++-----
.../php/editor/parser/EncodedActionTable7.java | 2326 ++++++-------
.../php/editor/parser/EncodedActionTable8.java | 1038 +++---
.../php/editor/parser/EncodedActionTable9.java | 1042 +++---
.../modules/php/editor/resources/enumCase.png | Bin 0 -> 1389 bytes
.../verification/IncorrectEnumHintError.java | 137 +-
.../structure/enumCasesWithError01.pass | 4 +
.../structure/enumCasesWithError02.pass | 5 +
.../parser/php81/enumCasesWithError.pass | 143 +
.../completion/documentation/php81/enumCases.php} | 29 +-
.../enumCases.php.testBackedEnumCaseInt_01.html | 7 +
.../enumCases.php.testBackedEnumCaseInt_02.html | 7 +
.../enumCases.php.testBackedEnumCaseInt_03.html | 7 +
.../enumCases.php.testBackedEnumCaseString_01.html | 7 +
.../enumCases.php.testBackedEnumCaseString_02.html | 7 +
.../enumCases.php.testBackedEnumCaseString_03.html | 7 +
.../php81/enumCases.php.testEnumCase_01.html | 7 +
.../php81/enumCases.php.testEnumCase_02.html | 7 +
.../testEnumCasesTyping01/enumCasesTyping01.php} | 15 +-
...esTyping01.php.testEnumCasesTyping01.completion | 7 +
.../testEnumCasesTyping02/enumCasesTyping02.php} | 15 +-
...esTyping02.php.testEnumCasesTyping02.completion | 4 +
.../testEnumCasesTyping03/enumCasesTyping03.php} | 15 +-
...esTyping03.php.testEnumCasesTyping03.completion | 8 +
.../testEnums/enums.php.testEnums_01.completion | 4 +-
.../testEnums/enums.php.testEnums_02.completion | 4 +-
.../testEnums/enums.php.testEnums_03.completion | 4 +-
.../testEnums/enums.php.testEnums_04.completion | 4 +-
.../testEnums/enums.php.testEnums_05.completion | 4 +-
.../testEnums/enums.php.testEnums_10.completion | 4 +-
.../testEnums/enums.php.testEnums_12.completion | 4 +-
.../testEnums/enums.php.testEnums_13.completion | 4 +-
.../testEnums/enums.php.testEnums_15.completion | 4 +-
.../testEnums/enums.php.testEnums_17.completion | 2 +-
.../testEnums/enums.php.testEnums_22.completion | 4 +-
.../testEnums/enums.php.testEnums_26.completion | 4 +-
.../testEnums/enums.php.testEnums_28.completion | 4 +-
.../testEnums/enums.php.testEnums_29.completion | 4 +-
...numsTyping_02.php.testEnumsTyping_02.completion | 4 +-
...numsTyping_03.php.testEnumsTyping_03.completion | 4 +-
...numsTyping_04.php.testEnumsTyping_04.completion | 4 +-
...hp.testEnumsUnionAndBackedMembers_05.completion | 2 +-
...lassConstantFetchInEnumCaseTyping_01.completion | 1 +
.../index/testGetEnums/testGetEnums.php.indexed | 50 +-
.../testPHP82DNFParameterTypes.php.indexed | 2 +-
.../testPHP82DNFReturnTypes.php.indexed | 2 +-
.../testPHP83TypedClassConstants.php.indexed | 2 +-
.../testfiles/parser/php81/enumCasesWithError.php} | 14 +-
.../parser/php81/enumCasesWithError.php.errors | 7 +
.../testfiles/structure/enumCasesWithError01.php} | 15 +-
.../testfiles/structure/enumCasesWithError02.php} | 15 +-
.../testIncorrectEnumCases_01.php} | 20 +-
...numCases_01.php.testIncorrectEnumCases_01.hints | 9 +
.../IncorrectEnumHintError/testIncorrectEnums.php | 4 +-
...testIncorrectEnums.php.testIncorrectEnums.hints | 9 +
.../editor/completion/PHP81CodeCompletionTest.java | 12 +
.../editor/completion/PHPCCDocumentationTest.java | 32 +
.../modules/php/editor/csl/NavigatorTest.java | 8 +
.../php/editor/parser/ASTPHP5ParserTest.java | 4 +
.../php/editor/parser/PhpParserErrorTest.java | 4 +
.../verification/IncorrectEnumHintErrorTest.java | 4 +
php/php.editor/tools/ASTPHP5Parser.cup | 5 +
91 files changed, 17745 insertions(+), 17201 deletions(-)
create mode 100644
php/php.editor/src/org/netbeans/modules/php/editor/resources/enumCase.png
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/csl/NavigatorTest/structure/enumCasesWithError01.pass
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/csl/NavigatorTest/structure/enumCasesWithError02.pass
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/parser/ASTPHP5ParserTest/parser/php81/enumCasesWithError.pass
copy
php/php.editor/{src/org/netbeans/modules/php/editor/model/CaseElement.java =>
test/unit/data/testfiles/completion/documentation/php81/enumCases.php} (55%)
create mode 100644
php/php.editor/test/unit/data/testfiles/completion/documentation/php81/enumCases.php.testBackedEnumCaseInt_01.html
create mode 100644
php/php.editor/test/unit/data/testfiles/completion/documentation/php81/enumCases.php.testBackedEnumCaseInt_02.html
create mode 100644
php/php.editor/test/unit/data/testfiles/completion/documentation/php81/enumCases.php.testBackedEnumCaseInt_03.html
create mode 100644
php/php.editor/test/unit/data/testfiles/completion/documentation/php81/enumCases.php.testBackedEnumCaseString_01.html
create mode 100644
php/php.editor/test/unit/data/testfiles/completion/documentation/php81/enumCases.php.testBackedEnumCaseString_02.html
create mode 100644
php/php.editor/test/unit/data/testfiles/completion/documentation/php81/enumCases.php.testBackedEnumCaseString_03.html
create mode 100644
php/php.editor/test/unit/data/testfiles/completion/documentation/php81/enumCases.php.testEnumCase_01.html
create mode 100644
php/php.editor/test/unit/data/testfiles/completion/documentation/php81/enumCases.php.testEnumCase_02.html
copy
php/php.editor/{src/org/netbeans/modules/php/editor/model/CaseElement.java =>
test/unit/data/testfiles/completion/lib/php81/testEnumCasesTyping01/enumCasesTyping01.php}
(78%)
create mode 100644
php/php.editor/test/unit/data/testfiles/completion/lib/php81/testEnumCasesTyping01/enumCasesTyping01.php.testEnumCasesTyping01.completion
copy
php/php.editor/{src/org/netbeans/modules/php/editor/model/CaseElement.java =>
test/unit/data/testfiles/completion/lib/php81/testEnumCasesTyping02/enumCasesTyping02.php}
(78%)
create mode 100644
php/php.editor/test/unit/data/testfiles/completion/lib/php81/testEnumCasesTyping02/enumCasesTyping02.php.testEnumCasesTyping02.completion
copy
php/php.editor/{src/org/netbeans/modules/php/editor/model/CaseElement.java =>
test/unit/data/testfiles/completion/lib/php81/testEnumCasesTyping03/enumCasesTyping03.php}
(78%)
create mode 100644
php/php.editor/test/unit/data/testfiles/completion/lib/php81/testEnumCasesTyping03/enumCasesTyping03.php.testEnumCasesTyping03.completion
copy
php/php.editor/{src/org/netbeans/modules/php/editor/model/CaseElement.java =>
test/unit/data/testfiles/parser/php81/enumCasesWithError.php} (78%)
create mode 100644
php/php.editor/test/unit/data/testfiles/parser/php81/enumCasesWithError.php.errors
copy
php/php.editor/{src/org/netbeans/modules/php/editor/model/CaseElement.java =>
test/unit/data/testfiles/structure/enumCasesWithError01.php} (78%)
copy
php/php.editor/{src/org/netbeans/modules/php/editor/model/CaseElement.java =>
test/unit/data/testfiles/structure/enumCasesWithError02.php} (78%)
copy
php/php.editor/{src/org/netbeans/modules/php/editor/model/CaseElement.java =>
test/unit/data/testfiles/verification/IncorrectEnumHintError/testIncorrectEnumCases_01.php}
(62%)
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectEnumHintError/testIncorrectEnumCases_01.php.testIncorrectEnumCases_01.hints
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists