Compare commits

...

4 Commits

Author SHA1 Message Date
rabix 8c49dfd3fa version 2024-09-30 17:21:16 +08:00
rabix 1205beec8e remove watch and debug 2024-09-30 17:11:54 +08:00
rabix 78dee1a5c1 remove watch and debug 2024-09-30 16:41:42 +08:00
rabix 9231e02395 Remove Harmful way of debugging 2024-09-30 12:50:32 +08:00
14 changed files with 195 additions and 168 deletions

View File

@ -861,6 +861,14 @@ void Compiler::setRebuild(bool isRebuild)
mRebuild = isRebuild;
}
QStringList Compiler::getReflextiveArguments()
{
QStringList result{
"-Wall", "-Werror", "-Wextra", "-pedantic", "-Wconversion"
};
return result;
}
void Compiler::log(const QString &msg)
{
emit compileOutput(msg);

View File

@ -83,6 +83,7 @@ protected:
virtual bool parseForceUTF8ForAutolink(
const QString& filename,
QSet<QString>& parsedFiles);
virtual QStringList getReflextiveArguments();
void log(const QString& msg);
void error(const QString& msg);
void runCommand(const QString& cmd, const QStringList& arguments, const QString& workingDir, const QByteArray& inputText=QByteArray(), const QString& outputFile=QString());

View File

@ -125,6 +125,7 @@ bool FileCompiler::prepareForCompile()
mArguments += getCCompileArguments(mOnlyCheckSyntax);
mArguments += getCIncludeArguments();
mArguments += getProjectIncludeArguments();
mArguments += getReflextiveArguments();
strFileType = "C";
mCompiler = compilerSet()->CCompiler();
break;
@ -132,6 +133,7 @@ bool FileCompiler::prepareForCompile()
mArguments += getCppCompileArguments(mOnlyCheckSyntax);
mArguments += getCppIncludeArguments();
mArguments += getProjectIncludeArguments();
mArguments += getReflextiveArguments();
strFileType = "C++";
mCompiler = compilerSet()->cppCompiler();
break;

View File

@ -249,6 +249,8 @@ void ProjectCompiler::writeMakeDefines(QFile &file, bool &genModuleDef)
cIncludeArguments += getProjectIncludeArguments();
QStringList cxxIncludeArguments = getCppIncludeArguments();
cxxIncludeArguments += getProjectIncludeArguments();
cxxIncludeArguments += getReflextiveArguments();
cIncludeArguments += getReflextiveArguments();
#ifdef Q_OS_WIN
QStringList resourceArguments = parseArguments(mProject->options().resourceCmd, devCppMacroVariables(), true);
#endif

View File

@ -50,6 +50,7 @@ private:
// Compiler interface
private:
bool mOnlyClean;
protected:
bool prepareForCompile() override;
bool prepareForRebuild() override;

View File

@ -5209,6 +5209,7 @@ int Editor::gutterClickedLine() const
void Editor::toggleBreakpoint(int line)
{
return;
if (hasBreakpoint(line)) {
mBreakpointLines.remove(line);
if (inTab())
@ -5225,6 +5226,7 @@ void Editor::toggleBreakpoint(int line)
void Editor::clearBreakpoints()
{
return;
pMainWindow->debugger()->deleteBreakpoints(this);
mBreakpointLines.clear();
invalidate();
@ -5232,6 +5234,7 @@ void Editor::clearBreakpoints()
bool Editor::hasBreakpoint(int line)
{
return false;
return mBreakpointLines.contains(line);
}

View File

@ -498,6 +498,10 @@ MainWindow::MainWindow(QWidget *parent)
updateShortcuts();
updateEditorSettings();
//updateEditorBookmarks();
ui->tabWatch->setVisible(false);
ui->tabDebug->setVisible(false);
ui->tabDebugConsole->setVisible(false);
}
MainWindow::~MainWindow()
@ -1101,7 +1105,7 @@ void MainWindow::applyUISettings()
ui->actionProject->setChecked(settings.showProject());
showHideInfosTab(ui->tabProject,settings.showProject());
ui->actionWatch->setChecked(settings.showWatch());
ui->actionWatch->setChecked(false);
showHideInfosTab(ui->tabWatch,settings.showWatch());
ui->actionStructure->setChecked(settings.showStructure());
showHideInfosTab(ui->tabStructure,settings.showStructure());
@ -1133,6 +1137,9 @@ void MainWindow::applyUISettings()
ui->tabMessages->setShrinkedFlag(true);
if (settings.shrinkExplorerTabs())
ui->tabExplorer->setShrinkedFlag(true);
ui->tabWatch->setVisible(false);
ui->tabDebug->setVisible(false);
ui->tabDebugConsole->setVisible(false);
}
QFileSystemWatcher *MainWindow::fileSystemWatcher()
@ -1965,7 +1972,6 @@ void MainWindow::updateActionIcons()
ui->toolbarMain->setIconSize(iconSize);
ui->toolbarCode->setIconSize(iconSize);
ui->toolbarCompile->setIconSize(iconSize);
ui->toolbarDebug->setIconSize(iconSize);
ui->toolbarCompilerSet->setIconSize(iconSize);
for (QToolButton* btn: mClassBrowserToolbar->findChildren<QToolButton *>()) {
btn->setIconSize(iconSize);
@ -2112,10 +2118,10 @@ void MainWindow::updateActionIcons()
mProblem_Properties->setIcon(pIconsManager->getIcon(IconsManager::ACTION_PROBLEM_PROPERTIES));
int idx = ui->tabExplorer->indexOf(ui->tabWatch);
if (idx>=0)
ui->tabExplorer->setTabIcon(idx,pIconsManager->getIcon(IconsManager::ACTION_RUN_ADD_WATCH));
idx = ui->tabExplorer->indexOf(ui->tabProject);
//int idx = ui->tabExplorer->indexOf(ui->tabWatch);
//if (idx>=0)
// ui->tabExplorer->setTabIcon(idx,pIconsManager->getIcon(IconsManager::ACTION_RUN_ADD_WATCH));
int idx = ui->tabExplorer->indexOf(ui->tabProject);
if (idx>=0)
ui->tabExplorer->setTabIcon(idx,pIconsManager->getIcon(IconsManager::ACTION_PROJECT_NEW));
idx = ui->tabExplorer->indexOf(ui->tabFiles);
@ -2733,6 +2739,7 @@ void MainWindow::stretchExplorerPanel(bool open)
void MainWindow::prepareDebugger()
{
return;
mDebugger->stop();
// Clear logs
@ -2746,9 +2753,9 @@ void MainWindow::prepareDebugger()
mDebugger->setLeftPageIndexBackup(ui->tabExplorer->currentIndex());
// Focus on the debugging buttons
ui->tabExplorer->setCurrentWidget(ui->tabWatch);
ui->tabMessages->setCurrentWidget(ui->tabDebug);
ui->debugViews->setCurrentWidget(ui->tabLocals);
//ui->tabExplorer->setCurrentWidget(ui->tabWatch);
//ui->tabMessages->setCurrentWidget(ui->tabDebug);
//ui->debugViews->setCurrentWidget(ui->tabLocals);
stretchMessagesPanel(true);
stretchExplorerPanel(true);
@ -5001,6 +5008,7 @@ void MainWindow::onProjectRenameUnit()
void MainWindow::onBreakpointRemove()
{
return;
int index =ui->tblBreakpoints->selectionModel()->currentIndex().row();
PBreakpoint breakpoint = debugger()->breakpointModel()->breakpoint(index, debugger()->isForProject());
@ -5637,7 +5645,7 @@ void MainWindow::closeEvent(QCloseEvent *event) {
settings.setShowToolWindowBars(ui->actionTool_Window_Bars->isChecked());
settings.setShowProject(ui->actionProject->isChecked());
settings.setShowWatch(ui->actionWatch->isChecked());
settings.setShowWatch(false);
settings.setShowStructure(ui->actionStructure->isChecked());
settings.setShowFiles(ui->actionFiles->isChecked());
settings.setShowProblemSet(ui->actionProblem_Set->isChecked());
@ -5753,6 +5761,9 @@ void MainWindow::showEvent(QShowEvent *)
ui->tabMessages->setCurrentIndex(settings.bottomPanelIndex());
ui->tabExplorer->setCurrentIndex(settings.leftPanelIndex());
ui->debugViews->setCurrentIndex(settings.debugPanelIndex());
ui->tabWatch->setVisible(false);
ui->tabDebug->setVisible(false);
ui->tabDebugConsole->setVisible(false);
}
void MainWindow::hideEvent(QHideEvent *)
@ -6478,6 +6489,7 @@ void MainWindow::on_actionContinue_triggered()
void MainWindow::on_actionAdd_Watch_triggered()
{
return;
QString s = "";
Editor *e = mEditorList->getEditor();
if (e!=nullptr) {
@ -6702,6 +6714,7 @@ void MainWindow::on_btnSearchAgain_clicked()
void MainWindow::on_actionRemove_Watch_triggered()
{
return;
QModelIndexList lst=ui->watchView->selectionModel()->selectedRows();
if (lst.count()<=1) {
QModelIndex index =ui->watchView->currentIndex();
@ -6734,12 +6747,14 @@ void MainWindow::on_actionRemove_Watch_triggered()
void MainWindow::on_actionRemove_All_Watches_triggered()
{
return;
mDebugger->removeWatchVars(true);
}
void MainWindow::on_actionModify_Watch_triggered()
{
return;
QModelIndexList lst=ui->watchView->selectionModel()->selectedRows();
if (lst.count()<=1) {
QModelIndex index =ui->watchView->currentIndex();
@ -6871,6 +6886,7 @@ void MainWindow::on_actionPrevious_Editor_triggered()
void MainWindow::on_actionToggle_Breakpoint_triggered()
{
return;
Editor * editor = mEditorList->getEditor();
if (editor)
editor->toggleBreakpoint(editor->caretY());
@ -6879,6 +6895,7 @@ void MainWindow::on_actionToggle_Breakpoint_triggered()
void MainWindow::on_actionClear_all_breakpoints_triggered()
{
return;
Editor *e=mEditorList->getEditor();
if (!e)
return;
@ -7375,6 +7392,13 @@ PSymbolUsageManager &MainWindow::symbolUsageManager()
void MainWindow::showHideInfosTab(QWidget *widget, bool show)
{
if (widget == ui->tabWatch) {
int idx = findTabIndex(ui->tabExplorer,widget);
if (idx >= 0) {
ui->tabExplorer->removeTab(idx);
}
return;
}
int idx = findTabIndex(ui->tabExplorer,widget);
if (idx>=0) {
if (!show) {
@ -7385,6 +7409,7 @@ void MainWindow::showHideInfosTab(QWidget *widget, bool show)
}
ui->tabExplorer->removeTab(idx);
ui->tabWatch->setVisible(false);
}
} else {
if (show && mTabInfosData.contains(widget)) {
@ -7403,8 +7428,11 @@ void MainWindow::showHideInfosTab(QWidget *widget, bool show)
} else {
ui->tabExplorer->addTab(widget, info->icon, info->text);
}
ui->tabWatch->setVisible(false);
}
}
}
void MainWindow::showHideMessagesTab(QWidget *widget, bool show)
@ -7461,6 +7489,8 @@ void MainWindow::prepareTabInfosData()
info->icon = ui->tabExplorer->tabIcon(i);
mTabInfosData[widget]=info;
}
ui->tabWatch->setVisible(false);
}
void MainWindow::prepareTabMessagesData()
@ -8835,6 +8865,7 @@ QList<QAction *> MainWindow::listShortCutableActions()
void MainWindow::switchCurrentStackTrace(int idx)
{
return;
PTrace trace = mDebugger->backtraceModel()->backtrace(idx);
if (trace) {
Editor *e = openFile(trace->filename);
@ -8874,6 +8905,9 @@ void MainWindow::on_actionTool_Window_Bars_triggered()
ui->tabExplorer->setVisible(state);
ui->tabMessages->setVisible(state);
ui->actionTool_Window_Bars->setChecked(state);
ui->tabWatch->setVisible(false);
ui->tabDebug->setVisible(false);
ui->tabDebugConsole->setVisible(false);
}
void MainWindow::on_actionStatus_Bar_triggered()
@ -8894,9 +8928,9 @@ void MainWindow::on_actionProject_triggered()
void MainWindow::on_actionWatch_triggered()
{
bool state = ui->actionWatch->isChecked();
ui->actionWatch->setChecked(state);
showHideInfosTab(ui->tabWatch,state);
// bool state = ui->actionWatch->isChecked();
// ui->actionWatch->setChecked(state);
// showHideInfosTab(ui->tabWatch,state);
}

View File

@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>936</width>
<width>1536</width>
<height>619</height>
</rect>
</property>
@ -119,8 +119,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>2002</width>
<height>25</height>
<width>1536</width>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
@ -160,18 +160,8 @@
<addaction name="actionRun_Parameters"/>
<addaction name="actionCompiler_Options"/>
<addaction name="separator"/>
<addaction name="actionDebug"/>
<addaction name="actionInterrupt"/>
<addaction name="actionStep_Over"/>
<addaction name="actionStep_Into"/>
<addaction name="actionStep_Out"/>
<addaction name="actionRun_To_Cursor"/>
<addaction name="actionContinue"/>
<addaction name="actionStop_Execution"/>
<addaction name="separator"/>
<addaction name="actionAdd_Watch"/>
<addaction name="actionAdd_Watchpoint"/>
<addaction name="actionView_CPU_Window"/>
</widget>
<widget class="QMenu" name="menuEdit">
<property name="title">
@ -289,13 +279,6 @@
<addaction name="actionC_C_Reference"/>
<addaction name="separator"/>
<addaction name="actionOI_Wiki"/>
<addaction name="actionRaylib_Manual"/>
<addaction name="actionEGE_Manual"/>
<addaction name="actionTurtle_Graphics_Manual"/>
<addaction name="separator"/>
<addaction name="actionGNU_Assembler_Manual"/>
<addaction name="actionx86_Assembly_Language_Reference_Manual"/>
<addaction name="actionIA_32_Assembly_Language_Reference_Manual"/>
<addaction name="separator"/>
<addaction name="actionWebsite"/>
<addaction name="actionSubmit_Issues"/>
@ -428,33 +411,6 @@
<addaction name="separator"/>
<addaction name="actionRun_Parameters"/>
</widget>
<widget class="QToolBar" name="toolbarDebug">
<property name="windowTitle">
<string>Debug</string>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="actionDebug"/>
<addaction name="actionInterrupt"/>
<addaction name="actionStep_Over"/>
<addaction name="actionStep_Into"/>
<addaction name="actionStep_Out"/>
<addaction name="actionRun_To_Cursor"/>
<addaction name="actionContinue"/>
<addaction name="actionStop_Execution"/>
<addaction name="separator"/>
<addaction name="actionAdd_Watch"/>
</widget>
<widget class="QToolBar" name="toolbarCompilerSet">
<property name="windowTitle">
<string>Compiler Set</string>
@ -497,7 +453,7 @@
<enum>QTabWidget::TabPosition::West</enum>
</property>
<property name="currentIndex">
<number>4</number>
<number>2</number>
</property>
<property name="usesScrollButtons">
<bool>true</bool>
@ -637,6 +593,9 @@
</layout>
</widget>
<widget class="QWidget" name="tabWatch">
<property name="enabled">
<bool>true</bool>
</property>
<property name="autoFillBackground">
<bool>true</bool>
</property>
@ -1645,7 +1604,7 @@
<string>Add Probem Case</string>
</property>
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/00Misc-03Add.svg</normaloff>:/resources/iconsets/newlook/actions/00Misc-03Add.svg</iconset>
</property>
</widget>
@ -1659,7 +1618,7 @@
<string>Remove Problem Case</string>
</property>
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/00Misc-04Remove.svg</normaloff>:/resources/iconsets/newlook/actions/00Misc-04Remove.svg</iconset>
</property>
</widget>
@ -1673,7 +1632,7 @@
<string>Open Anwser Source File</string>
</property>
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/08Problem-04EditSource.svg</normaloff>:/resources/iconsets/newlook/actions/08Problem-04EditSource.svg</iconset>
</property>
</widget>
@ -1694,7 +1653,7 @@
<string>Run All Cases</string>
</property>
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/08Problem-05RunCases.svg</normaloff>:/resources/iconsets/newlook/actions/08Problem-05RunCases.svg</iconset>
</property>
</widget>
@ -1705,7 +1664,7 @@
<string>Problem Cases Validation Options</string>
</property>
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/00Misc-05Gear.svg</normaloff>:/resources/iconsets/newlook/actions/00Misc-05Gear.svg</iconset>
</property>
</widget>
@ -1826,7 +1785,7 @@
<string>Choose Input File</string>
</property>
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/00Misc-07Folder.svg</normaloff>:/resources/iconsets/newlook/actions/00Misc-07Folder.svg</iconset>
</property>
</widget>
@ -1945,7 +1904,7 @@
<string>Choose Expected Output File</string>
</property>
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/00Misc-07Folder.svg</normaloff>:/resources/iconsets/newlook/actions/00Misc-07Folder.svg</iconset>
</property>
</widget>
@ -2018,7 +1977,7 @@
</widget>
<action name="actionNew">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/01File-01New.svg</normaloff>:/resources/iconsets/newlook/actions/01File-01New.svg</iconset>
</property>
<property name="text">
@ -2033,7 +1992,7 @@
</action>
<action name="actionOpen">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/01File-02Open.svg</normaloff>:/resources/iconsets/newlook/actions/01File-02Open.svg</iconset>
</property>
<property name="text">
@ -2045,7 +2004,7 @@
</action>
<action name="actionSave">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/01File-03Save.svg</normaloff>:/resources/iconsets/newlook/actions/01File-03Save.svg</iconset>
</property>
<property name="text">
@ -2057,7 +2016,7 @@
</action>
<action name="actionSaveAs">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/01File-04SaveAs.svg</normaloff>:/resources/iconsets/newlook/actions/01File-04SaveAs.svg</iconset>
</property>
<property name="text">
@ -2072,7 +2031,7 @@
</action>
<action name="actionSaveAll">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/01File-05SaveAll.svg</normaloff>:/resources/iconsets/newlook/actions/01File-05SaveAll.svg</iconset>
</property>
<property name="text">
@ -2084,7 +2043,7 @@
</action>
<action name="actionOptions">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/00Misc-05Gear.svg</normaloff>:/resources/iconsets/newlook/actions/00Misc-05Gear.svg</iconset>
</property>
<property name="text">
@ -2093,7 +2052,7 @@
</action>
<action name="actionCompile">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-01Compile.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-01Compile.svg</iconset>
</property>
<property name="text">
@ -2108,7 +2067,7 @@
</action>
<action name="actionRun">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-03Run.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-03Run.svg</iconset>
</property>
<property name="text">
@ -2123,7 +2082,7 @@
</action>
<action name="actionUndo">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/03Edit-01Undo.svg</normaloff>:/resources/iconsets/newlook/actions/03Edit-01Undo.svg</iconset>
</property>
<property name="text">
@ -2135,7 +2094,7 @@
</action>
<action name="actionRedo">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/03Edit-02Redo.svg</normaloff>:/resources/iconsets/newlook/actions/03Edit-02Redo.svg</iconset>
</property>
<property name="text">
@ -2147,7 +2106,7 @@
</action>
<action name="actionCut">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/03Edit-03Cut.svg</normaloff>:/resources/iconsets/newlook/actions/03Edit-03Cut.svg</iconset>
</property>
<property name="text">
@ -2159,7 +2118,7 @@
</action>
<action name="actionCopy">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/03Edit-04Copy.svg</normaloff>:/resources/iconsets/newlook/actions/03Edit-04Copy.svg</iconset>
</property>
<property name="text">
@ -2171,7 +2130,7 @@
</action>
<action name="actionPaste">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/03Edit-05Paste.svg</normaloff>:/resources/iconsets/newlook/actions/03Edit-05Paste.svg</iconset>
</property>
<property name="text">
@ -2191,7 +2150,7 @@
</action>
<action name="actionIndent">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/03Edit-06Indent.svg</normaloff>:/resources/iconsets/newlook/actions/03Edit-06Indent.svg</iconset>
</property>
<property name="text">
@ -2203,7 +2162,7 @@
</action>
<action name="actionUnIndent">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/03Edit-07Unindent.svg</normaloff>:/resources/iconsets/newlook/actions/03Edit-07Unindent.svg</iconset>
</property>
<property name="text">
@ -2261,7 +2220,7 @@
</action>
<action name="actionRebuild">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-04Rebuild.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-04Rebuild.svg</iconset>
</property>
<property name="text">
@ -2276,7 +2235,7 @@
</action>
<action name="actionStop_Execution">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-11Stop.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-11Stop.svg</iconset>
</property>
<property name="text">
@ -2287,8 +2246,11 @@
</property>
</action>
<action name="actionDebug">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-06Debug.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-06Debug.svg</iconset>
</property>
<property name="text">
@ -2302,8 +2264,11 @@
</property>
</action>
<action name="actionStep_Over">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-07StepOver.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-07StepOver.svg</iconset>
</property>
<property name="text">
@ -2314,8 +2279,11 @@
</property>
</action>
<action name="actionStep_Into">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-08StepInto.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-08StepInto.svg</iconset>
</property>
<property name="text">
@ -2326,8 +2294,11 @@
</property>
</action>
<action name="actionStep_Out">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-08StepOut.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-08StepOut.svg</iconset>
</property>
<property name="text">
@ -2338,8 +2309,11 @@
</property>
</action>
<action name="actionRun_To_Cursor">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-09RunToCursor.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-09RunToCursor.svg</iconset>
</property>
<property name="text">
@ -2350,8 +2324,11 @@
</property>
</action>
<action name="actionContinue">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-10Continue.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-10Continue.svg</iconset>
</property>
<property name="text">
@ -2362,8 +2339,11 @@
</property>
</action>
<action name="actionAdd_Watch">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-12AddWatch.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-12AddWatch.svg</iconset>
</property>
<property name="text">
@ -2421,8 +2401,11 @@
</property>
</action>
<action name="actionRemove_Watch">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-13RemoveWatch.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-13RemoveWatch.svg</iconset>
</property>
<property name="text">
@ -2430,18 +2413,24 @@
</property>
</action>
<action name="actionRemove_All_Watches">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Remove All Watches</string>
</property>
</action>
<action name="actionModify_Watch">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Modify Watch...</string>
</property>
</action>
<action name="actionReformat_Code">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/04Code-05Reformat.svg</normaloff>:/resources/iconsets/newlook/actions/04Code-05Reformat.svg</iconset>
</property>
<property name="text">
@ -2453,7 +2442,7 @@
</action>
<action name="actionBack">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/04Code-01Back.svg</normaloff>:/resources/iconsets/newlook/actions/04Code-01Back.svg</iconset>
</property>
<property name="text">
@ -2465,7 +2454,7 @@
</action>
<action name="actionForward">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/04Code-02Forward.svg</normaloff>:/resources/iconsets/newlook/actions/04Code-02Forward.svg</iconset>
</property>
<property name="text">
@ -2681,6 +2670,9 @@
</property>
</action>
<action name="actionEGE_Manual">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>EGE Manual</string>
</property>
@ -2705,7 +2697,7 @@
</action>
<action name="actionRun_Parameters">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-05Options.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-05Options.svg</iconset>
</property>
<property name="text">
@ -2745,6 +2737,9 @@
<property name="checkable">
<bool>true</bool>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Watch</string>
</property>
@ -2793,6 +2788,9 @@
<property name="checkable">
<bool>true</bool>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Debug</string>
</property>
@ -2871,7 +2869,7 @@
</action>
<action name="actionInterrupt">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-16Interrupt.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-16Interrupt.svg</iconset>
</property>
<property name="text">
@ -2967,7 +2965,7 @@
</action>
<action name="actionCompiler_Options">
<property name="icon">
<iconset resource="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-17CompilerOptions.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-17CompilerOptions.svg</iconset>
</property>
<property name="text">
@ -3047,6 +3045,9 @@
<property name="shortcut">
<string>Ctrl+F12</string>
</property>
<property name="visible">
<bool>false</bool>
</property>
</action>
<action name="actionTrim_trailing_spaces">
<property name="text">
@ -3095,6 +3096,9 @@
</property>
</action>
<action name="actionAdd_Watchpoint">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Add Watchpoint...</string>
</property>
@ -3281,6 +3285,7 @@
<enum>QAction::MenuRole::NoRole</enum>
</property>
</action>
<zorder>dockMessages</zorder>
</widget>
<customwidgets>
<customwidget>
@ -3313,7 +3318,7 @@
</customwidget>
</customwidgets>
<resources>
<include location="R:/Red_Panda_CPP-static-Release/RedPandaIDE/release/qmake_iconsets_files.qrc"/>
<include location="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc"/>
</resources>
<connections/>
</ui>

View File

@ -8,19 +8,6 @@
"header": "math.h",
"links": "-lm"
},
{
"execUseUTF8": true,
"header": "raylib.h",
"links": "-lraylib -lGL -lm -lpthread -ldl -lrt -lX11"
},
{
"header": "rdrawing.h",
"links": "-lrdrawing"
},
{
"header": "rturtle.h",
"links": "-lrturtle"
},
{
"header": "thread",
"links": "-lpthread"

View File

@ -24,42 +24,21 @@
"links": "-lglfw3 -lgdi32"
},
{
"header": "ege.h",
"links": "-lgraphics -luuid -lmsimg32 -lgdi32 -limm32 -lole32 -loleaut32 -lwinmm -lgdiplus"
},
{
"header": "easyx.h",
"links": "-leasyx"
},
{
"execUseUTF8": true,
"execUseUTF8": true,
"header": "fmt/core.h",
"links": "-lfmt"
},
{
"execUseUTF8": true,
"header": "raylib.h",
"links": "-lraylib -lopengl32 -lgdi32 -lwinmm"
},
{
"execUseUTF8": false,
"header": "tinyfiledialogs.h",
"links": "-ltinyfiledialogs -lcomdlg32 -lole32"
},
{
"header": "rdrawing.h",
"links": "-lrdrawing"
},
{
"header": "rturtle.h",
"links": "-lrturtle"
},
{
"header": "turtle.h",
"links": "-lturtle"
},
{
"header": "winsock2.h",
"links": "-lws2_32"
},
{
"header": "windows.h",
"links": "-lgdi32 -luser32 -lkernel32 -ladvapi32"
}
]

View File

@ -2795,6 +2795,7 @@ bool Settings::CompilerSet::canMake() const
bool Settings::CompilerSet::canDebug() const
{
return false;
#ifdef ENABLE_SDCC
if (mCompilerType==CompilerType::SDCC)
return false;
@ -3249,9 +3250,11 @@ void Settings::CompilerSets::findSets()
#ifdef Q_OS_WIN
pathList = QStringList{
mSettings->dirs().appDir() + "/clang64/bin",
mSettings->dirs().appDir() + "/clang/bin",
mSettings->dirs().appDir() + "/mingw64/bin",
mSettings->dirs().appDir() + "/mingw32/bin",
} + pathList;
mSettings->dirs().appDir() + "/nuwen/bin",
};// + pathList;
#endif
QString folder, canonicalFolder;
for (int i=pathList.count()-1;i>=0;i--) {
@ -6226,12 +6229,12 @@ void Settings::UI::setShowStructure(bool newShowStructure)
bool Settings::UI::showWatch() const
{
return mShowWatch;
return false;
}
void Settings::UI::setShowWatch(bool newShowWatch)
{
mShowWatch = newShowWatch;
mShowWatch = false;
}
bool Settings::UI::showProject() const
@ -6328,7 +6331,7 @@ void Settings::UI::doSave()
saveValue("show_tool_windowbars", mShowToolWindowBars);
saveValue("show_project", mShowProject);
saveValue("show_watch", mShowWatch);
saveValue("show_watch", false);
saveValue("show_structure", mShowStructure);
saveValue("show_file", mShowFiles);
saveValue("show_problem_set", mShowProblemSet);
@ -6393,15 +6396,15 @@ void Settings::UI::doLoad()
mShowStatusBar = boolValue("show_statusbar",true);
mShowToolWindowBars = boolValue("show_tool_windowbars",true);
mShowProject = boolValue("show_project",true);
mShowWatch = boolValue("show_watch",true);
mShowProject = boolValue("show_project",false);
mShowWatch = false;
mShowStructure = boolValue("show_structure",true);
mShowFiles = boolValue("show_file",true);
mShowProblemSet = boolValue("show_problem_set",true);
mShowIssues = boolValue("show_issues",true);
mShowCompileLog = boolValue("show_compile_log",true);
mShowDebug = boolValue("show_debug",true);
mShowDebug = false;
mShowSearch = boolValue("show_search",true);
mShowTODO = boolValue("show_todo",true);
mShowBookmark = boolValue("show_bookmark",true);

View File

@ -10,7 +10,7 @@
</message>
<message>
<source>&lt;h1&gt;Red-Panda Dev-Cpp 7&lt;/h1&gt;</source>
<translation type="vanished">&lt;h1&gt;Dev-Cpp 7&lt;/h1&gt;</translation>
<translation type="vanished">&lt;h1&gt;Cpp&lt;/h1&gt;</translation>
</message>
<message>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
@ -58,7 +58,7 @@ p, li { white-space: pre-wrap; }
<location line="+6"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;h1 style=&quot; margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:xx-large; font-weight:600;&quot;&gt;Red Panda C++&lt;/span&gt;&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;</source>
<oldsource>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;h1 style=&quot; margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:xx-large; font-weight:600;&quot;&gt;Red-Panda C++&lt;/span&gt;&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;</oldsource>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;h1 style=&quot; margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:xx-large; font-weight:600;&quot;&gt;C++&lt;/span&gt;&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;</translation>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;h1 style=&quot; margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:xx-large; font-weight:600;&quot;&gt;C++&lt;/span&gt;&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location line="+15"/>
@ -91,7 +91,7 @@ p, li { white-space: pre-wrap; }
<message>
<source>Red Panda Dev-C++ (&lt;=6.7.5):</source>
<oldsource>Red Panda Dev-C++:</oldsource>
<translation type="vanished">Dev-C++ (&lt;=6.7.5):</translation>
<translation type="vanished">Cpp (&lt;=6.7.5):</translation>
</message>
<message>
<location line="+16"/>
@ -1094,7 +1094,7 @@ p, li { white-space: pre-wrap; }
<message>
<location line="-8"/>
<source>Red Panda C++ will clear previously found compiler list and search for compilers in the following locations:&lt;br /&gt; &apos;%1&apos;&lt;br /&gt; &apos;%2&apos;&lt;br /&gt;Do you really want to continue?</source>
<translation>C++ :&lt;br/&gt; &apos;%1&apos;&lt;br/&gt; &apos;%2&apos;&lt;br /&gt;</translation>
<translation>C++ :&lt;br/&gt; &apos;%1&apos;&lt;br/&gt; &apos;%2&apos;&lt;br /&gt;</translation>
</message>
<message>
<source>ANSI</source>
@ -1113,7 +1113,7 @@ p, li { white-space: pre-wrap; }
<message>
<location line="+238"/>
<source>Red Panda C++ will clear previously found compiler list and search for compilers in the the PATH. &lt;br /&gt;Do you really want to continue?</source>
<translation>C++ PATH路径中搜索gcc编译器.&lt;br /&gt;</translation>
<translation>C++ PATH路径中搜索gcc编译器.&lt;br /&gt;</translation>
</message>
<message>
<location line="+7"/>
@ -1268,7 +1268,7 @@ p, li { white-space: pre-wrap; }
<location line="+33"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Red Panda C++&apos;s Makefile has two important targets:&lt;/p&gt;&lt;p&gt;- all (which builds the executable)&lt;/p&gt;&lt;p&gt;- clean (which cleans up object files)&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&amp;quot;all&amp;quot; depends on 2 targets: all-before and all-after. All-before&lt;/p&gt;&lt;p&gt;gets called before the compilation process, and all-after gets&lt;/p&gt;&lt;p&gt;called after the compilation process.&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&amp;quot;clean&amp;quot; depends on the target clean-custom, which gets called&lt;/p&gt;&lt;p&gt;before the cleaning process.&lt;br/&gt;&lt;/p&gt;&lt;p&gt;You can change the Makefile&apos;s behavior by defining the targets&lt;/p&gt;&lt;p&gt;that &amp;quot;all&amp;quot; and &amp;quot;clean&amp;quot; depend on.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<oldsource>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Red Panda Dev-C++&apos;s Makefile has two important targets:&lt;/p&gt;&lt;p&gt;- all (which builds the executable)&lt;/p&gt;&lt;p&gt;- clean (which cleans up object files)&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&amp;quot;all&amp;quot; depends on 2 targets: all-before and all-after. All-before&lt;/p&gt;&lt;p&gt;gets called before the compilation process, and all-after gets&lt;/p&gt;&lt;p&gt;called after the compilation process.&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&amp;quot;clean&amp;quot; depends on the target clean-custom, which gets called&lt;/p&gt;&lt;p&gt;before the cleaning process.&lt;br/&gt;&lt;/p&gt;&lt;p&gt;You can change the Makefile&apos;s behavior by defining the targets&lt;/p&gt;&lt;p&gt;that &amp;quot;all&amp;quot; and &amp;quot;clean&amp;quot; depend on.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</oldsource>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;C++Makefile包括两个重要的目标target&lt;/p&gt;&lt;p&gt;- all ()&lt;/p&gt;&lt;p&gt;- clean ()&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&amp;quot;all&amp;quot; 2all-before all-after. &lt;/p&gt;&lt;p&gt;all-beforeall-after&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&amp;quot;clean&amp;quot; clean-custom, &lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;C++Makefile包括两个重要的目标target&lt;/p&gt;&lt;p&gt;- all ()&lt;/p&gt;&lt;p&gt;- clean ()&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&amp;quot;all&amp;quot; 2all-before all-after. &lt;/p&gt;&lt;p&gt;all-beforeall-after&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&amp;quot;clean&amp;quot; clean-custom, &lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
</context>
<context>
@ -2744,12 +2744,12 @@ p, li { white-space: pre-wrap; }
<message>
<location line="+6"/>
<source>Independent Red Panda C++ applications</source>
<translation>C++</translation>
<translation>C++</translation>
</message>
<message>
<location line="+7"/>
<source>The same Red Panda C++ application</source>
<translation>C++</translation>
<translation>C++</translation>
</message>
<message>
<location line="+10"/>
@ -2760,7 +2760,7 @@ p, li { white-space: pre-wrap; }
<location line="+16"/>
<source>Just check or uncheck for which file types Red Panda C++ wil be registered as the default application to open them ... </source>
<oldsource>Just check or uncheck for which file types RedPand C++ wil be registered as the default application to open them ... </oldsource>
<translation>使C++</translation>
<translation>使C++</translation>
</message>
</context>
<context>
@ -4570,17 +4570,17 @@ p, li { white-space: pre-wrap; }
<message>
<location line="+1"/>
<source>Path to the Red Panda C++&apos;s executable file.</source>
<translation>C++</translation>
<translation>C++</translation>
</message>
<message>
<location line="+1"/>
<source>Version of the Red Panda C++</source>
<translation>C++</translation>
<translation>C++</translation>
</message>
<message>
<location line="+1"/>
<source>PATH to the Red Panda C++&apos;s installation folder.</source>
<translation>C++</translation>
<translation>C++</translation>
</message>
<message>
<location line="+1"/>
@ -4659,7 +4659,7 @@ p, li { white-space: pre-wrap; }
<location filename="../mainwindow.ui" line="+14"/>
<location filename="../mainwindow.cpp" line="+1322"/>
<source>Red Panda C++</source>
<translation>C++</translation>
<translation>C++</translation>
</message>
<message>
<location line="+933"/>
@ -7372,7 +7372,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Red panda Dev-C++ project file (*.dev)</source>
<translation type="vanished">Dev-C++ (*.dev)</translation>
<translation type="vanished">Dev-C++ (*.dev)</translation>
</message>
<message>
<location line="-2165"/>
@ -7487,7 +7487,7 @@ p, li { white-space: pre-wrap; }
<message>
<location line="+1130"/>
<source>Red Panda C++ project file (*.dev)</source>
<translation>C++(*.dev)</translation>
<translation>C++(*.dev)</translation>
</message>
<message>
<location line="+1021"/>
@ -7626,7 +7626,7 @@ p, li { white-space: pre-wrap; }
<message>
<location line="+0"/>
<source>Keep it open?</source>
<translation>C++</translation>
<translation>C++</translation>
</message>
<message>
<location line="+135"/>
@ -8247,7 +8247,7 @@ p, li { white-space: pre-wrap; }
<location line="+1"/>
<source>The compiler settings format of Red Panda C++ has changed.</source>
<oldsource>The compiler settings format of Dev-C++ has changed.</oldsource>
<translation>C++</translation>
<translation>C++</translation>
</message>
<message>
<location line="+2"/>
@ -8273,7 +8273,7 @@ p, li { white-space: pre-wrap; }
<location line="+94"/>
<source>Developed using the Red Panda C++ IDE</source>
<oldsource>Developed using the Red Panda Dev-C++ IDE</oldsource>
<translation>使C++</translation>
<translation>使C++</translation>
</message>
</context>
<context>
@ -9352,7 +9352,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../settings.cpp" line="+3388"/>
<source>Would you like Red Panda C++ to search for compilers in PATH?</source>
<translation>C++PATH路径中寻找gcc编译器吗</translation>
<translation>C++PATH路径中寻找gcc编译器吗</translation>
</message>
<message>
<location filename="../compiler/compilerinfo.cpp" line="+1"/>
@ -9580,7 +9580,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Would you like Red Panda C++ to remove them for you and add the default paths to the valid paths?</source>
<translation type="vanished">C++</translation>
<translation type="vanished">C++</translation>
</message>
<message>
<source>Leaving those directories will lead to problems during compilation.&lt;br /&gt;&lt;br /&gt;Unless you know exactly what you&apos;re doing, it is recommended that you click Yes.</source>
@ -9595,7 +9595,7 @@ p, li { white-space: pre-wrap; }
<message>
<location line="-4"/>
<source>Would you like Red Panda C++ to search for compilers in the following locations: &lt;BR /&gt;&apos;%1&apos;&lt;BR /&gt;&apos;%2&apos;? </source>
<translation>C++&lt;br /&gt;%1&lt;br /&gt;%2</translation>
<translation>C++&lt;br /&gt;%1&lt;br /&gt;%2</translation>
</message>
<message>
<location filename="../settingsdialog/compilersetoptionwidget.cpp" line="-452"/>

View File

@ -93,3 +93,5 @@ win32: {
}
}
}
QT += core5compat

View File

@ -1,2 +1,2 @@
APP_VERSION="3.2"
APP_VERSION="1.0"
APP_VERSION_SUFFIX="alpha"