Recent Posts

Pages: 1 ... 5 6 7 8 9 [10]
91
The code about CCLogger is that some log functions can be called either in the worker thread or in the main gui thread.

So, you can see there are some thread event send to the main thread.

There are too many lockers in the CC code, I think we should take some time to clean up those lockers.
92
Hi, Pecan, I think the variable/field name are different?

The code I see is:

Code
// ----------------------------------------------------------------------------
void CCLogger::DebugLog(const wxString& msg, int id)
// ----------------------------------------------------------------------------
{
    // Could crash here; should check if shutting down
    if (Manager::IsAppShuttingDown())
        return;

    if (!m_Parent || m_DebugLogId<1) return;

    bool debugLogging = false;
    if (m_pCfgMgr) debugLogging = m_pCfgMgr->ReadBool("/logPluginDebug_check", false);
    if ((not debugLogging) and (id == m_DebugLogId)) return;

Note, the name is "logPluginDebug_check"

But in the CheckBox, the name is "CCDebugLogging".

Are they the same?

When I enabled that CheckBox in the CodeCompletion plugin's setting, I still got the code check "debugLogging" is false.

93
#ollydbug

Look and set the debug checkbox to see if it solves the problem.
If not, I'll revert to a previous CCLogger with my changes.
94

@ollydbg
Sorry about this (again).
Please put preprocessor guards around code like that.
I was using it to debug the CodeCompletion plugin and did not consider that it would be used stand-alone.

I think the best thing to do is just revert the changes to a version that is usable for you.
I'll do that now.
95
@ollydbg
Sorry about this (again).
Please put preprocessor guards around code like that.
I was using it to debug the CodeCompletion plugin and did not consider that it would be used stand-alone.
Code
#if defined(MAKING_PLUGIN)
   <the offending code>
#endif

Commit the changes when you are satisfied.
Sorry again.
96
Help / Re: codeblocks randomly crashes when writing
« Last post by stahta01 on March 06, 2024, 09:53:55 pm »
Are you using this work around for Wayland?
https://forums.codeblocks.org/index.php/topic,25206.msg171903.html#msg171903

As workaround I 'm launching codeblocks in wayland session  with
Code
[luca@archer ~]$  GDK_BACKEND=x11 codeblocks
It seems the problem is related to wayland session, in X session there is not error.

If not try it.

Tim S.
97
Nightly builds / Re: The 06 March 2024 build (13485) is out.
« Last post by Khram on March 06, 2024, 07:09:32 pm »
 >:(
The virus remained. Defender removes archive CB_20240225_rev13485_win64.7z
98
Nightly builds / Re: The 06 March 2024 build (13485) is out.
« Last post by DigitalSpaceDotName on March 06, 2024, 07:02:35 pm »
We switched to gcc 13.1.0 (on 04 June 2023) --> download the new wx/mingw dll's see link below

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


The 06 March 2024 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2024/CB_20240306_rev13485_win64.7z
  - Linux :
   none

The current SDK version is : 2.25.0

Resolved Fixed:

  • Clangd_client: 1.2.114 Enable clangd CodeAction entries when user right-clicks LSP log line containing ("fix available") and selects "Apply fix if available".

Regressions/Confirmed/Annoying/Common bugs:


    Awesome Update! Clang code completion is perfect!
    99
    Nightly builds / Re: The 06 March 2024 build (13485) is out.
    « Last post by Khram on March 06, 2024, 06:49:14 pm »
     >:(
    Virus!..
    100
    Nightly builds / The 06 March 2024 build (13485) is out.
    « Last post by killerbot on March 06, 2024, 05:23:16 pm »
    We switched to gcc 13.1.0 (on 04 June 2023) --> download the new wx/mingw dll's see link below

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


    The 06 March 2024 build is out.
      - Windows :
       http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2024/CB_20240306_rev13485_win64.7z
      - Linux :
       none

    The current SDK version is : 2.25.0

    Resolved Fixed:

    • Clangd_client: 1.2.114 Enable clangd CodeAction entries when user right-clicks LSP log line containing ("fix available") and selects "Apply fix if available".

    Regressions/Confirmed/Annoying/Common bugs:


      Pages: 1 ... 5 6 7 8 9 [10]