diff --git a/NEWS.md b/NEWS.md index e5455215..3c666f50 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -Version 0.12.5 For Dev-C++ 7 Beta +Red Panda C++ Version 0.12.5 - fix: compile error in linux - fix: can't receive gdb async output for commands - fix: can't reformat code @@ -9,6 +9,7 @@ Version 0.12.5 For Dev-C++ 7 Beta - enhancement: console pauser for linux - enhancement: redirect input to program in linux - enhancement: detach pausing console window + - rename to Red Pand C++ Version 0.12.4 For Dev-C++ 7 Beta - change: add copyright infos to each source file diff --git a/RedPandaIDE/RedPandaIDE_zh_CN.qm b/RedPandaIDE/RedPandaIDE_zh_CN.qm index 2cb50614..c11ff47f 100644 Binary files a/RedPandaIDE/RedPandaIDE_zh_CN.qm and b/RedPandaIDE/RedPandaIDE_zh_CN.qm differ diff --git a/RedPandaIDE/RedPandaIDE_zh_CN.ts b/RedPandaIDE/RedPandaIDE_zh_CN.ts index eb15d6a6..d09015b5 100644 --- a/RedPandaIDE/RedPandaIDE_zh_CN.ts +++ b/RedPandaIDE/RedPandaIDE_zh_CN.ts @@ -9,13 +9,23 @@ 关于 - <h1>Red-Panda Dev-Cpp 7</h1> - <h1>小熊猫Dev-Cpp 7</h1> + <h1>小熊猫Dev-Cpp 7</h1> - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Microsoft YaHei UI';">Based on Qt %1 (%2)</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Microsoft YaHei UI';">Build time: %3 %4</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Microsoft YaHei UI';">Copyright (C) 2021-2022 royqh1979@gmail.com</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Microsoft YaHei UI';">Homepage: </span><a href="https://sourceforge.net/projects/dev-cpp-2020/"><span style=" font-family:'Microsoft YaHei UI'; text-decoration: underline; color:#007af4;">https://sourceforge.net/projects/dev-cpp-2020/</span></a></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Microsoft YaHei UI';">Red Panda Dev-C++:</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Microsoft YaHei UI';">Copyright (c) 2004 Bloodshed Software</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Microsoft YaHei UI';">Copyright (c) 2011-2015 orwell devcpp </span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Microsoft YaHei UI';">Copyright (c) 2020-2021 royqh1979@gmail.com</span></p></body></html> + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Microsoft YaHei UI'; font-size:9pt; font-weight:400; font-style:normal;"> @@ -26,20 +36,69 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Copyright (c) 2004 Bloodshed Software</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Copyright (c) 2011-2015 orwell devcpp </p> <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Copyright (c) 2020-2021 royqh1979@gmail.com</p> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Homepage: <a href="https://sourceforge.net/projects/dev-cpp-2020/"><span style=" text-decoration: underline; color:#007af4;">https://sourceforge.net/projects/dev-cpp-2020/</span></a></p></body></html> - +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Homepage: <a href="https://sourceforge.net/projects/dev-cpp-2020/"><span style=" text-decoration: underline; color:#007af4;">https://sourceforge.net/projects/dev-cpp-2020/</span></a></p></body></html> + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Microsoft YaHei UI';">基于 Qt %1 (%2)</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Microsoft YaHei UI';">Build time: %3 %4</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Microsoft YaHei UI';">Copyright (C) 2021-2022 royqh1979@gmail.com</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Microsoft YaHei UI';">Homepage: </span><a href="https://sourceforge.net/projects/dev-cpp-2020/"><span style=" font-family:'Microsoft YaHei UI'; text-decoration: underline; color:#007af4;">https://sourceforge.net/projects/dev-cpp-2020/</span></a></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Microsoft YaHei UI';">Red Panda Dev-C++:</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Microsoft YaHei UI';">Copyright (c) 2004 Bloodshed Software</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Microsoft YaHei UI';">Copyright (c) 2011-2015 orwell devcpp </span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Microsoft YaHei UI';">Copyright (c) 2020-2021 royqh1979@gmail.com</span></p></body></html> <html><head/><body><p>Based on Qt %1 (%2)</p><p>Build time: %3 %4</p><p>Copyright 2020-2021 royqh1979@gmail.com</p><p>Homepage: <a href="https://sourceforge.net/projects/dev-cpp-2020/"><span style=" text-decoration: underline; color:#007af4;">https://sourceforge.net/projects/dev-cpp-2020/</span></a></p></body></html> <html><head/><body><p>基于 Qt %1 (%2)</p><p>构建时间: %3 %4</p><p>Copyright 2020-2021 royqh1979@gmail.com</p><p>主页: <a href="https://royqh.net/devcpp/"><span style=" text-decoration: underline; color:#007af4;">https://royqh.net/devcpp/</span></a></p></body></html> - + + <html><head/><body><h1 style=" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:xx-large; font-weight:600;">Red Panda C++</span></h1></body></html> + <html><head/><body><h1 style=" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:xx-large; font-weight:600;">Red-Panda C++</span></h1></body></html> + <html><head/><body><h1 style=" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:xx-large; font-weight:600;">小熊猫C++</span></h1></body></html> + + + + Based on Qt %1 (%2) + 基于Qt %1 (%2) + + + + Build time: %1 %2 + 构建时间:%1 %2 + + + + Copyright(C) 2021-2022 瞿华(royqh1979@gmail.com) + Copyright(C) 2021-2022 瞿华(royqh1979@gmail.com) + + + + <html><head/><body><p>Homepage: <a href="Homepage: https://sourceforge.net/projects/dev-cpp-2020/"><span style=" text-decoration: underline; color:#0000ff;">https://sourceforge.net/projects/dev-cpp-2020/</span></a></p></body></html> + <html><head/><body><p>主页: <a href="Homepage: https://sourceforge.net/projects/dev-cpp-2020/"><span style=" text-decoration: underline; color:#0000ff;">https://sourceforge.net/projects/dev-cpp-2020/</span></a></p></body></html> + + + + Red Panda Dev-C++: + 小熊猫Dev-C++: + + + + Copyright (c) 2004 Bloodshed Software +Copyright (c) 2011-2015 orwell devcpp +Copyright (c) 2020-2021 royqh1979@gmail.com + + + + GNU General Public License GNU通用公共许可 - + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -68,6 +127,11 @@ p, li { white-space: pre-wrap; } Version: 版本: + + + Non-GCC Compiler + 非GCC编译器 + AppTheme @@ -917,8 +981,9 @@ Are you really want to continue? - <html><head/><body><p>Red Panda Dev-C++'s Makefile has two important targets:</p><p>- all (which builds the executable)</p><p>- clean (which cleans up object files)</p><p><br/>&quot;all&quot; depends on 2 targets: all-before and all-after. All-before</p><p>gets called before the compilation process, and all-after gets</p><p>called after the compilation process.</p><p><br/>&quot;clean&quot; depends on the target clean-custom, which gets called</p><p>before the cleaning process.<br/></p><p>You can change the Makefile's behavior by defining the targets</p><p>that &quot;all&quot; and &quot;clean&quot; depend on.</p></body></html> - <html><head/><body><p>小熊猫Dev-C++的Makefile包括两个重要的目标(target):</p><p>- all (用来构建可执行文件)</p><p>- clean (用来清理构建文件)</p><p><br/>&quot;all&quot; 依赖于2个目标:all-before 和all-after. </p><p>构建前会调用all-before目标,构建后会调用all-after目标。</p><p><br/>&quot;clean&quot; 依赖于目标clean-custom, 它在执行清理前被调用。<br/></p><p>你可以通过自定义这些目标来改变构建行为。</p></body></html> + <html><head/><body><p>Red Panda C++'s Makefile has two important targets:</p><p>- all (which builds the executable)</p><p>- clean (which cleans up object files)</p><p><br/>&quot;all&quot; depends on 2 targets: all-before and all-after. All-before</p><p>gets called before the compilation process, and all-after gets</p><p>called after the compilation process.</p><p><br/>&quot;clean&quot; depends on the target clean-custom, which gets called</p><p>before the cleaning process.<br/></p><p>You can change the Makefile's behavior by defining the targets</p><p>that &quot;all&quot; and &quot;clean&quot; depend on.</p></body></html> + <html><head/><body><p>Red Panda Dev-C++'s Makefile has two important targets:</p><p>- all (which builds the executable)</p><p>- clean (which cleans up object files)</p><p><br/>&quot;all&quot; depends on 2 targets: all-before and all-after. All-before</p><p>gets called before the compilation process, and all-after gets</p><p>called after the compilation process.</p><p><br/>&quot;clean&quot; depends on the target clean-custom, which gets called</p><p>before the cleaning process.<br/></p><p>You can change the Makefile's behavior by defining the targets</p><p>that &quot;all&quot; and &quot;clean&quot; depend on.</p></body></html> + <html><head/><body><p>小熊猫C++的Makefile包括两个重要的目标(target):</p><p>- all (用来构建可执行文件)</p><p>- clean (用来清理构建文件)</p><p><br/>&quot;all&quot; 依赖于2个目标:all-before 和all-after. </p><p>构建前会调用all-before目标,构建后会调用all-after目标。</p><p><br/>&quot;clean&quot; 依赖于目标clean-custom, 它在执行清理前被调用。<br/></p><p>你可以通过自定义这些目标来改变构建行为。</p></body></html> @@ -1941,8 +2006,9 @@ Are you really want to continue? - Just check or uncheck for which file types Dev-C++ wil be registered as the default application to open them ... - 选择想要使用Dev-C++打开的文件类型(可能需要管理员权限) + Just check or uncheck for which file types Red Panda C++ wil be registered as the default application to open them ... + Just check or uncheck for which file types RedPand C++ wil be registered as the default application to open them ... + 选择想要使用小熊猫C++打开的文件类型(可能需要管理员权限) @@ -2064,7 +2130,7 @@ Are you really want to continue? ExecutableRunner - + The runner process '%1' failed to start. The runner process failed to start. 无法启动程序运行进程'%1'。 @@ -2074,17 +2140,17 @@ Are you really want to continue? 程序运行进程启动后崩溃。 - + The last waitFor...() function timed out. waitFor()函数等待超时。 - + An error occurred when attempting to write to the runner process. 在向程序运行进程写入内容时出错。 - + An error occurred when attempting to read from the runner process. 在从程序运行进程读取内容时出错。 @@ -3107,17 +3173,18 @@ Are you really want to continue? MainWindow + Red Panda C++ 小熊猫C++ - - - - - + + + + + Issues 编译器 @@ -3524,7 +3591,7 @@ Are you really want to continue? - + New Problem Set 新建试题集 @@ -3543,14 +3610,14 @@ Are you really want to continue? - + Save Problem Set 保存试题集 - + Load Problem Set 载入试题集 @@ -3890,7 +3957,7 @@ Are you really want to continue? - + Clear all breakpoints 删除所有断点 @@ -3991,7 +4058,7 @@ Are you really want to continue? - + Rename Symbol 重命名符号 @@ -4012,13 +4079,13 @@ Are you really want to continue? - + Export As RTF 导出为RTF - + Export As HTML 导出为HTML @@ -4143,7 +4210,7 @@ Are you really want to continue? - + Open Folder 打开文件夹 @@ -4153,7 +4220,7 @@ Are you really want to continue? 运行参数... - + File Encoding 文件编码 @@ -4378,7 +4445,7 @@ Are you really want to continue? - + Problem Set %1 试题集%1 @@ -4398,11 +4465,6 @@ Are you really want to continue? Or You can choose a different port number and try again. 或者选择使用其他的网络端口。 - - - Red Panda Dev-C++ - 小熊猫Dev-C++ - @@ -4457,15 +4519,15 @@ Are you really want to continue? - - + + Bookmark Description 书签描述 - - + + Description: 描述: @@ -4581,256 +4643,260 @@ Are you really want to continue? 在终端中打开 - + Open in Windows Explorer 在Windows浏览器中打开 - + Character sets 字符集 - + %1 files autosaved 已自动保存%1个文件 - + Set answer to... 设置答案源代码... - + select other file... 选择其他文件... - + Select Answer Source File 选择答案源代码文件 - + C/C++Source Files (*.c *.cpp *.cc *.cxx) C/C++Source Files (*.c *.cpp *.cc *.cxx C/C++源代码文件 (*.c *.cpp *.cc *.cxx) - + Save project 保存项目 - + The project '%1' has modifications. 项目'%1'有改动。 - - + + Do you want to save it? 需要保存吗? - - + + File Changed 文件已发生变化 - + New Project File? 新建项目文件? - + Do you want to add the new file to the project? 您是否要将新建的文件加入项目? - - - - + + + + Save Error 保存失败 - + Change Project Compiler Set 改变项目编译器配置集 - + Change the project's compiler set will lose all custom compiler set options. 改变项目的编译器配置集会导致所有的自定义编译器选项被重置。 - + Do you really want to do that? 你真的想要做那些吗? - + Do you really want to clear all breakpoints in this file? 您真的要清除该文件的所有断点吗? - + New project 新建项目 - + Close %1 and start new project? 关闭'%1'以打开新项目? - + Folder not exist 文件夹不存在 - + Folder '%1' doesn't exist. Create it now? 文件夹'%1'不存在。是否创建? - + Can't create folder 无法创建文件夹 - + Failed to create folder '%1'. 创建文件夹'%1'失败。 - + Save new project as - Red panda Dev-C++ project file (*.dev) - 小熊猫Dev-C++项目文件 (*.dev) + 小熊猫Dev-C++项目文件 (*.dev) - + New project fail 新建项目失败 - + Can't assign project template 无法使用模板创建项目 - + Remove file 删除文件 - + Remove the file from disk? 同时从硬盘上删除文件? - + untitled 无标题 - + New Project File Name 新的项目文件名 - + File Name: 文件名: - + File Already Exists! 文件已存在! - + File '%1' already exists! 文件'%1'已经存在! - + Add to project 添加到项目 - + + Red Panda C++ project file (*.dev) + 小熊猫C++项目文件(*.dev) + + + Rename Error 重命名出错 - + Symbol '%1' is defined in system header. 符号'%1'在系统头文件中定义,无法修改。 - + New Name 新名称 - - + + Replace Error 替换出错 - + Can't open file '%1' for replace! 无法打开文件'%1'进行替换! - + Contents has changed since last search! 内容和上次查找时不一致。 - + Rich Text Format Files (*.rtf) RTF格式文件 (*.rtf) - + HTML Files (*.html) HTML文件 (*.html) - + The current problem set is not empty. 当前的试题集不是空的。 - + Problem %1 试题%1 - - + + Problem Set Files (*.pbs) 试题集文件 (*.pbs) - + Load Error 载入失败 - - + + Problem Case %1 试题案例%1 @@ -4843,13 +4909,13 @@ Are you really want to continue? - - - - - - - + + + + + + + Error 错误 @@ -4859,75 +4925,75 @@ Are you really want to continue? 项目历史 - + File '%1' was changed. 磁盘文件'%1'已被修改。 - + Reload its content from disk? 是否重新读取它的内容? - + File '%1' was removed. 磁盘文件'%1'已被删除。 - + Keep it open? 是否保持它在小熊猫C++中打开的编辑窗口? - + Open 打开 - + Compile Failed 编译失败 - + Run Failed 运行失败 - - + + Confirm Convertion 确认转换 - - + + The editing file will be saved using %1 encoding. <br />This operation can't be reverted. <br />Are you sure to continue? 当前编辑器中的文件将会使用%1编码保存。<br />这项操作无法被撤回。<br />你确定要继续吗? - + New Watch Expression 新监视表达式 - + Enter Watch Expression (it is recommended to use 'this->' for class members): 输入监视表达式 - + Parsing file %1 of %2: "%3" (%1/%2)正在解析文件"%3" - + Done parsing %1 files in %2 seconds 完成%1个文件的解析,用时%2秒 - + (%1 files per second) (每秒%1个文件) @@ -5110,8 +5176,9 @@ Are you really want to continue? - The compiler settings format of Dev-C++ has changed. - Dev-C++的编译器设置格式已发生改变。 + The compiler settings format of Red Panda C++ has changed. + The compiler settings format of Dev-C++ has changed. + 小熊猫C++的编译器设置格式已发生改变。 @@ -5135,8 +5202,9 @@ Are you really want to continue? - Developed using the Red Panda Dev-C++ IDE - 使用小熊猫Dev-C++编辑器开发 + Developed using the Red Panda C++ IDE + Developed using the Red Panda Dev-C++ IDE + 使用小熊猫C++编辑器开发 @@ -5856,175 +5924,175 @@ Are you really want to continue? 无法载入自动链接设置 - - - - + + + + The following %1 directories don't exist: 下列%1文件夹不存在: - - + + binary 二进制 - + No %1 directories have been specified. 未指定%1文件夹 - + C include C包含 - - + + C++ include C++包含 - - - - + + + + Cannot find the %1 "%2" 无法找到%1程序"%2" - + C options C语言选项 - + Support all ANSI standard C programs (-ansi) 支持所有ANSI标准C程序(-ansi) - + Do not recognize asm,inline or typeof as a keyword (-fno-asm) 不支持将asm、inline和typeof作为关键字(-fno-asm) - + Imitate traditional C preprocessors (-traditional-cpp) 模仿传统C预处理器行为(-traditional-cpp) - + Code Generation 代码生成 - + Optimize for the following machine (-march) 生成特定机器的专用指令(-march) - + Optimize less, while maintaining full compatibility (-tune) 完整兼容特定机器,较少优化(-tune) - + Enable use of specific instructions (-mx) 启用特定指令集(-mx) - + Optimization level (-Ox) 优化级别(-Ox) - + Compile with the following pointer size (-mx) 使用下列指针大小编译(-mx) - + Language standard (-std) 语言标准(-std) - + Profile 性能分析 - + Generate debugging information (-g3) 生成调试信息(-g3) - + Generate profiling info for analysis (-pg) 生成性能分析信息(-pg) - + Warnings 代码警告 - + Inhibit all warning messages (-w) 忽略所有警告信息(-w) - + Show most warnings (-Wall) 启用常见问题警告(-Wall) - + Show some more warnings (-Wextra) 启用更多问题警告(-Wextra) - + Check ISO C/C++/C++0x conformance (-pedantic) 检查ISO C/C++/C++0x语法一致性(-pedantic) - + Only check the code for syntax errors (-fsyntax-only) 只进行语法检查(不编译)(-fsyntax-only) - + Make all warnings into errors (-Werror) 将警告作为错误处理(-Werror) - + Abort compilation on first error (-Wfatal-errors) 遇到第一个错误后立即中止编译(-Wfatal-errors) - + Linker 链接器 - + Link an Objective C program (-lobjc) 链接Objective-C程序 (-lobjc) - + Do not use standard system libraries (-nostdlib) 不使用标准库和系统启动文件(-nostdlib) - + Do not create a console window (-mwindows) 不产生控制台窗口(-mwindows) - + Strip executable (-s) 剥除附加信息(-s) @@ -6033,53 +6101,53 @@ Are you really want to continue? 链接Ojbective C程序(-lobjc) - + Output 输出 - + Put comments in generated assembly code (-fverbose-asm) 在生成的汇编代码中加入注释(-fverbose-asm) - + Use pipes instead of temporary files during compilation (-pipe) 编译时使用管道而不是临时文件(-pipe) - + Do not assemble, compile and generate the assemble code (-S) 只生成汇编代码(-S) - - + + Confirm 确认 - + The following problems were found during validation of compiler set "%1": 在验证编译器设置"%1"时遇到了下列问题: - + Would you like Red Panda C++ to remove them for you and add the default paths to the valid paths? 是否让小熊猫C++删除这些配置,并尝试重新建立配置? - + Leaving those directories will lead to problems during compilation.<br /><br />Unless you know exactly what you're doing, it is recommended that you click Yes. 如果仍然保留这些设置,可能会导致编译错误。<br /><br />请选择“是”,除非您清楚的知道选择“否”的后果, - + Compiler set not configuared. 未配置编译器设置。 - + Would you like Red Panda C++ to search for compilers in the following locations: <BR />'%1'<BR />'%2'? 您需要小熊猫C++在下列位置搜索编译器吗:<br />%1<br />%2 @@ -6127,22 +6195,22 @@ Are you really want to continue? 下标"%1"越界 - + bytes 字节 - + KB KB - + MB MB - + GB GB @@ -6882,7 +6950,7 @@ Are you really want to continue? 自动链接 - + @@ -6958,15 +7026,15 @@ Are you really want to continue? 杂项 - - + + Program Runner 程序运行 - + Problem Set 试题集 diff --git a/RedPandaIDE/compiler/projectcompiler.cpp b/RedPandaIDE/compiler/projectcompiler.cpp index 5139d1cb..3f0157cf 100644 --- a/RedPandaIDE/compiler/projectcompiler.cpp +++ b/RedPandaIDE/compiler/projectcompiler.cpp @@ -125,7 +125,7 @@ void ProjectCompiler::newMakeFile(QFile& file) void ProjectCompiler::writeMakeHeader(QFile &file) { writeln(file,"# Project: " + mProject->name()); - writeln(file,QString("# Makefile created by Red Panda Dev-C++ ") + DEVCPP_VERSION); + writeln(file,QString("# Makefile created by Red Panda C++ ") + DEVCPP_VERSION); writeln(file); if (mOnlyCheckSyntax) { writeln(file,"# This Makefile is written for syntax check!"); diff --git a/RedPandaIDE/mainwindow.cpp b/RedPandaIDE/mainwindow.cpp index 4fa0783f..52286c72 100644 --- a/RedPandaIDE/mainwindow.cpp +++ b/RedPandaIDE/mainwindow.cpp @@ -681,7 +681,7 @@ void MainWindow::setActiveBreakpoint(QString FileName, int Line, bool setFocus) void MainWindow::updateAppTitle() { - QString appName=tr("Red Panda Dev-C++"); + QString appName=tr("Red Panda C++"); Editor *e = mEditorList->getEditor(); QCoreApplication *app = QApplication::instance(); if (e && !e->inProject()) { @@ -4941,7 +4941,7 @@ void MainWindow::on_actionNew_Project_triggered() this, tr("Save new project as"), location, - tr("Red panda Dev-C++ project file (*.dev)")); + tr("Red Panda C++ project file (*.dev)")); if (!saveName.isEmpty()) { s = saveName; } diff --git a/RedPandaIDE/project.cpp b/RedPandaIDE/project.cpp index be8327b6..ce262ffe 100644 --- a/RedPandaIDE/project.cpp +++ b/RedPandaIDE/project.cpp @@ -711,7 +711,7 @@ void Project::saveOptions() ini.SetValue("Project","FileName", toByteArray(extractRelativePath(directory(), mFilename))); ini.SetValue("Project","Name", toByteArray(mName)); ini.SetLongValue("Project","Type", static_cast(mOptions.type)); - ini.SetLongValue("Project","Ver", 3); // Is 3 as of Red Panda Dev-C++ 7.0 + ini.SetLongValue("Project","Ver", 3); // Is 3 as of Red Panda C++.0 ini.SetValue("Project","ObjFiles", toByteArray(mOptions.objFiles.join(";"))); ini.SetValue("Project","Includes", toByteArray(mOptions.includes.join(";"))); ini.SetValue("Project","Libs", toByteArray(mOptions.libs.join(";"))); @@ -916,7 +916,7 @@ void Project::buildPrivateResource(bool forceSave) return; QStringList contents; - contents.append("/* THIS FILE WILL BE OVERWRITTEN BY DEV-C++ */"); + contents.append("/* THIS FILE WILL BE OVERWRITTEN BY Red Panda C++ */"); contents.append("/* DO NOT EDIT! */"); contents.append(""); @@ -1096,7 +1096,7 @@ void Project::buildPrivateResource(bool forceSave) contents.clear(); QString def = extractFileName(rcFile); def.replace(".","_"); - contents.append("/* THIS FILE WILL BE OVERWRITTEN BY DEV-C++ */"); + contents.append("/* THIS FILE WILL BE OVERWRITTEN BY Red Panda C++ */"); contents.append("/* DO NOT EDIT ! */"); contents.append(""); contents.append("#ifndef " + def); @@ -1352,7 +1352,7 @@ void Project::loadOptions(SimpleIni& ini) mOptions.version = 2; QMessageBox::information(pMainWindow, tr("Settings need update"), - tr("The compiler settings format of Dev-C++ has changed.") + tr("The compiler settings format of Red Panda C++ has changed.") +"

