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
23a1a80890
more options for sdcc compiler
2023-08-21 22:03:21 +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
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
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
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
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
dfbdf604fb
- fix: Filename in the gcc 13.1 error messages when building project is using wrong encoding.
2023-08-08 12:44:46 +08:00
Roy Qu
d629a496ff
- fix: Shouldn't auto indent lines starts with "\\".
...
- enhancement: When problem case's expected output is not too large (<= 5000 line), highlight text in the first different line in the expected output.
- enhancement: Highlight text in the first different line using the error color.
- enhancement: Add the option "redirect stderr to the Tools output panel" in the options dialog -> executor -> problem set page.
2023-07-12 12:08:26 +08:00
Roy Qu
48e6dbc024
- fix: Replace panel should be hidden after finding occurrencies.
2023-07-02 23:41:32 +08:00
Roy Qu
89cc44bcf6
- enhancement: support -std=c++2d gcc parameter
...
- fix: vertice shader(.vs) and fragment shader(.fs) files can't be openned by double click in the project browser.
2023-05-30 11:33:41 +08:00
AlexN-114
d253f7e83e
Update projectcompiler.cpp ( #111 )
...
Fixes a problem with generating "Makfile.win"
2023-04-13 10:20:30 +08:00
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
5f1aa5f620
minor change
2023-03-27 08:41:12 +08:00
Roy Qu
a8695a96d0
- enhancement: Options in compiler set settings, to generate protection code for stack smashing attack. (Enable for Debug settings by default)
...
- enhancement: Options in compiler set settings, to enable address sanitizer. Not available in windows.(Enable for Debug settings by default)
2023-03-14 10:02:23 +08:00
Roy Qu
99ca9796b1
fix typos.
2023-03-13 22:00:55 +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
16e45f1b9c
- change: Remove compiler set options that's rarely used.
2023-03-13 09:15:05 +08:00
Roy Qu
d29ec1ee0f
refactor: make most expression evaluation funcs const
2023-03-11 17:32:57 +08:00
Cyano Hao
bdfa4c066b
Linux package: bundled terminal in AppImage and minor adjustment ( #104 )
...
* AppImage: build Alacritty with from-scratch build environment
* enrich compatible terminal list; fix Linux terminal determination
* Linux: get rid of libicu
2023-03-04 18:44:39 +08:00
Roy Qu
34fc0d75d2
minor change
2023-03-02 18:34:42 +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
56972d168e
- fix: Can't correctly parse function pointer var definition.
2023-03-01 22:53:14 +08:00
Roy Qu
e7013cff1a
- fix: Project files that not in the project folder is not correctly handled in makefile.
...
- enhancement: Improve support for function pointer typedefs.
2023-03-01 11:29:30 +08:00
Roy Qu
78739e388a
- enhancement: Add "Languages" page group in the options dialog.
...
- enhancement: Add "ASM Generation" page in the options dialog.
- change: Move "Custom C/C++ keywords" from group "Editor" to "Lanauges" in the options dialog.
- change: Rename "Folder" page to "Folder / Reset default settings" in the options dialog.
- enhancement: Generate asm with/without SEH directives.
- enhancement: Generate asm using intel style/att style.
- enhancement: make description for jump/cmov/setb instructions more explicit. (used for signed or unsigned)
2023-02-28 10:49:50 +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
a7c73200d5
- enhancement: Keep project compile warning & error infos in the issues table, before project file is edited.
2023-02-24 12:17:30 +08:00
Roy Qu
8ad1915acd
- change: Don't stop debug when breakpoint can't be set
2023-02-22 10:39:20 +08:00
Roy Qu
5bd1d92d53
remove no use code
2023-02-20 16:37:58 +08:00
Roy Qu
96aa836040
- enhancement: Auto create project custom executable folder if not existing.
2023-02-18 12:54:28 +08:00
Roy Qu
24734bfb28
- enhancement: If executable doesn't have symbol table, inform user and stop.
...
- enhancement: If breakpoint is setted but executable doesn't have debug info ,inform user and stop.
- enhancement: If current compiler set has "strip addition infos(-s)" enabled, inform user and stop.
2023-02-18 12:08:03 +08:00
Roy Qu
3f971b34bb
- enhancement: Improve auto indent for embedding no-brace statements like for-for-if.
2023-02-16 22:27:04 +08:00
Roy Qu
a31bc6ef17
more keywords for asm
2023-02-13 21:49:19 +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
9976ee248a
- enhancement: If GAS source file has "_start" label, compile it with "-nostartfiles".
2023-02-12 18:15:41 +08:00
Roy Qu
382da1d747
add -nostdlib when compile assembler program that has _start
2023-02-12 15:13:04 +08:00
Roy Qu
23d5bb85b6
Linux fix
2023-02-12 14:22:45 +08:00
Roy Qu
0e3441e604
- fix: Crash when debug project that has nasm files.
...
- enhancement: Generate debug info for nasm files in Linux/MacOS.
- enhancement: Compile/Run/Debug GAS source files.
- enhancement: Compile/Debug GAS source files in project.
2023-02-12 12:53:14 +08:00
Roy Qu
cc1e42193d
- enhancement: Add "assembler" tab in the project options dialog's custom compiler parameters.
2023-02-09 16:33:25 +08:00