Commit Graph
3277 Commits
Author SHA1 Message Date
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
Dominik Jain fa8cef0fe8 SerenaDashboardViewer: Fix typing issues 2026-03-28 15:27:26 +01:00
Dominik Jain 341b00577b SerenaDashboardViewer: macOS: Try to hide the main window icon from the dock when minimised to tray 2026-03-28 15:27:26 +01:00
Dr. Dominik Jain 926640f463 Merge pull request #1228 from oraios/prepare_find_implementation_tool
Prepare find implementation tool
2026-03-28 14:27:12 +01:00
AndreyPolovodov 4d0c80496b Merge pull request #1237 from AndreyPolovodov/fix/time-based-cache-save-during-indexing
Problem
Saving cache every 10 files causes extremely slow indexing on large projects because save_all_caches() is an expensive operation. On a large project it gets triggered thousands of times during indexing, making the whole process take hours instead of minutes.

Fix
Switch from a file-count-based trigger (every 10 files) to a time-based trigger (every 30 seconds). This keeps cache saves infrequent enough to not hurt performance, while still preserving progress regularly in case indexing is interrupted.
2026-03-28 14:18:55 +01:00
Dominik Jain 3856595080 SerenaDashboardViewer: Use 64px png icon on non-Windows platforms 2026-03-28 11:43:37 +01:00
Dominik Jain 1a4e57eec7 SerenaDashboardViewer: Attempt to fix tray on macOS (cannot run in background thread) 2026-03-28 11:37:54 +01:00
Dominik Jain d2d8e5d2a3 VueTypeScriptServer: Fix incorrect ignore behaviour
.vue files were incorrectly ignored because the source filename matcher of the
language (TS) was used
2026-03-28 01:14:05 +01:00
Dominik Jain 28bf726f53 Fix coordinates in TestDartLanguageServer.test_request_defining_symbol_variable 2026-03-28 01:14:05 +01:00
Dominik Jain 971941d5c6 Fix TestRubyLanguageServerSymbols.test_request_defining_symbol_method_call: Incorrect line/col 2026-03-28 00:31:01 +01:00
Dominik Jain a6884e0bef SymbolLocationRequest: Restore ignore behaviour 2026-03-28 00:31:00 +01:00
Michael PanchenkoandDominik Jain 08fb88a742 LS: support definition and implementation endpoints
Factorized out commonalities between references, definition and implementation endpoints

Co-authored-by: Dominik Jain <dominik.jain@oraios-ai.de>
2026-03-28 00:31:00 +01:00
Michael Panchenko fe6aca4de5 pinned regex to be python 3.14 compatible 2026-03-27 16:56:08 +01:00
Michael Panchenko 9f1b71a120 Merge pull request #1169 from oraios/update-all-yaml-comments
Force-update all comments in .yml files when resaving
2026-03-27 15:49:40 +01:00
Michael Panchenko 256041fa10 Merge pull request #1205 from zerone0x/fix/dashboard-show-experimental-langs-1177
fix: allow adding experimental languages from dashboard
2026-03-27 15:49:08 +01:00
Michael Panchenko e74acfffec Merge branch 'main' into features/move_and_safe_delete 2026-03-27 14:07:21 +01:00
Michael Panchenko 9735733802 Added SafeDeleteSymbol in LS world 2026-03-27 14:07:10 +01:00
Michael Panchenko 2aa6603dbb Added safe_delete and inline_symbol tools (JB backend) 2026-03-27 14:07:10 +01:00
Michael Panchenko 20e14fa158 Feature: move symbol WIP 2026-03-27 14:07:10 +01:00