Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Release 15.12, RC1 has arrived
oBFusCATed:
--- Quote from: Grabusz on December 26, 2015, 02:48:33 am ---1.When you open one (or more) files, there's a chance that C::B will hang after opening it. You will have to just kill the process, and start again... It took me 5 times to load all files I needed this time (it's not yet a project. I'm just testing something). And it's not just a recent bug, because it also occurs in 13.12.
--- End quote ---
Can you share a file that will cause cb to crash?
--- Quote from: Grabusz on December 26, 2015, 02:48:33 am ---2. It would be nice if C::B would create new empty file when you double-clicked on the tab bar with file names. (or maybe it already was implemented and it's somewhere in menu and I didn't find it?)
--- End quote ---
ctrl-shift-n or file -> new -> empty file
--- Quote from: Grabusz on December 26, 2015, 02:48:33 am ---3. Could you please move the closing "x" button in Logs & others down to the tab bar, and maybe reserve some space at it's beginning for the title? It would add 1.6 - 2.3 lines of space to the editor.
--- End quote ---
Not possible, we're using the wxAui component and it doesn't have this feature.
--- Quote from: Grabusz on December 26, 2015, 02:48:33 am ---4. Exporting Syntax highlighting settings into one file would be helpful, because everytime I format my disks (which is suprisingly often) I have to set Keywords and Filemasks again which is annoying.
--- End quote ---
You can copy the whole default.conf file or use the cb_share_config to copy parts of it, already. The default.conf is somewhere in %APP_DATA%/codeblocks (not a windows user, thus I might be wrong).
--- Quote from: Grabusz on December 26, 2015, 02:48:33 am ---5. C++ Parser hangs or just doing his job way too long, because sometimes it displays that popup (floating box? text? w/e) that it's still parsing files for more than an hour... in a project that includes 4 standard libraries and 5 small files.
--- End quote ---
Share a project which can be used to reproduce the problem, please.
stahta01:
Two of my past patches that would be good to get in RC2.
The setting of CMD_NULL to be just NUL is the most important one.
--- Code: ---From de1dfa465c5e8f059cf5e9acc02899f0d1249925 Mon Sep 17 00:00:00 2001
From: Tim S <stahta01@users.sourceforge.net>
Date: Sun, 8 Nov 2015 08:26:17 -0500
Subject: [PATCH 1/2] * sdk: Fixed value of "CMD_NULL" to be just "NUL".
(Thanks stahta01)
---
src/sdk/macrosmanager.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/sdk/macrosmanager.cpp b/src/sdk/macrosmanager.cpp
index 52c7888..1260a7d 100644
--- a/src/sdk/macrosmanager.cpp
+++ b/src/sdk/macrosmanager.cpp
@@ -130,11 +130,12 @@ void MacrosManager::ClearProjectKeys()
if (platform::windows)
{
+ m_Macros[_T("CMD_NULL")] = _T("NUL");
+
const wxString cmd(_T("cmd /c "));
m_Macros[_T("CMD_CP")] = cmd + _T("copy");
m_Macros[_T("CMD_RM")] = cmd + _T("del");
m_Macros[_T("CMD_MV")] = cmd + _T("move");
- m_Macros[_T("CMD_NULL")] = cmd + _T("NUL");
m_Macros[_T("CMD_MKDIR")] = cmd + _T("md");
m_Macros[_T("CMD_RMDIR")] = cmd + _T("rd");
}
--
2.6.4.windows.1
--- End code ---
CJS:
--- Quote from: oBFusCATed on December 27, 2015, 07:12:11 pm ---
--- Quote from: Grabusz on December 26, 2015, 02:48:33 am ---4. Exporting Syntax highlighting settings into one file would be helpful...
--- End quote ---
You can copy the whole default.conf file or use the cb_share_config to copy parts of it, already. The default.conf is somewhere in %APP_DATA%/codeblocks (not a windows user, thus I might be wrong).
--- Quote from: Grabusz on December 26, 2015, 02:48:33 am ---
--- End quote ---
Typing %APPDATA% in the Win7 Start / Search box (no underscore) takes me to a directory "Roaming"
Under this is a directory \CodeBlocks where default.conf is found, containing xml format data.
On my system this also appears under C:\Users\%USERNAME%\AppData\Roaming\CodeBlocks
(Currently using nightly svn 10136)
It can be in different places, see FAQ-Settings
Open a CMD prompt and type set (or set | more) to get a list of definitions for all the Windows system path variables.
--- End quote ---
oBFusCATed:
stahta01: Do you have tickets for these two patches? If not please open two separate ones and describe the problems they fix (a link to forum discussion is fine), so we can decide if these can go or not.
Generally, it is too late for them to go in.
MortenMacFly:
--- Quote from: oBFusCATed on December 28, 2015, 02:08:48 pm ---Generally, it is too late for them to go in.
--- End quote ---
I think the first one (NUL patch) is correct. If you want to pipe some output to NUL on Windows, the command is really wrong w/o the patch. It adds cmd /c in front, so for example:
$CMD_CP a b > $CMD_NUL
...becomes:
cmd.exe /c copy a b > cmd.exe /c NUL
...but really should be:
cmd.exe /c copy a b > NUL
The Linux part does it correct as expected. So this one I think we really should let go into.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version