Commit Graph

43 Commits

Author SHA1 Message Date
Roy Qu 85ef5986bf Add debug info for macro expansion 2023-10-25 11:49:25 +08:00
Roy Qu 14ba74e705 - fix: Processing for #if/#elif/#else is not correct. 2023-10-01 10:45:43 +08:00
Roy Qu dd5640d334 - enhancement: False branches are displayed as comments. 2023-08-17 13:24:08 +08:00
Roy Qu 362cf5701c - improve: Correctly expands multi-line macros when parsing;
- improve: Correctly eppands macros when real param string contains '(' or  ')'.
2023-07-01 18:06:39 +08:00
Roy Qu 19a85db1f9 - fix: '^' is not correctly handled as operator. 2023-05-24 13:42:46 +08:00
Roy Qu d29ec1ee0f refactor: make most expression evaluation funcs const 2023-03-11 17:32:57 +08:00
Roy Qu 25d0f5b782 - fix: Can't parse enum values.
- fix: Can't correctly show enum values in the class browser.
  - fix: Can't correctly create project, if template's encoding setting is not valid.
  - enhancement: Add "embed assembly" template.
2023-02-15 16:24:24 +08:00
Roy Qu bc1b22ad25 - enhancement: Rename symbols won't remove all breakpoints/bookmarks
- enhancement: Batch replace won't remove all breakpoints/bookmarks
  - enhancement: Execute parameters can be used in debug.
2023-01-12 12:07:22 +08:00
Roy Qu 61a5d9f94f minor optimization 2022-12-27 14:34:57 +08:00
Roy Qu a1af733a53 minor optimization 2022-12-27 14:29:49 +08:00
Roy Qu b1ca0bb600 - enhancement: Import FPS (free problem set) files. 2022-12-11 19:47:43 +08:00
Roy Qu 4fad826899 - fix: macro defines parsed before not correctly applied in the succeeding parse. 2022-11-08 22:04:53 +08:00
Roy Qu d1d68758aa work done: refactor cpp parser for project 2022-10-22 19:33:20 +08:00
Roy Qu dbf34548d8 work save: clean up CppPreprocessor clear & reset 2022-10-22 10:59:39 +08:00
Roy Qu 6ba6030af7 work save: CppPreprocessor clean 2022-10-22 10:44:10 +08:00
Roy Qu 51d0f2c2aa clean up code 2022-10-22 08:46:27 +08:00
Roy Qu a62910e1a3 - fix: editor tooltip for #include_next is not correctly calculated
- fix: ctrl+click on #include_next header name doesn't open the right file
  - enhancement: parser used for non-project C files won't find header files in C++ include folders.
2022-10-18 12:24:59 +08:00
royqh1979@gmail.com 317db42876 add license information 2021-12-26 23:18:28 +08:00
Roy Qu fdfa7c779f work save 2021-11-24 10:07:35 +08:00
royqh1979 b3e5ddc94c - enhancement: greatly reduces memory usage for symbol parsing ( memory needed for bits/stdc++.h reduced from 150m+ to 50m+)
- fix: currect compiler set not correctly updated when switch between normal file and project file
2021-11-12 02:20:13 +08:00
royqh1979@gmail.com 3ed5701621 fix: #include_next processing 2021-10-04 22:32:34 +08:00
royqh1979@gmail.com 77e8eda8a3 - enhancement: support #include_next (and clang libc++) 2021-10-04 21:59:48 +08:00
royqh1979@gmail.com 19e37b6ae7 work save 2021-08-27 23:51:42 +08:00
royqh1979@gmail.com 41b9c53146 work save: cpp parser done 2021-08-22 23:48:00 +08:00
royqh1979@gmail.com 7b59e6a9ea work save 2021-08-21 22:15:44 +08:00
royqh1979@gmail.com 24a22ec264 work save 2021-08-19 23:49:23 +08:00
royqh1979@gmail.com 95129e8859 work save 2021-08-19 17:08:01 +08:00
royqh1979@gmail.com 821aaee3e7 work save 2021-08-14 22:52:37 +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 7d30690227 work save 2021-08-12 21:25:13 +08:00
royqh1979@gmail.com 9c42a11c0b work save: cpp parser preprocessor
- remove comments before preprocess
  - pass stringlist instead of text stream as buffered content
2021-08-12 11:33:40 +08:00
royqh1979@gmail.com dcf37eca8a work save: cpp parser - preprocessor : remove comments before preprocess 2021-08-12 11:29:26 +08:00
royqh1979@gmail.com 00da3303ac work save 2021-08-11 20:06:28 +08:00
royqh1979@gmail.com 5ee6988acc work save 2021-08-11 11:47:47 +08:00
royqh1979@gmail.com 1050526a2c work save 2021-08-10 21:27:24 +08:00
royqh1979@gmail.com 2692d77fb1 work save: cpp parser preprocessor : handle branches 2021-08-10 17:23:15 +08:00
royqh1979@gmail.com b1062f24af work save 2021-08-10 12:09:48 +08:00
royqh1979@gmail.com 562f599c4f work save 2021-08-09 09:47:36 +08:00
royqh1979@gmail.com 3c3b606cc5 work save 2021-08-09 09:11:10 +08:00
royqh1979@gmail.com 91a63648d5 work save 2021-08-08 17:22:37 +08:00
royqh1979@gmail.com f9c3fb8dd5 work save 2021-08-07 23:30:01 +08:00
royqh1979@gmail.com f0a0ae44b7 work save: parser - preprocessor 2021-08-07 18:02:57 +08:00
royqh1979@gmail.com 0b2fd71df6 work save: start to write parser 2021-08-05 23:13:21 +08:00