User forums > Nightly builds
The 19 February 2015 build (10122) is out.
MortenMacFly:
--- Quote from: jens on March 06, 2015, 01:43:44 pm ---If the "default.conf" is in the standard-folder ("%APPDATA%\CodeBlocks") it should not happen.
--- End quote ---
Oh well, I can reproduce this on my machine as well. Using any wizard will overwrite the original wizard sources. This is definitely a bug.
This happens to me with a "portable" C;::B (default.conf besides codeblocks.exe) on Windows.
Jenna:
@MortenMacFly (and others of course):
can you test this patch ?
It works on linux, if C::B is build by C::B and default.conf is in the exe-folder.
The problem is that the user- and global-datapath are the same in this case.
The patch avoids this by adding the user-id (login-name) to the user-datapath.
--- Code: ---Index: src/sdk/configmanager.cpp
===================================================================
--- src/sdk/configmanager.cpp
+++ src/sdk/configmanager.cpp
@@ -25,6 +25,7 @@
#include <wx/url.h>
#include <wx/stream.h>
#include <wx/stdpaths.h>
+#include <wx/filename.h>
#ifdef __WXMSW__
#include <shlobj.h>
@@ -1529,6 +1530,11 @@
ConfigManager::data_path_user = dataPathUser + wxFILE_SEP_PATH + _T("codeblocks");
+ // if user- and global-datapath are the same (can happen in portable mode) we run in conflicts
+ // so we extend the user-datapath with the users name
+ if (wxFileName(ConfigManager::data_path_user) == wxFileName(ConfigManager::data_path_global))
+ ConfigManager::data_path_user.append(_(".")+wxGetUserId());
+
CreateDirRecursively(ConfigManager::config_folder);
CreateDirRecursively(ConfigManager::data_path_user + _T("/plugins/"));
CreateDir(ConfigManager::data_path_user + _T("/scripts/"));
--- End code ---
MortenMacFly:
--- Quote from: jens on March 06, 2015, 09:55:50 pm ---@MortenMacFly (and others of course):
can you test this patch ?
--- End quote ---
This works now. Than you, Jens. Feel free to commit. :-)
Jenna:
--- Quote from: MortenMacFly on March 09, 2015, 07:55:43 am ---
--- Quote from: jens on March 06, 2015, 09:55:50 pm ---@MortenMacFly (and others of course):
can you test this patch ?
--- End quote ---
This works now. Than you, Jens. Feel free to commit. :-)
--- End quote ---
In trunk (svn r10136).
teto:
I use this nightly and I can't use middleclick on linux to paste code selected from codeblocks. I can't upgrade to newer nightlies since they create other problems (as reported in another thread). I wonder if there is something in the config that could have possibly disabled this or if it's a bug.
middle click pasting works for my other applications.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version