Commit Graph

42 Commits

Author SHA1 Message Date
Cyano Hao e67e329ef1
Use font list (#269)
* add icons

* place text vertically center in qsynedit

* use font list
2024-03-13 19:17:25 +08:00
Roy Qu e2d5a18c3f fix: font not correctly set in the cpuinfo window 2024-03-11 17:38:51 +08:00
Roy Qu b359004f95 work save 2024-03-10 11:15:10 +08:00
Roy Qu 4567e11f43 fix: can't compile 2024-03-08 10:06:18 +08:00
Roy Qu 30ed2fac79 - fix: Fallback font doesn't apply before restart
- fix: first indent line doesn't show
 = fix: Selection background not correctly drawn
2024-02-29 19:17:14 +08:00
Roy Qu 0bab75cfd6 enhancement: force fixed width 2024-02-28 11:51:02 +08:00
Roy Qu 451e201881 enhancement: enable/disable fallback fonts 2024-02-27 13:05:38 +08:00
Roy Qu dfd7075dfb add more fall back fonts 2024-02-26 18:22:02 +08:00
Roy Qu b57bbc34f9 Use fallback font instead of non-ascii font 2024-02-26 15:15:26 +08:00
Roy Qu da3dda97e3 - enhancement: Add "Close window" and "Move to other view" in the "Window" menu
- enhancement: Auto open CPU info dialog, if the program in debug is stopped at a position that have no source file.
  - enhancement: "add watchpoint" when debug. It's hitted when the watch variable is modified, or it's out of scope.
  - enhancement: Switch current call stack frame in the CPU info dialog
  - fix: Shouldn't try evaluate value of the selection in the cpu info dialog.
  - enhancement: Show oct/bin/bin value in the memory view's tooltip.
  - Don't set optimization level to -Og in the Debug compiler set. (Some variable can't be view in the memory view, because they are put in registers.)
2023-03-03 17:20:33 +08:00
Roy Qu 7943801f91 - emhancement: Improve display of disassembled codes in the cpu info dialog. 2023-03-01 20:28:00 +08:00
Roy Qu c96209cc42 - fix: Icons for buttons in the cpu info dialog is not correctly set.
- enhancement: Add cfi directives for asm syntaxer in linux.
2023-03-01 19:39:09 +08:00
Roy Qu 06a528313d refactor 2023-01-11 17:06:32 +08:00
Roy Qu b1ca0bb600 - enhancement: Import FPS (free problem set) files. 2022-12-11 19:47:43 +08:00
Roy Qu c4a41403bc refactor highlighters 2022-12-10 21:23:49 +08:00
Roy Qu 77942999d5 - enhancement: Use asm highlighter in cpu window
- fix: "AT&T" radio button not correctly checked in cpu window
  - enhancement: Remove blank lines in the register list of cpu window.
  - fix: Cpu window's size not correctly saved, if it is not closed before app exits.
  - fix: Can't restore cpu window's splitter position.
2022-12-02 10:19:03 +08:00
Roy Qu 984d10eaf1 - enhancement: project and non-project files use different breakpoint and watchvar view (auto switch when not debugging and editor switched)
- enhancement: save project's breakpoint and watchvar in it's own debug file.
  - enhancement: delete a watch expression don't reload who watch var view
2022-10-16 23:10:57 +08:00
Roy Qu f67628863f - fix: minor memory leaks when set itemmodels
- fix: thread for parsing doesn't correctly released when parsing finished ( so and the parser)
2022-10-10 18:05:18 +08:00
Roy Qu 00ea7ee773 create QSynedit namespace 2022-09-25 09:55:18 +08:00
Roy Qu 0a1c2aea98 refactor: SynDocument and SynDocumentLine 2022-04-19 21:18:41 +08:00
Roy Qu 2e0357e652 - enhancement: don't show folders that doesn't contain files in the project view
work save:  - enhancement: redesigned new project unit dialog
2022-04-08 17:22:24 +08:00
Roy Qu eb2e2bb58f - fix: switch disassembly mode doesn't update contents 2022-03-16 19:48:20 +08:00
Roy Qu ee59d80bdb - enhancement: enable group undo
- enhancement: add option "hide symbols start with underscore" and "hide synbols start with two underscore"
  - fix: can't rename project files that not openned in editor
  - fix: dpi changes in CPU window shouldn't affect main window
2022-03-01 22:03:54 +08:00
Roy Qu 82d812b6eb - fix: crash when copy to non-c files
- fix: fonts in cpu window is not correctly set, when dpi changed
2022-03-01 18:11:15 +08:00
Roy Qu 50a39a08c7 remove all whatsthis button in dialog's titlebar 2022-02-02 17:34:37 +08:00
royqh1979@gmail.com 317db42876 add license information 2021-12-26 23:18:28 +08:00
Roy Qu a50c6af5de fix: correctly set states for buttons in cpu dialog 2021-12-23 09:17:27 +08:00
Roy Qu 6c413fe8f9 - enhancement: icons in all dialogs auto change size with fonts
- enhancement: save/restore sizes of CPU dialog and settings dialog
2021-12-23 09:11:58 +08:00
Roy Qu b5a450312a - refactor: icon manager
- work save: icons in the dialogs
2021-12-23 00:24:52 +08:00
Roy Qu 3b7eb3b2da - fix: step into instruction and step over instruction not correctly disabled when cpu dialog is created
- enhancement: icons in cpu dialog auto change size with fonts
2021-12-22 22:04:34 +08:00
Roy Qu 8a4842efb4 remove init wizard 2021-12-17 10:10:04 +08:00
Roy Qu 879f001d0c - fix: current line of the disassembly in the cpu window not correctly setted
- enhancement: add "step into one machine instruction" and "step over one machine instruction" in the cpu window
2021-12-16 10:46:38 +08:00
Roy Qu af1bc5f538 can handle signal 2021-11-25 09:05:45 +08:00
Roy Qu 73c88065f8 work save 2021-11-25 07:42:56 +08:00
Roy Qu 777d11cdcb disassembly finished 2021-11-24 23:32:34 +08:00
Roy Qu de0f176284 breakpoint / run / evaluation / memory view ok 2021-11-24 22:16:40 +08:00
royqh1979 f274d7f208 - fix: problem set & problem views not correctly hidden when disabled in the general / problem set options 2021-11-19 07:52:36 +08:00
royqh1979@gmail.com 2f945dc6fb - fix: text color for cpu info dialog not correctly setted 2021-11-16 00:03:43 +08:00
royqh1979 5c9ef2035e clean up compile warnings 2021-10-20 18:05:43 +08:00
royqh1979@gmail.com 34dd3eb474 work save
- add: cpu window blend mode
 - fix: asm parser can't correctly parse numbers
 - fix: disassembly code in the cpu window not correctly updated
2021-08-13 11:18:42 +08:00
royqh1979@gmail.com 813bacebfb work save 2021-08-02 10:08:25 +08:00
royqh1979@gmail.com 62527a04ae work save 2021-08-01 23:24:37 +08:00