Board.KolibriOS.org

Official KolibriOS board
It is currently Mon Dec 16, 2019 11:04 am

All times are UTC+03:00




Post new topic  Reply to topic  [ 277 posts ]  Go to page Previous 18 9 10 11 1219 Next
Author Message
 Post subject: Re: Netsurf
PostPosted: Sat Mar 21, 2015 2:34 am 
Offline

Joined: Tue Apr 12, 2011 11:19 pm
Posts: 1151
Leency wrote:
Need to update Netsurf for new http_lib.

r5535

_________________
я лишь учусь


Top
   
 Post subject: Re: Netsurf
PostPosted: Sat Mar 21, 2015 2:40 am 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5067
Now need to get built version of Netsurf :)

_________________
Через тернии к звездам


Top
   
 Post subject: Re: Netsurf
PostPosted: Sat Mar 21, 2015 12:31 pm 
Offline

Joined: Wed May 18, 2005 7:27 pm
Posts: 1001
http://download.netsurf-browser.org/net ... ngeLog.txt Complete Changelog


Top
   
 Post subject: Re: Netsurf
PostPosted: Sat Sep 05, 2015 11:26 pm 
Offline
Mentor

Joined: Tue Mar 11, 2014 11:37 am
Posts: 184
This is how Netsurf on KolibriOS looks right now:
Attachment:
nsgui.jpg
nsgui.jpg [ 38.57 KiB | Viewed 3232 times ]


This is completely written in FASM and uses elements of _only_ boxlib so far. I will add elements of libimg (and libio for reading images/graphics) and then the blank working area should serve as the display region for netsurf's content. If anyone has any GUI related feedback, feel free to shout it out and I'll try to incorporate it into the main release.

PS - If some one has any suggestions on which drawing library to use to show the rendered content of an HTML page, please suggest and I will try to use one of those libraries. I am hoping to find something which is fast for KolibriOS. Currently, libimg seems like the only contender.

_________________
---
Check out the Netsurf Web Browser for KolibriOS.
Read the wiki and happy hacking with KolibriOS!


Top
   
 Post subject: Re: Netsurf
PostPosted: Sun Sep 06, 2015 1:19 am 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5067
You can use prev. WebView design http://habrastorage.org/getpro/habr/pos ... 8a6d81.png


Attachments:
Toolbar_icons.png
Toolbar_icons.png [ 5.62 KiB | Viewed 3209 times ]

_________________
Через тернии к звездам
Top
   
 Post subject: Re: Netsurf
PostPosted: Mon Sep 07, 2015 12:01 pm 
Offline
Mentor

Joined: Tue Mar 11, 2014 11:37 am
Posts: 184
Thank you for the icon set , Leency. I've used them in the GUI and have this for now.
Attachment:
nsv2a.png
nsv2a.png [ 37.66 KiB | Viewed 3148 times ]


The GUI is made in FASM (gui.asm), and uses boxlib, libimg, libio and some system functions to draw. Feel free to hack around and make it look better :) Also attaching the binary (nsgui) with this.

Also started writing the entry point in C for netsurf, attached the file which will contain the main() function for entry point from KolibriOS to Netsurf engine (gui.c) . The file currently contains skeleton definitions and function prototypes for all the functions we will require for mandatory features.


Attachments:
File comment: Netsurf entry point
gui.c [6.96 KiB]
Downloaded 85 times
File comment: Binary
nsgui [1.89 KiB]
Downloaded 96 times
File comment: Source file for Netsurf GUI
gui.asm [10.54 KiB]
Downloaded 83 times

_________________
---
Check out the Netsurf Web Browser for KolibriOS.
Read the wiki and happy hacking with KolibriOS!
Top
   
 Post subject: Re: Netsurf
PostPosted: Mon Sep 07, 2015 12:24 pm 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5067
Why do you use several png files instead one?
You can show one image with offset.

_________________
Через тернии к звездам


Top
   
 Post subject: Re: Netsurf
PostPosted: Mon Sep 07, 2015 9:11 pm 
Offline
Mentor

Joined: Tue Mar 11, 2014 11:37 am
Posts: 184
I'll use the single png with offsets in the next version. Was experimenting how the UI would look without a few buttons here and there so split the single PNG into multiple PNGs.

_________________
---
Check out the Netsurf Web Browser for KolibriOS.
Read the wiki and happy hacking with KolibriOS!


Top
   
 Post subject: Re: Netsurf
PostPosted: Mon Sep 07, 2015 9:29 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1248
Ashmew2: What Leency probably meant is that it's easy to splice the images in software, especially since they are all the same width and in a single column.

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein


Top
   
 Post subject: Re: Netsurf
PostPosted: Tue Jan 12, 2016 9:08 am 
Offline
User avatar

