User forums > Nightly builds
The 03 January 2008 build (4771) is out.
Albenejean:
Hello everyone.
Here is my first patch.
--- Code: ---Index: todolist.cpp
===================================================================
--- todolist.cpp (revision 4782)
+++ todolist.cpp (working copy)
@@ -243,9 +243,22 @@
void ToDoList::OnViewList(wxCommandEvent& event)
{
- CodeBlocksDockEvent evt(event.IsChecked() ? cbEVT_SHOW_DOCK_WINDOW : cbEVT_HIDE_DOCK_WINDOW);
- evt.pWindow = m_pListLog->GetWindow();
- Manager::Get()->ProcessEvent(evt);
+ if(m_StandAlone)
+ {
+ CodeBlocksDockEvent evt(event.IsChecked() ? cbEVT_SHOW_DOCK_WINDOW : cbEVT_HIDE_DOCK_WINDOW);
+ evt.pWindow = m_pListLog->GetWindow();
+ Manager::Get()->ProcessEvent(evt);
+ }
+ else
+ {
+ if(event.IsChecked())
+ {
+ CodeBlocksLogEvent evtShow(cbEVT_SHOW_LOG_MANAGER);
+ Manager::Get()->ProcessEvent(evtShow);
+ CodeBlocksLogEvent event(cbEVT_SWITCH_TO_LOG_WINDOW, m_pListLog);
+ Manager::Get()->ProcessEvent(event);
+ }
+ }
}
void ToDoList::OnAddItem(wxCommandEvent& event)
--- End code ---
When the ToDo window was within the Log Notebook, cliking on the menu View->Todo wasn't switching to the window.
In fact the GetWindow was returning the Log Notebook window. I correct it.
killerbot:
applied, thanks
libfab:
--- Quote from: olaoni on January 06, 2008, 01:42:21 am ---
--- Quote from: Acki on January 04, 2008, 03:10:54 am ---Yeah, now the double clicking works for all file types again, thx !!! :)
But there is still a little problem with this:
as usual C::B is not loaded and you open a file by double click (.workspace, .cbp, .cpp and .h tested)
now the file/project is loaded and everything works fine with C::B
but the folder containing the file is still blocked (no reactions, no updating, just white screen) and after closing C::B this "file not found" error message still appears !!!
this is for any folder and also for the desktop when I open a file there by double click...
--- End quote ---
Acki,
I have just download and tested out the latest nightly build. Double clicking on a *.cbp file loads the project correctly without any problem.
I am running C::B on a windows Xp with SP2.
You might find it handy to check Settings | Environment | Check & Set File association (Windows Only)
And ensure that the files which you are double clicking are associated correctly to C::B.
Good luck
Regards
Ola Oni
--- End quote ---
Hi,
I confirm Acki's report on the closing crash (OS is XP Family SP2), even with Ola Oni's precautionary step of checking the .cbp box in the Settings | Environment | Check & Set File association (Windows Only) dialog.
The crash only occurs if and only if:
1. CB was opened by double click on .cbp project
2. CB was closed with the top right-hand side " X cross" or the Quit instruction;
3. when mods have been applied to at least one project file ;
4. == AND == if the Save file instruction was used to apply these mods.
Strangely enough, if mods were saved through the dialog box
File is modified...Do you want to save the changes?
then no crash occurs at all even if 1. to 3. were done.
Fab
Darck:
this is hopeless. when i want install one thing it needs another newer. And this another has dependency on another package with newer version. It's endless circle. I would have to install Ubuntu hardy to have possibility running Code::Blocks.
Is there any code::blocks which can run with libwxgtk2.8-02.8.4.0-0ubuntu3 instead of (>= 2.8.7)
I can't install libwxgtk2.8-0_2.8.7.1-0_i386.deb - it has too many dependencies!
-------------------
I installed this:
http://prdownload.berlios.de/codeblocks/CB_20070907_rev4439_Ubuntu6.10+7.04_wx2.8.4.tar.gz
If you know newer version which can run with wx2.8.4 let me know.
if you know
Albenejean:
--- Quote ---Strangely enough, if mods were saved through the dialog box
File is modified...Do you want to save the changes?
then no crash occurs at all even if 1. to 3. were done.
--- End quote ---
No, I have opened the CB project, put a space somewhere, and closed it. I have saved the filed through the dialog box and the crash still occurs!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version