Commit Graph

2827 Commits

Author SHA1 Message Date
Roy Qu fc68af7b0b use Universal character names in string literals. 2024-05-17 16:58:29 +08:00
Roy Qu ea707d1923 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2024-05-17 16:51:49 +08:00
Roy Qu 4e688a9136 - fix: Shouldn't warn "xxx.s is modifed" when "Generate assembly" is reran.
- fix: Shouldn't warn "Makefile is modifed" when "View Makefile" is reran.
2024-05-17 16:51:34 +08:00
Cyano Hao 01dffbe72e
update nt5 toolchain (#428) 2024-05-17 15:52:36 +08:00
Cyano Hao 00f911d5da
require UTF-8 code page to build with MSVC toolchain (#427) 2024-05-17 09:04:44 +08:00
Roy Qu 454dcbadcb - optimization: use QString::constData() instead of QString::data() if possible
- fix: Can't correctly parse template parameters that contains "->", like "std::queue<std::function<auto()->void>>";
2024-05-14 21:19:42 +08:00
Roy Qu f4d3ebc9bc optimize: use constData() if possible 2024-05-14 20:26:32 +08:00
Cyano Hao 43e795e791
migrate QStringRef -> QStringView (#425) 2024-05-14 08:38:22 +08:00
Roy Qu b8567f09cb fix: Can't correctly select in column mode. 2024-05-12 12:34:00 +08:00
Roy Qu bdace3fcf1 windows package script: support mingw32/mingw64 folder instead of archives. 2024-05-12 09:47:00 +08:00
Roy Qu ddd4db60c4 fix: window installer script 2024-05-11 15:42:59 +08:00
Roy Qu bd0cb06b61 update NEWS.md 2024-05-11 15:07:11 +08:00
Roy Qu 6d5aa242c9 change version to 3.1 alpha 2024-05-11 15:04:45 +08:00
Roy Qu 1c5248fe21 3.0 release 2024-05-11 15:02:00 +08:00
Roy Qu 5d328823e5 fix: gutter background is not configuarable 2024-05-11 10:31:43 +08:00
Roy Qu 86e10af5b6 fix: gutter line number font style shouldn't be customable. 2024-05-11 10:24:38 +08:00
Roy Qu 93aaca10cd enhancement: Show full filepath in the tooltip of editor tab. 2024-05-11 10:19:44 +08:00
Cyano Hao 97cd0cb3fc
fix windows consolepauser GetErrorMessage (#419) 2024-05-11 08:00:10 +08:00
Cyano Hao b69f234840
disable job control in console pauser before windows xp (#420) 2024-05-10 17:55:48 +08:00
Cyano Hao e67a9992c2
Migrate deprecated APIs (#418)
* migrate deprecated QLayout::setMargin -> QLayout::setContentMargins

* migrate deprecated QRegExp -> QRegularExpression

* remove deprecated QDesktopWidget header

* migrage deprecated QDesktopWidget::width, height -> QScreen::geometry
2024-05-10 17:31:10 +08:00
Roy Qu 2e5e68d50d fix: compile error 2024-05-09 21:53:12 +08:00
Roy Qu 891d29f011 Pause the console pauser before exiting, when there's some wrong in program execution. 2024-05-09 21:31:22 +08:00
Roy Qu 1a59e3190b remove not use functions 2024-05-09 21:11:31 +08:00
Cyano Hao cc359651ef
fix unexpected "int -> QChar -> QString" conversion (#417) 2024-05-09 21:09:57 +08:00
Cyano Hao d6c739d72e
update nt 5 build script (#416) 2024-05-09 21:08:28 +08:00
Cyano Hao d621920beb
check whether nt in windows installer (#415) 2024-05-09 21:07:42 +08:00
Cyano Hao 2fc9b51053
Fix CI build (#414)
* remove git from CI test

* fix build
2024-05-09 16:14:47 +08:00
Roy Qu eca9d2ecbf - fix: Can't compile / run assembly files in gcc 13/14 . 2024-05-08 11:48:55 +08:00
Roy Qu 73d0ded92f update NEWS.md 2024-05-08 11:10:33 +08:00
Roy Qu d21de624ea - enhancement: New menu item "Code completion". 2024-05-08 10:27:00 +08:00
Roy Qu 4eecf263b5 update chinese website address 2024-05-08 09:56:00 +08:00
Roy Qu 7b0b0587cd optimize the speed for editing big source file 2024-05-07 20:54:40 +08:00
Roy Qu 30e7751abf optimize editing 2024-05-07 16:20:47 +08:00
Roy Qu e29b7c0148 Don't update line width in background. 2024-05-07 16:00:33 +08:00
Roy Qu 89e2c330e3 optimize: don't invalidate all line width after each parsing. 2024-05-07 15:15:02 +08:00
Roy Qu 8fef396baa update max line width in background 2024-05-07 14:41:04 +08:00
Roy Qu 8faa2c0aa6 optimization: don't recalculate glyph positions in selected lines. 2024-05-07 12:18:13 +08:00
Roy Qu 311fe880bb stack size doesn't work in linux 2024-05-05 16:11:34 +08:00
Roy Qu cd65ecd74a - fix: Fail to evaluate expressions if macro can't be expanded. 2024-05-05 16:01:29 +08:00
Roy Qu b3ca4f5d38 update translation 2024-05-05 13:06:14 +08:00
Roy Qu 29e5541477 fix: can't toggle bookmark when mouse is at end of the line 2024-05-05 12:59:49 +08:00
Roy Qu e6b57b79c0 update mainwindow size 2024-05-05 10:33:18 +08:00
Roy Qu eac49a90f0 - fix: The memory usage displayed after program execution is wrong.
- enhancement: New compiler option "stack size" in the link subpage.
  - change: Set "Ctrl+G" as the shortcut for "Goto page..."
  - change: Set "Ctrl+B" as the shortcut for "Toggle Bookmark"
2024-05-05 10:24:36 +08:00
Roy Qu 996dbc7055 change shortcuts 2024-05-04 21:58:02 +08:00
Roy Qu c19ca5e362 add infrastructure for number compiler options 2024-05-04 21:03:40 +08:00
Roy Qu ce97272fc0 fix: Crash when has source line like "std::cout << (3+4*4>5*(4+3)-1 && (4-3>5)) <<std::endl;". 2024-05-04 12:33:35 +08:00
Roy Qu 49049b0884 refactor: structural binding 2024-05-04 10:31:15 +08:00
Cyano Hao ae8e8fdaa6
add astyle to windows llvm build script (#411) 2024-05-04 10:14:08 +08:00
Roy Qu 4bd3829484 fix: Correctly parsing array defines. 2024-05-03 21:00:38 +08:00
Roy Qu ebeea19794 - enhancement: support C++ 17 structured binding in stl map containers foreach loop. 2024-05-03 10:39:44 +08:00