Moving to core build system
by Vincent Sanders
I am slowly implementing the changes necessary to build NetSurf using
the same system as used for all the libraries and tools [1]. If any
developers have feedback on this please ensure those get added to the
wiki page, I am not making these changes arbitrarily and am happy to
receive feedback, what has been done so far is uncontroversial and
generally agreed.
Part of this activity involves updating the source code layout to be
more maintainable. As I proceed with these changes it has become
apparent that many frontends are pulling in headers for core
interfaces they do not use.
It would be immensely helpful if frontend maintainers could look at
their *core* header usage (headers not under frontends directory) and
remove any that are unnecessary. It is especially difficult when
frontend headers include core headers because it is no longer clear
which frontend module is actually using an interface, please can we
avoid this pattern.
Also I have noticed a tendency within frontends to assume they cannot
change core functionality to fix a problem, we are not alone in this
platform problem[2]. I just wanted to remind developers that just
because the source code layout segregates the browser that they are at
liberty to improve all interfaces.
[1] http://wiki.netsurf-browser.org/NetSurf_Corebuild
[2] https://lwn.net/Articles/443531/
--
Regards Vincent
http://www.kyllikki.org/
7 years, 4 months
Re: KolibriOS Port for Netsurf
by Ashish Gupta
Hi Michael.
Thanks for the review of the surface. I have fixed the issues you mentioned.
It just seems better to stick to the Netsurf code style as much as possible.
The revise file is attached to this mail. It can also be found on github[1].
>> static int kolibri_surface_claim(nsfb_t *nsfb, nsfb_bbox_t *box)
>> {
>> /* TODO: Convert to full function from stub */
>>
>> /*
>> if ((cursor != NULL) &&
>> (cursor->plotted == true) &&
>> (nsfb_plot_bbox_intersect(box, &cursor->loc))) {
>> nsfb_cursor_clear(nsfb, cursor);
>> }
>> */
>>
>> return 0;
>> }
>
>
> The framebuffer front end normally renders its own mouse pointer.
> From this, I guess you're relying on the pointer from the KolibriOS desktop.
>
> This should work for the most part, but I'm not sure you'll be able to
> do things like make the pointer change shape when hovering over a link
> unless we extend the nsfb surface API.
This isn't high priority (or even required) atm, so I think It's best
to let the stub remain for a future maintainer (possibly myself) in
the hopes that it will be eventually fixed.
I'll wait for Vince's opinion on this.
Once that's done and I get Netsurf git access, I'll start moving the code.
Thank you, everyone!
Regards,
Ashish Gupta
[1] : https://github.com/ashmew2/nskolibrios/blob/nskolibrios/libnsfb/src/surfa...
7 years, 4 months
KolibriOS Port for Netsurf
by Ashish Gupta
Hi Everyone!
My nick on #netsurf on Freenode : ashmew2
As some of you are already aware of, I'm working on a port for Netsurf
to run on KolibriOS. The target platform makes thing a bit more
complex as it does not have libcurl and the windowing library is not
as matured as gtk (or what other OS' might have). As a result, the
port is based around using a framebuffer surface and using a home-made
HTTP fetcher to replace libcurl and all the functionality it offers.
This is the first of a few patches / additions to the netsurf code
base to fully support the KolibriOS port and eventually merge to the
Jenkins CI.
With that said, could someone review the libnsfb surface for KolibriOS
? I've tried to stick to the Netsurf code style guide as much as
possible but also drew some inspiration from the already existing
surfaces. Once this is finalized, I'll patch the libnsfb Makefile as
well.
I've attached the kolibri.c file to this email. The same file is also
available on github at the primary development repository[1] . If you
are interested in the progress, the forum thread on KolibriOS Board[2]
will help you understand more. If it is more convenient for you, you
can also comment on github directly (Let me know, so I can grant you
rights as required).
[1] : https://github.com/ashmew2/nskolibrios/blob/nskolibrios/libnsfb/src/surfa...
[2] : http://board.kolibrios.org/viewtopic.php?p=65426#p65381
Thank you!
Warm Regards,
Ashish Gupta
7 years, 4 months
Website displaying without CSS
by Art J
Hi NetSurf team,
please help me tracing bug in my compiler toolchain.
When compiled with ixemul libc some sites doesn't display CSS eg.
netsurf-website.org.
But if using clib2 toolchain, css is ok.
Where should I search for bug, libcss ?
7 years, 4 months