Commit Graph

436 Commits

Author SHA1 Message Date
Lu Zhen 9e2fac45aa feat: Add runtime config pane
Add project option pane at left
Add runtime config pane at right
change backend name.

Log: Add runtime config pane
Change-Id: Ie49c1732e13d40071956c0487a121abe9a5fe977
2022-04-21 09:38:47 +08:00
Lu Zhen 3ef1d66577 feat: Support project tree target build
build the project the user seleted in project tree.

Log: Support project tree target build
Change-Id: I1fa6aa98f8ff7419e588ca2d52bc0f33728f5138
2022-04-19 16:05:27 +08:00
Funning c0b9efb5a1 feat: build target from read file .cproject
read .cproject elem generat Menu widget and send message to ProjectService

Log: new operation
Change-Id: I16ba6651dc8833ab45499fffa276152753c0a8e1
2022-04-18 17:49:12 +08:00
Funning 988e3c5be5 fix: fix script bug from installed
script installed changed to unioncode lib installed path

Log: fix bug

Bug:

Change-Id: I042b11ccfab34305829ae74f7ebfa7d24620af89
2022-04-18 17:00:56 +08:00
Funning f2efe5162d feat: project right menu request and project top item rule
project menu rule

Log: new operation
Change-Id: Iedc19f13f7f73590c13a8c297d2469026778918e
2022-04-18 16:37:53 +08:00
xiaozaihu 114caa46e3 feat: rewrite toolchain scan script
1. rewrite toolchain scan script, support scan gcc-8, clangd-7

Change-Id: I37e0db683b545e377ef011ad483bd444b7579471
2022-04-18 10:31:17 +08:00
Funning 87b87834f1 feat: project display optimize
1.add subproject file cmakelist.txt
2.add open project jump to workspace

Log: new operation
Change-Id: Ie07366ccc4f41bfba101ec17310c23b94a412d3b
2022-04-15 15:25:44 +08:00
Funning e6e7d29abf feat: optimize display project tree icon
project optimize display icon

Log: new operation
Change-Id: If565f3481b83e9fcbbada0d3e3d4dd0a74ba58fc
2022-04-14 22:55:02 +08:00
Funning 9aa1869d7f feat: add get configure widget from project interface
add interface add generator rule

Log: add interface
Change-Id: I02d71c89528e423ff891a7eb5ea40d7894bac95d
2022-04-14 15:57:32 +08:00
Lu Zhen c7e604dd2a feat: Add build config pane
read config data from cmake generator and
diaplsy in the runtime pane.

Log: Add build config pane
Change-Id: I7f24691a3c5df05f501cebf680951455ab95030b
2022-04-14 15:18:06 +08:00
ut004236 fdc4f4e543 feat: redesign container interface and fix container-up.sh problem
1. redesign contaienr interface
2. fix container-up.sh problem

Change-Id: I8ef0210e5a9596d912b1deb4fc0dd1d9866659cb
2022-04-14 15:00:03 +08:00
Funning 65d1404a15 feat: cmake eclipse CDT4 project parser
cmake CDT4Project parser, and display

Log: new operation
Change-Id: I75d9827831e7f7fc6f10781570448a0351b5246e
2022-04-13 20:41:52 +08:00
Funning e960911c01 feat: project plugin and extension plugin cmake
cmake project framework

Log: new Operation
Change-Id: Id41cc0912eaadbbd4c892b46968ec73bd6809a20
2022-04-08 18:07:28 +08:00
Lu Zhen 30852ec294 feat: Add build issues pane
parse build ouput and display it in issues pane;
support pane switch.

Log: Add build issues pane
Change-Id: I50c5ab8422035245b20645d3e2cc050fe9ca31af
2022-04-07 12:16:30 +08:00
xiaozaihu c3e173b2e4 feat: add cross build toolchains and runc container supportted.
1. update toolchains.sh to support cross build toolchains scanning,
   support amd64, arm64 and mips64el.
2. add a virt envirnoment based on the runc container. launch the virt
   envirnoment when Union Code IDE launching.
3. add build container rootfs via debootstrap and import from Docker Image.
4. support install deb packages via apt inside the runc container.
5. support build c/c++ programs inside the runc container.

Change-Id: I74a195a53dfa988e85e859307c238c584e4c5eda
2022-04-02 13:45:15 +08:00
Lu Zhen 98f618ab4f feat: Supplement dap related functions
add gdb print,
add abort->launch & re-launch,
fix breakpoint hit issue,
fix client cannot get port issue

Log: Supplement debug print and re-launch functions
Change-Id: Ieabdb109ba79d31a2d90b11bdc38e7ce1f60904a
2022-03-31 10:19:54 +08:00
Funning 3494b103f5 feat: changed main widget framework
1. fix switch navtion widget bug
2. changed event key and data from commmon.h

Log: fix bug and changed mainframe
Change-Id: I958c84761ef2f68b35d2faa8ab1be5974ef9a4f6
2022-03-30 15:36:13 +08:00
Funning 7e63a92e8b feat: git tool from 3rdparty
add git navtion action and widget

