Text box redraws
by Peter Slegg
Hi all,
I am using 2.9 on a 68060 Atari clone (Milan) and it is starting to
become my default browser.
I have noticed that when typing into a text box, Netsurf redraws all
of the text with each key press. On fast machines you probably
don't notice but it does slow things down quite a bit on the Milan.
Would it be possible to just render the latest character or the
current line ? Obviously once input reaches the right margin and the
box has to be scrolled horizontally it must redraw all the text
but that could also be made more slick by moving the text across by
more than one char, reducing redraws.
Also, after the first 5-7 characters there is a pause before any more
input is accepted. I have seen this a few times but will keep an eye
on it to see if it is a regular occurrence.
Cheers,
Peter
10 years, 7 months
small bug in nsurl.c
by Etienne Cochard
in the nsurl.c file, in nsurl__get_string_markers, there an error in the
'ftp:' detection
original code:
> } else if (off == SLEN("*https*") &&
> (((*(pos - off + 0) == 'f') ||
> (*(pos - off + 0) == 'F')) &&
> ((*(pos - off + 1) == 't') ||
> (*(pos - off + 1) == 'T')) &&
> ((*(pos - off + 2) == 'p') ||
> (*(pos - off + 2) == 'P')))) {
> marker.scheme_type = NSURL_SCHEME_FTP;
>
correct code:
> } else if (off == SLEN("*ftp*") &&
> (((*(pos - off + 0) == 'f') ||
> (*(pos - off + 0) == 'F')) &&
> ((*(pos - off + 1) == 't') ||
> (*(pos - off + 1) == 'T')) &&
> ((*(pos - off + 2) == 'p') ||
> (*(pos - off + 2) == 'P')))) {
> marker.scheme_type = NSURL_SCHEME_FTP;
I send this mail here, because bugs(a)netsurf-browser.org is not responding
11 years
Conversion from SVN to Git
by Daniel Silverstone
Hi,
On Sunday July 1st we will be switching from the Subversion VCS to the Git
DVCS. I will be organising test repository copies in the coming couple of
weeks and we will be organising access control etc over the subsequent weeks.
Everyone who wishes to push to the master repositories will need to have ssh
working with git. Anonymous clone with git:// protocol will be supported and I
am working on a simple client for platforms which currently do not support git,
but I cannot guarantee it will be ready in time.
If anyone has a *very* good reason for not doing this, speak up now. The
following are not considered good reasons:
* But I don't understand Git
* Waaah I hate Git
* Git doesn't work on my obscure $platform (We'd rather fix Git than hold off
getting away from svn)
Thanks,
Daniel.
--
Daniel Silverstone http://www.netsurf-browser.org/
PGP mail accepted and encouraged. Key Id: 3CCE BABE 206C 3B69
11 years
More examples using libcss [Xpost from netsurf-users]
by Syed Mushtaq
Hi,
I wanted to write a css spriter using libcss to parse css files. I was
looking at the example provided in the code, I find that the example is
very limited and not very clear. Is there some place where I can find more
examples which use libcss. What I am looking at is some kind of event based
API where my functions get called when parsing a ruleset,rule, etc. Similar
to libcroco.
Thanks
-Syed
11 years