Commit Graph

644 Commits

Author SHA1 Message Date
Lu Zhen 32dca546ff feat: invoke virtual debug interface
add and invoke virtual debug interface,
integrate the workflow.

Log: optimize reverse debug
Change-Id: If5f8ce6da84caf0ab58d7722ebda6c08f463f9ed
2022-11-01 13:09:38 +08:00
hongjinchuan 32e287998c feat: add toolbar
provide interfaces for registering and removing actions and widgets to toolbar

log: toolbar modification
Change-Id: I384dc5a63bdae1059110f1303ee258c866cbcca6
2022-11-01 09:51:56 +08:00
Huang Yu 8bbff9e2f3 fix: can't lanuch jdtls bug
1. remove old languageadapter config, reconfig done
2. jdtls init result can't recv

Log: fix bug
Change-Id: I255a9ec24037cef80498d7c8c0c3964ead211263
2022-10-31 15:58:19 +08:00
zhouyi 3b8105e618 fix: fix bug in cmake config popup dialog
1.fix popup position of cmake config dialog.

Log: fix bug
Change-Id: I193101e7e9da9070c29b668c0fa77fecc01611da
2022-10-31 13:27:03 +08:00
zhouyi 60f67f3cf0 fix: fix bug in language class register
1.modify cxx java python generator regist position.

Log: fix bug
Change-Id: I1be945f3d9dedc3bf51faa730c280fe31886fc9e
2022-10-28 11:39:10 +08:00
zhouyi 176b3c7b60 fix: add debugpy package check
1.check debugpy package before debug python.

Log: fix bug
Change-Id: Ie6688f31df5d4e2e4c682bf65aa77dce3278f4f1
2022-10-27 17:15:24 +08:00
zhouyi 508f5e3099 fix: fix bug in dap event and variable
1.fix bug about TerminatedEvent.
2.fix bug about variable infinite loop.

Log: fix bug
Change-Id: Idde1b6a2b67349cfda2cb1574ee34890a5fb7f7b
2022-10-26 11:57:27 +08:00
zhouyi b453499cec refactor: add language plugins and refactor debugger plugin
1.add cxx\java\python plugins.
2.modify data structs in cppdap.
3.move code about language in debugger to language plugins.
4.fix bug about debugmanager created many times in debugadapter.

Log: new operation
Change-Id: Ib607d019cdd216024ab862497916b4ef9fc4cece
2022-10-25 16:17:27 +08:00
Lu Zhen bee2eb2fc5 feat: add event list
support load dump file and display
event list at bottom frame.

Log: reverse debug add event list
Change-Id: I01cf67ed2dabc19cb92e915edf19451a4e9322f4
2022-10-25 10:10:33 +08:00
zhouyi 21215d4702 feat: add python dap
1.add python dap backend with debugpy.
2.add python dap frontend.

Log: new operation
Change-Id: I9060ec66e0ed9f3cc58776bbfdf8890a450f350d
2022-10-19 17:02:45 +08:00
Lu Zhen 15bb2809da feat: add dump config
the dialog can config stack/frame size and other parameters.

Log: reverse debug new ui
Change-Id: I7bfd612e4b5ba244e19c2616347bd6586c958307
2022-10-19 17:01:47 +08:00
hongjinchuan efb365f197 feat: Add shortcut key to switch editing window function
1、Add keyboard events

Change-Id: Ic2b202249f33ce93e0d70ea8f4491f933d557e3c
2022-10-19 15:13:08 +08:00
Lu Zhen 95ec0bba09 feat: add minidump produce logic
minidump produce is supported

Log: reverse debug new module

Change-Id: Ib0bb43a3755794abeba05f4a398843cb3f2c31b1
2022-10-18 14:36:28 +08:00
Huang Yu efb232500f refactor: change language adapter open lsp backend
change more from old lsp laucher and operation.

Log: refactor lsp adapter
Change-Id: I64550f2c149e7c91c38eb728189f581a3219b379
2022-10-17 11:44:25 +08:00
hongjinchuan 9408d2d790 feat: add icon to the menu bar
1.add icon resources
2.modify interface

Log: new operation
Change-Id: Id42dd3d751ca335c19c200fc7a0b52b9290684e2
2022-10-13 17:47:17 +08:00
zhouyi e4dc2e070d feat: fetch java mainclass and classpath with lsp
1. add java mainclass and classpath fetching in debugadapter backend.
2. adjust debugger frontend.

Log: new operation
Change-Id: Ic7bac7f73a69a8550231fa0a95f1bd4a7abbbb95
2022-10-13 17:47:05 +08:00
Huang Yu 471620533c fix: syntax highlighting/diagnostics/definition jump no working
1. parse process more sticking package data
2. change structure to new lsp
3. add definition response more structure

Log: fix bug
Change-Id: I424298f5df892864b8bd1388b7df3496858ceac4
2022-10-13 09:36:47 +08:00
zhouyi 1db70fe6a2 feat: add java dap
1.add java dap backend.
2.add java dap frontend.

