61
Nightly builds / Re: The 25 October 2025 build (13754) is out.
« Last post by blauzahn on November 03, 2025, 08:30:03 pm »Thank you, Lieven.
Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!
cbEditor* EditorManager::New(const wxString& newFileName)
{
// wxString old_title = Manager::Get()->GetAppWindow()->GetTitle(); // Fix for Bug #1389450
// create a dummy file
if (!newFileName.IsEmpty() && !wxFileExists(newFileName) && wxDirExists(wxPathOnly(newFileName)))
{
wxFile f(newFileName, wxFile::write);
if (!f.IsOpened())
return nullptr;
}
cbEditor* ed = new cbEditor(m_pNotebook, newFileName, m_Theme);
// if ((newFileName.IsEmpty() && !ed->SaveAs()) || !ed->Save())
// {
// //DeletePage(ed->GetPageIndex());
// ed->Destroy();
// Manager::Get()->GetAppWindow()->SetTitle(old_title); // Though I can't reproduce the bug, this does no harm
// return 0;
// }
// add default text
wxString key;
key.Printf(_T("/default_code/set%d"), (int)FileTypeOf(ed->GetFilename()));
wxString code = Manager::Get()->GetConfigManager(_T("editor"))->Read(key, wxEmptyString);
// Allow usage of macros
// TODO (Morten#5#): Is it worth making this configurable?!
Manager::Get()->GetMacrosManager()->ReplaceMacros(code);
ed->GetControl()->SetText(code);
ed->SetColourSet(m_Theme);
AddEditorBase(ed);
ed->Show(true);
SetActiveEditor(ed);
CodeBlocksEvent evt(cbEVT_EDITOR_OPEN, -1, nullptr, ed);
Manager::Get()->GetPluginManager()->NotifyPlugins(evt);
return ed;
}
// Allow usage of macros
// TODO (Morten#5#): Is it worth making this configurable?!
Manager::Get()->GetMacrosManager()->ReplaceMacros(code);
Well no kidding?! Who would've thunk?!
You know what could help us create plugins? Or create anything at all? Capable programmers.
This isn't helping. What's even the point of bringing up that crap? Seriously.
Look at the state of this project. How many people have been contributing? How many stable releases in the past eight years?
Last thing we need is incompetent scum "contributing" computer-generated garbage to any part of Code::Blocks.
Well, if you guys want to kill it, then go ahead, suggest AI usage -- nay, even better, make AI plugins, an assistant on the IDE itself. A COPILOT integrated to it! Imagine that! Wouldn't that be great?
And not long ago we didn't even have a functional Symbols Browser. To be removed completely on a newer release. What a joke.
And people wonder why some things are as they are.
Listen to yourself, look around you, look at the project, look around it, then listen to yourself again, and think.
And you just threw Code::Blocks' source code into some garbage bin? Really, projects must have some sort of protection against this kind of stupidity, these days.
Then again, I don't know what's the goal exactly, but, if you guys are planning to turn this into a huge pile of crap, then disregard what I'm saying.
Thanks.
So you are saying that cert's should be okay after the expiry? I disagree and my second post was a reminder that the admin needs to keep any eye on the 3 monthly lets encrypt expiry.
But then, the ability to choose Debugger in a "Compiler Settings" makes no sense.
As I remember, in earlier versions, the current debugger was selected by selecting the "Build target" to build, and in a "Build Options" the compiler is selected, and in a "Compiler setting" is a debugger defined for that particular compiler.
It is a bit misleading to have separate Build target selection and Debugger selection, along with the ability to set debugger in a "Compiler settings", that has no effect then.