On 25 January 2012 15:19, Dave Tapley <firstname.lastname@example.org> wrote:
On 16 January 2012 00:46, Eric Kow <email@example.com>
I was going to post on your blog, but you beat me to mentioning it. So better hear it from me, you should totally use GitHub for wxC. Plus it would be a chance to work with darcs-bridge maybe.
- Eric will probably kill me for saying this, but I think GitHub is probably the right place, possibly keeping Sourceforge as the project website and distribution point (I personally don't much like git, but it has mindshare, and probably makes more sense than Darcs for a non-Haskell project - plus my experience with patch-tag and darcsden has been that 'getting going' on a Windows machine is far from trivial). I could be persuaded to change my mind on this one, but probably only if one of the Darcs hosts can get the experience 'right' on Windows clients.
- Keep the Cabal-based build system to start with, until there is clear evidence of non-Haskell contributions.
- If wxC turns out to have legs, the main areas to attack should be:
- Move to bakefile based build.
- Automated generation of the binding.
If I may weight in..
I like the idea of moving wxC to a separate project, to at least open it up to other communities, and I'd be happy to have it on GitHub, if that's the consensus.
What ever decision we make, do we want to hold off the move on to code.haskell.org
until we've made a decision?
Actually, it might be easier to get moved across in our current state, and then move out wxC afterwards?
I tend to favour moving to code.haskell.org
first so that it remains easy for Haskellers to work on wxHaskell using only Cabal.
I have been thinking along the lines of the cabal version of wxC becoming a stub which contains pre-compiled wxC libraries and headers and installs them for you. I think it's important that 'cabal install wx' continues to work for Haskell users.
For that reasson, I'd rather move everything to c.h.o ASAP.
Me too :-)
However, I also generated Doxygen XML output for wxWidgets (which the wxWidgets people seem to favour), and it looks quite nice. Here's a sample - it's the XML generated for the start of class wxPropertyGrid and the method virtual void wxPropertyGrid::DoShowPropertyError(wxPGProperty *property, const wxString &msg);
<compounddef id="classwx_property_grid" kind="class" prot="public">
<basecompoundref refid="classwx_control" prot="public" virt="non-virtual">wxControl</basecompoundref>
<basecompoundref refid="classwx_property_grid_interface" prot="public" virt="non-virtual">wxPropertyGridInterface</basecompoundref>
<description><para>Reimplement these member functions in derived class for better control over <ref refid="classwx_property_grid" kindref="compound">wxPropertyGrid</ref> behaviour. </para></description>
<memberdef kind="function" id="classwx_property_grid_1a6eff1187beba43109be7a12194b0bf2b" prot="public" static="no" const="no" explicit="no" inline="no" virt="virtual">
<definition>virtual void wxPropertyGrid::DoShowPropertyError</definition>
<argsstring>(wxPGProperty *property, const wxString &msg)</argsstring>
<type><ref refid="classwx_p_g_property" kindref="compound">wxPGProperty</ref> *</type>
<type>const <ref refid="classwx_string" kindref="compound">wxString</ref> &</type>
<para>Override in derived class to display error messages in custom manner (these message usually only result from validation failure). </para> </briefdescription>
<para><simplesect kind="remark"><para>If you implement this, then you also need to implement <ref refid="classwx_property_grid_1af170d02811ab8eed906963de693b79aa" kindref="member">DoHidePropertyError()</ref> - possibly to do nothing, if error does not need hiding (e.g. it was logged or shown in a message box).</para></simplesect>
<simplesect kind="see"><para><ref refid="classwx_property_grid_1af170d02811ab8eed906963de693b79aa" kindref="member">DoHidePropertyError()</ref> </para></simplesect>
<location file="D:/Builds/wxWidgets-2.9.3/interface/wx/propgrid/propgrid.h" line="1108"/>
Notice that all of the documentation is retained (which would be very nice for documenting wxcore), and that function signature is quite easy to extract.