Recent Posts

Pages: 1 ... 5 6 7 8 9 [10]
91
Development / Log translation
« Last post by Miguel Gimenez on June 03, 2022, 07:24:39 pm »
Translation of Log() messages is not coherent, many use _() but others do not.

Is there a reason to not translate them? Of course, keeping them untranslated makes searching in the web easier, but some users do not understand the english messages.
92
Embedded development / Re: College Project Visual Enhancement
« Last post by Miguel Gimenez on June 03, 2022, 12:54:01 pm »
This board is for embedded development, definitely not related with your question.

You did not mention your OS: on Linux you can use the curses library, on Windows pdcurses or the Windows console API... All of them are OT here.

EDIT: pdcurses on C::B
93
Using Code::Blocks / Re: Code::Blocks future ?
« Last post by rechtsanwaltsteyer on June 03, 2022, 12:24:57 pm »
Hello jean raphael,
on your post of March 16, 2022, which I read recently, here is my opinion: I also use Code::Blocks 20.03; without nightly builds. My contribution to this project is the extensive translation into German and making the corresponding .po/.mo files available in Launchpad.
I always get annoyed with Code::Blocks about some things that don't meet my expectations: Codecomletion/Help pp. But I'll be careful not to approach the Code::Blocks team like you did. This is just indecent! You can't use something for free and then make claims! In Germany there is a saying: "You don't look a gift horse in the mouth!" If Code::Blocks is too immature or otherwise inconvenient for you, then use (like I do to some extent) the Qt Creator with the prospect that someday can no longer be used due to unforeseen license changes.
94
Embedded development / Re: College Project Visual Enhancement
« Last post by BlueHazzard on June 03, 2022, 09:57:08 am »
Hi and welcome :)

And what is the question?
95
Embedded development / College Project Visual Enhancement
« Last post by toom52 on June 03, 2022, 03:08:22 am »
Hello!, this is my first post on this forum and i'm trying to understand how this works, so if this is not the proper way of asking for help or this is in the wrong subforum just let me know please!

I'm currently studying App Development, and as sort of a "final project" to pass the course, me and my group have to make a proyect that tracks both users and their data consumption.
Since we're restricted to using codeblocks and c language, I wanted to get some insight on how to improve the visual aspect of the cmd, and user experience overall.
I havent found many content of this kind online so any tutorial or explainatory about this subject would be very helpfull, since we havent been taught too much about this side of the coding, and I think this will be a great adition to the proyect, and learning experience overall.

Thanks!


96
Nightly builds / Re: The 28 May2022 build (12818) is out.
« Last post by 20k on June 01, 2022, 04:56:58 am »

What is a .cl file (I found about a dozen definitions) and what do you mean by "code completion has been requested to teat as a source file" ?
How do I recreate this situation?


For the latter bug

1. Under settings -> editor -> clangd_client -> C/C++ parser (adv.), add ,cl to "file extensions to parse as source files". This is an OpenCL source file, but this bug repros without this being important

2. Make a new project (in my case, file new project, console application, C++, named test)

3. file -> new file -> empty file -> call it test.cl and create it in the current directory. I added it to debug and release

4. Navigate to new file, click, and hit enter to insert a newline. "Editors file is not yet parsed." pops up every time enter is pressed

My codeblocks config should be relatively standard other than that, but if this doesn't work I'll try and provide more detailed information. Clangd is set to C:\msys64\mingw64\bin\clangd.exe, and this is the clangd provided by msys2's mingw-w64-x86_64-clang-tools-extra package for the mingw64 distribution


Can you give me the exact steps to try and recreate this bug?


This is for a big project so less straightforward. So, with step 1 from the above bug report also applied (ie adding .cl files to the list of extensions)

1. Check out the repo https://github.com/20k/numerical_sim recursively with submodules, on the branch 'codeblocksrepro'. I use tortoisegit so I don't have a cli command here for you, but there its just right click git clone -> URL: git@github.com:20k/numerical_sim.git and tick recursive, with the branch set to codeblocksrepro

2. Open it up in codeblocks via clicking numerical_sim.cbp

3. Under sources, navigate to mesh_manager.cpp

4. Line 67 reads buf.matter_term = std::get<5>(values[kk]);

5. Make a newline after line 67, and type "buf."

6. It then displays a message (incorrectly) referring to cpu_mesh, and the init function https://i.imgur.com/blm3jww.png

7. Delete your addition, and restart codeblocks, repeating steps 2-6

8. Get a different message https://i.imgur.com/ngeHlmM.png

This project hasn't been tweaked at all to parse better under clang - so parse errors don't surprise me particularly, but the non determinism seems like there's a race condition happening somewhere. The list of members is correct indicating that its at least mostly correctly parsed, it just the extracted type that's incorrect

Scrolling through the different members of .buf in the popup does not change the message that's displayed, and between this and the non determinism it makes me suspect a bug in the code completion itself rather than a simple parse failure

I just checked the LSP diagnostics for mesh_manager.cpp and that doesn't output any errors, just uninteresting C++ stylistic warnings, so that file at least seems to be parsing mostly correctly

The code completion is set to use only 1 thread, and I tested messing with this number to see if it affects the result. It does not. All the testing I did just now is with the concurrently parsing thread count set to 1

Thanks!
97
Plugins development / Re: 'Collector' plugin
« Last post by LETARTARE on May 31, 2022, 07:52:23 pm »
New version 'Collector-1.7.2' : https://github.com/LETARTARE/CB_Collector

- call to 'Poedit' is identical with 'Leap-15.3' or 'Win-7'
- fixed file opening in 'Poedit' (did not accept spaces in the path)
- update 'README.md'
98
Nightly builds / Re: The 28 May2022 build (12818) is out.
« Last post by Pecan on May 31, 2022, 06:08:32 pm »
Hello! I thought I'd give the clangd code completion a go, its amazing to see it finally starting to work its way into codeblocks. It seems to largely work, except for some reason in the floating box suggestion window, it always shows GImGuiFreeTypeAllocatorUserData for the type (Edit: This seems to be a race condition, it'll pick one type and then stick with it - from different files at random)

https://i.imgur.com/hRwqxxk.png
Can you give me the exact steps to try and recreate this bug?

Pressing enter on a file which the code completion has been requested to treat as a source file (in this case, a .cl file) pops up an error repeatedly saying that it hasn't been parsed yet. This is just for inserting a newline

What is a .cl file (I found about a dozen definitions) and what do you mean by "code completion has been requested to teat as a source file" ?
How do I recreate this situation?
99
Plugins development / Re: plugin 'keybinder'
« Last post by Miguel Gimenez on May 31, 2022, 03:59:31 pm »
Applied reverse patch in r12825, thank you.
100
Plugins development / plugin 'keybinder'
« Last post by LETARTARE on May 31, 2022, 03:27:34 pm »
a new ticket 1274 :  https://sourceforge.net/p/codeblocks/tickets/1274/
Patch for r12818-keybinder_wx30-unix.cbp
Pages: 1 ... 5 6 7 8 9 [10]