[Netsurf-develop] Putting error logs in RAM disk
by John M Bell
Hi there,
Due to the noise of my HDD annoying me whilst using NetSurf, I've written
a short Obey file to automatically set the CSD to the RAM disk when
Netsurf is run.
I've added a line in the run file after Wimpslot -min 1600k:
<NetSurf$Dir>.setdir
The obey file setdir is as follows:
IfThere RAM::0.$ Then Else ChangeDynamicArea -RamFSSize 2048K
IfThere RAM::0.$.NSLogs Then Wipe RAM::0.$.NSLogs.* ~C F ~R ~V Else CDir
RAM::0.$.NSLogs
Dir RAM::0.$.NSLogs
That should be three lines long. The lines should start as follows:
IfThere...
IfThere...
Dir...
I hope someone finds this useful ;P
John
20 years, 11 months
Re: [Netsurf-develop] RE: Wimp Slot
by Mr Phil Mellor
> > It's probably worth increasing the WimpSlot to > 2MB before running,
now.
>
> Can something not be done about this because it is going to become a
problem
> in the long run..?
Err.... probably. It could be done most easily by compiling with
support for dynamic areas, but this would prevent it running on
anything less than RISC OS 3.5, - restricting Virtual Acorn people
amongst others.
Would it be possible to rewrite the malloc/calloc routines to use the
module area, or the wimp heap, or something?
--
20 years, 11 months
Re: [Netsurf-develop] Fonts and forms
by Mr Phil Mellor
> I fixed that redraw problem. I'm still trying to find why those
spaces were
> turning into table cells.
>
> Phil: it's not compiling at the moment for me:
> Did you check in the latest browser.c?
Oops, I think I forgot. Sorry!
> I've set up my server to automatically build the latest version from
CVS
> every 15 minutes if it's changed: http://netsurf.strcprstskrzkrk.co.
uk/
Jolly good. That means there should be a new build there shortly!
I've checked in some code - most form elements are handled correctly
now - it can display text boxes, text areas, radio icons, checkboxes,
submit/reset buttons and combo boxes. These can be manipulated by the
user - text areas are handled by an external editor, and you can drag
and drop text files into them.
Code to get/post form info needs to be done next - am I right in
thinking that CURL has nice routines to do this?
Won't be long before we can post to TIB with NetSurf, eh? :)
Phil.
--
20 years, 11 months
[Netsurf-develop] files left open..?
by Andrew Duffell
Hi,
If you view a file with NetSurf and then load that file into Zap edit it, and
try to save it, It says "This file is already open". Should it not close the
file once it has fetched it?
Also, I have been playing around with some of the Sprites and Templates. How
do I add them to the CVS? Do I need a password?
Regards,
Andrew
--
20 years, 11 months
[Netsurf-develop] Fonts and forms
by Mr Phil Mellor
Yay. I've now got a decent development system - a Linux box, with a
gcc cross compiler, and Virtual Acorn running through Wine. I can now
do Stuff!
I've fixed the background anti-aliasing for the fonts, and started some
support for form elements - textboxes, submit buttons etc.
I've commited the changes to the CVS, and uploaded a binary to http://
www.angelfire.com/me/elizabethfromcheddar/netsurf/ns20021229.zip of all
places.
Phil.
--
20 years, 11 months