Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Landslyde on March 09, 2018, 10:07:11 pm

Title: Bug Report
Post by: Landslyde on March 09, 2018, 10:07:11 pm
Here's the codeblocks.xml and my report of how the crash happened.
Title: Re: Bug Report
Post by: oBFusCATed on March 09, 2018, 10:46:21 pm
Generally it is best to post the notes either in the ticket section on sf.net or as a message in the forum.
I can reproduce it...
Title: Re: Bug Report
Post by: Landslyde on March 09, 2018, 11:18:22 pm
sf.net. Will do that next time.

Thanks.
Title: Re: Bug Report
Post by: oBFusCATed on March 10, 2018, 12:19:04 am
This patch should fix the problem. No idea why it happens, but I don't have more time to spend on this plugin.

The plugin isn't in really good shape.
I was able to trigger several wx assert just clicking randomly.
So it would be good if someone volunteers to clean them up.
Title: Re: Bug Report about Code Snippets
Post by: Miguel Gimenez on March 21, 2018, 02:21:56 pm
I have patched two asserts (clicking Settings and clicking About) and cleaned a bit the code (see ticket 644). The attached file contains all the patches posted in that ticket.
Title: Re: Bug Report about Code Snippets
Post by: Pecan on March 21, 2018, 08:02:51 pm
I have patched two asserts (clicking Settings and clicking About) and cleaned a bit the code (see ticket 644). The attached file contains all the patches posted in that ticket.

Thanks, I'll have a look at it.
Title: Re: Bug Report about Code Snippets
Post by: Pecan on March 21, 2018, 08:52:31 pm
I have patched two asserts (clicking Settings and clicking About) and cleaned a bit the code (see ticket 644). The attached file contains all the patches posted in that ticket.

How did you create this patch. Tortoise SVN refuses to apply it.
What did you use to apply this patch?
Title: Re: Bug Report
Post by: oBFusCATed on March 21, 2018, 09:43:07 pm
He is using git. You have to use patch -p1 < patch.file to apply it.
Title: Re: Bug Report
Post by: oBFusCATed on March 22, 2018, 12:33:31 am
@Pecan: Have you seen my patch for the message box? Do you think I can apply it without loosing functionality?
Title: Re: Bug Report
Post by: Miguel Gimenez on March 23, 2018, 12:07:36 pm
I created it with SVN but using the --git option, I will remove it next time.

Thank you for the fix, ticket 644 can be closed.
Title: Re: Bug Report
Post by: Pecan on March 23, 2018, 08:27:21 pm
@Pecan: Have you seen my patch for the message box? Do you think I can apply it without loosing functionality?

I fixed the dialogs, but maybe I missed something.
Could you remind me of the ticket you refering to?
Title: Re: Bug Report
Post by: oBFusCATed on March 23, 2018, 09:04:13 pm
I don't know about the tickets. The discussion about this happened mainly here.

So should I remove the GenericMessageDialog or it add something that is not available with the wxMessageDialog?
Title: Re: Bug Report
Post by: Pecan on March 24, 2018, 04:17:05 pm
I don't know about the tickets. The discussion about this happened mainly here.

So should I remove the GenericMessageDialog or it add something that is not available with the wxMessageDialog?

Thanks, I'll have a look at it.
Title: Re: Bug Report
Post by: Pecan on March 24, 2018, 10:31:30 pm
Applied GenericMessageBox patch and cleaned out unused code and dirs
SVN 11346