Commit Graph
3145 Commits
Author SHA1 Message Date
Dominik Jain 6faf12b9fa Update uvx run instructions to include Python version (3.13)
uvx ignores not only the lock file but also the Python
version specified in pyproject.toml.
https://github.com/astral-sh/uv/issues/8206#issuecomment-4113536371
2026-04-02 13:25:58 +02:00
Michael Panchenko d52d24efe2 Docs: added -p 3.13 to configuration examples 2026-04-02 11:25:52 +02:00
Michael Panchenko 33b4d08c9b Updated usage docs for codex 2026-04-02 10:58:37 +02:00
Michael Panchenko a45fe0cf10 Exposed additional options in JBCodeEditor.rename_symbol [ci skip]
Not forwarded to tool (yet)
2026-04-02 10:37:28 +02:00
Dominik Jain 3929edede5 _iter_gitignore_files: Catch PermissionError
Relates to #1268
2026-04-02 10:31:48 +02:00
Dominik Jain adce15336d Use multiprocessing instead of subprocess to open dashboard viewers 2026-04-02 01:13:23 +02:00
Dominik Jain d180d68756 Add SerenaPorts to centralise port configuration in one place 2026-04-02 01:13:23 +02:00
Dominik Jain a068cb5563 Add centralised Serena dashboard tray manager
Add class SerenaDashboardTrayManager:
A single tray app to manage all Serena instances
(detached process which is informed of running instances
via network requests)

Tray icon functionality was consequently removed from
SerenaDashboardViewer, which is now a plain viewer.
2026-04-02 01:13:23 +02:00
Dominik Jain fac745fc7c Merge remote-tracking branch 'origin/main' into features/move_and_safe_delete 2026-04-01 19:08:17 +02:00
Dominik Jain 07e1f66eba SerenaDashboardViewer: Disabling macOS support for now
because the tray behaviour is suboptimal (too many icons are
  displayed when subagents are spawned, and macOS does not
  appropriately hide them)
