Commit Graph
2430 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
Dominik Jain 3929edede5 _iter_gitignore_files: Catch PermissionError
Relates to #1268
2026-04-02 10:31:48 +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
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
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 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 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