You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ju...@apache.org on 2024/07/04 21:36:13 UTC
(netbeans) branch master updated (3f277361c3 -> a450d0f303)
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 3f277361c3 #7496: Update breakpoints window position and always open expression evaluator
add a8c9cd8b68 PHP: removed built-in type real - deleted the built-in type real (php does not have a built-in real type: https://www.php.net/manual/en/language.types.intro.php Also see the warning under "Scalar Types": https://www.php.net/manual/en/language.types.declarations.php) - fixed broken tests - new tests added - fixes generation of return type real instead of float for a method when overriding a base class method with an autocomplete - fixes generation of r [...]
new a450d0f303 Merge pull request #7387 from troizet/php_remove_built_in_type_real
The 1 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/nbproject/project.properties | 2 +-
.../modules/php/editor/model/impl/Type.java | 4 +--
.../modules/php/editor/parser/ASTPHP5Parser.java | 10 +++---
.../modules/php/editor/parser/ASTPHP5Symbols.java | 2 +-
.../php/editor/parser/astnodes/CastExpression.java | 7 +++-
.../modules/php/editor/parser/astnodes/Scalar.java | 8 +++--
.../editor/typinghooks/PhpCommentGenerator.java | 1 +
.../editor/verification/PHP54UnhandledError.java | 2 +-
.../editor/verification/PHP74UnhandledError.java | 1 +
.../editor/verification/PHP81UnhandledError.java | 1 +
.../ASTPHP5ParserTest/parser/TextSearchQuery.pass | 4 +--
.../parser/binaryNotation_01.pass | 2 +-
.../parser/binaryNotation_02.pass | 2 +-
.../parser/binaryNotation_03.pass | 2 +-
.../ASTPHP5ParserTest/parser/issueGH5933_01.pass | 2 +-
.../ASTPHP5ParserTest/parser/netbeans1563_03.pass | 2 +-
.../numericLiteralSeparatorParseError_03.pass | 2 +-
.../parser/php74/numericLiteralSeparator_01.pass | 38 +++++++++++-----------
.../parser/php74/typedPropertiesClass.pass | 2 +-
.../parser/php74/typedPropertiesTrait.pass | 2 +-
...itOctalIntegerLiteralNotationParseError_03.pass | 2 +-
...itOctalIntegerLiteralNotationParseError_05.pass | 2 +-
.../parser/php83/typedClassConstants_01.pass | 2 +-
.../unit/data/testfiles/actions/useCase_11.php | 29 +++++++++++++++++
.../testfiles/actions/useCase_11.php.usedNames | 2 ++
.../unit/data/testfiles/actions/useCase_12.php | 29 +++++++++++++++++
.../testfiles/actions/useCase_12.php.usedNames | 2 ++
...InstanceOverrideMethodWithGuessingFloatType.php | 29 +++++++++++++++++
...eOverrideMethodWithGuessingFloatType_01.codegen | 3 ++
...OverrideMethodWithGuessingFloatType_02.codegen} | 0
.../functionGuessingFloatReturnType.php | 37 +++++++++++++++++++++
...php.testFunctionGuessingFloatReturnType_01.html | 9 +++++
...php.testFunctionGuessingFloatReturnType_02.html | 9 +++++
.../php/editor/actions/UsedNamesCollectorTest.java | 8 +++++
.../SelectedPropertyMethodsCreatorTest.java | 12 +++++++
.../editor/completion/PHPCCDocumentationTest.java | 8 +++++
.../typinghooks/PhpCommentGeneratorTest.java | 18 ++++++++++
php/php.editor/tools/ASTPHP5Parser.cup | 6 ++--
38 files changed, 255 insertions(+), 48 deletions(-)
create mode 100644 php/php.editor/test/unit/data/testfiles/actions/useCase_11.php
create mode 100644 php/php.editor/test/unit/data/testfiles/actions/useCase_11.php.usedNames
create mode 100644 php/php.editor/test/unit/data/testfiles/actions/useCase_12.php
create mode 100644 php/php.editor/test/unit/data/testfiles/actions/useCase_12.php.usedNames
create mode 100644 php/php.editor/test/unit/data/testfiles/codegen/testInstanceOverrideMethodWithGuessingFloatType/testInstanceOverrideMethodWithGuessingFloatType.php
create mode 100644 php/php.editor/test/unit/data/testfiles/codegen/testInstanceOverrideMethodWithGuessingFloatType/testInstanceOverrideMethodWithGuessingFloatType.php.testInstanceOverrideMethodWithGuessingFloatType_01.codegen
copy php/php.editor/test/unit/data/testfiles/codegen/{testInstanceOverrideMethodWithGuessingBoolType/testInstanceOverrideMethodWithGuessingBoolType.php.testInstanceOverrideMethodWithGuessingBoolType_02.codegen => testInstanceOverrideMethodWithGuessingFloatType/testInstanceOverrideMethodWithGuessingFloatType.php.testInstanceOverrideMethodWithGuessingFloatType_02.codegen} (100%)
create mode 100644 php/php.editor/test/unit/data/testfiles/completion/documentation/functionGuessingFloatReturnType.php
create mode 100644 php/php.editor/test/unit/data/testfiles/completion/documentation/functionGuessingFloatReturnType.php.testFunctionGuessingFloatReturnType_01.html
create mode 100644 php/php.editor/test/unit/data/testfiles/completion/documentation/functionGuessingFloatReturnType.php.testFunctionGuessingFloatReturnType_02.html
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
(netbeans) 01/01: Merge pull request #7387 from troizet/php_remove_built_in_type_real
Posted by ju...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
junichi11 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
commit a450d0f30338e05c90135eaa492e75ced8302c2c
Merge: 3f277361c3 a8c9cd8b68
Author: Junichi Yamamoto <ju...@apache.org>
AuthorDate: Fri Jul 5 06:36:06 2024 +0900
Merge pull request #7387 from troizet/php_remove_built_in_type_real
PHP: removed built-in type real
php/php.editor/nbproject/project.properties | 2 +-
.../modules/php/editor/model/impl/Type.java | 4 +--
.../modules/php/editor/parser/ASTPHP5Parser.java | 10 +++---
.../modules/php/editor/parser/ASTPHP5Symbols.java | 2 +-
.../php/editor/parser/astnodes/CastExpression.java | 7 +++-
.../modules/php/editor/parser/astnodes/Scalar.java | 8 +++--
.../editor/typinghooks/PhpCommentGenerator.java | 1 +
.../editor/verification/PHP54UnhandledError.java | 2 +-
.../editor/verification/PHP74UnhandledError.java | 1 +
.../editor/verification/PHP81UnhandledError.java | 1 +
.../ASTPHP5ParserTest/parser/TextSearchQuery.pass | 4 +--
.../parser/binaryNotation_01.pass | 2 +-
.../parser/binaryNotation_02.pass | 2 +-
.../parser/binaryNotation_03.pass | 2 +-
.../ASTPHP5ParserTest/parser/issueGH5933_01.pass | 2 +-
.../ASTPHP5ParserTest/parser/netbeans1563_03.pass | 2 +-
.../numericLiteralSeparatorParseError_03.pass | 2 +-
.../parser/php74/numericLiteralSeparator_01.pass | 38 +++++++++++-----------
.../parser/php74/typedPropertiesClass.pass | 2 +-
.../parser/php74/typedPropertiesTrait.pass | 2 +-
...itOctalIntegerLiteralNotationParseError_03.pass | 2 +-
...itOctalIntegerLiteralNotationParseError_05.pass | 2 +-
.../parser/php83/typedClassConstants_01.pass | 2 +-
.../unit/data/testfiles/actions/useCase_11.php | 29 +++++++++++++++++
.../testfiles/actions/useCase_11.php.usedNames | 2 ++
.../unit/data/testfiles/actions/useCase_12.php | 29 +++++++++++++++++
.../testfiles/actions/useCase_12.php.usedNames | 2 ++
...InstanceOverrideMethodWithGuessingFloatType.php | 29 +++++++++++++++++
...eOverrideMethodWithGuessingFloatType_01.codegen | 3 ++
...eOverrideMethodWithGuessingFloatType_02.codegen | 3 ++
.../functionGuessingFloatReturnType.php | 37 +++++++++++++++++++++
...php.testFunctionGuessingFloatReturnType_01.html | 9 +++++
...php.testFunctionGuessingFloatReturnType_02.html | 9 +++++
.../php/editor/actions/UsedNamesCollectorTest.java | 8 +++++
.../SelectedPropertyMethodsCreatorTest.java | 12 +++++++
.../editor/completion/PHPCCDocumentationTest.java | 8 +++++
.../typinghooks/PhpCommentGeneratorTest.java | 18 ++++++++++
php/php.editor/tools/ASTPHP5Parser.cup | 6 ++--
38 files changed, 258 insertions(+), 48 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists