Recent Posts

Pages: 1 ... 3 4 5 6 7 [8] 9 10
71
I know that wx3.3.1 samples crash on exit if you use MinGW with MSVCRT, see this issue.
72
Help / Re: C::B 13679 build with wxWidgets 3.3.x fails if installed with a RPM
« Last post by Bug Killer on August 12, 2025, 09:32:08 am »
I found a solution to my problem. There was a conflict with wxGTK 3.2.2 and wxGTK3 3.0.5 included in the distro.

As I could not see any obvious benefit to build C::B with wxWidgets 3.2.8 or 3.3.1 I built it with wxGTK 3.2.2 after removing wxWidgets 3.2.8 and 3.3.1.
73
Hi, when I looked at the packages of the msys2, here: https://packages.msys2.org/base/mingw-w64-wxwidgets3.3

I see it only has 3 platforms: ucrt, clang64, clangarm64.

While if you looked at the wxwidgets 3.2 ( https://packages.msys2.org/base/mingw-w64-wxwidgets3.2 ), I see extra platforms: mingw64.

Is it because that the 3.3.1 will support the dark mode, and the dark mode API are only supported by the ucrt library?

Thanks.

74
Nightly builds / The 09 August 2025 build (13701) is out.
« Last post by killerbot on August 09, 2025, 04:25:04 pm »
We switched to gcc 15.1.0 (on 23 May 2025) --> download the new wx/mingw dll's see link below

Get the compiler we use here : https://github.com/brechtsanders/winlibs_mingw/releases/download/15.1.0posix-12.0.0-ucrt-r1/winlibs-x86_64-posix-seh-gcc-15.1.0-mingw-w64ucrt-12.0.0-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_wx328_2D_gcc1510-mingw64.7z
A link to Mingw64 dll's needed by Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls15.1.0.7z


The 09 August 2025 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2025/CB_20250809_rev13701_win64.7z
  - Linux :
   none

The current SDK version is : 2.25.0

Resolved Fixed:

  • fix "File" -> "Save as" not working and leaving an isolated editor

Regressions/Confirmed/Annoying/Common bugs:


    75
    Development / Re: Crash on start (wxWidgets 3.3.1, 64 bits)
    « Last post by Miguel Gimenez on August 08, 2025, 04:55:24 pm »
    I have found the origin of the "corruption": wxWidgets 3.3 saves perspectives in layout3 format, while wxWidgets 3.2 only recognizes layout1 and layout2. This comment in wxAuiManager::LoadPerspective() explains the scope of each format:
    Code
      // check layout string version
        //    'layout1' = wxAUI 0.9.0 - wxAUI 0.9.2
        //    'layout2' = wxAUI 0.9.2 (wxWidgets 2.8)
        //    'layout3' = wxWidgets 3.3.1
    Sadly, there is no way to make SavePerspective() use layout2 format, so when switching from C::B compiled with wx3.3 to another compiled with wx3.2 the saved perspective will be ignored silently. The inverse will work OK.

    This is independent of my proposed patch, so I think I can apply it.
    76
    Development / Re: Crash on start (wxWidgets 3.3.1, 64 bits)
    « Last post by Miguel Gimenez on August 08, 2025, 01:29:47 pm »
    Thank you both for the comments. I have made some changes
    Code
    void InfoPane::ReorderTabs(CompareFunction cmp_f)
    {
        if (m_Pages.IsEmpty())
            return;

        m_Pages.Sort(cmp_f);

        cbAuiNotebook::Hide();

        size_t index = 0;
        for (size_t i = 0 ; i < m_Pages.GetCount(); ++i)
        {
            const Page* page = m_Pages.Item(i);
            int pageIndex = GetPageIndex(page->window);  // wx3.3.0 has GetPagePosition()
            if (page->indexInNB < 0)
            {
                if (pageIndex != wxNOT_FOUND)
                    RemovePage(pageIndex);

                if (page->window)
                    page->window->Hide();
            }
            else
            {
                if (pageIndex == wxNOT_FOUND)
                    pageIndex = AddPagePrivate(page->window, page->title, page->icon);

                if (index++ != static_cast <size_t> (pageIndex))
                    if (index < GetPageCount())
                        MovePage(page->window, index);
            }
        }

        cbAuiNotebook::Show();
    }
    that work with wxWidgets 3.3.1, but if you later start the "old" C::B (compiled with wx3.2.8 ) the layout in default.conf is corrupted.

    I have tested with GetPagePosition() but there is no difference.

    I think the problem is MovePage() in wx3.2.8 is tolerant to invalid indexes, and the behaviour with these invalid indexes is needed in the algorithm.

    EDIT: IIRC saving AUI layouts has also changed, I hope this is not related.
    77
    Nightly builds / Re: The 08 August 2025 build (13698) is out.
    « Last post by Miguel Gimenez on August 08, 2025, 12:24:29 pm »
    The last changes are compilation-related, they do not modify behaviour.
    78
    Nightly builds / Re: The 08 August 2025 build (13698) is out.
    « Last post by Wkerry on August 08, 2025, 11:17:57 am »
    With the SVN changes made after the build today/yesterday/tonight/UTC/local date etc after the build if the SF chronological order is right then is it worth testing or using this nightly build?
    79
    Development / WxWidget support query
    « Last post by Wkerry on August 08, 2025, 11:15:08 am »
    With so many CP and bat and etc files for different Wxwidget versions is there a way of simplifying the build process to move the wxwidget version into a variable or config item and then use it in the build process so that the number of files that are needed to build CB is reduced and made easier for the people attempting to build CB?
    80
    Development / SVN changes - code review query
    « Last post by Wkerry on August 08, 2025, 11:11:12 am »
    Do the CBdevs do code reviews before merging to the trunk?

    Some of the changes in the last week are suspect, but I do not know what I am looking to ensure that they meet the CB way of working or are fit for purpose.
    Pages: 1 ... 3 4 5 6 7 [8] 9 10