2026-04-01 19:01:22 +02:00
Dr. Dominik Jain 3574063e3c Merge pull request #1265 from arnaujc91/fix/dock_mac
Fix: dock icon disappears at closing serena window and reappears after clicking open in the tray
2026-04-01 18:14:08 +02:00
Dominik Jain 9bbdd30219 Use white tray icon for macOS 2026-04-01 18:07:15 +02:00
zoajimen fecf410266 Enhance macOS dock handling in SerenaDashboardViewer and add high-resolution app icon 2026-04-01 18:07:15 +02:00
Michael Panchenko d30cdf8474 Fix symbol name resolution in selected LS (#1247)
Adds tests for name resolution for each language and fixes the name resolution where tests have failed.

Also:

Extends python tests to cover ty
Extends skipping conditions for several LS (but only when not in CI)
Better test output in CI
Removed a wrong python test (started failing for ty and should have failed for pyright too)
2026-04-01 16:29:00 +02:00
Dominik Jain 7377a84337 Update lock file 2026-04-01 15:42:47 +02:00
Dominik Jain d9b278c357 Add pythonnet as an explicit dependency (actually transitive via pywebview)
Using pre-release version, because otherwise Python 3.14 support is broken
2026-04-01 15:09:08 +02:00
Dr. Dominik Jain e8cf263e9d Merge pull request #1262 from arnaujc91/fix/dock_mac
Implement macOS dock handling and window state management in SerenaDa…
2026-04-01 14:07:49 +02:00
zoajimen 7c202de493 Refactor SerenaDashboardViewer to improve macOS dock handling and streamline event delegation 2026-04-01 12:15:03 +02:00
Michael Panchenko e6c97b99de Split off JBRenameTool from the RenameSymbolTool
The JB variant has more options, the difference to the LS variant will likely grow in the future
2026-04-01 12:13:11 +02:00
zoajimen 4b0f408e3e Implement macOS dock handling and window state management in SerenaDashboardViewer 2026-04-01 11:40:34 +02:00
Michael Panchenko e9d2191566 Merge pull request #1261 from oraios/bump_pyjwt
Bump pyjwt (dependabot alert)
2026-04-01 09:07:38 +02:00
Michael Panchenko 823d5bbe30 Bump pyjwt (dependabot alert) 2026-04-01 09:03:00 +02:00
Dr. Dominik Jain 1a3b9bf8b4 Merge pull request #1117 from oraios/pywebview
Use pywebview for Dashboard (instead of browser tab), controlling lifecycle
2026-03-31 20:40:54 +02:00
Michael Panchenko 10307f045f Permit rename of dirs/files in JB world, WIP 2026-03-31 15:54:11 +02:00
Dominik Jain 0cf16d1eef Circumvent mypy unreachable code error 2026-03-31 15:36:18 +02:00
Dominik Jain 0bab0125d7 _start_dashboard_viewer: Do nothing if no display detected, improve logging 2026-03-31 15:36:18 +02:00
Dominik Jain 92301c058b Import pystray locally, because import crashes if there is no display 2026-03-31 15:36:18 +02:00
Michael Panchenko af6628ea04 Merge branch 'main' into pywebview 2026-03-31 14:29:50 +02:00
Michael Panchenko 568f9a06af Nix flake: added setuptools as build input for pywebview 2026-03-31 14:29:08 +02:00
Michael Panchenko e53e487cae Pinned pystray exactly 2026-03-31 11:27:11 +02:00
Michael Panchenko 01e9582cac Nix flake: add proxy-tools (needed to build pywebview) 2026-03-31 11:26:01 +02:00
Michael Panchenko 94b118dcdc Merge branch 'main' into features/move_and_safe_delete
# Conflicts:
#	src/serena/util/text_utils.py
2026-03-31 11:03:49 +02:00
Michael Panchenko 6bf7955ada Merge pull request #1239 from oraios/dependabot/uv/uv-6ba9ca5f64
Bump cryptography from 46.0.5 to 46.0.6 in the uv group across 1 directory
2026-03-31 09:05:46 +02:00
Andrew Barnes ceb87cb7cd fix: swapped error message args, dead code after check=True, missing dotnet v9 (#1250)
1. ls_process.py: swapped values in error message — was reporting
   "read {expected} of {actual}" instead of "read {actual} of {expected}"

2. common.py: check=True made the returncode != 0 branch unreachable
   (CalledProcessError raised before it). Removed check=True so the
   warning logs execute before raising the exception explicitly.

3. ls_utils.py: dotnet version error message listed "4, 6, 7, 8" but
   the code also checks for version 9. Added 9 to the message.
2026-03-31 01:31:21 +02:00
Dominik Jain 213086b162 Add JetBrainsFindImplementationsTool 2026-03-31 01:22:00 +02:00
Dominik Jain 6ef9158ff5 Add JetBrainsFindDeclarationTool 2026-03-31 01:12:06 +02:00
Dominik Jain 01f475ffc3 Fix type of news id (must use int, not string) 2026-03-30 19:47:46 +02:00
Dominik Jain d96cda3ee1 Merge remote-tracking branch 'origin/main' into pywebview
Conflicts:
	src/serena/resources/serena_config.template.yml
2026-03-30 19:44:58 +02:00
Dominik Jain da2f4d2fdb Add news on project querying 2026-03-30 18:45:00 +02:00
Michael Panchenko 368486299d Merge pull request #1245 from lyang/configurable-jdtls-jvm-heap
Make JDTLS and IntelliCode JVM heap sizes configurable
2026-03-30 09:45:58 +02:00
Lin Yang e8d9c1335f Make JDTLS and IntelliCode JVM heap sizes configurable
Add four new ls_specific_settings for Java: jdtls_xmx, jdtls_xms,
intellicode_xmx, and intellicode_xms, allowing users to tune heap
sizes for the JDTLS server process and the IntelliCode embedded JVM
independently via serena_config.yml.
2026-03-29 19:35:13 -07:00
Dominik Jain af1de59d2b Adapt Dashboard documention in light of pywebview changes 2026-03-29 20:35:50 +02:00
Dr. Dominik Jain f221c74b0f Merge pull request #1243 from oraios/ls-name-normalisation
Improve LS symbol name normalisation handling
2026-03-29 18:50:58 +02:00
Dominik Jain a26d3337a7 Improve symbol typing
* Clearly differentiate between raw and high-level symbol types
* Remove the catch-all type GenericDocumentSymbol
* Introduce RawDocumentSymbol alias for the raw LS types
2026-03-29 17:54:05 +02:00
Dominik Jain 97a6845c78 SolidLanguageServer: Support name normalisation in request_document_symbols via new method
* Introduce method _normalize_symbol_name to support name transformation
* Apply in CSharpLanguageServer, fixing old override of request_document_symbols
  not accounting for overload handling (invalidating high-level cache accordingly)
* Apply in ALLanguageServer
2026-03-29 17:37:57 +02:00
Dominik Jain c184462938 Improve docstrings on cache versioning [skip ci] 2026-03-29 15:10:21 +02:00
Dominik Jain a7af5c1f8a Improve security documentation 2026-03-29 14:13:08 +02:00
Dominik Jain b00ae292ac Change default listen address of MCP server in HTTP mode to localhost
The previous default 0.0.0.0 was a potential security hazard
2026-03-29 12:11:40 +02:00
dependabot[bot] b5cf58372d Bump cryptography in the uv group across 1 directory
Bumps the uv group with 1 update in the / directory: [cryptography](https://github.com/pyca/cryptography).


Updates `cryptography` from 46.0.5 to 46.0.6
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/46.0.5...46.0.6)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 46.0.6
  dependency-type: direct:production
  dependency-group: uv
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-29 02:00:19 +00:00
Dominik Jain 07dbf5ed22 Implement proper fallback behaviour for dashboard viewer
Open browser if the viewer was supposed to be shown directly
2026-03-28 15:27:26 +01:00