Log: new operation
Change-Id: Ife10b8dc5cb1f922d3e6ba9b7d0424ce2cf9425e
2022-03-29 16:03:55 +08:00
HuangYu a569239b75 feat: fix completion can't show bug
1.cache edit use completion
2.mainwindow dock hide from child widget, not from minsize and recovery window

Log: fix bug
Change-Id: I1e88f3bd705bb17b51db05e509964503ffd56623
2022-03-25 09:51:27 +08:00
HuangYu 989fafd253 feat: default and lsp keyword height color style changed from file
changed color from style file

Log: new operation
Change-Id: I3f70fae71469acfbe153b819be26909bbdd95b66
2022-03-24 13:59:12 +08:00
Lu Zhen c75982cb97 fix: clear breakpoints when re-Debug
invoke function to clear breakpoints when
breakpoints request received.

Log: resolved the issue breakpoints not removed
Change-Id: I297b7215606a0173ca33a70d509aa24b92a90af7
2022-03-22 17:13:11 +08:00
HuangYu baca074ba4 feat: recent log for open folder and document
1.recent widget new operation, to opened save cache file
2.chenged splitter frame to dockwidget from codeeditor plugin
3.fix delete crashed bug

Log: new operation
Change-Id: Ia97d03fce6770e8d18cd72cd8cb1c7faa6ba236f
2022-03-21 16:09:08 +08:00
HuangYu de6bead212 feat: reanme operation and replace opened and not opened file
rename and replace

Log: new operation
Change-Id: I6efecdf09961a7546cc4c3b21742e5da4c45d514
2022-03-17 09:46:30 +08:00
Lu Zhen 956c5e0bdd chore: optimize dap backend
remove variable reference,fix some warnings
and make port adaptive

Log: optimize debug function
Change-Id: I29b42245dfaea9374b689d33de8a1d6be51c2388
2022-03-16 14:21:02 +08:00
HuangYu 36eaa37957 feat: refers from lsp to display refactor widget
jump refers and find usages code symbol

Log: new operation
Change-Id: Ib90d293d5b48c1e4309643901976340b30d30f8d
2022-03-15 15:56:55 +08:00
Lu Zhen 605173d369 fix: resolve debug re-launch iusse
add condition check to avoid re-launch debug,
fixed the debugger crashed issue.

Log: fix debugger multi-issues
Change-Id: I2e467520d4803e65f55cb23c1d8fa232794f8e87
2022-03-10 19:49:55 +08:00
Lu Zhen ab087781cd fix: synchronize backend stack workflow
add condition lock to keep workflow in order.

Log: fix the issue breakpoint not hit
Change-Id: I91cd2fdf5fcf8ad2eb07e6dbb6b62f95ae6c8074
2022-03-10 19:49:47 +08:00
HuangYu 5836976292 feat: fix bug jump file tab head switch
fix bug jump file for tabwidget head switch

Log: fix bug
Change-Id: I473db6202825a374047fabcdf5c45c46e2882c51
2022-03-10 09:50:26 +08:00
xiaozaihu 5e491bced5 fix: stack frame display duplicated
1. fix  multi files jump
2. fix stack frame display duplicated

Change-Id: Id04662f8e778578c79ad80fb5d2b557bf76d9781
2022-03-09 14:41:15 +08:00
HuangYu c520d618d0 feat: definition jump to decl file
add option jump to decltype from lsp definition request,
enter ctrl show word underline and mouse state for hand

Log: new option
Change-Id: Ife44987e4ebd735c9197a21c2ad94b0c021bb85d
2022-03-09 11:08:53 +08:00
Lu Zhen 85604117cc chore: optimize debugger pluggin
disable actions when usabless.
can re-launch debug.

Log: optimize debugger
Change-Id: I69f7d77b65242a6024118fe21df0b17b52844500
2022-03-08 15:50:12 +08:00
Lu Zhen 6001bc8f7b chore: add check before action triggered.
add check to avoid crash.

Log: add check to avoid crash
Change-Id: Id40e51e07fb354827eeb77fa3688d430c87556ca
2022-03-04 17:06:10 +08:00
xiaozaihu 4c52a654e5 feat: fix stackTraces request multimap key-values insert
1. change gdb mi respone result parse method, insert(key, value) to insertMulti(key, value)

Change-Id: Ieaa8e945549d52b440cef4bf03c41d30a312cc19
2022-03-04 15:37:05 +08:00
Lu Zhen 0124caa621 chore: move variable pane to window right.
move variable pane to window right.

Log: move variable pane to window right.
Change-Id: Ib3fc7eca0b933e7b080ca5c0a13ca3bc231e45c5
2022-03-04 10:13:51 +08:00
HuangYu 28942ab7c1 feat: fix bug from destory console plugin
1. destoryed console crashed bug from qtermwidget
2. add 3dparty from lxqt qtermwidget
3. changed debian from install file and build.

