Commit Graph

73 Commits

Author SHA1 Message Date
Roy Qu 7bc4365573 - change: Remove the compiler set option "Syntax error when object larger than" 2023-04-04 08:27:22 +08:00
Roy Qu 7a64538982 - change: Change compiler set option "Syntax error when object larger than" to "Syntax error when function frame larger than"
- fix: Projects created by some templates are not correct when editor's default encoding is not utf8.
2023-03-31 17:39:08 +08:00
Roy Qu 436a047821 - enhancement: Options in compiler set settings, to generate syntax error for large stack objects. 2023-03-13 21:57:15 +08:00
Roy Qu 4ab15c2ee1 - enhancement: When first display two editor panes, auto make them the same width
- change: Don't rebuild the whole project when run/debug, if only
contents of project unit file is modified.
- fix: rebuild may not work, if project's parallel build option is
enabled.
2023-03-02 18:15:31 +08:00
Roy Qu a768d74116 - enhancement: Syntax check for assembly files.
Don't show debug tips in cpu info dialog
2023-02-27 08:53:39 +08:00
Roy Qu 08fdeca219 - fix: Can't compile files with chinese characters in filenames using winlibs mingw gcc 2023-02-13 19:21:11 +08:00
Roy Qu 6072944c23 - fix: Save may crash app if the encoding codec is failed to load.
- enhancement: support open and save utf-16/utf-32 BOM files. (but gcc can't compile)
2023-01-14 21:51:55 +08:00
Roy Qu 0af113e2a1 auto remove a.exe generated by tcc 2022-12-25 12:00:09 +08:00
Roy Qu 82564239b9 - enhancement: project's custom compile include/lib/bin directory is under folder of the app, save them using the path relative to the app 2022-11-16 09:24:42 +08:00
Roy Qu 01c1e96aeb - change: Don't turn on "Show some more warnings (-Wextra)" option by default for DEBUG compiler set
- fix: Changes mainwindows's compiler set combobox not correctly handled for project
  - change: Don't localize autogenerated name for new files and new project (new msys2 gcc compiler can't correctly handle non-ascii chars in filenames)
2022-10-30 11:58:42 +08:00
Roy Qu 3cbd323f97 fix: syntax check issues for new file not correctly parsed 2022-10-26 08:12:00 +08:00
Roy Qu 2e7391d870 - enhancement: auto locate current open file in the project view panel 2022-10-24 20:01:46 +08:00
Roy Qu 55b63a4f95 - enhancement: refresh project view for git status won't redraw project structure
- enhancement: auto save project options after the compilerset option for project resetted
  - enhancement: "." and ".." in paths of issues not correctly handled
  - enhancement: auto locate the last opened file in the project view after project creation
  - enhancement: separate compiler's language standard option for C / C++
  - fix: compiler settings not correctly handled when create makefile
2022-10-24 19:23:43 +08:00
Roy Qu 6d2ce9035d - reduce memory usage when deciding file types
- enhancement: refresh project view for git status won't redraw project structure
  - enhancement: auto save project options after the compilerset option for project resetted
  - enhancement: "." and ".." in paths of issues not correctly handled
2022-10-24 17:23:37 +08:00
Roy Qu 012628aef3 - fix: editor & class browser not correct updated when editor is switched but not focused
- fix: when invalidating a c/c++ source file, statements that not declared in it are wrongly removed.
2022-10-23 10:40:00 +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 39c56aeff2 - change: clear tools output panel when start to compile
- change: don't show syntax check messages in the tools output panel
2022-10-10 07:11:59 +08:00
Roy Qu 58a8b7e6dd - fix: when "cleary symbol table of hidden editors" is turned on, content in the editor reshown is not correctly parsed 2022-09-27 18:53:42 +08:00
Roy Qu 15bbf15d38 work save 2022-09-26 12:01:45 +08:00
Roy Qu 71a728a868 work save 2022-09-25 17:43:31 +08:00
Roy Qu b2585f567a - enhancement: autolink add "force utf8" property (mainly for raylib) 2022-06-23 19:07:48 +08:00
Roy Qu 20690b7e51 - enhancement: add the option "Set Encoding for the Executable" to project's compiler options
- fix: can't correctly compile when link params are seperated by line breaks
2022-06-22 17:08:35 +08:00
Roy Qu 3d6d3c5210 - fix: when run/debug the executable, add current compiler set's bin folders to path
- fix: when open in shell, add current compiler set's bin folders to path
2022-06-16 21:34:31 +08:00
Roy Qu d01a60e88f - fix: c files added to a project will be compiled as c++ file. 2022-06-10 08:41:52 +08:00
Roy Qu cd6e5719b7 fix: autolink calculation not stable 2022-06-04 14:44:50 +08:00
Roy Qu 086dfd0865 finish: redesign compiler command line arguments 2022-05-14 11:21:59 +08:00
Roy Qu 58b7c55cd6 work save 2022-05-13 20:22:16 +08:00
Roy Qu 9867d0d931 update compiler set options 2022-05-12 15:28:08 +08:00
Roy Qu 45744b43f0 - change: highlight whole #define statement using one color
- enhancement: don't highlight '\' as error
  - enhancement: hide add charset  option in project options dialog's compiler set page, when project compiler set is clang
  - fix: When generating project's makefile for clang, don't add -fexec-charset / -finput-charset command line options
