Recent Posts

Pages: 1 2 3 4 5 6 [7] 8 9 10
61
Nightly builds / Re: The 11 November 2024 build (13585) is out.
« Last post by dkulp on November 13, 2024, 07:51:08 pm »
Are we ever going to get a recent build for macOS that actually will work?    There hasn't been a nightly build for about a year now (svn 13447) that will actually start.

On a brand new Mac (just purchased), if I download the nightly, drag/drop into applications, and start it, it crashes fairly quickly.   Every build I've tested since 13447 has done this.   


Code
<?xml version="1.0" encoding="UTF-8"?>
<report version="1.0" kind="exception">
  <system description="macOS Sequoia Version 15.1 (Build 24B2083)"/>
  <stack>
    <frame level="0" function="wxFatalSignalHandler(int)" offset="0" address="0x10f6c738c"/>
    <frame level="1" function="_sigtramp" offset="0" address="0x7ff8032e7e9d"/>
    <frame level="2" function="_sigtramp" offset="0" address="0x3ff0000000000000"/>
    <frame level="3" function="ClassBrowser::ThreadedBuildTree(cbProject*)" offset="0" address="0x122d0191d"/>
    <frame level="4" function="ClassBrowser::UpdateClassBrowserView(bool)" offset="0" address="0x122d01282"/>
    <frame level="5" function="ClassBrowser::SetParser(ParserBase*)" offset="0" address="0x122d00c30"/>
    <frame level="6" function="ParseManager::CreateClassBrowser()" offset="0" address="0x122d89114"/>
    <frame level="7" function="CodeCompletion::OnAttach()" offset="0" address="0x122d2628c"/>
    <frame level="8" function="cbPlugin::Attach()" offset="0" address="0x10c4b8435"/>
    <frame level="9" function="PluginManager::AttachPlugin(cbPlugin*, bool)" offset="0" address="0x10c64d859"/>
    <frame level="10" function="PluginManager::LoadAllPlugins()" offset="0" address="0x10c654210"/>
    <frame level="11" function="MainFrame::ScanForPlugins()" offset="0" address="0x102af520a"/>
    <frame level="12" function="MainFrame::MainFrame(wxWindow*)" offset="0" address="0x102aefaac"/>
    <frame level="13" function="MainFrame::MainFrame(wxWindow*)" offset="0" address="0x102af7f0d"/>
    <frame level="14" function="CodeBlocksApp::InitFrame()" offset="0" address="0x102a2b6c6"/>
    <frame level="15" function="CodeBlocksApp::OnInit()" offset="0" address="0x102a2da64"/>
    <frame level="16" function="wxApp::CallOnInit()" offset="0" address="0x10e6d37aa"/>
    <frame level="17" function="wxEntry(int&amp;, wchar_t**)" offset="0" address="0x10f63e074"/>
    <frame level="18" function="main" offset="0" address="0x102a29ce3"/>
    <frame level="19" function="start" offset="0" address="0x2030512cd"/>
  </stack>
</report>
62
Plugins development / Re: New plugin to create Makefile project with existing code
« Last post by christo on November 12, 2024, 06:12:41 pm »
New plugin to create codeblocks external makefile project from compile_commands.json https://github.com/josephch/CbProjectFromCompileCommands

Modern build systems supports generating compile_commands.json for IDE integration. Meson creates this by default in the build folder, cmake generates it when setting the flag CMAKE_EXPORT_COMPILE_COMMANDS.

The plugin also create a modified compile_commands.json file in the project root directory if it is different from the original compile_commands.json 's directory. This is done to give the correct compile commands to clangd_client plugin.
63
Plugins development / Re: Code completion using LSP and clangd
« Last post by Pecan on November 12, 2024, 12:43:15 am »
When using code completion plugin , after  whi  typed,  a popup window showed with content  C++ while , and I can just press enter,  while will be printed  in editor.  It works for those keywords too  [for switch ...]But when using Clangd_Client plugin, after whi  typed ,nothing happenI have to type the whole word by myselfSame happened to [for switch ...]
Does Clangd_Client plugin supports this feature? Thx






I've noticed this also. Clangd does not respond to keywords. But you can easily add them to your abbreviations set. Settings/Editor/Abbreviations.
64
Nightly builds / Re: The 11 November 2024 build (13585) is out.
« Last post by Xaviou on November 11, 2024, 07:32:12 pm »
Hi.

