Skip to content

Releases: arduino/arduino-language-server

0.5.0-rc6

03 Dec 13:46
Compare
Choose a tag to compare
0.5.0-rc6 Pre-release
Pre-release

Changelog

83d82b5 Remove unsupported showMessage message... oops

0.5.0-rc5

03 Dec 12:32
Compare
Choose a tag to compare
0.5.0-rc5 Pre-release
Pre-release

Changelog

4b8b569 Do not rename if the operation spans out of the sketch
bd5ee6b Handle rename symbol
b3d9169 Do not block on clangd notification

0.5.0-rc4

02 Dec 16:29
Compare
Choose a tag to compare
0.5.0-rc4 Pre-release
Pre-release

Changelog

5ee9731 Handle ctags failing to report the correct line number
71dd136 Partial refactoring of CodeAction conversions subroutines

0.5.0-rc3

02 Dec 09:38
Compare
Choose a tag to compare
0.5.0-rc3 Pre-release
Pre-release

Changelog

6847aa5 Ensure write-lock for text-format
b5031d3 Fixed line conversion for .cpp/.h
a8ccf12 Inlined didClose method
975d40f Correct handling of textchanges in .cpp/.h
cf3008d Correct handling of diagnostics from .cpp/.h
de600c5 Handling of non-standard $/setTraceNotification message
5446598 Completed refactoring of didChange message handler
a684850 Reorganization of didClose (wip)
525f6a8 Some refactoring of CodeActions handling, still work in progres...

0.5.0-rc2

25 Nov 12:54
Compare
Choose a tag to compare
0.5.0-rc2 Pre-release
Pre-release

Changelog

76cda4a Refactored and straighted up TextDocumentDocumentSymbolReqFromIDE
a5d6bfd More variable naming adjustments...
d46307c Adjusted advertised server capabilities
ceb1c21 Fixed TextDocumentSignatureHelpReqFromIDE
5189b8b Fixed TextDocumentHoverReqFromIDE handling of null ranges
de32cd3 Refactored and simplified TextDocumentCompletionReqFromIDE
08c8827 Some more renaming
aea355d Dramatically simplified ide2ClangTextDocumentPositionParams
fd61ed4 Fixed typos
1ca00ec Updated go version used by gh-actions build workflow

0.5.0-rc1

23 Nov 14:56
Compare
Choose a tag to compare
0.5.0-rc1 Pre-release
Pre-release

Changelog

f590f7a Fixed format and selection-format; still refactoring/renaming
d9872e2 Moved documentSymbol handlers in the proper place
c8ad100 Made proper error for UnknownURI
00590aa Refactored and rationalized in-preprocessed section updates
b515c35 Dramatically simplified diagnostics conversion
1cc4c0c Some more moving/renaming of functions
e2637a2 Moved completed conversion functions to separate files
a1bfd83 Fixed Highlight coordinates; continued refactoring jargon (ino/cpp -> ide/clang)
e01da53 Fixed Hover coordinates; started refactoring jargon (ino/cpp -> ide/clang)
a2942cd Correctly handle shutdown
8291147 Allow querying datafolder via gprc
387a275 Added command line options to allow daemon connection
3ba5af0 Factored configuration paramaters for the language server
0869a5f Terminate LS if we are unable to start clangd
e13dcc8 Added logging of failing builds
87d8a62 Added profiler in debug mode
27c3eb6 Use arduino-cli RPC to ger sketch compiled
e709702 updated dependencies
84c418a Removed outdated launch config
43755fd BIG REFACTOR: build sketch is triggered on every change
ad47a52 change go.mod
d0c0168 Moved textutils in lsp package, slightly improved logging
98bbd42 Fixed synchronization problem with clangd
ff7d9bd Updating go.mod
162db7f Factored out clang starter
b30c074 Factored initializeWorkbench function
f0a3a30 Do not send full text in didSave notification to clangd
c8d2e5e Refactoring of the builder
0073fd3 Added error color in loggin to make errors more visible
df25ec5 send DidChange notification together with DidSave
ccbc0c6 Fixed wrong condition in SignatureHelp handler
14274fa Addded missing options in ServerCapabilities
7f463d8 Renamed InoMapper -< SketchMapper
592b11b fix: when rebuilding sketch file send a didSave notification instead of a didChange
fb4b242 improved logging and some refactorings
a82b525 Renamed fields and improved didChange handling
83860ca Load CPP symbols only after adding the file
fca69e3 removed dependency
cfd57dd Improved progress logging
270c49c Made logging color more coherent
be08b32 Handled events 'shutdown' and 'exit'
6cceaac Better isolation of LSPClient/LSPServer
07011ac Reorganized repository
dec44e9 Introduced lsp.Client/Server and big improvement in logging
63c7ad1 Major improvement in logging
2e2166a Renamed INOHandler to INOLanguageServer
99fa3a8 removed old LSP lib
1942ec4 Big refactoring to get rid of all legacy lsp/jsonrpc2 stuff
08181a1 Merge pull request #88 from arduino/fix-gh-actions

