1 May 2009 09:35
Re: Re: Broken unicode handling in unison 2.27.57
Martin von Gagern <Martin.vGagern <at> gmx.net>
2009-05-01 07:35:03 GMT
2009-05-01 07:35:03 GMT
Benjamin Pierce wrote: >> Martin von Gagern wrote: >> I hope that with this kind of optional implementation, the code can go >> into some development tree (either trunk or a feature branch) soon, so >> developers can work together to improve on it. > > I'm glad to see that people are interested in improving the unicode > situation, but I have to admit I'm a little reluctant to put a "small > very ugly hack" into the Unison development tree...(Continue reading)I can understand your concerns. But how do you propose to continue? Neither the original author nor I myself are too fluent in OCaml, and I haven't even had a close enough look to understand most parts of the Unison code base. So I guess for us improving the patch on our own, without further input, would be pretty hard indeed. If you were to review the patch, see how ugly it really is, and point out things that would require improvement, that might be a good first step. Things that I can think of might require improvement: 1. The position of the change. Is Case.normalize the correct place? 2. The depndency. Is using camomile acceptable, or do we require our own implementation of unicode normalization? 3. Use of findlib. While I guess the use of findlib for camomile makes the build more portable, it might be cleaner to switch the whole unison build to findlib. On the other hand, if you want to keep build time deps to a minimum, findlib shouldn't be used at all. 4. The handling of compilation alternatives. Is providing two files "unicode.ml" in two different directories an acceptable way to provide and link to optional code?
I can understand your concerns. But how do you propose to continue?
Neither the original author nor I myself are too fluent in OCaml, and I
haven't even had a close enough look to understand most parts of the
Unison code base. So I guess for us improving the patch on our own,
without further input, would be pretty hard indeed. If you were to
review the patch, see how ugly it really is, and point out things that
would require improvement, that might be a good first step.
Things that I can think of might require improvement:
1. The position of the change. Is Case.normalize the correct place?
2. The depndency. Is using camomile acceptable, or do we require our own
implementation of unicode normalization?
3. Use of findlib. While I guess the use of findlib for camomile makes
the build more portable, it might be cleaner to switch the whole
unison build to findlib. On the other hand, if you want to keep build
time deps to a minimum, findlib shouldn't be used at all.
4. The handling of compilation alternatives. Is providing two files
"unicode.ml" in two different directories an acceptable way to
provide and link to optional code?
> >
> >
> >
> > Ok, thanks a lot for your help in advance, and best regards,
> >
> > Stefan.
> >
> Hi Stefan...
>
RSS Feed