Page 3 of 3

Re: codelite 3.0 is available for download

Posted: Thu Nov 17, 2011 3:57 pm
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 :).

Re: codelite 3.0 is available for download

Posted: Thu Nov 17, 2011 4:17 pm
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

Re: codelite 3.0 is available for download

Posted: Fri Nov 18, 2011 12:54 pm
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.

Re: codelite 3.0 is available for download

Posted: Fri Nov 18, 2011 2:02 pm
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).

Re: codelite 3.0 is available for download

Posted: Fri Nov 18, 2011 2:28 pm
by eranif
Thanks! will do

EDIT: done

Eran

Re: codelite 3.0 is available for download

Posted: Fri Dec 23, 2011 12:26 am
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

Re: codelite 3.0 is available for download

Posted: Fri Dec 23, 2011 3:01 am
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

Re: codelite 3.0 is available for download

Posted: Tue Dec 27, 2011 11:26 am
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