Log: add import abstract class
Change-Id: I573467e2034791c3b67e73da3b116b80c4359c54
2022-03-04 09:53:54 +08:00
xiaozaihu 38239e5762 feat: add exit event, terminate event
1. add exit event
2. add terminate event

Change-Id: Ib6a48e889611c92fefd7fb41cac640f4414b7592
2022-03-03 21:27:09 +08:00
Lu Zhen 7cab598e75 feat: clear UI when debug exit
clear pointer when debug exit.
support continue shortcut.

Log: clear UI when debug exit.
Change-Id: I7b4d383ea29518cdf859d1a5d11dc838dd5d0726
2022-03-03 20:41:53 +08:00
Lu Zhen 39e35facae fix: format the path that cmake produce
different local environment may cause the
path that cmake produce not be same,so format
it to keep unique.

Log: fix cannot find backend bug
Change-Id: Ie58f18cd7068af0f1e3a7fd9bde581b65f0488e5
2022-03-03 17:33:04 +08:00
HuangYu 46d42f7f3e feat: fix bug from debug jump to line and running to line crashed
fix crashed from debug

Log: fix bug
Change-Id: I6ebd5cf90240b254444f87355709f982cf608667
2022-03-03 16:58:40 +08:00
Lu Zhen 2c20e14724 feat: Dap backend can be auto-launched
use process to launch cxxdbg

Log: support debug backend auto-launch
Change-Id: I10b5c0c55ab29a7718bcb108cd53fc3d422ef98d
2022-03-03 13:25:55 +08:00
Lu Zhen 16ef7d677a fix: fix the issue cannot debug
add debug parameter

Log: fix debug issue.
Change-Id: I78d5220e8fd5b2ac8739b6c5c51fb5a47f64ea52
2022-03-03 11:02:19 +08:00
xiaozaihu 5fbd9b97a6 feat: switch stacktrace, scopes, variables request from async to sync mode.
1. stacktrace request switch async to sync
2. scopes request switch async to sync
3. variable request switch async to sync.

Change-Id: Ibaf13c6b33ba6b53e657b2f910ad4c4e3ca629b5
2022-03-03 10:25:16 +08:00
Lu Zhen f6fd0eafcc feat: Add debug auto-launch function
get target path from builder,
used by debugger for launch debug.

Log: debug function can be auto-launched
Change-Id: Iee6666b8d6bde962a5294e2b4bc163b16d132913
2022-03-02 18:01:33 +08:00
HuangYu e0100ebf3f feat: change style add clangd sepc version check
1. Changed clangd version check error only first
2. Changed lsp error style from margin
3. Add editor watch widget in main frame
4. Add dpf event from clean debug point and running

Log: Changed style
Change-Id: I6221348aaeb4ceea5b1486bfeaf661276667fb04
2022-03-02 09:47:00 +08:00
Lu Zhen 40f94a4a44 fix: resolve dap backend multi-issues.
fix the crash code;
add lock to keep synchronize, make the logic run in order.

Log: fix backend bug
Change-Id: Ic26f3eae40b1907498ac4d2a12f8c4fdce97080e
2022-03-01 10:21:32 +08:00
xiaozaihu da60b53f73 feat: add stackTrace, Scopes and Variables request handler
1. extend debugmanager to support more commands:
   pause, return, reverse, breakpoints, and so on.
2. extend debugmanager to work with library loaded event
3. add stackeTrace, Scopes and Variabes request handler.
4. add debug print information.

Change-Id: I8497a2a54aa2a2febfdf924c13b6c36006d6ab4e
2022-02-28 13:08:21 +08:00
HuangYu 051f374e27 feat: change c cmake language support file
1. Add strong type syntax setting definition.
2. Changed lsp build structure.
3. Changed codeeditor plugin file tree
4. Add file save operation
5. Add debug point && running point offsize

Change-Id: If0df72ea710f31b4fcde534ebe30c88147b05607
2022-02-28 11:42:20 +08:00
Lu Zhen 72b98e798b chore: re-write dap backend
Add dapsession to wrap dap protocol;
breakdown the code in main function;
Process multi-threads issue.

Log: re-write dap backend
Change-Id: Ied1b3d327df32fffb4438f30a5529ed36d071762
2022-02-25 16:55:16 +08:00
Lu Zhen 44be519ca4 chore: refactor debugger plugin
Wrap debug funtion in debugger class;
emit signal from event receiver to debugger;
menu action can triggered asynchornize;
change output message color.

Log: refactor debugger plugin
Change-Id: I22f3962ef998608da708f1902f5a8664c75253b5
2022-02-25 10:01:07 +08:00
Lu Zhen a3f35e2248 feat: Add exception event process logic
Receive exception event from backend,and
show a dialog to display the message.

Log: exception event can be processed.
Change-Id: Ie41ce02c5d4ceef01ce3d5a6531cf9879685fc62
2022-02-22 20:10:38 +08:00