Re: Hotlist truncation/corruption

2012-11-24 Thread Harriet Bazley
On 22 Nov 2012 as I do recall,
  Tony Moore  wrote:

 On 22 Nov 2012, Michael Drake t...@netsurf-browser.org wrote:
  In article 60245ff252.harr...@blueyonder.co.uk,
 Harriet Bazley li...@orange.wingsandbeaks.org.uk wrote:
 
   Recently I've been suffering increasingly frequent corruption of my
   NetSurf hotlist
 
  The hotlist gets truncated when it fails to save one of the entries.
 
  Since hotlist load/save was ported from libxml to libdom it has failed
  to handle HTML entities.  So the hotlist will get truncated before the
  first entry to contain an unusual character.

 Looking at the Hotlist files posted by Richard Torrens, the entry which
 caused the truncation was (on one line):

lia href=http://www.vivastreet.co.uk/east-anglia;
#8226;#8226;#9655; East Anglia Free ads, East Anglia classifieds,
East Anglia FREE CLASSIFIED ADS, 450,000+ free classifieds in the
UK/a/li
Ah, and the one from the list I reported is

a href=http://elegantmusings.com/;Casey#8217;s Elegant Musings/a

So the problem is caused by adding webpages with UTF characters in the
title to your hotlist (and not editing the default title - which I
normally do, but in this case didn't)

-- 
Harriet Bazley ==  Loyaulte me lie ==

Power tends to corrupt and absolute power corrupts absolutely



Re: Hotlist truncation/corruption

2012-11-22 Thread Peter Young
On 22 Nov 2012  Bryan Hogan nets...@helpful.demon.co.uk wrote:

 In message 60245ff252.harr...@blueyonder.co.uk
   Harriet Bazley li...@orange.wingsandbeaks.org.uk wrote:

 Is anyone else seeing this behaviour?

 Yes, most of my Hotlist has vanished too :-(

 Looking at the Hotlist file it is not corrupted, the html is
 perfectly formed, it's just missing all but the first 35ish
 entries.

And have had that recently happen here, too.

With best wishes,

Peter.

-- 
Peter   \  /  zfc Ta \ Prestbury, Cheltenham,  Glos. GL52
and  \/ ____  \  England.
family   / /  \ | | |\ | /  _  \  http://pnyoung.orpheusweb.co.uk
/  \__/ \_/ | \| \__/   \__ pnyo...@ormail.co.uk



Re: Hotlist truncation/corruption

2012-11-22 Thread Richard Torrens (lists)
In article 20121122083649.GA3366@somnambulist.local,
   Daniel Silverstone dsilv...@netsurf-browser.org wrote:
 If any of you had backups of your hotlist from before NetSurf seems to have
 lost entries, you could use copies of those backups to do the test.  If the
 problem manifests repeatably, then copies of the offending hotlists would go a
 long way to helping us diagnose and fix the fault.


It's a saving issue. Just closed Netsurf and watched the file shrink from
16K to 552 bytes.

Both attached

-- 
Richard Torrens.
http://www.Torrens.org.uk for genealogy, natural history, wild food, walks, cats
and more!
Title: NetSurf hotlist




Buy/Sell

FreeAds Burwell
Preloved | used latex for sale UK and Ireland
Free Classified Ads . Classifieds . Property, Jobs, Motors, Personals...
 East Anglia Free ads, East Anglia classifieds, East Anglia FREE CLASSIFIED ADS, 450,000+ free classifieds in the UK
Gumtree - Cambridge
craigslist: cambridge, UK classifieds for jobs, apartments, personals, for sale, services, community, and events
Welcome to the Camlets Home Page
eFreeko, recycling the planet - Home Page
hififorsale.com's AudiophileCandy
Canon: Ace Cameras For Best Deals On Used Cameras, Lenses, Accessories, Scopes, Binoculars, Eyepieces and Astronomical Equipment.
Digital Camera Magazine Classifieds
Gumtree.com - Gloucester Classifieds

Computing

gEDA Project Homepage
pdf2gerb: Convert PDF to Gerber and NC Drill formats « scattershot genius;
Vutrax Electronics CAD - Off-site Links
Perlmasters Perl Script and CGI Script Resource Site
Perl
CPAN
RISC OS

32 Bit Conversions
David Pilling :: Home : RISC OS
Dave Higton's home page
SiteMatch RISC OS Web Site Synchroniser
Google Directory - Computers  Systems  RISC OS  Software  Monitor Definition Files
 IYONIX pc
RISCOS Ltd
RISC OS Knowledgebase
RISC OS Select - Private - News
RISCOS.org : Support - !Boot Structure
Recommended software - RISCOS
BBC - h2g2 - RISC OS Computers
John's HTML Tutors
 ZFC Guides
Avisoft Home Page

Tests etc

IANA  Root Zone Database
Test Your Firewall
The W3C Markup Validation Service

Unix

CGI - perldoc.perl.org
demime - A tool to scrub mime from mailing lists
Pure-FTPd - About
Stripmime


Electronics

AVR
EAsm homepage
Semiconductors
== Diodes ==
Soldering
LF-1000 TIPS
BOSS Enclosures
Dancap Electronics Home Page - Official Hakko Distributor for the UK and Northern Ireland
Kaisertech, hot air rework, fume extraction, dummy components.
Rampantapathy : - Cart contents
Welcome to STMicroelectronics
SuperMagnete.de - The Strongest Magnets in the World

Food

Food From Britain
http://www.justsolutions.eu/CamFruit/displayGrowers.asp
 Spice Pages: Coconut (Cocos nucifera)
 Spice Pages: Coconut (Cocos nucifera)
 Welcome to Rick Stein's Seafood Restaurant, Accommodation  Cookery School - Rick Stein

Genealogy

Stoke Ferry

Dr Henry Linhook Helsham of Stoke Ferry, Norfolk (1767-1806)
Dr Robert Harvey (1700-1756) of Stoke Ferry, Norfolk, England.
Stoke Ferry - White's 1854
GENUKI: Norfolk: Genealogy: Towns and Parishes: Stoke Ferry
GENUKI: Norfolk: Genealogy: Towns and Parishes: Stoke Ferry: Coates: Names


Holidays

Camp Sites and Caravan Parks in England
An extensive caravan parks and sites directory, a portal for caravan sales and rental, and a comprehensive on-line guide to caravan, mobile home, motorhome, tent, trailer tent and cabin holidays :: Caravan Sitefinder UK
Defra, UK - Rural Affairs
Paws For a Walk - The Dog Friendly Website
Holiday Accommodation Dog  Pet Friendly Cottages Caravans BB Hotels
Pet friendly dogs welcome self-catering country cottages and holiday cottages
Cotswolds
Holiday Accommodation Dog  Pet Friendly Cottages Caravans BB Hotels
Forest of Dean

Evans Holidays
Royal Forest of Dean, Herefordshire and Monmouthshire Dog Friendly Accommodation
Holiday accommodation in the Forest of Dean, Gloucestershire
Cottages Wye Valley Forest of Dean accommodation self catering

Lincolnshire
Lincolnshire Walks - Lincolnshire County Council
Norfolk
The Brecks, Norfolk  Places to Stay, Visit, Eat and Drink in the Brecks
Nottingham
Homepage


Music

BBC - Radio 3
Index of /2ndhand/

Natural history

Animals

Cats

Cat Rescue and Rehoming - Siamese Cat Club Welfare Trust
SpringerLink - Journal Article
FAB Home Page
Mr. Lee CatCam

Fish
Aquariumlife.net - Aquarium articles, forums, DIY projects, tools
Species - ARKive

Plants

Flower seeds Vegetable seed Grass seed, Garden Sundries
Latin name index P - Plants For A Future database report
Plants For A Future - 7000 useful plants
PFAF Database Search
Thomas Etty Esq. - Heritage Vegetable Seeds
Novelty Tropical Seeds
Invasive non-native plants
http://www.fruitipedia.com/


NetSurf

NetSurf homepage
NetSurf test builds

Photography

Advanced Camera Services
Canon EOS Beginners' FAQ III - Lenses
Canon EOS Beginners' FAQ III - Lenses
photo.net - photo.net

Searches

Search for People, Businesses and Places - 192.com
Route Planner (GB) : Routes, maps and directions - The AA
AltaVista - Babel Fish 

Re: Hotlist truncation/corruption

2012-11-22 Thread David Pitt
Daniel Silverstone, on 22 Nov, wrote:

 On Thu, Nov 22, 2012 at 08:16:26AM +, Peter Young wrote:
Is anyone else seeing this behaviour?
   Yes, most of my Hotlist has vanished too :-( Looking at the Hotlist
   file it is not corrupted, the html is perfectly formed, it's just
   missing all but the first 35ish entries.
  And have had that recently happen here, too.
 
 It would be massively helpful if people seeing this behaviour could
 attempt to determine if this is a loading or saving issue -- This can be
 done by editing the file in Zap or StrongEd and then starting NetSurf
 before looking in the NetSurf hotlist window to see if the added items are
 visible, and then quitting NetSurf and seeing if they get saved back out
 to the hostlist file.
 
 We did recently rewrite the hotlist code, so any hints are gratefully
 received.

FWIW I note the Hotlist generated by #665 is missing the /head tag. OTOH I
have not seen the Hotlist get truncated yet. 

-- 
David Pitt



Re: Hotlist truncation/corruption

2012-11-22 Thread Tony Moore
On 22 Nov 2012, Daniel Silverstone dsilv...@netsurf-browser.org wrote:

[snip]

 We did recently rewrite the hotlist code,

What was the first #number of this change?

Tony






Re: Hotlist truncation/corruption

2012-11-22 Thread Daniel Silverstone
On Thu, Nov 22, 2012 at 10:43:24AM +, Tony Moore wrote:
 On 22 Nov 2012, Daniel Silverstone dsilv...@netsurf-browser.org wrote:
 [snip]
  We did recently rewrite the hotlist code,
 What was the first #number of this change?

I do not recall.  It was done not long after the hack weekend though, so you
should be able to trace it.

D.

-- 
Daniel Silverstone   http://www.netsurf-browser.org/
PGP mail accepted and encouraged.Key Id: 3CCE BABE 206C 3B69



Re: Hotlist truncation/corruption

2012-11-22 Thread Richard Torrens (lists)
In article s2f288a3d7li...@torrens.org.uk,
   Richard Torrens (lists) li...@torrens.org.uk wrote:
 In article 20121122083649.GA3366@somnambulist.local,
Daniel Silverstone dsilv...@netsurf-browser.org wrote:
  If any of you had backups of your hotlist from before NetSurf seems to
  have lost entries, you could use copies of those backups to do the
  test.  If the problem manifests repeatably, then copies of the
  offending hotlists would go a long way to helping us diagnose and fix
  the fault.


 It's a saving issue. Just closed Netsurf and watched the file shrink from
 16K to 552 bytes.

 Both attached


Should have said this is with 3.0 (Dev CI #656)

-- 
Richard Torrens.
http://www.Torrens.org.uk for genealogy, natural history, wild food, walks, cats
and more!



Re: Hotlist truncation/corruption

2012-11-22 Thread Tony Moore
On 22 Nov 2012, Daniel Silverstone dsilv...@netsurf-browser.org wrote:
 On Thu, Nov 22, 2012 at 10:43:24AM +, Tony Moore wrote:
  On 22 Nov 2012, Daniel Silverstone dsilv...@netsurf-browser.org
  wrote:

   We did recently rewrite the hotlist code,
  What was the first #number of this change?

 I do not recall.  It was done not long after the hack weekend

That, I believe, was 3-4 Nov 2012.

Using RO6.20:

When quitting NetSurf #600 (5 Nov 2012), it consistently re-writes my
Hotlist as a 90K file.

When quitting NetSurf #659 (18 Nov 2012), it consistently re-writes my
Hotlist as an 89K file.

The difference in file-lengths seems to be caused by #600 writing amp;
whereas #659 writes  , however I can't persuade either NetSurf version
to truncate the Hotlist.

Tony






Re: Hotlist truncation/corruption

2012-11-22 Thread cj
In article mpro.mdvx2l006wxwx02rx.pit...@pittdj.co.uk,
   David Pitt pit...@pittdj.co.uk wrote:
 FWIW I note the Hotlist generated by #665 is missing the /head
 tag. OTOH I have not seen the Hotlist get truncated yet. 

Having now checked on both Iyonix and ARMini, both hotlists are
truncated. Since I 'auto-upgrade' NetSurf very regularly (at least
daily), and only keep the last 3 versions I have no idea when it
started. I never noticed before, since my most frequented sites are
at the top of the list, so probably haven't needed to scroll down the
list for maybe weeks.

-- 
Chris Johnson



Re: Hotlist truncation/corruption

2012-11-22 Thread Peter Young
On 22 Nov 2012  Peter Young pnyo...@ormail.co.uk wrote:

[snip]

 Whereas with #665 and RISC OS 5.19 on an ARMini, while I did have the
 file truncated a while ago, it doesn't seem to be happening now. Not,
 at least, till the fairy dust that a friend is sure inhabits all
 computers sees this message :-)

That happened sooner than I expected! I imported a 32K hotlist from 
the backup of the late Iyo, and ran NetSurf, and then quitted it. 
There was a bleep, and 32K suddenly became 8K. Is it something to do 
with the size of the hotlist perhaps?

Looking back, I have had a couple of unexplained bleeps when shutting 
down the machine, and I now know why!

With best wishes,

Peter.

-- 
Peter   \  /  zfc Ta \ Prestbury, Cheltenham,  Glos. GL52
and  \/ ____  \  England.
family   / /  \ | | |\ | /  _  \  http://pnyoung.orpheusweb.co.uk
/  \__/ \_/ | \| \__/   \__ pnyo...@ormail.co.uk



Re: Hotlist truncation/corruption

2012-11-22 Thread cj
With #665 on the Iyonix (5.19, 7 Nov 2012) the truncation is still
occurring when NetSurf is quit. The file I am using to test is
shortened from 24K to 10K.

-- 
Chris Johnson



Re: Hotlist truncation/corruption

2012-11-22 Thread Tony Moore
On 22 Nov 2012, cj ch...@chris-johnson.org.uk wrote:

 With #665 on the Iyonix (5.19, 7 Nov 2012) the truncation is still
 occurring when NetSurf is quit. The file I am using to test is
 shortened from 24K to 10K.

I've now checked #600 and #659 with RO5.19 (29-Oct-12), running on
RPCEmu v0.8.9. The results were identical to those for RO6.20, reported
earlier, ie no truncation with a 90K file.

Tony






Re: Hotlist truncation/corruption

2012-11-22 Thread Tony Moore
On 22 Nov 2012, Peter Young pnyo...@ormail.co.uk wrote:

[snip]

 I imported a 32K hotlist from the backup of the late Iyo, and ran
 NetSurf, and then quitted it. There was a bleep, and 32K suddenly
 became 8K. Is it something to do with the size of the hotlist perhaps?

No problem here, with a 90K Hotlist file.

Tony






Re: Hotlist truncation/corruption

2012-11-22 Thread Tony Moore
On 22 Nov 2012, Tony Moore old_coas...@yahoo.co.uk wrote:
 On 22 Nov 2012, cj ch...@chris-johnson.org.uk wrote:

  With #665 on the Iyonix (5.19, 7 Nov 2012) the truncation is still
  occurring when NetSurf is quit. The file I am using to test is
  shortened from 24K to 10K.

 I've now checked #600 and #659 with RO5.19 (29-Oct-12), running on
 RPCEmu v0.8.9. The results were identical to those for RO6.20, reported
 earlier, ie no truncation with a 90K file.

Now I'm up to date: using #665 with RO5.19 (29-Oct-12), running on
RPCEmu v0.8.9, and with RO6.20 running on a SARPC, here there is still
no truncation of a 90K Hotlist file, when NetSurf is quit.

Tony






Re: Hotlist truncation/corruption

2012-11-22 Thread John Williams
In article 20121122110116.GF3366@somnambulist.local, Daniel Silverstone
dsilv...@netsurf-browser.org wrote:

  What was the first #number of this change?

 I do not recall.  It was done not long after the hack weekend though, so
 you should be able to trace it.

Would it be possible to have once again something like the old builds page
detailing changes between test versions, or is that too much unproductive
work?

John




Re: Hotlist truncation/corruption

2012-11-22 Thread Rob Kendrick
On Thu, Nov 22, 2012 at 05:59:21PM +0100, John Williams wrote:
 In article 20121122110116.GF3366@somnambulist.local, Daniel Silverstone
 dsilv...@netsurf-browser.org wrote:
 
   What was the first #number of this change?
 
  I do not recall.  It was done not long after the hack weekend though, so
  you should be able to trace it.
 
 Would it be possible to have once again something like the old builds page
 detailing changes between test versions, or is that too much unproductive
 work?

http://ci.netsurf-browser.org/jenkins/job/netsurf/BUILD_JS=jsoff,CC=gcc,TARGET=riscos,label=arm-unknown-riscos/

The list of builds down the left hand side has links to a details page
for each, which includes the change messages for the commits included in
that build, with links to diffs on the cgit revision viewer.

B.



Re: Hotlist truncation/corruption

2012-11-22 Thread John Williams
In article 20121122170227.gu3...@pepperfish.net,
   Rob Kendrick r...@netsurf-browser.org wrote:

  Would it be possible to have once again something like the old builds
  page detailing changes between test versions, or is that too much
  unproductive work?

Sorry - Pluto breaks link! See Message-ID:

 20121122170227.gu3...@pepperfish.net

 The list of builds down the left hand side has links to a details page
 for each, which includes the change messages for the commits included in
 that build, with links to diffs on the cgit revision viewer.

Thanks!

John




Re: Hotlist truncation/corruption

2012-11-22 Thread Peter Young
On 22 Nov 2012  Peter Young pnyo...@ormail.co.uk wrote:

[snip]

 It gets even odder. I tried today to do something I've done many times
 before, so that I could search the global history. What I do is to
 open the global history from the icon bar icon, do menu over the
 history  History  Export, and drag the file to the icon bar icon.
 This opens the hotlist in HTML, and you can then use the search
 option. Today, when I got to the stage of dragging the icon to the
 icon bar I get the weird error message Unable to save the hotlist,
 (yes, hotlist!) with a beep, but NetSurf doesn't crash. I have the
 logfile, and will report this on the bug-tracker, in the hope that
 this possibly might shed some light on what's going on.

I tried to add a comment to the bug report, and got a page saying 
XSRF Attempt Detected!. What am I doing wrong? I tried to correct 
the wording of the error message, which is The hotlist was unable to 
be saved properly. From what I can see, the already truncated hotlist 
seem to be intact,

With best wishes,

Peter.

-- 
Peter   \  /  zfc Ta \ Prestbury, Cheltenham,  Glos. GL52
and  \/ ____  \  England.
family   / /  \ | | |\ | /  _  \  http://pnyoung.orpheusweb.co.uk
/  \__/ \_/ | \| \__/   \__ pnyo...@ormail.co.uk



Re: Hotlist truncation/corruption

2012-11-22 Thread Tony Moore
On 22 Nov 2012, Rob Kendrick r...@netsurf-browser.org wrote:
 On Thu, Nov 22, 2012 at 05:59:21PM +0100, John Williams wrote:

[snip]

  Would it be possible to have once again something like the old
  builds page detailing changes between test versions, or is that too
  much unproductive work?

 http://ci.netsurf-browser.org/jenkins/job/netsurf/BUILD_JS=jsoff,CC=gcc,TARGET=riscos,label=arm-unknown-riscos/

 The list of builds down the left hand side has links to a details page
 for each, which includes the change messages for the commits included
 in that build, with links to diffs on the cgit revision viewer.

At present, the earliest build available on that page is #641. How is it
possible to access earlier builds? I wish to identify the build in which
https://sourceforge.net/tracker/?func=detailaid=3579166group_id=51719atid=464312
first occurred. This lies between #417 and #461.

Tony






XSRF Attempt Detected (was: Hotlist truncation/corruption)

2012-11-22 Thread Martin Bazley
The following bytes were arranged on 22 Nov 2012 by Peter Young :

 I tried to add a comment to the bug report, and got a page saying
 XSRF Attempt Detected!.

I suspect that's related to this one:

http://sourceforge.net/tracker/?func=detailaid=3586760group_id=51719atid=464312

NetSurf's SSL seems to have a few bugs in it at the moment.

-- 
  __^__
 / _   _ \ You always find something in the last place you look.
( ( |_| ) )
 \_   _/  === Martin Bazley ==



Re: Hotlist truncation/corruption

2012-11-22 Thread Michael Drake
In article 60245ff252.harr...@blueyonder.co.uk,
   Harriet Bazley li...@orange.wingsandbeaks.org.uk wrote:

 Recently I've been suffering increasingly frequent corruption of my
 NetSurf hotlist

The hotlist gets truncated when it fails to save one of the entries.

Since hotlist load/save was ported from libxml to libdom it has failed to
handle HTML entities.  So the hotlist will get truncated before the first
entry to contain an unusual character.

The beep is because NetSurf opens a warning dialogue box to report the
problem, although since it is quitting, you won't get a chance to see it
before NetSurf quits.


In article 8f7cb4f252.pnyo...@pnyoung.ormail.co.uk,
   Peter Young pnyo...@ormail.co.uk wrote:

 What I do is to open the global history from the icon bar icon, do menu
 over the history  History  Export, and drag the file to the icon bar
 icon.

That's the same problem.  The warning mentions the hotlist because global
history and hotlist share the same code for saving.

-- 

Michael Drake (tlsa)  http://www.netsurf-browser.org/



Re: Hotlist truncation/corruption

2012-11-22 Thread Peter Young
On 22 Nov 2012  Michael Drake t...@netsurf-browser.org wrote:

 In article 60245ff252.harr...@blueyonder.co.uk,
Harriet Bazley li...@orange.wingsandbeaks.org.uk wrote:

 Recently I've been suffering increasingly frequent corruption of my
 NetSurf hotlist

 The hotlist gets truncated when it fails to save one of the entries.

 Since hotlist load/save was ported from libxml to libdom it has failed to
 handle HTML entities.  So the hotlist will get truncated before the first
 entry to contain an unusual character.

 The beep is because NetSurf opens a warning dialogue box to report the
 problem, although since it is quitting, you won't get a chance to see it
 before NetSurf quits.


 In article 8f7cb4f252.pnyo...@pnyoung.ormail.co.uk,
Peter Young pnyo...@ormail.co.uk wrote:

 What I do is to open the global history from the icon bar icon, do menu
 over the history  History  Export, and drag the file to the icon bar
 icon.

 That's the same problem.  The warning mentions the hotlist because global
 history and hotlist share the same code for saving.

Thanks for the explanation. I imagine it's being worked on, so I will 
be patient.

With best wishes,

Peter.

-- 
Peter   \  /  zfc Ta \ Prestbury, Cheltenham,  Glos. GL52
and  \/ ____  \  England.
family   / /  \ | | |\ | /  _  \  http://pnyoung.orpheusweb.co.uk
/  \__/ \_/ | \| \__/   \__ pnyo...@ormail.co.uk



Hotlist truncation/corruption

2012-11-21 Thread Harriet Bazley
Recently I've been suffering increasingly frequent corruption of my
Netsurf hotlist - the telltale symptom is that program beeps on
shutdown, and when it is re-started the hotlist file is truncated and
the remaining portion subtly altered (see artifact 3587232 on bug list)

Mertin has also been complaining of this but that is unsurprising as he
is using the same copy of the application on the same machine (just with
different files in Choices);  however this does suggest that it isn't
just some malformation of my particular hotlist file that is causing the
problem.

Is anyone else seeing this behaviour?

-- 
Harriet Bazley ==  Loyaulte me lie ==

Cole's Law:  Thinly sliced cabbage.



Re: Hotlist truncation/corruption

2012-11-21 Thread Bryan Hogan
In message 60245ff252.harr...@blueyonder.co.uk
  Harriet Bazley li...@orange.wingsandbeaks.org.uk wrote:

 Is anyone else seeing this behaviour?

Yes, most of my Hotlist has vanished too :-(

Looking at the Hotlist file it is not corrupted, the html is
perfectly formed, it's just missing all but the first 35ish
entries.

Bryan.

-- 
RISC OS User Group Of London  -  http://www.rougol.jellybaby.net/
RISC OS London Show   -  http://www.riscoslondonshow.co.uk/