codelite 3.0 is available for download

CodeLite's announcements
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: codelite 3.0 is available for download

Post by jfouche »

eranif wrote:Does it work for codelite 3.0 or are you referring to trunk version?
I tried both, and both have the same bug for me (and Frank also, if I understand correctly).
If it works for you, it may be due to a keyboard problem also. But the shortcut written in the text field corresponds to what I entered (CTRL+: is well written if I press CTRL and :).
Jérémie
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: codelite 3.0 is available for download

Post by eranif »

jfouche wrote:(CTRL+: is well written if I press CTRL and .
This seems like THE bug in wxWidgets and my workaround only fixes the editing in wxScintilla and not the shortcut

Here is the reference for the bug in wxTrac:
http://trac.wxwidgets.org/ticket/13558

Eran
Make sure you have read the HOW TO POST thread
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: codelite 3.0 is available for download

Post by jfouche »

Hi Eran,

I have some doubt about a wxWidget shortcut bug.
I investigate a little bit, and I can see that the shortcut table is reversed compared to the vector which sore the content. That's why editing the "New Workspace..." shortcut (which is first for me) changes the "Run" accelerator (which is last for me). The source of the reverse seems to be the AppendListCtrlRow() which always return 0 (so each element is not append to the listctrl, but it is prepend).
wxListCtrl::InsertItem() return 0 even if you give an index which is GetItemCount(). Strange, isn't it ? Reading the sources of wxWidgets (MSW) InsertItem just call ListView_InsertItem.
Jérémie
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: codelite 3.0 is available for download

Post by jfouche »

wxListCtrl::InsertItem(...) returns 0 if the wxListCtrl has the wxLC_SORT_ASCENDING style.
As you sort the content by hand (you don't use wxListCtrl::SortItems), I think you can (should) remove this style from the m_listCtrl1 in acceltablebasedlg (in wxFB). I tested it, and now, it works correctly for me.
As I don't have svn, I can't provide you a patch, but it shouldn't be so hard to fix (just uncheck the wxLC_SORT_ASCENDING in wxFB).
Jérémie
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: codelite 3.0 is available for download

Post by eranif »

Thanks! will do

EDIT: done

Eran
Make sure you have read the HOW TO POST thread
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: codelite 3.0 is available for download

Post by jfouche »

jfouche wrote:Hi Eran

When do you plan the next release ?
I mainly wait for it for the wxScintilla bug.
Thanks
Hi Eran,

I know i'm not very patient ;) , but do you you plan the next release soon ?
Moreover, as we can't install it without admin permissions (due to this change), do you think you could release a zip file also, which contains the CodeLite directory, as it should work correctly. This could allow me (and others) to install it at work (where I don't have admin privileges).
Thanks
Jérémie
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: codelite 3.0 is available for download

Post by eranif »

Hopefully by Sunday we will have a new release.
jfouche wrote:as we can't install it without admin permissions (due to this change),
I reverted this fix long time ago .. ;)

Eran
Make sure you have read the HOW TO POST thread
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: codelite 3.0 is available for download

Post by eranif »

jfouche wrote:I know i'm not very patient , but do you you plan the next release soon ?
Windows binaries are being uploaded now (27/12, 09:30 AM here) soon the follow the Linux / Mac binaries

Eran
Make sure you have read the HOW TO POST thread
Post Reply