Log: new operation
Change-Id: Ic9a601b406acf34f69c9c29229b06c7ca0c32eab
2022-10-12 11:17:35 +08:00
Lu Zhen db8886ec88 feat: reverse debug emd backend
reverse debug plugin initialization
emd backend tool commit.

Log: emd added
Change-Id: I7a3df00c1334e0a635b2df0b27b7fc889a694f9d
2022-10-11 14:37:57 +08:00
Huang Yu 015f210069 fix: hover and rename no working bug
1. used new lsp protocol hover and rename result structure
2. changed parse json object from response
3. add more display information call show tip from sci
4. changed rename emit logic

Log: fix Bug
Change-Id: I52f90359f0ef8d4e79aca14f7fd06e5447738859
2022-10-10 19:18:18 +08:00
Huang Yu 4ffbbc2d8b refactor: lsp protocol language features create new file
1. add language features file.

Log: refactor lsp protocol
Change-Id: I1c8aa018b7fb7f7ce9d288f491b3b34dd78ee972
2022-10-10 14:05:34 +08:00
Huang Yu c2cdaa1124 fix: recent plugin can't save opened and to opened project
1. add project new easy call interface
2. add recent new easy call interface
3. add bind event topic in project cmake&maven&gradle&py-directory receiver

Log: fix Bug
Change-Id: Ic8c29b3df70d6e382e83352984a2260e9daca497
2022-10-09 16:32:11 +08:00
Huang Yu 38bd6e39e4 refactor: add stdin jsonrpc parser
1. add jsonrpc parser

Log: refactor jsonrpc tcp
Change-Id: I8d5da897a66d7fab7dbc9046a09452d450e1f27f
2022-10-08 19:04:29 +08:00
Huang Yu 78aa4f58b0 feat: add easy declare and define interface call event
with change point:
    1. Call event can use OPI_OBJECT&OPI_INTERFACE Quickly declare and define events
    2. Send events as if using function calls
same ago:
    1. recv plugin register interface function

Log: add easy use devel interface to framework
Change-Id: I37387ce083d7845eeef57e47e1e27e4e04243a2c
2022-09-29 14:49:20 +08:00
Huang Yu 9e9591665a feat: open python project operation
1. add language python support
2. add python syntax highlighting(sci style)
3. add pip3 install package for python-language-server
4. add lsp option from python-language-server
5. refactor new version lsp specification

Change-Id: If776ce03a0c822e4f5c033d346253389147b87ba
2022-09-29 11:22:56 +08:00
zhouyi a3b855fc42 fix: fix bug in find plugin and breakpoint setting
1.fixed the bug in jumping to line in find plugin.
2.fixed the bug in removing all breakpoints when removing one breakpoint.

Log: fix bug
Change-Id: I160d8d9af074c0053d9541e45edd993bc33304a3
2022-09-26 11:44:53 +08:00
Lu 1101c9d798 feat: Invoke the editor interface
editor annotation and background color are supported,
so add event calling in codeporting.

Log: function optimization
Change-Id: I5b6dd3e8d35ca36e8162dacc6f983fc981a2c7e0
2022-09-19 15:46:11 +08:00
Huang Yu fd45b75a5b refactor: lsp client move to codeeditor plugin
1. use client and server lifecycle with editor
2. do port is overhead, to add port with to use
3. add languageadapter watcher with parent process, time space 300ms
4. fix token color in time update bug

Log: refactor
Change-Id: Icbf16249b9949d72fecc4e0223532c62591c7749
2022-09-19 13:45:26 +08:00
zhouyi 8eed09aec5 fix: fix bug in watcher dockwidget
1.fix bug about watcher window is not displayed when first startup.

Log: fix bug
Change-Id: I684152a79bb8f1d6c3574d064d74ac3a1cb393d6
2022-09-15 15:51:41 +08:00
Huang Yu 420bda5c33 feat: add edit file line Annotation and Background
1. add operation interface from Annotation & Background
2. add definition topic new words
3. changed topic from handler and interface

Log: new operation
Change-Id: I107809e94763daeb360c4c51513f042cfbc08d44
2022-09-14 23:30:15 +08:00
Lu bd5377ebfc fix: fix codeporting bugs.
change progress display like ...
fix asm match fault.

Log: bug fix
Change-Id: Ic695971e72680951a1b6b5fa58399d1a984cd526
2022-09-09 15:32:39 +08:00
Huang Yu 38fa63d235 feat: new performance tools adapter
1. add backend from perf and top tools(global and function)
2. add frontend from widget
3. add socket/deviceIO/vfs backend tool
4. add attach menu and mainwindow display framework
5. add glameGraph generator and open with default application

Log: new operation
Change-Id: I75f68e1f891d791eda6a9021dddd832e8bdc65dd
2022-09-08 16:29:16 +08:00
Lu Zhen dbc5be3e5d feat: project file scan supported in codeporting
use compiledb to produce project information,
add header scan code to find header in cpp file.

Log: project file scan supported
Change-Id: I1b27aa856060b49647d0db780f91098b91412488
2022-09-01 16:05:07 +08:00
Lu Zhen 1c3ee6d3b3 chore: refactor codeporting script and ui
remove useless package in python script,
rename alpha to sw_64,
adjust codeporting config ui.