Joined: Thu Mar 01, 2007 7:57 pm
Posts: 835
Didn't work on yesterday's build:
Attachment:
BOARDLOG.TXT [3.26 KiB]
Downloaded 80 times

_________________
Всех выше те, кто доброе творят,
И за дела добра не ждут наград,
Всем жертвуют для страждущих людей,
Не думая о выгоде своей.


Top
   
 Post subject: Re: Netsurf
PostPosted: Mon Jan 18, 2016 12:52 pm 
Offline
User avatar

Joined: Thu Mar 01, 2007 7:57 pm
Posts: 835
Всё же как заставить его работать в ночных сборках? Что ему не хватает?

_________________
Всех выше те, кто доброе творят,
И за дела добра не ждут наград,
Всем жертвуют для страждущих людей,
Не думая о выгоде своей.


Top
   
 Post subject: Re: Netsurf
PostPosted: Mon Jan 18, 2016 2:26 pm 
Offline

Joined: Tue Apr 12, 2011 11:19 pm
Posts: 1151
DmitrySokolowsky wrote:
Всё же как заставить его работать в ночных сборках? Что ему не хватает?

Изменения в http.obj. Для работы в НС, необходимо собрать последнюю версию с SVN, если не ошибаюсь.

_________________
я лишь учусь


Top
   
 Post subject: Re: Netsurf
PostPosted: Thu Jan 21, 2016 3:20 pm 
Offline
Mentor

Joined: Tue Mar 11, 2014 11:37 am
Posts: 184
DmitrySokolowsky wrote:
Didn't work on yesterday's build:
Attachment:
BOARDLOG.TXT


Thank you for the DEBUG LOG.
My suggestion is to use the binary that I uploaded a few months ago (in this same thread, the post where I mentioned about posting this from netsurf , followed by post from mario_r4).

That is the most stable binary I ever wrote.

punk_joker wrote:
Изменения в http.obj. Для работы в НС, необходимо собрать последнюю версию с SVN, если не ошибаюсь.


Thank you for this clarification, this might be worth a try to actually determine what's causing this.

_________________
---
Check out the Netsurf Web Browser for KolibriOS.
Read the wiki and happy hacking with KolibriOS!


Top
   
 Post subject: Re: Netsurf
PostPosted: Fri Jan 22, 2016 3:35 pm 
Offline
User avatar

Joined: Thu Mar 01, 2007 7:57 pm
Posts: 835
It doesn't work also.
Code:
PATH1...
/tmp0/1/NETSURFPATH1...
PATH1...
/tmp0/1/res/PATH1...
====================START
MENUET01====================END
Calling HTTP_INIT() for KolibriOS http lib..
http_init() initialised properly.
HTTP init...
ok...
NS HTTP_INIT okayStart UI
Redraw

No process starts, no window appears.

_________________
Всех выше те, кто доброе творят,
И за дела добра не ждут наград,
Всем жертвуют для страждущих людей,
Не думая о выгоде своей.


Top
   
 Post subject: Re: Netsurf
PostPosted: Thu Feb 18, 2016 6:25 pm 
Offline
Mentor

Joined: Tue Mar 11, 2014 11:37 am
Posts: 184
Hello!

It's been a long time, so here's an update on Netsurf's development. I've been writing some C level libraries / bindings for assembly code for the past few months / weeks and tried writing a cross compiler as well (but dropped in favour of Serge's already existing newlib based toolchain for now).

I created a kolibrios directory in Netsurf source.

Wrote a build script which builds all the libraries required by netsurf : Build Script
All libCURL related parts have been removed and stubbed.
All the functionality has been stubbed which is not supported by KolibriOS.
Removed some parts related to Linux / Windows not supported on KolibriOS.
Set up netsurf core tables according to KolibriOS frontend.
Wrote a kolibriOS specific make file for building netsurf for KolibriOS : Makefile.target

Migrate / Create some parts like kolibri_filesystem.c and kolibri_regex.c to expose functions used in most FOSS code but not available in KOS.



Problems / Current Status:
The main problem is understanding the Netsurf source code and how the functionality is split and decoupling core parts (as we do not have access to stuff that Linux/Windows have in terms of libraries)...but screw it : )

Getting stuff to build without a proper cross compiler is problematic. I'm trying to use the newlib toolchain (and Serge has been very helpful so far, Thank you!) but there are obvious problems along the way.
============

I guess this is it for now. If someone is interested in contributing to this, feel free to join this project. I've tried to keep the code base as clean as possible and as standard and Netsurf-compliant as possible till now so that we can put this port in Official Netsurf ports list.

Regards,
ashmew2

_________________
---
Check out the Netsurf Web Browser for KolibriOS.
Read the wiki and happy hacking with KolibriOS!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 277 posts ]  Go to page Previous 18 9 10 11 1219 Next

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited