Roy Qu
9a51678d09
Minor update
2023-10-27 09:49:34 +08:00
Roy Qu
5814043302
- enhancement: when induce type info for return value, try to select the overloaded one that doesn't have an "auto" type.
2023-10-26 08:57:40 +08:00
Roy Qu
94e955b07a
- fix: If the integrated gcc compiler is add to path, auto find compilers will find in twice. (Windows)
2023-10-25 18:58:45 +08:00
Roy Qu
3a78819fb8
- fix: C++ compiler atrribute '[[xxx]]' are not correctly handled.
2023-10-25 17:01:42 +08:00
Roy Qu
85ef5986bf
Add debug info for macro expansion
2023-10-25 11:49:25 +08:00
Roy Qu
b287464b98
- fix: Macros that defined by the compiler are not correctly syntax-colored and tooltiped.
2023-10-25 00:34:29 +08:00
Roy Qu
0bc361e1f9
- enhancement: Better support for expanding macros with complex parameters.
2023-10-25 00:19:05 +08:00
Roy Qu
4eca58b62a
- enhancement: Basic support for parsing variadic macros.
2023-10-24 20:35:43 +08:00
Roy Qu
1c23010408
- change: Set mouse cursor to hand pointing when it's on gutter.
...
- fix: mouse cursor doesn't change when move back to editor.
2023-10-23 21:46:13 +08:00
Roy Qu
4b6fcd2e90
Change: Use gdb server is not checkable in linux/mac
2023-10-23 19:24:23 +08:00
Roy Qu
00736ea73b
- change: Ensure the line just below caret is visible while moving caret.
2023-10-23 17:36:10 +08:00
Roy Qu
7b9c5b378a
- fix: Should cd to working directory when debugging.
2023-10-23 10:33:16 +08:00
Roy Qu
cdb0197aea
- change: Don't change caret position when ctrl+click.
2023-10-23 10:13:46 +08:00
Roy Qu
e0b9bfb4c8
minor cleanup
2023-10-22 20:04:21 +08:00
Roy Qu
c3352ad661
- refactor: for/catch processing
...
- fix: Link in the project options dialog / precompiled header pages is not clickable.
2023-10-22 18:33:53 +08:00
Roy Qu
30cabe2faa
- enhancement: Parse files that contains C++ 20 'concept' keyword. (No code suggesion for concepts now)
...
- enhancement: Parse files that contains C++ 20 'requires' keyword.
- fix: Code suggestions in namespace.
- enhancement: Code suggestions for namespace alias.
- fix: Correctly handle statements like 'using xxx::operator()'.
2023-10-22 13:19:03 +08:00
Roy Qu
9467645bef
- fix: __attribute__ is not correctly handled if it is after 'static'.
2023-10-21 22:19:26 +08:00
Roy Qu
bd85f91258
windows compatibility fix
2023-10-21 16:06:33 +08:00
Roy Qu
edba9130b1
update lock logic
2023-10-21 13:41:53 +08:00
Roy Qu
eb7c1d0c8f
Merge branch '2.26'
2023-10-21 13:38:50 +08:00
Cyano Hao
a62acc2eb0
Add Windows XP support ( #146 )
...
* improve Qt 5.6 support
* switch registry API to Windows XP compatible Unicode API
* update docs
* add comment for `CONFIG += c++14 c++17` in qmake .pro files
* fix logic for lockFile
2023-10-21 13:38:12 +08:00
Roy Qu
5332ffee84
- enhancement: Auto adjust position of the suggestion popup window.
2023-10-21 10:14:12 +08:00
Roy Qu
c1b5dd4b36
Refactor & cleanup for ctrl+mouse move
2023-10-21 09:29:26 +08:00
Roy Qu
6a02b58099
Merge branch 'master' into 2.26
2023-10-21 09:04:36 +08:00
Roy Qu
380482d829
- fix: Project recompiles for every run if auto increase build number is turned on.
...
- fix: Auto increase build number for project is not correctly processed.
2023-10-20 20:10:50 +08:00
Roy Qu
9b1b81e368
2.26 cleanup
2023-10-20 11:17:46 +08:00
Roy Qu
7b949d8d23
- change: Use ctrl+mouseMove event to highlight jumpable symbols (instead of ctrl+tooltip).
2023-10-20 10:32:51 +08:00
Roy Qu
8fe15dab8a
- enhancment: Code suggestion for embedded std::vectors.
2023-10-19 19:32:08 +08:00
Roy Qu
fd95b49270
- fix: Correctly handle project templates that have wrong unit counts.
2023-10-19 08:33:37 +08:00
Roy Qu
5bf6da785c
fix: crash when using ibus as the input method
2023-10-18 14:00:32 +00:00
Cyano Hao
0bb941e7fd
fix ibus focus losing behavior ( #142 )
2023-10-18 21:52:58 +08:00
Roy Qu
daaa97ba76
Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
2023-10-18 17:08:07 +08:00
Roy Qu
2b94c752df
disalbe code suggestion while using ibus as the input method
2023-10-18 17:07:16 +08:00
Roy Qu
38a55dcdb4
- ehhancement: Show selected char counts in status bar.
...
- enhancement: Differentiate /* and /** when calculate auto indents.
2023-10-18 14:37:31 +08:00
Roy Qu
c2421054a2
windows: autolink for easyx
2023-10-17 21:07:23 +08:00
Roy Qu
814f3a28db
- enhancement: After compiler settings changed, run/debug current file will auto recompile.
2023-10-15 16:28:55 +08:00
Roy Qu
5371311219
- fix: Icon position not correct under hiPDI devices.
2023-10-15 12:45:31 +08:00
Roy Qu
526e73d27a
Use QRecursiveMutex instead of QMutex in CppParser
2023-10-10 19:59:39 +08:00
Roy Qu
571f18ee54
- fix: Press '>' after '-' don't show completion suggestion info.
2023-10-09 18:20:48 +08:00
Roy Qu
6016065b58
- enhancement: When creating project, warn user if the project folder is not empty.
2023-10-08 19:58:04 +08:00
Roy Qu
24d84b9f5e
Two new schemes
2023-10-05 18:35:36 +08:00
Roy Qu
119add20d8
work save
2023-10-01 15:47:58 +08:00
Roy Qu
85cd761e36
minor fix
2023-10-01 10:49:59 +08:00
Roy Qu
14ba74e705
- fix: Processing for #if/#elif/#else is not correct.
2023-10-01 10:45:43 +08:00
Roy Qu
02a0ed049b
Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
2023-09-27 13:57:47 +08:00
Roy Qu
039ca4ce9e
only add path when open shell under windows
2023-09-27 13:57:39 +08:00
Cyano Hao
ca13548ba0
Terminal arguments fix and cleanup ( #138 )
...
* fix linux build error
* Linux packaging: remove Alacritty from AppImage
* limit APP_DIR trick to Windows only
* implement Windows search path
* fix terminal search
2023-09-25 10:15:07 +08:00
Roy Qu
78f00febbc
- fix: Custom compile options is not used when retrieve macros defined by the compiler.
2023-09-24 08:55:10 +08:00
Roy Qu
33d4327443
update translations
2023-09-22 08:17:52 +08:00
Roy Qu
bb6c8acb1a
- change: Use freetype as the fontengine in windows
2023-09-22 08:05:05 +08:00
Roy Qu
f0d6787c9c
remove all newlook24 icons
2023-09-21 19:21:42 +08:00
Roy Qu
8edbe5e9be
update translations
2023-09-21 17:02:13 +08:00
Roy Qu
8ea94b3e26
minor change
2023-09-21 16:37:22 +08:00
Roy Qu
7b5fa255da
Redesign terminal settings
2023-09-21 16:31:22 +08:00
Roy Qu
9557dd8378
minor fix and clean up
2023-09-21 12:52:56 +08:00
Roy Qu
f145e87962
Autoset terminal options if not setted before.
2023-09-21 12:19:17 +08:00
Roy Qu
1e645d7770
Improvement of terminal support
2023-09-21 08:17:07 +08:00
Cyano Hao
52c5ea4caf
improve custom terminal settings ( #137 )
...
- custom terminal on Windows now require explicit enablement
- customizable terminal arguments pattern and its auto detection
- move hard-coded terminals to resource files
2023-09-20 10:52:54 +08:00
Roy Qu
eb1a86a4a8
minor clean up
2023-09-06 07:12:22 +08:00
Cyano Hao
7cf5d21b48
Add runner args abstraction and fix shm on macOS/BSD ( #134 )
...
* add runner args abstraction to allow different args patterns in various terminal apps; fix macOS shm IPC
* extend platform support from Linux to XDG desktop
* update build docs for Unix
* improve terminal args pattern migration for macOS
2023-09-05 19:14:08 +08:00
Roy Qu
18aa239b40
change website url
2023-08-26 17:00:04 +08:00
Roy Qu
ee26d9d0a0
- fix: Symbol completion of '(' before selection may fail, if cursor is at the beginning of the selection.
2023-08-23 20:47:23 +08:00
Roy Qu
10c134a5c7
- change: Symbol completion of '(' won't test current character at the cursor.
...
- change: Symbol completion of '{' won't insert extra new lines.
2023-08-23 17:24:07 +08:00
Roy Qu
23a1a80890
more options for sdcc compiler
2023-08-21 22:03:21 +08:00
Roy Qu
0c64aaff87
Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
2023-08-21 11:48:37 +08:00
Roy Qu
6690599d60
fix: options are ignored when compile
...
add more compiler options for sdcc
Support text input for compiler options
2023-08-21 11:48:23 +08:00
Cyano Hao
9e868d131c
fix: build failure for various windows toolchains; update build doc ( #131 )
2023-08-21 10:45:09 +08:00
Roy Qu
9bc5203a93
- fix: Can't find other compilers that in the same folder with gcc.
2023-08-20 21:38:26 +08:00
Roy Qu
4be629727d
- enhancement: 3 compare mode for problem cases.
2023-08-19 18:01:16 +08:00
Roy Qu
c63d0e7187
- update some project template icons.
...
- add icon info for project icon
2023-08-18 10:04:02 +08:00
Roy Qu
097128e2f3
fix: can't complete <> "" in #include
2023-08-18 09:26:06 +08:00
Roy Qu
98f015f661
fix: linux compatibility(from cyano.CN)
2023-08-17 22:08:31 +08:00
Roy Qu
3d3e92bfdb
fix: windows project failed to compile.
2023-08-17 19:48:55 +08:00
Roy Qu
6b2a800d37
- enhancement: Support SDCC Project.
2023-08-17 19:24:49 +08:00
Roy Qu
dd5640d334
- enhancement: False branches are displayed as comments.
2023-08-17 13:24:08 +08:00
Roy Qu
d720421830
- enhancement: Better layout for compiler options page.
2023-08-15 11:57:32 +08:00
Roy Qu
72883cf8fb
streamline codes
2023-08-15 10:57:03 +08:00
Roy Qu
08693b81ec
- enhancement: Use sdcc to generate bin files without linking sdcc startup codes.
2023-08-15 00:29:48 +08:00
Roy Qu
bbdefc4af0
- fix: Can't suggest header filename starting with numbers.
2023-08-14 22:37:34 +08:00
Roy Qu
fbef3b4f29
minor change
2023-08-14 19:56:56 +08:00
Roy Qu
c2c2e3c9b1
fix: Options are lost when compiling using sdcc
2023-08-14 18:03:25 +08:00
Roy Qu
b16a85d033
- Retrieve sdcc predefined macros (hacking).
...
- Stop compiling if ihx file is not correct created.
- Run/Debug/Generate assembly actions are correctly diabled.
2023-08-14 12:22:24 +08:00
Roy Qu
eb1a219de6
- fix: Press up/down arrow key in the option dialog's left panel won't switch page.
2023-08-13 23:26:31 +08:00
Roy Qu
dcd53771d3
fix: Can't suggest members of variable defined by unname struct/union.
2023-08-13 22:19:56 +08:00
Roy Qu
37df656c82
add more sdcc keywords
2023-08-13 20:57:09 +08:00
Roy Qu
97fef20a78
minor change
2023-08-13 19:14:31 +08:00
Roy Qu
acc1fbd4aa
support compile sdcc file
2023-08-13 18:58:04 +08:00
Roy Qu
bfc1b03ae3
use sdcc to create hex/bin files
2023-08-13 18:53:48 +08:00
Roy Qu
707358817c
- enhancement: Autowrap tool output text.
2023-08-13 15:41:17 +08:00
Roy Qu
d2b0653504
- enhancement: Autowrap tool output text.
2023-08-13 15:10:33 +08:00
Roy Qu
738faf0c90
- fix: Crash if close file while auto syntax checking.
...
- enhancement: support sdcc compiler.
2023-08-13 14:46:53 +08:00
Roy Qu
d86f98b0ee
update chinese translations
2023-08-12 22:25:30 +08:00
Roy Qu
f462d6708d
- fix: Crash if close file while auto syntax checking.
2023-08-12 13:51:35 +08:00
Roy Qu
496421e97d
- fix: Wrong compiler settings if xcode is not installed in mac os.
...
- enhancement: Name for new files will not be different from files openned.
2023-08-11 17:09:30 +08:00
Roy Qu
12f4b3ee9c
- fix: Wrong compiler settings if xcode is not installed in mac os.
2023-08-11 16:26:03 +08:00
Roy Qu
aa03dfc01d
update Simplified Chinese translation
2023-08-11 14:10:04 +08:00
Roy Qu
739f382f46
- change: Remove option "clear all symbols when current editor is hidden".
...
- fix: When opening multiple files, only the active file should be parsed.
2023-08-11 13:49:09 +08:00
Roy Qu
62f7c0a495
- change: New file created by file template is set as unmodified by default.
2023-08-09 23:01:53 +08:00
Roy Qu
7104089e66
comment out debug info
2023-08-09 22:36:33 +08:00
Roy Qu
0f7b4b8ce5
- fix: Wrong code suggestion while inputing numbers in assembly files.
...
- fix: Defines in all files are wrongly cleared when reparsing.
2023-08-09 22:35:25 +08:00