Assert failed on www.scummvm.org
by Chris Young
Using my AmigaOS/hubbub build this error appears when visiting
http://www.scummvm.org:
assertion "block->type == BOX_BLOCK || block->type ==
BOX_INLINE_BLOCK || block->type == BOX_TABLE_CELL" failed: file
"render/layout.c", line 190
Looks like a NetSurf core problem to me, so I thought I'd throw it in
here for investigation :-)
Thanks
Chris
15 years, 3 months
Re: GSoC code submissions
by John-Mark Bell
On Wed, 27 Aug 2008, John Tytgat wrote:
> In message <Pine.LNX.4.62L.0808262341390.31548(a)uglogin.ecs.soton.ac.uk>
> John-Mark Bell <jmb(a)netsurf-browser.org> wrote:
>
>> We probably want to come up with a plan for getting the GSoC students'
>> work extracted from SVN and into a tarball that they can upload to Google.
>>
>> For Adam, Mike, and Sean, I hope this will simply be a case of
>> svn export /branches/<username>.
>
> Or supply all the diffs for each checkin done by the GSoC student on his
> branch which wasn't a merge from trunk (or one big diff against the branch
> point minus the merges from trunk) ?
Yup. All of these work.
>> [...]
>> I don't see any need to provide Google with anything that a) builds
>> correctly or b) contains the full revision history. That's why we have
>> SVN, right? :)
>
> I always understood that this requirement was to be fulfilled in order
> to justify the payments made.
Further guidance here:
http://groups.google.com/group/google-summer-of-code-announce/web/how-to-...
J.
15 years, 3 months
GSoC code submissions
by John-Mark Bell
Hi,
(jmb's email marathon continues)
We probably want to come up with a plan for getting the GSoC students'
work extracted from SVN and into a tarball that they can upload to Google.
For Adam, Mike, and Sean, I hope this will simply be a case of
svn export /branches/<username>.
For Andrew, I'll have to jump through a couple of other hoops -- namely
svn export /trunk/hubbub, too.
I don't see any need to provide Google with anything that a) builds
correctly or b) contains the full revision history. That's why we have
SVN, right? :)
J.
15 years, 3 months
South East Show
by John-Mark Bell
Hi,
While I'm deluging some of you with email, I thought another one wouldn't
hurt...
This year's South East show is on Saturday 18th October, in the usual
place -- details at http://www.fillin.co.uk/seshow/
Are we planning to attend? If so, who's available?
I've no immediate knowledge of if we've been sent any kind of stand
booking stuff -- I dealt with it last year, so I guess that it'll be sent
to me, if they're organised. Last year, the stand cost was 50 GBP.
Daniel -- what's our current financial situation?
Cheers,
J.
15 years, 3 months
More fun with forms
by Chris Young
I have another problem with forms, which occurs when a form has no
input.
I've tracked it down to line 335 of utils/utf8.c. When in=="" and/or
slen==0, the iconv function returns -1.
If I add jmb's line to print the error code after it fails, I get:
Failed, errno == 22 (Invalid argument)
The obvious thing to me is to avoid getting this far, as encoding an
empty string appears to be a waste of time. However, I was curious as
to the best way to handle this. Is iconv() not performing as it
should (again), or is this error correct and not handled by NetSurf
properly?
Thanks
Chris
15 years, 3 months
Re: More fun with forms
by John-Mark Bell
On Mon, 25 Aug 2008, Chris Young wrote:
> On 22 Aug 2008 23:31:43 +0100, Chris Young wrote:
>
>> I have another problem with forms, which occurs when a form has no
>> input.
>>
>> I've tracked it down to line 335 of utils/utf8.c. When in=="" and/or
>> slen==0, the iconv function returns -1.
Ok. The iconv documentation is a little vague on this point, so I guess -1
is a valid return value.
> My solution is to add the following to the start of utf8_to_enc in
I should thing that utf8_convert would be safer, as there's utterly no
guarantee that it won't be called with string == "" or slen == 0 from
somewhere else.
> utils/utf8.c:
>
> if(!strlen(string))
if (slen == 0 || string[0] == '\0') {
would be better, I think.
> {
> *result = strdup("");
> return UTF8_CONVERT_OK;
> }
>
> Shall I go ahead and commit this, or is there a better way? (or should
> I #ifdef it?)
Should be fine.
J.
15 years, 3 months
HPDF_Image_AddSMask
by Chris Young
Which version of libharu is the above function in?
I've checked the latest one, 2.10 and 2.08 and none of these have it
(although the latest does have another function that the PDF saver
requires)
Thanks
Chris
15 years, 3 months
GSoC Students and SVN
by Michael Drake
Thanks to Adam, Andrew, Michael and Sean for the work you've done on
NetSurf over the summer. We hope you've enjoyed working with us and found
it a rewarding experience.
We'd love for you to continue working on NetSurf and you should now all be
able to commit directly into NetSurf trunk!
Best regards,
Michael
--
Michael Drake (tlsa) http://www.netsurf-browser.org/
15 years, 3 months
BeOS and AmigaOS ports
by Michael Drake
Hi,
I've been delighted to see the progress that's been made in porting
NetSurf to new platforms.
I'm planning to post a news update on the web site, covering all the
recent developments. It would be helpful if you could let me know the
current status of these ports so that I can briefly describe the progress
that's been made.
Really, I want to know if they are at a usable state or if they can just
fetch and render a page but not much else or whatever. Sadly I don't have
the OSes to test them myself.
Also, it would be great to get a couple of screenshots of the current
state of the BeOS and AmigaOS ports. For the screenshots page the
screenshots need to be exactly 1004x780px. The should include the NetSurf
window only, not the whole desktop, and if the windows have an irregular
shape, they should have a white background. See the existing screenshots
for the general idea: http://www.netsurf-browser.org/about/screenshots/
You can use the screenshot template here:
http://www.netsurf-browser.org/about/screenshots/window.png
If you open that image and place the NetSurf window you want to screenshot
over it, align the window so it is as large as it can possibly be, without
going over the red border. That will ensure the window is the right size.
For choice of web sites to screenshot, either select a mainstream web site
that NetSurf is capable of rendering quite well or a site which is key for
the specific platform. So for example, http://www.haiku-os.org/ might be a
good idea for the BeOS port screenshot. :)
Also, for general interface, I'm not sure if you have access to the GTK or
RISC OS ports, but it would be nice to have some constancy across all
platforms.
The main browser window aims to be as lightweight as possible, taking as
little space up with toolbars and status bars as possible. This is to
allow the maximum amount of screen to be used for the important bit, the
web pages.
At the top there is a toolbar with some buttons on the left, then a URL
bar and a throbber on the right. We want the interface to be as simple as
possible so there aren't many toolbar icons by default. Only the RISC OS
version currently has a configurable toolbar.
The status bar at the bottom is on the same line as the horizontal
scrollbar. The horizontal scrollbar is not used often for web pages
because we aim to flow the page to the window width, unless the page is
fixed-width. By default, the status bar takes up two thirds of the space
and the scrollbar takes up one third. Between the status bar and the
scrollbar there is a widget that can be dragged to show more status bar
and less scrollbar or vice-versa.
That's pretty much all there is to it. :)
Best regards,
Michael
--
Michael Drake (tlsa) http://www.netsurf-browser.org/
15 years, 3 months