OS X version of this rev can be downloaded from my website.
There is only a macOS-11.6 version.
Note that it is not a notarized version of the application.

32 bits version for Windows can also be found in the same place.

Debian Bookworm and Bullseye (32 and 64 bits) can be installed from my repo
The corresponding unsigned deb files can also be downloaded from the website page linked above.

Ubuntu-22.04 and 24.10 versions can be installed from my ppa

Regards
Xav'
65
Sorry, I was on Linux so compilation obviously was OK.

EDIT: fixed in trunk. It is wonderful how a bracket can disappear just changing a '0' to a '1'  :o
66
Nightly builds / The 11 November 2024 build (13585) is out.
« Last post by killerbot on November 11, 2024, 05:00:27 pm »
We switched to gcc 14.1.0 (on 20 May 2024) --> download the new wx/mingw dll's see link below

Get the compiler we use here : https://github.com/brechtsanders/winlibs_mingw/releases/download/14.1.0posix-18.1.5-11.0.1-ucrt-r1/winlibs-x86_64-posix-seh-gcc-14.1.0-mingw-w64ucrt-11.0.1-r1.7z

Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works.

A link to the unicode windows wxWidget dll(s) for Code::Blocks : https://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw32u_gcc_cb_wx326_2D_gcc1410-mingw64.7z
A link to Mingw64 dll's needed by Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls14.1.0.7z


The 11 November 2024 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2024/CB_20241111_rev13585_win64.7z
  - Linux :
   none

The current SDK version is : 2.25.0

Resolved Fixed:

  • Make DirectWrite the default value for editor technology (MSW)
  • Did an extra change to the above commit which broke the build (but could not commit yet)

Regressions/Confirmed/Annoying/Common bugs:


    67
    Your place appears to be here
    Code
    Index: src/src/editorconfigurationdlg.cpp
    ===================================================================
    --- src/src/editorconfigurationdlg.cpp (revision 13584)
    +++ src/src/editorconfigurationdlg.cpp (working copy)
    @@ -163,7 +163,7 @@
         wxChoice *cmbFontQuality = XRCCTRL(*this, "cmbFontQuality", wxChoice);
     
     #if defined(__WXMSW__) && wxCHECK_VERSION(3, 1, 0)
    -    cmbTechnology->SetSelection(cfg->ReadInt(wxT("/technology"), 0));
    +    cmbTechnology->SetSelection(cfg->ReadInt(wxT("/technology"), 1));
         cmbFontQuality->SetSelection(cfg->ReadInt(wxT("/font_quality"), 0));
     #else
         cmbTechnology->SetSelection(0);

    I was wondering if both places needed changed or just one of the places. If one, I thought I picked the correct one.
    Edit: I think it would be best to change both places, now.

    Tim S.
    68
    This is what I think the correct fix is. But, I have not tested it.

    Code
    Index: src/sdk/cbeditor.cpp
    ===================================================================
    --- src/sdk/cbeditor.cpp (revision 13584)
    +++ src/sdk/cbeditor.cpp (working copy)
    @@ -1441,7 +1441,7 @@
         if (!control)
             return;
     #if defined(__WXMSW__) && wxCHECK_VERSION(3, 1, 0)
    -    const int technology = config->ReadInt(wxT("/technology"), 0);
    +    const int technology = config->ReadInt(wxT("/technology"), 1);
         if (technology == 1)
             control->SetTechnology(wxSCI_TECHNOLOGY_DIRECTWRITE);
         else
    69
    General (but related to Code::Blocks) / Re: New version?
    « Last post by mannisp on November 11, 2024, 03:38:06 pm »
    ... I know there are nightly builds but that will be over my head

    This is exactly why I just made this post:
    https://forums.codeblocks.org/index.php/topic,25897.0.html

    Check it, it is not so difficult to do! And give me feedback, how did it success.
    70
    -    cmbTechnology->SetSelection(cfg->ReadInt(wxT("/technology"), 0));
    +    cmbTechnology->SetSelection(cfg->ReadInt(wxT("/technology"), 1);

    a ")" is missing -==> @ wh11204

    Could you add it, I am at a non edit location at the moment ;-)
    Pages: 1 2 3 4 5 6 [7] 8 9 10