Indeed, never noted that second option tab. Knowing these options is a great find and they offer interesting advantages. Maybe a button to switch between them would bring them to the attention of many more users. I will try to switch to "listSTC" and see how that works. I would miss the sorting feature of the list but for long file paths that is a lot better display. Thanks a lot!
BTW, ThreadSearch allows changing the wxListCtrl to a tree or an STC list, may be they are more useful for you. See Options -> Layout
On MSW the first column of wxListCtrl ignores the supplied alignment and always use left align. Linux uses a "generic implementation".
I don't know on Linux, but at least on Windows when you run the wxGrid sample columns G to J do what you want.
Didn't check on Windows. Even it that would be behaving differently it would be only half a solution. Do you know that wxGrid would behave differently or is it since it allows owner drawing?
wxListCtrl on MSW uses the ListCtrl common control in comctl32.dll, so it should have the same behaviour (this also prevents owner drawing the cell). The better solution would be changing the wxListCtrl to a wxGrid. nothing too difficult but not a trivial change.
Unfortunately it does not work as intended. The colum is right aligned, but when the column is resized and gets smaller than its content, the text always starts at the begin which fails to deliver the desired effect The line column that has been right aligned before has the same behaviour. Maybe this is rather a wxListCtrl issue than a CodeBlocks issue, because its counter-intuitive from what the user expects?
Fantastic. Thanks for sharing!
I don't know if your feature request will be accepted, but meanwhile you can change it in your local copy: void ThreadSearchLoggerList::SetListColumns() { m_pListLog->ClearAll(); m_pListLog->InsertColumn(ListColumns::FilePath, _("File path"), wxLIST_FORMAT_LEFT, 100); m_pListLog->InsertColumn(ListColumns::Line, _("Line"), wxLIST_FORMAT_RIGHT, 50); m_pListLog->InsertColumn(ListColumns::Text, _("Text"), wxLIST_FORMAT_LEFT, 500); }
Right-aligned FilePaths in ThreadSearch
The CodeCompletion plugin has a thread pool, and the parser is running in the thread pool. While we only keep a single symbol table(the token tree).
The tree is generated in a thread, the crash is because the main thread is accessing the tree while it is being modified. This code at src/plugins/codecompletion/parser/searchtree.cpp:567 if (!nn.n || nn.n==top) return result; (where nn is a reference to a SearchTreePoint) fails because nn is no longer valid.
This is the Crash XML that was produced. It is from a non debug version, the call stack is not as complete as the ne provided above.
C::B crashes in Linux in a minimal HelloWorld program
Before posting please read the following: https://forums.codeblocks.org/index.php/topic,9996.0.html It is not a C::B bug, but is how you setup the project and/or library. As such you need to ask for help, not create a bug report that is not a bug with C::B . The following forum is where you need to post to request help in using C::B: https://forums.codeblocks.org/index.php/board,3.0.html
Before posting please read the following: https://forums.codeblocks.org/index.php/topic,9996.0.html It is not a C::B bug, but is how you are setup the project and/or library. As such you need to ask for help, not create a bug report that is not a bug with C::B . The following forum is where you need to post to request help in using C::B: https://forums.codeblocks.org/index.php/board,3.0.html
Hi Andrew, Could you please clarify that? How else could the linker NOT find symbols that ARE there in the linker libraries (proved by the example provided)? Did you try building it at all? WBR // Love
Looks like it's not a C::B bug, so it's better to post this in the "Using Code::Blocks" forum for help.
Linker problem with selfmade libs
a - i dont remember what was the last version of the installer i used but i downloaded the newest one from 10/25/2021 and the problem still happens. b - i got the mingw from here https://osdn.net/projects/mingw/downloads/68260/mingw-get-setup.exe/ c - C:\MingGW d - Win7 x64
Can you please let me know the following so I cna see what went wrong: a) the file name of the unofficial installer you used. b) The name and version of the compiler you have installed. Also if you could also supply the URL you downloaded it from so I can try the exact version as there are allot of different comilers out there. c) The directory that the compiler is installed in. d) What version of Windows you are using and type (x86 or x64).
Hi Andrew, it didnt work, it didnt find the compiler, i had to go with the standard 64 bit installer available. :/ - Anyway, thanks for caring and trying to fix the problem.
Hi Felipe, Did my unofficial release work okay or not?
It looks like my SlikSVN generates patches in UTF-16 with mixed EOL, and it later rejects silently the patches when trying to apply them. Attached ia an ASCII version of the patch. I will investigate...
Document linker options without description
Thanks. It looks OK with your encoding3 patch
This better patch takes care of the Modification flag, just in case the file was modified before changing the settings.
Looks like the call to FixFoldState() changes the encoding on its own, just reordering the calls works for me.
Yes I can apply it manually, and I work like that ; For some unknown reason, applying a patch with my tortoise svn does not work anymore since some time. Bug ? Conflict with tortoiseGit ? I don't know. Strange as you said...
Yes I can apply it manually, and I works like that ; For some unknown reason, applying a patch with my tortoise svn does not work anymore since some time. Bug ? Conflict with tortoiseGit ? I don't know. Strange as you said...
Can you apply the patch manually?. When I do svn patch in other computer the patch does not change the file, very strange. I will investigate further.
I tried this patch but I don't see the difference : the indicated encoding at the bottom, in the C::B status bar still changes. If I close and reopen C::B without saving, the automatic encoding detection works as expected. Could it be a conflict with other options in the "Settings/Editor/General Setting/Encoding settings" window ? I have checked "As fall back encoding" and "if conversion fails ...". Nevertheless, I tried different settings combinations, but the behavior does not change.
This patch should fix the issue
Note : it's because I tested the patch proposed in ticket 1148 that I discovered this new problem.
Encoding mismatch
when you change the encoding by "Settings/Editor/General Setting/Encoding settings" on an already opened/displayed file, even if it's not splitted, the encoding indicated at the bottom changes That is a different issue, and IMHO it should have its own ticket.
It's OK when you split the view, encoding does not change now, even if it's not the default encoding. Nevertheless, when you change the encoding by "Settings/Editor/General Setting/Encoding settings" on an already opened/displayed file, even if it's not splitted, the encoding indicated at the bottom changes. So, when you save a modified file, the encoding may be changed.
It's OK when you slit the view, encoding does not change now, even if it's not the default encoding. Nevertheless, when you change the encoding by "Settings/Editor/General Setting/Encoding settings" on an already opened/displayed file, even if it's not splitted, the encoding indicated at the bottom changes. So, when you save a modified file, the encoding may be changed.
Can you test the attached patch?
Encoding mismatch when using split view
Added EVT_MENU_HIGHLIGHT_ALL event.
Fix some EnvVars problems, one of them is a show stopper
Ok, tested on windows and linux, works fine for me, Patch applied in r12537 Thank you a lot
* envars: Fix bug where "Set not found" error messages appeared wrongly, and bug where envars where not applied (fix #1145, thanks Miguel Gimenez)
Fix some EnvVars problems, one of them is a show stopper
wxSmith: add missing events to wxsFrame
This updated patch adds make_unique, make_unique_for_overwrite, make_pair, thread and mutex.
With the revisions of the C++ language new libraries are added and the keywords increase more and more. Here are some keywords absent in the file lexer_cpp.xml: wstring istringstream ostringstream wstringstream basic_stringview string_view wstring_view thread async future promise mutex chrono clock duration make_unique make_pair ranges views filesystem path
Add make_unique and make_unique_for_overwrite to the C++ lexer
Fix some EnvVars problems, one of them is a show stopper
If i install it with muon every thing works as expected.... So somehow discovery uses different packages?
I just tested this in a fresh kubuntu VM and i got the same error when i install only codeblocks. but when i also install the addons (link above the reviews) i can start it... Also, if i install it via discovery (without addons) and then type in the console apt get install codeblocks i get a lot missing packages: testuser@testuser-VirtualBox:~$ sudo apt install codeblocks Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages...
+ AUI: Add option to set font size in wxAUI headers
Ok, thanks for the explanation.
Nightly build and version 20.03 doesnt display foreign characters correctly
This is not a codeblocks bug, but a unicode problem see this thread for help https://forums.codeblocks.org/index.php/topic,22168.msg150872.html#msg150872 If you still have problems please create a new forum entry. This bug tracker is reserved for bugs only
Nightly build and version 20.03 doesnt display foreign characters correctly
Thanks for the links, it seems the discussion is pretty old. Regarding the other forums i go they use 2.0.18, here is one example and it works fine here: http://www.romhacking.net/forum/
The forum uses SMF 2.0.18, native support for IPv6 was added in 2.1.0. See this thread and specially this post in the thread. The other forums may be using the mod or the new version.
Miguel - i dont believe it's a bug with smf, i go to several forums that use SMF and i dont have this problem with them, perhaps a bug in the forum's server?
wxSmith assert when using wxStdDialogButtonSizer in XRC
fixed in r12535 thank you for reporting Andrew Cottrell and thank you for the patch Miguel!
*wxSmith: fix assert in wxStdDialogButtonSizer (fix ticket #1110, thank you Miguel Gimenez)
Fix assert in wxSmith editor when window contains wxStdDialogButtonSizer
duplicate of #1110
My global variable - j1 - are in conflict with your - math.h
For support questions please ask in the forum this is only for bug reports and patches thank you
Remove obsolete workaround in file manager
in revision: 12534 thank you again!
* File Browser: remove workaround for wxRenameFile (apply patch #1137, thanks Miguel Gimenez )
We have a lot of issues with mac... You can search the forum for nightly builds for mac that should work...
Windows CB crash due to floating watch window issue on exit while still debugging
Fixed rev 12533
* core For Windows, close shown floating windows before shutdown to avoid hangs in Hide() and crashes in Manager::Shutdown()
Fix CCManager compilation with C++17
This is fixed in the trunk now, thanks!
* Fix CCManager compilation with C++17(apply patch #1142, thanks Miguel Gimenez)
Fix CCManager compilation with C++17
That error appears if you have a public IPv6 address, it is a bug in the SMF version used. Quoting from the forum: After a transition period of 23 years for IPv6, the ISPs in my region (Germany) only use DS-Lite for new (private) contracts. I just tried to use the search function with a DS-Lite -> database error Then tried to use the search function with a Dual-Stack -> worked after telling firefox network.dns.disableIPv6 = true Then tried to use the search function with an old Telekom 8!!MBit DSL...
That error appears if you have a public IPv6 address, it is a bug in the SMF version used. Quoiting from the forum: After a transition period of 23 years for IPv6, the ISPs in my region (Germany) only use DS-Lite for new (private) contracts. I just tried to use the search function with a DS-Lite -> database error Then tried to use the search function with a Dual-Stack -> worked after telling firefox network.dns.disableIPv6 = true Then tried to use the search function with an old Telekom 8!!MBit DSL...
That error appears if you have a public IPv6 address, it is a bug in the SMF version used. Quoiting form the forum: After a transition period of 23 years for IPv6, the ISPs in my region (Germany) only use DS-Lite for new (private) contracts. I just tried to use the search function with a DS-Lite -> database error Then tried to use the search function with a Dual-Stack -> worked after telling firefox network.dns.disableIPv6 = true Then tried to use the search function with an old Telekom 8!!MBit DSL...
Hi Andrew - a pity the fixes arent in the source code. Thank you for replying and for the link to the unofficial installer.
Hi Miguel - i did what you suggested before you replied and even so CB wasnt able to find the compiler. Thank you for replying and for the link to the build too, i'm having problems with several sections of the forum who give me the error you can see in the pic.
Depending on which compiler you have installed depends on the exact fix required in C::B. Unfortunately the fix/fixes have been available for a while now, but have not been incorporated into the C::B source code. More details and info on an unofficial installer that incorporates the Windows compiler detection changes is available on the following forum thread: https://forums.codeblocks.org/index.php/topic,24592.0.html
Make Codef() compilable when wxUSE_STL == 1
in revision: 12531 thank you again!
* wxSmith: Fix compilation with wxUSE_STL == 1 (apply ticket #1138, thanks Miguel Gimenez)
Correct language of wxLED contrib item
in revision: 12530 thank you for your support
* wxSmith: Replace German with English, enable translation (fix ticket #1139, thanks Miguel Gimenez)
This is a known problem. Go to Settings -> Compiler -> Toolchain executables, click on the button with three dots and navigate to the compiler installation path (probably it is in a MinGW folder under C::B installation folder). Check if the names in Program Files tab match those found under MinGW/bin and change them if needed. Regarding the nightly, try this link If you have any doubt please ask in the forum
Codeblock 20.03 32 bit doesnt detect a compiler
Fix CCManager compilation with C++17
after run "hello world" doesnt comes out
Duplicate of ticket 1021, look there for a workaround
Duplicate of ticket 1021, look there for a waorkaround
Error
Correct language of wxLED contrib item