Skip to content

0.0.1

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Sep 11:11
· 12 commits to main since this release

Changelog

d51370a Disable s3 push for testing
c68e2de Update release-go-task workflow to handle darwin_arm64 notarization
e3c08b4 Add support for MacOS arm64 build in the taskfile
3150919 Merge pull request arduino#135 from per1234/check-dependencies
8479017 Manually define dependency license metadata that was not detected
ec3be46 Make initial commit of dependency license metadata
435d59b Add CI workflow to check for unapproved Go dependency licenses
af4668b Merge pull request arduino#133 from per1234/update-clang-format-config
e77f981 Sync sketch formatter configuration from source
bc125ab Merge pull request arduino#132 from arduino/check-license
1c54eae Add CI workflow to check the license file
31207da Merge pull request arduino#131 from arduino/check-markdown
c64fca7 Emptied 'docs:generate' to allow other tasks to run smoothly
ba4675b Add CI workflow to check Markdown files for problems
24cb630 Merge pull request arduino#128 from arduino/check-go
39e09a4 Made all message callback private
b0b2d2c Made ProgressProxyHandler private
7b55996 Added some godoc comments
c81f090 Made ClangdLSPClient private
d17645a Added comment and renamed UnknownURI->UnknownURIError
edeb727 Made sketchRebuilder private
c494eeb Fix formatting errors in go files
983d069 Add CI workflow to lint and check formatting of Go code
c1ceab9 Merge pull request arduino#129 from arduino/check-taskfile
0c8d37c Add CI workflow to validate Taskfiles
b044e10 Merge pull request arduino#130 from arduino/update-windows-runner
46bd823 Bump Windows runner version for build workflow
25afeae Release 0.7.1
dd92dd7 Merge pull request arduino#124 from arduino/flag_to_disable_real_time_errors
4c974dc Added flag to disable real-time PublishDiagnostics push
96c7d69 Merge pull request arduino#123 from arduino/upgrade_go
0bfc477 Upgrade golang build task to golang-1.18.3
9efe4c4 Release 0.7.0
dc5b582 Merge pull request arduino#117 from arduino/various_fix
23a0f04 Merge pull request arduino#118 from arduino/speed_improvements
f9eafe3 Added cmd line flag to enable faster builds
769aaf6 Some small enhancement accessing concurrent resources
f794220 Language server now skips libraries detection while editing
27011c9 Fixed typos
54da645 Removed unused fields
eaae9a8 Updated some deps
0384c34 Implement a no-op workspace/didChangeConfiguration (arduino#114)
0eb2bfa Added a short notice if the server is used interactively
e0487b4 Do not bail-out if incorrect ranges are requested via DocumentSymbol
7fc6ab3 Merge pull request arduino#115 from joewreschnig/autopath
5c1c667 Merge pull request arduino#113 from arduino/update_libraries
6b7815c Merge pull request arduino#116 from joewreschnig/branch-name
6fa5799 Update README to indicate these are no longer required
199fe78 Fix the ideal PR target branch (see also 19ca586)
9d859f4 Auto-detect arduino-cli.yaml in ~/.arduino15
e7b8550 Auto-detect any clangd and arduino-cli in $PATH
0380211 Updated some dependencies
2554452 Merge pull request arduino#110 from arduino/log_micros
e30d0e4 Added logging of timings
22ca780 Merge pull request arduino#108 from per1234/issue-forms
444b8ba Use form-based issue templates
2aa57b4 Merge pull request arduino#103 from arduino/dependabot/github_actions/actions/setup-go-3
3c62bda Merge pull request arduino#104 from arduino/dependabot/github_actions/actions/download-artifact-3
9f7867f Bump actions/setup-go from 2 to 3
613f153 Bump actions/download-artifact from 2 to 3
91257ff Merge pull request arduino#105 from arduino/dependabot/github_actions/actions/upload-artifact-3
44c8387 Merge pull request arduino#106 from arduino/dependabot/github_actions/actions/checkout-3
12219b1 Bump actions/checkout from 2 to 3
52f0461 Bump actions/upload-artifact from 2 to 3
732ead9 Merge pull request arduino#102 from per1234/github-actions-dependabot
fa4699d Configure Dependabot to check for outdated actions used in workflows
835a2f5 Release 0.6.0
472ef9b Merge pull request arduino#96 from arduino/fix_progress_leak
b34adf1 Fixed some typos
cc3fbad Send progress-end messages before shutting down
d3def8a Merge pull request arduino#95 from arduino/force_rebuild_on_new_files
073039a Try to filter as much bogus errors as possible
3b7271a When new files are added to the sketch do a complete build to synchronize all files
277add1 Merge pull request arduino#92 from arduino/suppress_bitfield_errors
e2ccbfa Merge pull request arduino#94 from per1234/bump-download-file-action
af923db Canonicalize path to clangd for query-driver parameter
ecda674 Suppress 'anon_bitfield_qualifiers' errors
c132863 Release 0.5.0
5664d30 fix readme
72fc111 Merge pull request arduino#89 from arduino/megarefactoring
52d96f0 updated README
287e8ba Canonicalize dataDir path before passing it to clangd
4cbf9f3 Handle special case in text-edits
83d82b5 Remove unsupported showMessage message... oops
4b8b569 Do not rename if the operation spans out of the sketch
bd5ee6b Handle rename symbol
b3d9169 Do not block on clangd notification
5ee9731 Handle ctags failing to report the correct line number
71dd136 Partial refactoring of CodeAction conversions subroutines
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...
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
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 arduino#88 from arduino/fix-gh-actions
66a6d0e Run publish after build
cba46f8 Merge pull request arduino#87 from arduino/gh-workflows
0d660a6 Added gh-action workflows and build tasks
68ebb5d Merge pull request arduino#82 from per1234/sync-labels
7d66b6d Add CI workflow to synchronize with shared repository labels
e453c5f Merge pull request arduino#83 from per1234/update-runner
bbba79f Bump Linux runner version for build workflow
134ca4d Merge pull request arduino#81 from arduino/fix-completion-refs
9924544 Fixed textDocument/hover response range coordinates
abe52b9 Merge pull request arduino#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 arduino#77 from arduino/scerza/config-flag
5e04001 Add flag to set cli config file
436276b Merge pull request arduino#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 arduino#74 from per1234/security-disclosure-policy
b1f73af Add security policy link to readme
a25c58f Merge pull request arduino#73 from arduino/readme-release
3707ab0 Update README.md
bc76211 Update README.md
4de9082 Merge pull request arduino#72 from arduino/fix-imports
39849ad update links and imports
76c61ae Merge pull request arduino#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 arduino#67 from bcmi-labs/progress-race-cond
49f794f Merge pull request arduino#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 arduino#65 from bcmi-labs/race-condition
8221a5b Ensure buildPath is initialized before accepting requests
e4afa32 Merge pull request arduino#64 from bcmi-labs/stability-fix
5a8b048 Fixed improper canonicalization on Windows
e8b6ccc Merge pull request arduino#63 from bcmi-labs/tmp-folder
397053c Better cleanup...
72884b6 Use a custom temp folder to make all LS business...
248f8fd Merge pull request arduino#62 from bcmi-labs/fix-locking
8c3243d Correct locking for condition variable
d1ee1ba Merge pull request arduino#61 from bcmi-labs/stability-fix
32fcf17 Slightly verbose logging
3b9d676 Use canonical path in sketchRoot
7ab6b4b Merge pull request arduino#60 from bcmi-labs/stability-fix
92b0697 Correctly interpret empty DocumentSymbol arrays
8eb20fe Slightly refactored tests
3169647 Merge pull request arduino#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 arduino#58 from bcmi-labs/stability-fix
9c332bb Do not bail out if compile_commands.json is empty
508ca69 Merge pull request arduino#57 from bcmi-labs/fix-publish-diagnostic
37f3b38 Better handling of publishDiagnostics
21d9a7c Use canonical paths everywhere
0489a1c Merge pull request arduino#56 from bcmi-labs/include-fix
88647ab Check for includes changes at the right place
fa579af Merge pull request arduino#55 from bcmi-labs/stablity-fix
eeabe2c Consider also '#include' lines to trigger re-builds
c2e6b69 extracted examineCompileCommandsJSON function
51c75e6 Merge pull request arduino#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 arduino#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 arduino#52 from bcmi-labs/lang-id-fix
a159dbf Fixed 'languageId' field in TextDocumentItem
e46f82a Merge pull request arduino#51 from bcmi-labs/patch-3
ce6e1cd Dramatically improved progress handling
5f3c065 Handle progress messages sequentially
007164d Merge pull request arduino#50 from bcmi-labs/query-drivers
2389e3d Fixed compiler query driver on Windows
ff898bf Merge pull request arduino#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 arduino#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 arduino#47 from bcmi-labs/clangd11
12e7ca7 Added support for clang 11
f8fae02 Merge pull request arduino#45 from bcmi-labs/stablity-fix
bd78817 Handle external error gracefully
a61de91 Merge pull request arduino#44 from bcmi-labs/use-clang-for-sketch-change-detection
d03920d Leverage clangd to detect function prototypes changes
a6563f3 Merge pull request arduino#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 arduino#42 from bcmi-labs/highlight-support
d12931f Added textDocument/highlight support
49aadf2 Merge pull request arduino#41 from bcmi-labs/go_to_definition
4c2027c implemented go-to-definition and a bunch of other correlated messages
9831476 Merge pull request arduino#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 arduino#39 from bcmi-labs/fix_undeclared_var_use
b2da3a2 Force sketch rebuild check if "undeclared_var_use" error is detected
1daeb70 Merge pull request arduino#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 arduino#36 from bcmi-labs/run-publish-only-from-master
17214d3 Manual builds must not publish when not on master.
ed06b38 Merge pull request arduino#35 from bcmi-labs/compile_commands
2e949ef Can feed clangd with the compile commands dir.
582ee28 Merge pull request arduino#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 arduino#32 from per1234/port-ci
3b99c8b Port CI to GitHub Actions
50e988f Merge pull request arduino#31 from bcmi-labs/arduinoGH-30
4ef3fb6 Generalized 'No such file or directory handling'
580d370 Merge pull request arduino#29 from bcmi-labs/fix-cpp-and-compile-flags-files-path
98e078c Do not escape line breaks for 'window/showMessage'
4d6cc2f Fixed path of the gen cpp and compile_flags files.
1a22df3 Merge pull request arduino#28 from bcmi-labs/arduinoGH-27
503a272 Fixed a compatibility issue with the 0.11.0 CLI.
5eaca3c Merge pull request arduino#26 from bcmi-labs/force-macos-deployment-target
e8103c5 Build with MACOSX_DEPLOYMENT_TARGET on macOS.
1241c16 Merge pull request arduino#25 from bcmi-labs/ci-latest-xcode
fb2d7bc Build on latest Xcode to avoid sining issues
0fdfae4 [build] Updated to macOS 10.14
8fb6d89 Don't show error message for missing board without name (arduino/arduino-pro-ide#134)
e3a4767 Support libraries with no src folder (arduino/arduino-pro-ide#22)
c1b4166 [build] Use .exe suffix for Windows
485a8f8 arduino/arduino-pro-ide#166: Discard error stream of clangd unless logging is active
6086aff Added synchronization of message processing, removed "arduino/selectedBoard"
f62da6e Fixed arduino#15: relax character index on last line
6bd1522 Fixed arduino#21: Hide proposals starting with underscore
209f171 Make sourcemaps more resilient against out-of-range modifications
4f4e489 [bugfix] fix arduino#10 by hard de-dupping documentSymbols
1ec92fd [misc] Make stream logging less intrusive
a21f92d Added .gitpod.yml
24b77c3 Several improvements
3a51dda Several improvements
f7b8ee8 Added initial board argument, restart clangd on board change
258f45a Fixed compile error
745cf63 Added support for sam boards
a1f0aa6 Fixed arduino#1: Added JSON-RPC message to obtain board configuration
2b39f5a Fixed URI test
1b4e560 Fixed URI conversion for Windows
1aeecf8 Added error handling for more helpful messages to the user
2d826f4 Show error message when preprocessing fails
c32ed19 Added workspace/symbol
186f2ad Added textDocument/signatureHelp
5b0fb1e Added textDocument/rename
ae7cbe0 Added textDocument/documentSymbol
9ac2644 Added textDocument/formatting
d3d0e34 Added nightly build schedule
50e97c4 Added textDocument/codeAction
71d1280 Added textDocument/references
bb6b506 Resolve symbolic links of temporary folder
c3d4d55 Added launch.json
6b27e58 [build] Improved formatting
5d07a1e Added command line argument for specifying cli path
e69a455 Added S3 upload task
f9401dc Enabled multi-architecture build
7c660f3 Set up CI with Azure Pipelines
0cc9027 Added argument to specify clangd executable path
7837af4 Created Go module, moved handler code to subpackage
38cf645 First draft of Arduino language server