On Thu, Feb 5, 2015 at 9:01 PM, Richard Hipp <d...@sqlite.org> wrote:

> On 2/5/15, Baruch Burstein <bmburst...@gmail.com> wrote:
> > According to http://fossil-scm.org/index.html/tktview?name=eaf1c4fdbe,
> the
> > code to enable this feature is in place and just need to be activated.
> This
> > is from nearly 4 years ago. Can this be done easily?
> >
>
> OK.  The next issue is how to draw the cherry-pick merges.
>
> Canvas drawing options are limited.  We cannot use the HTML <canvas>
> element because the geniuses that designed it limited its size to
> merely 32K pixels, which is nowhere near large enough for a long
> timeline.  So currently, all drawing is done with long and thin <div>
> elements.  Thousands and thousands of them on a longer timeline.  This
> limits the drawing to solid lines with a "Manhattan Geometry".  Thin
> gray lines, perhaps?
>
> (Aside:  Back years ago when first implemented, drawing thousands of
> long and thin <div> elements also turned out to be much faster than
> using <canvas>.  Sigh.)
>
> Does anybody have a mockup of what they think cherrypick merges should
> look like?
>

Dashed line? http://jsfiddle.net/by86pngw/

What about using SVG graphics? They are easy enough to generate by code
(just xml) and are supported natively in modern browsers.


-- 
˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı
_______________________________________________
fossil-dev mailing list
fossil-dev@lists.fossil-scm.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/fossil-dev

Reply via email to