Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DevRoots #1

Open
wants to merge 6,301 commits into
base: master
Choose a base branch
from
Open

DevRoots #1

wants to merge 6,301 commits into from

Conversation

Te-bajt
Copy link

@Te-bajt Te-bajt commented Mar 6, 2021

``

@Te-bajt Te-bajt changed the title ROOots DevRoots Mar 6, 2021
junichi11 and others added 29 commits December 18, 2024 12:49
- Add `null` check because it may be `null` when the mark occurrences feature is canceled
- See the changes in GH-8028
Improve stability of Java code completion (sealed) tests.
…parallel

Action for running tests in parallel
- #6701
- #8073
- https://wiki.php.net/rfc/arbitrary_static_variable_initializers
- Fix the grammar file (parser)
- Add unit tests for the parser

Example:
```php
class Example {
    private int $field = 1;

    public function method(): int {
        return 1;
    }

    public function run(int $param1) : void {
        static $example1 = rand();
        static $example2 = $param1;
        static $example3 = $this->field;
        static $example4 = $this->method();
        static $example5 = new class() {};
        static $example6 = new stdClass(...[0]);
        static $example6 = new stdClass($param1);
        static $example7 = new (Test);
        static $example8 = new static;
        static $example9 = $param1 <= 100 ? run($param1 + 1) : "Test $param1";
        static $example10 = rand(), $example11 = rand();
    }
}

$variable = 1;
static $example1 = rand();
static $example2 = $variable;
```
Before 23ed111 "CSS: Improve handling
of generic-at-rules (for example used by tailwind)" the CSS parser
returned the body of generic @-rules as a plain list of tokens. That
changed and the @Keyframes rule needs to be special cased. There was
already a special case for the @-webkit-keyframes variant, which is
identical to the final variant and differs only in the introducing
rule name.

The vendored variants @-moz-keyframes and @-o-keyframes are also
supported.

Closes: #8052
- #6701
- #8073
- https://wiki.php.net/rfc/arbitrary_static_variable_initializers
- Fix the formatter
- Add unit tests
  - Formatter
  - Code Completion
  - GotoDeclaration and MarkOccurrences
 Do not break additional DocumentFilters
…essors like lombok)

Resolution of processors also needs to take into account, that for
example the version for an artifact could be provided by
DependencyManagement.

Closes: #8054
Closes: #8041
Start: 85 passed, 45 failed

- Add "Java SE Platforms and Libraries" as test dependency

Status: 125 passed, 5 failed

- Reference code uses wrong placement of annotations, method annotations
  come before the return type

- There is not mention in the spec, that an @Injectable field may not be
  initialized

Status: 130 passed
The jakarta.web.beans module was created as a copy of the web.beans
module, just using the new namespaces after the death of JavaEE and the
inception of JakartaEE. Other modules followed a different route, where
the existing implementations were extended to support both the old and
new XML/package namespaces.

This becomes a problem, when it hits the UI as the user then does not
know what to do (which template/menu entry to choose and "what the heck
is JakartaEE and why is that not JavaEE anymore?!"). What is more
codepaths are duplicated and fixes for one area are highly likely to be
relevant for the other also.

This change integrates the unittests from the jakarta.web.beans project,
if they actually check jakarta* functions and modifies the codepaths, so
that both namespaces are supported.

Closes: #7918
Local run is clean, runtime is high, but seems reasonable (5:30min)
Merge jakarta.web.beans and web.beans
…ement

Maven: Improve dependency resolution (for example for annotation processors like lombok)
- #6701
- #8073
- https://wiki.php.net/rfc/arbitrary_static_variable_initializers
- Fix the `PHP83UnhandledError`
- Fix the bracket barance for the `ASTPHP5Scanner`
- Add unit tests for the scanner
…le_initializers

PHP 8.3 Support: Arbitrary static variable initializers
 - scroll only vertically on prev/next navigation
 - reset divider only if left panel is below minimal size
 - share divider location memory between refactoring views
initialize divider position with a minimal value.
 - BasicReplaceResultsPanel extends BasicSearchResultsPanel
 - less code duplication
naming changes

few sanitations

Changed default timeout and improved code

Changes in initialisation of Request Processor
mbien and others added 30 commits February 18, 2025 18:39
 - remove TopSecuirityManager and SecMan
 - remove security manager JVM flags from build and config
 - remove NBClipboard activation tests
 - implement getStack() using StackWalker
 - enable system exit logging
Attempting to fix code completion after new HashMap<>
Update esbuild and serialize-javascript npms.
Remove SecurityManager layer
…. (Commit 1: The simplest/most localized changes.)

Replace most of the remaining trivial uses of the ImageIcon(Image) constructor, replacing these with ImageUtilities.image2Icon or ImageUtilities.loadImageIcon. This allows SVG icons, when/once present, to render in full resolution on HiDPI/Retina displays. Bitmap icons also benefit from the improved scaling hints applied by ImageUtilities.

Similar work was done, for the platform module only, in #7472 . This commit covers most of the remaining trivial cases; I grepped the codebase for 'new ImageIcon' and adjusted the code to avoid ImageIcon whenever this could be done easily (not changing APIs, requiring only a visual code review).
…. (Commit 2: Slightly more complex cases, and mergeImages cases, separated out for ease of review.)
As NetBeans has switched to JSVG for SVG loading, and JSVG has been tested for a while, we can now remove the Batik library as previously envisioned.

See #7969
This is a follow-up on #8114 and #8109 . To render at full HiDPI resolution, Icon/Image instances must be created via the methods in ImageUtilities rather than, in particular, the constructors of ImageIcon.

This PR, combined with the previously mentioned PRs, handles most of the remaining cases.

Specifically:
* Search for 'new ImageIcon(' and rewrite each case to use ImageUtilities to load icons instead.
* Search for 'instanceof ImageIcon' and generalize to 'instanceof Icon' when appropriate.
* Search for 'getLookAndFeel*getDisabledIcon' and switch to ImageUtilities.createDisabledIcon.
…orms that were constructed with the Matisse form builder.

(To render at full HiDPI resolution, Icon/Image instances must be created via the methods in ImageUtilities rather than, in particular, the constructors of ImageIcon.)

These cases were put in a separate commit since they involved re-generation of auto-generated code. To keep the patch simple, I excluded some reformatting of unrelated code that Matisse did when regenerating initComponents().
…-finishes

If a ClassIndex ignores a root due to missing index, make sure the ClassIndex is rebuilt when the index is created.
…-reparse-in-lazy

Account for possible Element instance changed when lazily computing d…
[NETBEANS-8233] When creating a doc comment tree from a full body, avoid the spliting and merging of the body, and simply use the full body, so that the code generator sees the correct, unsplit, full body.
Fix typo in Groovy with Gradle project category
Use pseudo module for apidoc generation and honor json parameter
Signed-off-by: Antonio Vieiro <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.