Re: netsurf: branch master updated. release/3.2-500-gd08acbc
by Chris Young
On Sat, 29 Nov 2014 23:57:22 +0000, Commit Mailer wibbled on for an age:
> correctly calculate writeout bandwidth and properly impose limits
Is this really right?
(22.696681) content/llcache.c llcache_persist 2414: Wrote 884 bytes in 225ms bw:3928 http://aminet.net/pics/at.gif
(22.696759) content/llcache.c llcache_persist 2420: Overran timeslot
(22.696828) content/llcache.c llcache_persist 2426: Cannot write minimum bandwidth
(22.697699) amiga/misc.c ami_misc_req 51: Disc cache write bandwidth is too slow to be useful, disabling cache
(22.497406) content/llcache.c llcache_persist 2414: Wrote 1480 bytes in 114ms bw:12982 http://news.bbcimg.co.uk/view/1_4_38/cream/hi/news/img/services.gif
(22.497485) content/llcache.c llcache_persist 2420: Overran timeslot
(22.497549) content/llcache.c llcache_persist 2426: Cannot write minimum bandwidth
(22.497751) amiga/misc.c ami_misc_req 51: Disc cache write bandwidth is too slow to be useful, disabling cache
(16.366240) content/llcache.c llcache_persist 2414: Wrote 3931 bytes in 263ms bw:14946 http://i2.cdnds.net/13/47/hearst.png
(16.366319) content/llcache.c llcache_persist 2420: Overran timeslot
(16.366384) content/llcache.c llcache_persist 2426: Cannot write minimum bandwidth
(16.366585) amiga/misc.c ami_misc_req 51: Disc cache write bandwidth is too slow to be useful, disabling cache
Even if I spawn it off to another process (so store returns
immediately) I still get the not enough bandwidth message.
Chris
8 years, 10 months
Amiga window data structures
by Michael Drake
I have been looking at stopping the Amiga front end from #including
desktop/browser_private.h, like I did for the Windows front end earlier
this week.
The big problem with the Amiga code at the moment is that the tabs
implementation seems to depend on being able to dereference struct
browser_window (bw), to get to the struct gui_window (gw).
So, for example, to set the Amiga front end's scroll offset for the
window, it starts with a struct gui_window_2 (gw2), which I assume is the
main window containing all the tabs, then it goes to the bw (representing
current tab?), then the gw:
gw2->bw->gw->scroll_y
The gui management of tabs should not depend on core data structures.
I suggest that the gw2 be changed to have a pointer to a gw representing
the current tab, and add a pointer to bw entry in the gw. So to get the
scroll_y it would be:
gw2->gw->scroll_y
And to use the core browser_window_* functions, you'd be passing the bw
from:
gw2->gw->bw
Does that seem doable Chris?
--
Michael Drake (tlsa) http://www.netsurf-browser.org/
8 years, 10 months
Re: netsurf: branch master updated. release/3.2-493-g81417ae
by John-Mark Bell
On Tue, Nov 25, 2014 at 11:14:28PM +0000, NetSurf Browser Project wrote:
>
> - Log -----------------------------------------------------------------
> commitdiff http://git.netsurf-browser.org/netsurf.git/commit/?id=81417ae4a5a58ef75ac...
> commit 81417ae4a5a58ef75ac4113ea2b2d8c72474ea97
> Author: Vincent Sanders <vince(a)kyllikki.org>
> Commit: Vincent Sanders <vince(a)kyllikki.org>
>
> caclulate the total amount of time spent writing an object out
[...]
> +write_backing_store(struct llcache_object *object, size_t *written_out, unsigned long *elapsed)
[...]
> + gettimeofday(&start_tv, NULL);
[...]
> + gettimeofday(&end_tv, NULL);
> +
> + timersub(&end_tv, &start_tv, &elapsed_tv);
> +
> object->store_state = LLCACHE_STATE_DISC;
>
> *written_out = object->source_len + metadatasize;
>
> + *elapsed = (elapsed_tv.tv_sec * 1000) + (elapsed_tv.tv_usec / 1000);
> +
This doesn't cope with time going backwards during the write out
operation (as gettimeofday is affected by NTP, amongst other things).
The upshot will be that the computed elapsed time comes out as a large
unsigned value (time_t is signed on most systems), and thus we'll decide
that write bandwidth is non-existent.
Ideally, we'd have a way to read the value of the monotonic timer on the
system. That's platform-specific, however, so a fairly invasive change.
Is there a better way of dealing with this?
J.
8 years, 10 months
AGM Minutes, 2014
by Daniel Silverstone
NetSurf AGM - 2014
==================
Attendance
----------
* Daniel Silverstone
* Rob Kendrick
* Michael Drake
* Vincent Sanders
* John-Mark Bell
* Chris Young
Secretary's report
------------------
Last year's society committee consisted of:
* Michael Drake, Chair
* John-Mark Bell, Treasurer
* Daniel Silverstone, Secretary
Last year's non-committee membership consisted of:
* Rob Kendrick
* Chris Young
* Vincent Sanders
* François Revol
* Steve Fryatt
This year we welcome Rupinder Singh Khokhar and Anthony J. Bentley
Noone has dropped out
The society is therefore quorate
Treasurer's report
------------------
Chair's report
--------------
* NetSurf is still actively developed, and new people turn up who are
interested in both the browser and its libraries. We've made releases in the
last year, and have done plenty of work since the last release.
* We had a successful GSoC student, who made nice progress on the libraries.
* At the developer hack weekend we are discussing future development.
* Thanks to everyone for their contributions this year.
GSoC Donation
-------------
Due to difficulty navigating through the complexities of international tax law,
we won't be receiving the mentor payment from this year's GSoC.
We have the option of donating it to the Software Freedom Conservancy
Kinnison seconds this option
tlsa votes that we do that
The committee has hereby voted to donate our mentor payment from GSoC 2014 to
the Software Freedom Conservancy
AI: John-Mark Bell to organise that donation.
AOB
---
Each of the RISC OS, Atari and Cocoa frontends are not being actively supported
by any of the developers on the project at this time. Noone was prepared to
step forward to offer assistance during the AGM.
When asked what impact this would have, Vincent explained that the releases are
therefore at risk of being unreleasable for verison 3.3 and forward from there.
The Atari toolchain (NetSurf toolchain) is currently not functional on our CI
infrastructure. When asked what impact this would have Vincent noted that we
are unable to build newer toolchains and thus close security holes
Vincent also noted that the support burden for maintaining the Cocoa frontend
means that it is very much at risk of being dropped without an active
maintainer.
AI: Release Manager to produce report to development *and* user mailing lists
detailing at-risk builds and their likely remaining lifetime
Close
-----
Michael thanked everyone and made special note that Daniel Silverstone donated
an SSD to the Cocoa CI engine.
--
Daniel Silverstone http://www.netsurf-browser.org/
PGP mail accepted and encouraged. Key Id: 3CCE BABE 206C 3B69
8 years, 10 months
NetSurf Society Financial Report
by John-Mark Bell
NetSurf Society Financial Report, November 2014
===============================================
Overview
--------
This is a summary of the society's financial status as of 2014-11-15.
No income is reported for this period.
All outgoings have been in the form of reimbursements for
project-related activities.
As resolved at the 2010 AGM, the society will now pay up to 15 pence per
mile for mileage.
Detail
------
Balance carried forward: 1648.21
Expenditure:
Michael Drake -- train tickets:
EDB->CBG->EDB Dev. Weekend Jan 2014 (102.20)
Vincent Sanders:
Hosting for CI system (340.25)
Remaining Funds: 1205.76
Notes
-----
The project did attend the Wakefield 2014 show. The income and
expenditure statement for the show did not make it in time to be
included in this report.
As a result of the complexities of international tax law, the
expected income from GSoC will not be forthcoming. There is an
option to donate it to the Software Freedom Conservancy. This
should be decided at the AGM.
8 years, 10 months
Developer weekend and AGM
by Daniel Silverstone
Hi all,
We're intending to have a developer weekend in Manchester later this year
in order to get some more headway into some of the meatier problems.
We'll also roll-up the AGM into that meeting, just to make our lives easier.
Therefore, if you are thinking of attending the dev weekend, be aware we'll be
AGMing too. And if you just want to attend the AGM, please still fill out the
doodle, but indicate AGM-only in your name field.
So if you're thinking of attending either, please fill out the below. We have
limited accomodation at developer abodes, but there's plenty of hotels etc.
Codethink (my employer) has graciously allowed us to have one of the meeting
rooms here which has a projector and whiteboards, and we have guest internets,
plenty of tea and coffee and biscuits (though we may have to acquire our own
milk)
Please use this link to fill out the poll: http://doodle.com/h9ka9itta8ycrb9f
Thanks,
Daniel.
--
Daniel Silverstone http://www.netsurf-browser.org/
PGP mail accepted and encouraged. Key Id: 3CCE BABE 206C 3B69
8 years, 10 months
Library change
by Vincent Sanders
I have just split the utf8proc library out from the NetSurf utils
directory into a core conveniance library (libutf8proc).
The only impact this will have for most of us is that the env.sh
script should be updated to the latest one and "ns-clone;
ns-pull-install" run before trying to build netsurf itself.
The new libutf8proc library [1] is a simple checkin of the 1.1.6
public software group library converted to use the core library build
system. There is one additional change added which exposes the
normalise capability of the library.
In future this should allow us to update this library to new upstream
releases with a clear separation from the main NetSurf codebase.
[1] http://git.netsurf-browser.org/libutf8proc.git/
--
Regards Vincent
http://www.kyllikki.org/
8 years, 10 months
New User - Hello to all - some Ideas concerning Netsurf for arm
by Christian Lepper
Hello,
my Name is Christian, Im from Germany/Munich.
i work on a embedded Plattform with Freescales iMX28 (arm).
Since some days i tried to get NetSurf working on this Plattform.
And with some small changes now i have first nsfb bin which is runable ;-)
Im not firm with your bugtracking systems...
so i send my suggestions here in hope to find the right person who can
handle this Info,
or just stick my nose to the right place for it ;-)
We use framebuffer with SDL-1.2
Found Hints/Probs/Bugs in Make Process:
1. in $(TARGET_WORKSPACE)/netsurf/Makefile Line 140
Change
STRIP=strip
To
STRIP?=strip
Makes it possible to use the strip from my (external) Toolchain;
else it always uses the HOST strip which cant handle my arm compiled bin.
2. My Ubuntu shell has severe Probs handling the defined funcs from env.sh
I had to change all names from e.g. ns-package-install to ns_package_install
I didnt figure out why my machine has a Problem with the '-' in the names..
But changing it to '_' solved the Probs.
3. Compiling Error cause of double typedef'd : typedef struct fbtk_widget_s
fbtk_widget_t;
In work/netsurf/framebuffer/fbtk.h and work/netsurf/framebuffer/gui.h
I changed to this:
./framebuffer/gui.h:23:
//typedef struct fbtk_widget_s fbtk_widget_t;
./framebuffer/gui.h:73:
//void gui_resize(fbtk_widget_t *root, int width, int height);
void gui_resize(struct fbtk_widget_s *root, int width, int height);
than it compiled.
4. Compile warning/error:
After a make clean, first run of make gives this error:
COMPILE: framebuffer/font_internal.c
framebuffer/font_internal.c:33:26: warning: font-ns-sans.h: No such file or
directory
framebuffer/font_internal.c: In function 'fb_get_glyph':
framebuffer/font_internal.c:263: error: 'fb_bold_italic_section_table'
undeclared (first use in this function)
framebuffer/font_internal.c:263: error: (Each undeclared identifier is
reported only once
.....
But in second try of make this file seems to be installed... maybe some
changes in make order/sequence?
And maybe this will disappear in the moment i get freetype compiled and
linked to Netsurf.
Suggestions:
- Why not use "SDL-ttf" which handles freetype fonts in a good and portable
manner?
Questions:
- Somebody got libmozjs running with NetSurf under arm?
- running nsfb gives a browser window but no website appears just left
bottom said "BadEncoding".
Webserver gets a "http OK" so i think the data is delivered to the
browser.
Doing something wrong?
Hope i could help a bit... or just give some confusing Info's.
Thanks in advance
Chris
8 years, 10 months