" +tr("Please update your settings at Project >> Project Options >> Compiler and save your project."), QMessageBox::Ok); @@ -1432,7 +1432,7 @@ void Project::loadOptions(SimpleIni& ini) mOptions.versionInfo.companyName = fromByteArray(ini.GetValue("VersionInfo", "CompanyName", "")); mOptions.versionInfo.fileVersion = fromByteArray(ini.GetValue("VersionInfo", "FileVersion", "0.1")); mOptions.versionInfo.fileDescription = fromByteArray(ini.GetValue("VersionInfo", "FileDescription", - toByteArray(tr("Developed using the Red Panda Dev-C++ IDE")))); + toByteArray(tr("Developed using the Red Panda C++ IDE")))); mOptions.versionInfo.internalName = fromByteArray(ini.GetValue("VersionInfo", "InternalName", "")); mOptions.versionInfo.legalCopyright = fromByteArray(ini.GetValue("VersionInfo", "LegalCopyright", "")); mOptions.versionInfo.legalTrademarks = fromByteArray(ini.GetValue("VersionInfo", "LegalTrademarks", "")); diff --git a/RedPandaIDE/projectoptions.cpp b/RedPandaIDE/projectoptions.cpp index 8fba8c0a..0c324a1c 100644 --- a/RedPandaIDE/projectoptions.cpp +++ b/RedPandaIDE/projectoptions.cpp @@ -26,7 +26,7 @@ ProjectVersionInfo::ProjectVersionInfo() charsetID = 0x04E4; // Windows multilingual companyName = ""; fileVersion = ""; - fileDescription = "Developed using the Red Panda Dev-C++ IDE"; + fileDescription = "Developed using the Red Panda C++ IDE"; internalName = ""; legalCopyright = ""; legalTrademarks = ""; diff --git a/RedPandaIDE/settingsdialog/environmentfileassociationwidget.cpp b/RedPandaIDE/settingsdialog/environmentfileassociationwidget.cpp index 02d337ce..7d9deb14 100644 --- a/RedPandaIDE/settingsdialog/environmentfileassociationwidget.cpp +++ b/RedPandaIDE/settingsdialog/environmentfileassociationwidget.cpp @@ -34,7 +34,7 @@ EnvironmentFileAssociationWidget::EnvironmentFileAssociationWidget(const QString mModel.addItem("C/C++ Header File","h",3); mModel.addItem("C++ Header File","hpp",4); mModel.addItem("C++ Header File","hxx",4); - mModel.addItem("Dev-C++ Project File","dev",5); + mModel.addItem("Red Panda C++ Project File","dev",5); ui->lstFileTypes->setModel(&mModel); connect(&mModel, &FileAssociationModel::associationChanged, [this](){ diff --git a/RedPandaIDE/settingsdialog/environmentfileassociationwidget.ui b/RedPandaIDE/settingsdialog/environmentfileassociationwidget.ui index f5254dd1..6ec76ee1 100644 --- a/RedPandaIDE/settingsdialog/environmentfileassociationwidget.ui +++ b/RedPandaIDE/settingsdialog/environmentfileassociationwidget.ui @@ -33,7 +33,7 @@ - Just check or uncheck for which file types Dev-C++ wil be registered as the default application to open them ... + Just check or uncheck for which file types Red Panda C++ wil be registered as the default application to open them ... Qt::AlignCenter diff --git a/RedPandaIDE/utils.cpp b/RedPandaIDE/utils.cpp index 5f7fcd97..0360da73 100644 --- a/RedPandaIDE/utils.cpp +++ b/RedPandaIDE/utils.cpp @@ -621,7 +621,7 @@ void resetCppParser(std::shared_ptr parser) for (QString define:compilerSet->defines()) { parser->addHardDefineByLine(define); // predefined constants from -dM -E } - // add a dev-cpp's own macro + // add a Red Pand C++ 's own macro parser->addHardDefineByLine("#define EGE_FOR_AUTO_CODE_COMPLETETION_ONLY"); // add C/C++ default macro parser->addHardDefineByLine("#define __FILE__ 1"); diff --git a/RedPandaIDE/utils.h b/RedPandaIDE/utils.h index 2590017b..da9d78de 100644 --- a/RedPandaIDE/utils.h +++ b/RedPandaIDE/utils.h @@ -46,7 +46,7 @@ enum class FileType{ CHeader, // c header (.h) CppHeader, // c++ header (.hpp) WindowsResourceSource, // resource source (.res) - Project, //Red Panda Dev-C++ Project (.dev) + Project, //Red Panda C++ Project (.dev) Other // any others }; diff --git a/RedPandaIDE/widgets/aboutdialog.cpp b/RedPandaIDE/widgets/aboutdialog.cpp index da06f89b..c1f29b35 100644 --- a/RedPandaIDE/widgets/aboutdialog.cpp +++ b/RedPandaIDE/widgets/aboutdialog.cpp @@ -28,18 +28,18 @@ AboutDialog::AboutDialog(QWidget *parent) : ui->lblTitle->setText(ui->lblTitle->text() + tr("Version: ") + DEVCPP_VERSION); #ifdef __GNUC__ - ui->lblContent->setText(ui->lblContent->text() - .arg(qVersion()) - .arg(QString("GCC %1.%2") - .arg(__GNUC__) - .arg(__GNUC_MINOR__) - ,__DATE__, __TIME__)); + ui->lblQt->setText(ui->lblQt->text() + .arg(qVersion()) + .arg(QString("GCC %1.%2") + .arg(__GNUC__) + .arg(__GNUC_MINOR__))); #else - ui->lblContent->setText(ui->lblContent->text() - .arg(qVersion()) - .arg("Non-GCC Compiler" - ,__DATE__, __TIME__)); + ui->lblQt->setText(ui->lblQt->text() + .arg(qVersion()) + .arg(tr("Non-GCC Compiler")); #endif + ui->lblCompileTime->setText(ui->lblCompileTime->text() + .arg(__DATE__, __TIME__)); } AboutDialog::~AboutDialog() diff --git a/RedPandaIDE/widgets/aboutdialog.ui b/RedPandaIDE/widgets/aboutdialog.ui index f45f8f0f..a7e5e486 100644 --- a/RedPandaIDE/widgets/aboutdialog.ui +++ b/RedPandaIDE/widgets/aboutdialog.ui @@ -17,7 +17,7 @@ - <h1>Red-Panda Dev-Cpp 7</h1> + <html><head/><body><h1 style=" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:xx-large; font-weight:600;">Red Panda C++</span></h1></body></html> Qt::AlignCenter @@ -25,29 +25,82 @@ - - - - 0 - 0 - + + + + 50 + false + - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Microsoft YaHei UI'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Based on Qt %1 (%2)</p> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Build time: %3 %4</p> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Copyright (C) 2021-2022 royqh1979@gmail.com</p> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Old Delphi Version:</p> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Copyright (c) 2004 Bloodshed Software</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Copyright (c) 2011-2015 orwell devcpp </p> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Copyright (c) 2020-2021 royqh1979@gmail.com</p> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Homepage: <a href="https://sourceforge.net/projects/dev-cpp-2020/"><span style=" text-decoration: underline; color:#007af4;">https://sourceforge.net/projects/dev-cpp-2020/</span></a></p></body></html> + Based on Qt %1 (%2) - - true + + + + + + + 50 + false + + + + Build time: %1 %2 + + + + + + + + 50 + false + + + + Copyright(C) 2021-2022 瞿华(royqh1979@gmail.com) + + + + + + + + 50 + false + + + + <html><head/><body><p>Homepage: <a href="Homepage: https://sourceforge.net/projects/dev-cpp-2020/"><span style=" text-decoration: underline; color:#0000ff;">https://sourceforge.net/projects/dev-cpp-2020/</span></a></p></body></html> + + + + + + + + 50 + false + + + + Red Panda Dev-C++: + + + + + + + + 50 + false + + + + Copyright (c) 2004 Bloodshed Software +Copyright (c) 2011-2015 orwell devcpp +Copyright (c) 2020-2021 royqh1979@gmail.com diff --git a/RedPandaIDE/widgets/custommakefileinfodialog.ui b/RedPandaIDE/widgets/custommakefileinfodialog.ui index d9aac9e4..f14cdde5 100644 --- a/RedPandaIDE/widgets/custommakefileinfodialog.ui +++ b/RedPandaIDE/widgets/custommakefileinfodialog.ui @@ -50,7 +50,7 @@ - <html><head/><body><p>Red Panda Dev-C++'s Makefile has two important targets:</p><p>- all (which builds the executable)</p><p>- clean (which cleans up object files)</p><p><br/>&quot;all&quot; depends on 2 targets: all-before and all-after. All-before</p><p>gets called before the compilation process, and all-after gets</p><p>called after the compilation process.</p><p><br/>&quot;clean&quot; depends on the target clean-custom, which gets called</p><p>before the cleaning process.<br/></p><p>You can change the Makefile's behavior by defining the targets</p><p>that &quot;all&quot; and &quot;clean&quot; depend on.</p></body></html> + <html><head/><body><p>Red Panda C++'s Makefile has two important targets:</p><p>- all (which builds the executable)</p><p>- clean (which cleans up object files)</p><p><br/>&quot;all&quot; depends on 2 targets: all-before and all-after. All-before</p><p>gets called before the compilation process, and all-after gets</p><p>called after the compilation process.</p><p><br/>&quot;clean&quot; depends on the target clean-custom, which gets called</p><p>before the cleaning process.<br/></p><p>You can change the Makefile's behavior by defining the targets</p><p>that &quot;all&quot; and &quot;clean&quot; depend on.</p></body></html> Qt::RichText diff --git a/consolepauser/main.unix.cpp b/consolepauser/main.unix.cpp index 391d7bda..c145e95e 100644 --- a/consolepauser/main.unix.cpp +++ b/consolepauser/main.unix.cpp @@ -1,5 +1,5 @@ /* - * This file is part of Red Panda Dev-C++ 7 + * This file is part of Red Panda C++ * Copyright (C) 2020-2022 Roy Qu (royqh1979@gmail.com) * * This program is free software: you can redistribute it and/or modify @@ -135,7 +135,7 @@ int main(int argc, char** argv) { if(argc < 3) { printf("\n--------------------------------"); printf("\nUsage: ConsolePauser.exe <0|1> \n"); - printf("\n 1 means the STDIN is redirected by Dev-CPP;0 means not\n"); + printf("\n 1 means the STDIN is redirected by Red Panda C++; 0 means not\n"); PauseExit(EXIT_SUCCESS,false); } diff --git a/consolepauser/main.windows.cpp b/consolepauser/main.windows.cpp index 62475acf..f78f0d4e 100644 --- a/consolepauser/main.windows.cpp +++ b/consolepauser/main.windows.cpp @@ -1,5 +1,5 @@ /* - * This file is part of Red Panda Dev-C++ 7 + * This file is part of Red Panda C++ * Copyright (C) 2020-2022 Roy Qu (royqh1979@gmail.com) * * This program is free software: you can redistribute it and/or modify @@ -148,7 +148,7 @@ int main(int argc, char** argv) { if(argc < 3) { printf("\n--------------------------------"); printf("\nUsage: ConsolePauser.exe <0|1> \n"); - printf("\n 1 means the STDIN is redirected by Dev-CPP;0 means not\n"); + printf("\n 1 means the STDIN is redirected by Red Panda C++; 0 means not\n"); PauseExit(EXIT_SUCCESS,false); }