2022-05-02 21:47:01 +08:00
Roy Qu 845427b747 - fix: correctly parse link error message for clang 2022-04-27 19:13:38 +08:00
Roy Qu 945ba4ce73 - fix: use utf8 as the encoding for clang's error output 2022-04-27 15:26:13 +08:00
Roy Qu f16d015fdd - fix: gcc compiler set name is not correct in Linux
- enhancement: hide add charset option when the currect compiler set is clang
  - enhancement: auto check the c project option in the new project dialog
  - change: use "app.ico" as default name for the project icon file
  - fix: c file should use CC to build in the auto generated makefile
2022-04-25 21:48:04 +08:00
Roy Qu f0c0197380 - fix: auto syntax check fail, if the file is not gbk and includes files encoded with utf8
- fix: running programs with input redirected can't exit at once.
2022-03-31 09:56:49 +08:00
Roy Qu ac54496aeb - fix: auto syntax check use wrong charset, if a file in editing is not encoded with ANSI encoding
- enhancement: timeout for problem case test in
2022-03-27 11:44:52 +08:00
Roy Qu 664922a301 - fix: convert to encoding setting in compiler set option not correctly handled
work save:
  git repository class
2022-02-15 00:01:50 +08:00
Roy Qu 71e885f941 - fix: huge build size for c++ files 2022-02-11 14:04:18 +08:00
Roy Qu ee9db9cdfd - enhancement: parser not called when open a file, if option "clean parser symbols when hidden" is turned on. 2022-01-24 20:59:02 +08:00
royqh1979@gmail.com 4797c15b04 - enhancement: add exec charset option to compiler set settings 2022-01-24 11:23:30 +08:00
Roy Qu c56b6c5414 add more templates 2022-01-10 10:53:16 +08:00
Roy Qu bb6a4ed9c8 qt 5.12 compatibility 2022-01-04 16:50:54 +08:00
royqh1979@gmail.com 317db42876 add license information 2021-12-26 23:18:28 +08:00
Roy Qu 6ab8ba9869 - fix: compiler set's custom link parameters not used when compiling
- fix: code completion doesn't work when input inside () or []
2021-12-19 16:54:31 +08:00
Roy Qu 0b414df5b2 - fix: auto add 32-bit compiler sets for TDM64-GCC 2021-12-16 17:56:42 +08:00
royqh1979@gmail.com 1853332141 clean up debug code 2021-10-29 12:29:21 +08:00
royqh1979@gmail.com b7aa67c9a4 - fix: autolink parameters are repeated when compile single files 2021-10-25 12:33:02 +08:00
royqh1979 3a7065e9d8 - fix: syntax issues' filepath info not correct when build projects 2021-10-25 09:31:58 +08:00
royqh1979@gmail.com 1c745871b2 - enhancement: don't add encoding options when using clang to compile (clang only support utf-8) 2021-10-04 00:18:16 +08:00
royqh1979 23b651f0c4 work save 2021-10-01 21:16:22 +08:00
royqh1979@gmail.com a4f60e45bf - enhancement: set encoding 2021-09-28 17:17:33 +08:00
royqh1979@gmail.com 1a00443f89 work save:
- change editor's encoding also change project unit's encoding Option
 - ascii encoding file don't add encoding info when generating project make file
 - make Settings Dialog more general
2021-09-14 12:10:43 +08:00