0.0.1

23 Nov 14:45
Compare
Choose a tag to compare

Changelog

66a6d0e Run publish after build
cba46f8 Merge pull request #87 from arduino/gh-workflows
0d660a6 Added gh-action workflows and build tasks
68ebb5d Merge pull request #82 from per1234/sync-labels
7d66b6d Add CI workflow to synchronize with shared repository labels
e453c5f Merge pull request #83 from per1234/update-runner
bbba79f Bump Linux runner version for build workflow
134ca4d Merge pull request #81 from arduino/fix-completion-refs
9924544 Fixed textDocument/hover response range coordinates
abe52b9 Merge pull request #78 from MrcJkb/main
19cbd82 Update inoURI after (the optional) inoToCpp conversion
2fdf332 Increased logging in textDocument/completion response message
7e39773 Update README.md
2f5fbcf Update README.md
93659a0 Add usage instructions to README.
64a0e42 Merge pull request #77 from arduino/scerza/config-flag
5e04001 Add flag to set cli config file
436276b Merge pull request #69 from arduino/do-not-consider-preprocessed-section
4083356 Update default formatter configuration
08de1bd Added -format-conf-path flag
59f0539 Use custom .clang-format file in sketch if present
2b471cf Force a different clang-formatter configuration on autoformat
63e2721 Do not consider preprocessed section as part of the sketch.
e436a82 Merge pull request #74 from per1234/security-disclosure-policy
b1f73af Add security policy link to readme
a25c58f Merge pull request #73 from arduino/readme-release
3707ab0 Update README.md
bc76211 Update README.md
4de9082 Merge pull request #72 from arduino/fix-imports
39849ad update links and imports
76c61ae Merge pull request #71 from arduino/scerza/workflow-branch-update
1c1106f Remove .gitpod files
4d1d1f2 Update links in PRs template
19ca586 Change workflow branch from master to main
25b7929 Add apache2.0 LICENSE.txt file
58cd4e9 Add apache2.0 LICENSE.txt file
3d053e2 Merge pull request #67 from bcmi-labs/progress-race-cond
49f794f Merge pull request #66 from bcmi-labs/scerza/add-supporting-files
62e5552 Improved logging of LSP messages
5c2c156 Fixed progress bar race condition
9d92851 Add README, issues and PRs templates
18e31ef Merge pull request #65 from bcmi-labs/race-condition
8221a5b Ensure buildPath is initialized before accepting requests
e4afa32 Merge pull request #64 from bcmi-labs/stability-fix
5a8b048 Fixed improper canonicalization on Windows
e8b6ccc Merge pull request #63 from bcmi-labs/tmp-folder
397053c Better cleanup...
72884b6 Use a custom temp folder to make all LS business...
248f8fd Merge pull request #62 from bcmi-labs/fix-locking
8c3243d Correct locking for condition variable
d1ee1ba Merge pull request #61 from bcmi-labs/stability-fix
32fcf17 Slightly verbose logging
3b9d676 Use canonical path in sketchRoot
7ab6b4b Merge pull request #60 from bcmi-labs/stability-fix
92b0697 Correctly interpret empty DocumentSymbol arrays
8eb20fe Slightly refactored tests
3169647 Merge pull request #59 from bcmi-labs/compile_database
fcfc8a7 Whitelist all .arduino15/packages dir for clang driver detection
23b5a34 Detect include changes even on include with quotes
dcaf05a Merge pull request #58 from bcmi-labs/stability-fix
9c332bb Do not bail out if compile_commands.json is empty
508ca69 Merge pull request #57 from bcmi-labs/fix-publish-diagnostic
37f3b38 Better handling of publishDiagnostics
21d9a7c Use canonical paths everywhere
0489a1c Merge pull request #56 from bcmi-labs/include-fix
88647ab Check for includes changes at the right place
fa579af Merge pull request #55 from bcmi-labs/stablity-fix
eeabe2c Consider also '#include' lines to trigger re-builds
c2e6b69 extracted examineCompileCommandsJSON function
51c75e6 Merge pull request #54 from bcmi-labs/stablity-fix
e485484 Fixed concurrency and improved checks for sketch-rebuild trigger
2a31a25 reduced log
fd6769e Added textutils.ExtractRange function
750f0bf Another improvement in loggind (data locks)
f1cf6ba Fixed documentSymbol handling for Windows
5dd3ea2 Fixed documentSymbol update deadlock
16fddf1 Merge pull request #53 from bcmi-labs/logging
35f4685 Sligltly increased logging
881fb94 Added some missing panic catchers
4ab09ab Improved logging of jsonrpc requests
60d3a1b Merge pull request #52 from bcmi-labs/lang-id-fix
a159dbf Fixed 'languageId' field in TextDocumentItem
e46f82a Merge pull request #51 from bcmi-labs/patch-3
ce6e1cd Dramatically improved progress handling
5f3c065 Handle progress messages sequentially
007164d Merge pull request #50 from bcmi-labs/query-drivers
2389e3d Fixed compiler query driver on Windows
ff898bf Merge pull request #49 from bcmi-labs/patch-2
429acc5 fixed tests for sourcemapper
0ce1169 detach clangd initialization from arduino LS initialization
d7969be Increased logging data
505b583 Removed useless logic from AsyncHandler
956770a Added a long empty header while restarting logging
7e45b5c Use canonical form for files when dealing with URI
79df7c1 Merge pull request #48 from bcmi-labs/patch-1
a01225c Clean-up temp source-overrides once done
c36cf56 Improved support for LSP 1.17/clangd 11.0
e807d55 Added progress reporting support
c76120c Fixed documentHighlight message pointers
15b81ad Restructured DocumentURI handling
f88db97 removed unused function
8e05a86 Merge pull request #47 from bcmi-labs/clangd11
12e7ca7 Added support for clang 11
f8fae02 Merge pull request #45 from bcmi-labs/stablity-fix
bd78817 Handle external error gracefully
a61de91 Merge pull request #44 from bcmi-labs/use-clang-for-sketch-change-detection
d03920d Leverage clangd to detect function prototypes changes
a6563f3 Merge pull request #43 from bcmi-labs/other-fixes
b6edaee Implemented didClose message
e86003c fixed didOpen error return
5902ba6 added rangeFormatting
b3f97b9 Minimal didSave implementation
d445e1d Merge pull request #42 from bcmi-labs/highlight-support
d12931f Added textDocument/highlight support
49aadf2 Merge pull request #41 from bcmi-labs/go_to_definition
4c2027c implemented go-to-definition and a bunch of other correlated messages
9831476 Merge pull request #40 from bcmi-labs/formatter
a5afeeb Implemented text formatter
98b7e45 Keep cppURI for clangd->ino conversion
303635e CppToIno range conversion now considers endline overlaps
af2c223 Added DebugLogAll function in sketch mapper
2c80ae7 Added InoMapper.CppToInoRangeOk() method
69048b8 Merge pull request #39 from bcmi-labs/fix_undeclared_var_use
b2da3a2 Force sketch rebuild check if "undeclared_var_use" error is detected
1daeb70 Merge pull request #38 from bcmi-labs/big-refactoring
c2c6d96 Improved panic log handling
796a463 Fixed text synchronization issues
e5c82d6 Fixed publishDiagnostics for .cpp files
d9eeb0c didOpen now handles .cpp / .h files too
c51689a Added .Ext() method on DocumentURI
91d2376 Fixed typo
9cd5943 updated arduino-cli version
414f11b correctly handle diagnostics update
2836832 renamed InoHandler.trackedFiles -> docs
476eabc Added String method to DocumentURI
da6892e Fixed doc sync infinite loop bug
54bfcf1 re-preprocess sketch if there are changes in the c++ functions outline
4590458 Added some Commands.Arguments
611bf6b Updated go-paths-helper
804136d Implemented sketch rebuild
ff6c799 fixed case in 'omitempty' directive
80eb6f3 removed no more used functions
f8b79ea implemented documentSymbol caching
fdd4a7f fixed dirty change detection
10355fa Fixed content tracking version mismatch warning
556b426 removed unused field
943cfa8 removed wrong synchronization directives
c3eac7a Added InitializedParams lsp structure
8a67a18 didChange now keeps track of changes in the text
7943ae1 partial implementation of documentSymbol
aac7cdc re-enable global message handling synchronization
f9b9ad6 Added lsp protocol decoding tests
749ab91 Append to logs instead of overwriting
91241a3 Implemented textDocument/documentSymbol
57a46b3 partial implementation of codeAction
e227159 inline completionList
b675233 Log by redirecting stderr, this helps to log panics in goroutines
bf332d7 let's panic on un-handled functions
474f2e7 inlined Hover response handler
736739a implement cleaning of diagnostics
b27fb0f improved logging
039617b first implementation of textDocument/didChange
8d099f9 track version in tracked files
5f19408 Added methods to apply text-changes in sketch mapper
4401a25 sketchMapper: added info about preprocessed lines
d07b2ab use lsp helper in sourceMapper
23b6d9c slightly improved logging
049d19f Moved URI helper in lsp module
5b8ca71 Forked https://github.com/sourcegraph/go-lsp
0d5f610 Slightly improved logging
ed22a4b Added implementation for 'textDocument/hover' message
436052b Implemented textDocument/publishDiagnostics
84b85b7 Made a more clean logging
f070822 Implemented 'completion' message
dbbc34f Accept all compiler for querying drivers (g++ and gcc for example)
a9580aa Big refactoring in LSP handling
a01cf52 slightly refactored syncer
ee6b06e InoMapper now maps all .ino files in a project
9b0a39b Converted method-switch into type-switch
09d329d Consume stderr if no log file is specified
a03fc20 Output stackstrace in log in case of crash
12a1bf6 Create a source mapper object and factored textutils subroutine
a8d0ddc Some refactoring wrt logging and debugging
3ec5d2a updated go modules
e9ee267 When logging command output add also the command line args
eea4010 Use github.com/arduino/go-properties-orderedmap for handling properties
a42ba9f Merge pull request #36 from bcmi-labs/run-publish-only-from-master
17214d3 Manual builds must not publish when not on master.
ed06b38 Merge pull request #35 from bcmi-labs/compile_commands
2e949ef Can feed clangd with the compile commands dir.
582ee28 Merge pull request #34 from bcmi-labs/fix-action-for-s3-upload
5b9966f Use 'docker://plugins/s3' for the S3 upload
14711f5 Fixed the typo for the 'schedule' condition.
8ecee04 Merge pull request #32 from per1234/port-ci
3b99c8b Port CI to GitHub Actions
50e988f Merge pull request #31 from bcmi-labs/GH-30
4ef3fb6 Generalized 'No such file or directory handling'
580d370 Merge pull request #29 from bcmi-labs/fix-cpp-and-compile-flag...

Read more