> > 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 ;-)
>
> Our BTS is a Mantis instance. There's some help on bugs.netsurf-
> browser.org
> but I'll admit it is a little hard to get your head around to begin
> with :-)
Figured this out yesterday a bit later fromm y first post. Will use it and
try to get it spotted.
Thanks!
>
> > 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.
>
> Interesting, this has never managed to hit us before and we cross-
> compile lots
> of stuff. Well spotted.
Should i do a bug to mantis? Just registered @
http://bugs.netsurf-browser.org/mantis/my_view_page.php
>
> > 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.
>
> Which shell do you use? We have several developers who use our env.sh
> on
> Ubuntu so we'd like to track down these issues.
lucid@ubuntu:~$ bash --help
GNU bash, version 4.2.24(1)-release-(i686-pc-linux-gnu)
lucid@ubuntu:~$ uname -a
Linux ubuntu 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:41:14 UTC 2012
i686 i686 i386 GNU/Linux
Running on a vmware. Nothing really interesting special.
I will keep tarck to this too, and give notice when i figured out more.
>
> > 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.
>
> I'm afraid I'm not au-fait with fbtk, but perhaps Michael Drake can
> jump in here.
In the moment i can live with this... was just to inform.
e.g. for 4.
>
> > Suggestions:
> > - Why not use "SDL-ttf" which handles freetype fonts in a good and
> portable manner?
>
> Font rendering for the framebuffer frontend is handled by NS separately
> from the framebuffer physical layer.
> Adding SDL-ttf would imply making NetSurf's codebase have SDL content.
> Perhaps better would be to push more of the
> font rendering into libnsfb and then the option would open up.
Ah okay, understood. If this point is getting interesting let me know about.
Were using SDL intensively and a lot of its children like:
(SDL-ttf, SDL-gfx, SDL-image, SDL-mixer, SDL-net)
Maybe i can help at this point.
>
> > Questions:
> > - Somebody got libmozjs running with NetSurf under arm?
>
> libmozjs is very difficult to get going on ARM reliably (we have it
> working on RISC OS (ish)).
> I suggest you do not attempt to build JavaScript support for now.
> We're slowly evaluating other JS options which might make it
> easier for us to port.
Yes, spent several hours getting libmozjs-24.2 make'd.
But i think its mostly a problem of its configure/makefiles.
Later today will use 18.x and check this.
We have the need to get js working,
cause we want to add our hardware stuff
in there to get the hardware-data
(like AD/Timers/Counters/gpio...)
to the Screen/Browser.
>
> > - 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?
>
> If you run NetSurf with the -v option, it'll give a lot of useful
> messages on stdout/stderr.
> Capture those into a log and we may be able to help further.
>
Thats my actual nsfb -v: (i added some simple printf's to the code maybe
they are helpfull too)
I apologize and will use your LOG facility further on... (had to find it out
first ;-)
The one thing is, if i just "/usr/bin/nsfb -v -w 800 -h 480 <direct link to
a .jpeg file>"
The picture will be shown.
The "Bad Encoding" just appears while asking any html Files.
That happens not only with highly coded stuff like google.de.
Also with some small and simple index.html too.
I found a post regarding similar issue concerning use of libiconv or
internal iconv.
I tried both but no difference (recognized for me)
Below is with external libiconv-2.5.1 (actual iconv 1.14) (ld with -liconv)
Maybe the line @(0.894468)... is interesting? There is no user.css inside
the resources.
Am i just missing some files???
lucid@ubuntu:/develop/NetSurf_arm/work/netsurf/framebuffer$ find . -name
"*css" -print
./res/quirks.css
./res/default.css
./res/adblock.css
./res/internal.css
And these are the res'ources i copied to the target... like given from howto
for framebuffer.
[root@INDICO-GeBE_iMX28 scripts]# /usr/bin/nsfb -v -w 800 -h 480
www.google.de
(0.000000) desktop/netsurf.c netsurf_init 150: NetSurf version '3.3 (Dev)'
(0.002437) desktop/netsurf.c netsurf_init 157: NetSurf on <Linux>, node
<INDICO-GeBE_iMX28.signmeup.de>, release <2.6.35.3>, version <#41 PREEMPT
Mon Oct 20 18:59:15 CEST 2014>, machine <armv5tejl>
(0.002781) utils/messages.c messages_load 127: Loading Messages from
'/root/.netsurf/Messages'
(0.119875) image/image_cache.c image_cache_init 381: Image cache initilised
with a limit of 3145728 hysteresis of 629145
(0.122094) render/html_css_fetcher.c html_css_fetcher_initialise 64:
html_css_fetcher_initialise called for x-ns-css
(0.126500) content/fetchers/curl.c fetch_curl_register 172: curl_version
libcurl/7.38.0 OpenSSL/1.0.1i zlib/1.2.3
(0.179562) utils/useragent.c user_agent_build_string 68: Built user agent
"NetSurf/3.3 (Linux)"
(0.179906) content/fetchers/curl.c fetch_curl_register 254: cURL linked
against openssl
(0.182187) content/fetchers/curl.c fetch_curl_initialise 297: Initialise
cURL fetcher for http
(0.182406) content/fetchers/curl.c fetch_curl_initialise 297: Initialise
cURL fetcher for https
(0.182625) content/fetchers/data.c fetch_data_initialise 65:
fetch_data_initialise called for data
(0.188062) content/llcache.c llcache_initialise 3033: llcache initialising
with a limit of 9437184 bytes
(0.188531) framebuffer/gui.c process_cmdline 443: argc 6, argv 0xbed4b9f4
LepOS: FB_VideoInit:515: 7a open:'/dev/fb0'
LepOS: FB_VideoInit:523: 7a is opened:'/dev/fb0'
LepOS: FB_OpenKeyboard:273: 1 (keyboard not open)
./src/video/fbcon/SDL_fbevents.c:FB_OpenMouse:587: With SDL_INPUT_TSLIB
Using tslib touchscreen
LepOS: SDL_SetVideoMode:600: '800x480x32' flags:'0x10'
LepOS: SDL_SetVideoMode:624: '800x480x32' flags:'0x10'
LepOS: FB_EnterGraphicsMode:164: 1 (not in Graphics Mode)
LepOS: SDL_SetVideoMode: END
(0.491437) framebuffer/font_freetype.c ft_face_requester 101: Loaded face
from /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
...... (all done)
(0.559656) framebuffer/font_freetype.c ft_face_requester 101: Loaded face
from /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
(0.622906) framebuffer/gui.c main 2128: calling browser_window_create
(0.623687) framebuffer/gui.c create_normal_browser_window 1572: Normal
window
(0.623906) framebuffer/gui.c create_toolbar 1178: Using toolbar layout
blfsrutc
(0.624250) framebuffer/gui.c create_toolbar 1211: toolbar adding b
(0.624500) framebuffer/gui.c create_toolbar 1362: xpos is 26
(0.624687) framebuffer/gui.c create_toolbar 1211: toolbar adding l
(0.624844) framebuffer/gui.c create_toolbar 1362: xpos is 54
(0.625000) framebuffer/gui.c create_toolbar 1211: toolbar adding f
(0.625344) framebuffer/gui.c create_toolbar 1362: xpos is 78
(0.625531) framebuffer/gui.c create_toolbar 1211: toolbar adding s
(0.625750) framebuffer/gui.c create_toolbar 1362: xpos is 106
(0.625906) framebuffer/gui.c create_toolbar 1211: toolbar adding r
(0.626125) framebuffer/gui.c create_toolbar 1362: xpos is 132
(0.626437) framebuffer/gui.c create_toolbar 1211: toolbar adding u
(0.626625) framebuffer/gui.c create_toolbar 1362: xpos is 798
(0.626781) framebuffer/gui.c create_toolbar 1211: toolbar adding c
(0.626969) framebuffer/gui.c create_toolbar 1362: xpos is 770
(0.627156) framebuffer/gui.c create_toolbar 1211: toolbar adding t
(0.627469) framebuffer/gui.c create_toolbar 1362: xpos is 744
(0.627687) framebuffer/gui.c create_toolbar 1211: toolbar adding u
(0.627844) framebuffer/gui.c create_toolbar 1362: xpos is 744
(0.628000) framebuffer/fbtk/fbtk.c fbtk_set_mapping 129: setting mapping on
0x291690 to 1
(0.628187) framebuffer/gui.c create_normal_browser_window 1603: status bar
0x291de0 at 0,462
(0.628656) framebuffer/fbtk/fbtk.c fbtk_set_mapping 129: setting mapping on
0x2915c0 to 1
(0.628937) desktop/browser.c browser_window_navigate 1847: bw 0x291490, url
http://www.google.de/
desktop/browser.c:browser_window_navigate:1849: bw 0x291490, url
http://www.google.de/
(0.629437) desktop/browser.c browser_window_navigate 1949: Loading
'http://www.google.de/'
(0.638062) content/llcache.c llcache_process_metadata 1251: Retriving
metadata
(0.638375) content/fetchers/curl.c fetch_curl_setup 379: fetch 0x293470, url
'http://www.google.de/'
desktop/browser.c:browser_window_navigate:1968: bw 0x291490, url
http://www.google.de/
(0.691656) framebuffer/fbtk/scroll.c hscroll_redraw 337: hscroll 209
(0.694469) framebuffer/gui.c fb_redraw 339: 0,0 to 782,432
(0.799281) content/fetchers/curl.c fetch_curl_process_headers 1236: HTTP
status code 200
(0.802312) content/content.c content__init 83: url http://www.google.de/ ->
0x2af078
(0.807312) render/html_css.c html_css_new_stylesheets 548: 2 fetches active
(0.807656) render/html_css.c html_css_new_stylesheets 575: 3 fetches active
(0.807875) content/content.c content_add_user 601: content
http://www.google.de/ (0x2af078), user 0x1419c 0x28d7b0
desktop/browser.c:browser_window_callback:1377: chris
browser_window_callback_errorcode:1123: chris
messages_get_errorcode:282: NSERROR_BAD_ENCODING
(0.825468) framebuffer/misc.c warn_user 30: BadEncoding (null)
(0.825718) content/content.c content_remove_user 629: content
http://www.google.de/ (0x2af078), user 0x1419c 0x28d7b0
(0.825968) content/fetchers/curl.c fetch_curl_abort 731: fetch 0x293470, url
'http://www.google.de/'
(0.829031) content/fetchers/curl.c fetch_curl_done 864: done
http://www.google.de/
(0.829281) content/fetchers/curl.c fetch_curl_stop 752: fetch 0x293470, url
'http://www.google.de/'
(0.843187) framebuffer/fetch.c fetch_filetype 68: unix path
/root/.netsurf/default.css
(0.845218) content/content.c content__init 83: url
file:///root/.netsurf/default.css -> 0x294310
(0.849687) content/content.c content_add_user 601: content
file:///root/.netsurf/default.css (0x294310), user 0x1419c 0x2fc0a0
(0.893312) content/content.c content_convert 283: content
file:///root/.netsurf/default.css (0x294310)
(0.893781) render/html_css.c html_convert_css_callback 105: done stylesheet
slot 0 'file:///root/.netsurf/default.css'
(0.894156) render/html_css.c html_convert_css_callback 107: 2 fetches active
(0.894468) render/html_css.c html_convert_css_callback 113: stylesheet
resource:user.css failed: UnacceptableType
(0.894687) render/html_css.c html_convert_css_callback 117: 1 fetches active
(20.193187) content/content.c content_destroy 388: content 0x2af078
http://www.google.de/
(20.193531) render/html.c html_destroy 1402: content 0x2af078
(20.194187) content/content.c content_remove_user 629: content
file:///root/.netsurf/default.css (0x294310), user 0x1419c 0x2fc0a0
(40.195656) content/content.c content_destroy 388: content 0x294310
file:///root/.netsurf/default.css
(729.213187) framebuffer/fbtk/event.c fbtk_click 88: clicked 0x292460 at
0,30
(729.213468) framebuffer/gui.c fb_browser_window_click 616: browser window
clicked at 314,215
(729.992687) framebuffer/fbtk/event.c fbtk_click 88: clicked 0x292460 at
0,30
(729.993031) framebuffer/gui.c fb_browser_window_click 616: browser window
clicked at 421,219
(730.328531) framebuffer/fbtk/event.c fbtk_click 88: clicked 0x292460 at
0,30
.....
And so on, nothing else happens anymore.
I attached a screenshot. @ (40.x)
Thanks in advance
Chris
No comments:
Post a Comment