Log: refactor
Change-Id: I3a579ec417aa6a09c72ce77a69fd5ac2a6fd06a9
2022-08-30 15:44:24 +08:00
Huang Yu b347dbd680 feat: quit can't kill lsp program languageadapter
1. treeview quit close all language backend

Log: fix bug
Change-Id: I6ca1559dfa9a5c01b112d9c3e128c991f3130c63
2022-08-30 14:45:44 +08:00
zhouyi 8ebc4f47ec fix: fix bug in builder and mainwindow
1.fix bug in debugger when building.
2.remove runtime and debug button on toolbar.
3.kill debugadapter when exited.

Log: fix bug
Change-Id: I9521300a8807a1eb766b196a3b0f073d08d43723
2022-08-30 10:51:29 +08:00
Lu Zhen abde6e9328 chore: optimize codeport report pane
optimize report output pane.
add header scanner.

Log: optimization
Change-Id: I424033a9e98ee9ad7eb8934ba0f183564db0f130
2022-08-26 16:59:53 +08:00
zhouyi e19b67b826 fix: fix bug in builder tip message
1.add builder param check.
2.modify build result notify translate mothod.

Log: fix bug
Change-Id: I9d5b4ca2b80ef0ebc05c1bd4ae78df7b6bc94363
2022-08-26 14:59:52 +08:00
Lu Zhen 951a716a35 feat: Add makefile matcher
add makefile type matcher in matcher factory.

Log: support depend lib scan
Change-Id: If034e57ea712b0b619fe43c5cb00313bf7d35f28
2022-08-25 11:38:23 +08:00
Lu Zhen f90aeba815 feat: upload mips dictionary
with gcc option and whitelist

Log: codeporting dictionary update
Change-Id: I45a3ec581521337a6558fc404b57659e7c50ee88
2022-08-24 10:53:31 +08:00
Lu Zhen 8600036c73 feat: update dictionary
add script to get arch data.
update dictionary include arm64、sw_64

Log: porting dictionary updated.
Change-Id: I24f9b10887b89ba492a3fca7ba397d399a4bf761
2022-08-18 14:13:14 +08:00
zhouyi 9e42748ea7 fix: fix bug in debugging cmake project
1.modify the way of calling builder when debugging.
2.fix bug in switching active project when debugging.

Log: fix bug
Change-Id: Ie09c3cfcc4d60d8430583827ff9ef5f0121735ac
2022-08-17 16:17:19 +08:00
Lu Zhen b6ec671544 feat: Upload arm platform dictionary
dictionary include asm、gcc option、intrinsics etc.

Log: arm platform dictionary uploaded.
Change-Id: I9b14359308ad03a3f15d3d7dbae2a7767436bdef
2022-08-17 16:14:24 +08:00
Huang Yu f95887a4e8 feat: rename java operation
1. fix java rename don't working

log: fix bug
Change-Id: I3ed898e444a31c41128a99747b1cfcc49a714b5f
2022-08-16 15:32:39 +08:00
Huang Yu 59fba25a7e feat: toolchecker service
1. check language backend logic move open project
2. add toolchecker service and add interface checkLanguageBackend
3. fix close program crashed

Log: new operation
Change-Id: Id57cbed97fb309389ee7c351321ea11a97dcd721
2022-08-16 15:32:29 +08:00
zhouyi f27f0e180f refactor: refactor debugadapter backend
1.unify debuger interface.
2.spilt out the gdb debugger.

Log: new operation
Change-Id: I8470ba936a161f86934fd9a3039cded00a1218a3
2022-08-12 16:11:34 +08:00
Huang Yu 9c23c18264 feat: fix delayed publishDiagnostics
1. notify to languageadapter sync read publishDiagnostics mess to buffercache
2. changed languageadapter sync read from client didChange and didopen notify

Log: fix Bug
Change-Id: I64a14757a95ab7c6f4f70f13e513670d9ed3c60b
2022-08-02 15:11:09 +08:00
Lu Zhen 3759440ada feat: add codeporting report pane
add codeporting pane, with the function
click jump to line and suggestion display.

Log: codeporting report pane added.
Change-Id: Ia4e1af13c5de98f4afaf30315f271896fcd95e03
2022-08-02 14:38:37 +08:00
Huang Yu caa46fd043 refactor: jsonrpc protocol reader client
1. add libjson-rpc-cpp version from 1.4.1
2. changed debian build depends
3. changed install include/tools/lib to unioncode private dir
4. replace client and server to json-rpc operation

Log: add new 3rdparty
Change-Id: Iee654aab561d3b0e21d24039b48e9bc0a195bfe1
2022-08-02 13:36:51 +08:00
Lu Zhen ad93dadbfa feat: Add codeporting to the frontend
let frontend can trigger codeporting operation,
and output the porting information at bottom pane.

Log: Codeporting added
Change-Id: Ibcb93a314d23a2e7b8ba9010db45757096f0ff7d
2022-07-29 11:28:02 +08:00