Board.KolibriOS.org

Официальный форум KolibriOS
Текущее время: Вт сен 26, 2017 6:47 am

Часовой пояс: UTC+03:00




Начать новую тему  Ответить на тему  [ 240 сообщений ]  На страницу Пред. 112 13 14 15 16 След.
Автор Сообщение
 Заголовок сообщения: Re: Netsurf
СообщениеДобавлено: Вс май 21, 2017 8:58 pm 
Не в сети
Mentor

Зарегистрирован: Вт мар 11, 2014 11:37 am
Сообщения: 169
JohnXenox писал(а):
Hi ashmew2.
ashmew2 писал(а):
Hi JohnXenox,

I think I figured out what's going on here.

"You have probably not configured the folder /kolibrios. In order to do this, copy the folder /kolibrios and the file kolibri.lbl from the distribution kit to the root of some partition accessible from KolibriOS, so that /hdX/Y/kolibri.lbl and /hdX/Y/kolibrios/, or /usbhdX/Y/kolibri.lbl and /usbhdX/Y/kolibrios/ are accessible from KolibriOS. And yes, this is a sacred knowledge not present in the documentation." - CleverMouse

[ viewtopic.php?f=23&t=2865&p=58495&hilit=.lbl#p58495 ]

Let's see if you can open offline webpages with this.
Oh my god! Yes, it works now, but not fully. Draws netsurf's GUI, but do not draws offline pages (text and other stuff). I open offline pages with assoc.ini. Maybe I'm not doing it right?


I haven't tested with assoc.ini , but it's probably a good thing to have once I fix some other issues for the next release. AIUI, assoc.ini would call the Netsurf binary with <filename> as the command line argument which I havent implemented yet.

Can you try to run Netsurf first, get the main GUI window and then open offline pages using file:/// ?
For example, an html file located at
Код:
/tmp0/1/offline.html


should work with typing in the Netsurf address bar

Код:
file:///tmp0/1/offline.html


This should let you open local pages.

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


Вернуться к началу
 Заголовок сообщения: Re: Netsurf
СообщениеДобавлено: Вс май 21, 2017 9:51 pm 
Не в сети
Аватара пользователя

Зарегистрирован: Чт май 18, 2017 2:29 am
Сообщения: 66
ashmew2 писал(а):
I haven't tested with assoc.ini , but it's probably a good thing to have once I fix some other issues for the next release. AIUI, assoc.ini would call the Netsurf binary with <filename> as the command line argument which I havent implemented yet.
Clear.
ashmew2 писал(а):
Can you try to run Netsurf first, get the main GUI window and then open offline pages using file:/// ?
For example, an html file located at
Код:
/tmp0/1/offline.html

should work with typing in the Netsurf address bar
Код:
file:///tmp0/1/offline.html

This should let you open local pages.
Yep! It works, but very very very slow (from tmp directory)! It takes about 3 minutes to draw the page. Before the full draw of the page, there is a high load on the CPU (about 86%).

_________________
The Glass is Always Half Full! :mrgreen:


Вернуться к началу
 Заголовок сообщения: Re: Netsurf
СообщениеДобавлено: Вс май 21, 2017 11:52 pm 
Не в сети
Mentor

Зарегистрирован: Вт мар 11, 2014 11:37 am
Сообщения: 169
JohnXenox писал(а):
ashmew2 писал(а):
I haven't tested with assoc.ini , but it's probably a good thing to have once I fix some other issues for the next release. AIUI, assoc.ini would call the Netsurf binary with <filename> as the command line argument which I havent implemented yet.
Clear.
ashmew2 писал(а):
Can you try to run Netsurf first, get the main GUI window and then open offline pages using file:/// ?
For example, an html file located at
Код:
/tmp0/1/offline.html

should work with typing in the Netsurf address bar
Код:
file:///tmp0/1/offline.html

This should let you open local pages.
Yep! It works, but very very very slow (from tmp directory)! It takes about 3 minutes to draw the page. Before the full draw of the page, there is a high load on the CPU (about 86%).


Are you running with
Код:
/path/to/netsurf -V <logfile>
?
Can you try running without the -V switch
Код:
/path/to/netsurf
and see if it helps?

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


Вернуться к началу
 Заголовок сообщения: Re: Netsurf
СообщениеДобавлено: Пн май 22, 2017 2:50 pm 
Не в сети
Аватара пользователя

Зарегистрирован: Чт май 18, 2017 2:29 am
Сообщения: 66
ashmew2 писал(а):
Are you running with
Код:
/path/to/netsurf -V <logfile>
?
Yep! Log file and other files is attached!

Beginning of draw.
Изображение

Full draw (аfter 3 minutes).
Изображение
ashmew2 писал(а):
Can you try running without the -V switch
Код:
/path/to/netsurf
and see if it helps?
The same behavior. Drawing about 3 minutes. CPU loading initially, 80-90%(about 15 seconds), then 100% up to a full page draw.


Вложения:
NETSURF.tar.gz [11.66 КБ]
9 скачиваний
index-153.tar.gz [20.97 КБ]
5 скачиваний
BOARDLOG.tar.gz [3.25 КБ]
5 скачиваний

_________________
The Glass is Always Half Full! :mrgreen:
Вернуться к началу
 Заголовок сообщения: Re: Netsurf
СообщениеДобавлено: Ср май 24, 2017 1:36 am 
Не в сети
Mentor

Зарегистрирован: Вт мар 11, 2014 11:37 am
Сообщения: 169
Hi JohnXenox,

Wait for the next release =)
I'll add some more logging for printing the amount of time it takes to read local files.
This way we will be able to tell which phase is taking the most time (if it's the loading of the local HTML files, or it's the drawing of the loaded HTML file by browser)

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


Вернуться к началу
 Заголовок сообщения: Re: Netsurf
СообщениеДобавлено: Ср май 24, 2017 2:14 am 
Не в сети
Аватара пользователя

Зарегистрирован: Чт май 18, 2017 2:29 am
Сообщения: 66
ashmew2 писал(а):
Hi JohnXenox,

Wait for the next release =)
I'll add some more logging for printing the amount of time it takes to read local files.
This way we will be able to tell which phase is taking the most time (if it's the loading of the local HTML files, or it's the drawing of the loaded HTML file by browser)
Hi ashmew2.
Okay I will wait. :)

_________________
The Glass is Always Half Full! :mrgreen:


Вернуться к началу
 Заголовок сообщения: Re: Netsurf
СообщениеДобавлено: Ср май 31, 2017 2:07 am 
Не в сети
Mentor

Зарегистрирован: Вт мар 11, 2014 11:37 am
Сообщения: 169
New binaries for netsurf and netsurf-installer!

Built against Git commit tag : f7d4b915ff219accec90e4c53fa7d839dccd1745 (Netsurf git repo)

- Patch libgcc to alert user if libc is not present (or not found) leading to Netsurf not starting up (check debug board)
- Reduce size of executable by 4x (much faster loading times off a slow FAT disk)
- Display times when started and finished loading files from disk (to debug board) for troubleshooting.
- Patch the netsurf toolchains repo to create an sdk environment with kos32-gcc and friends for the build server.

====
Wrote an installer for Netsurf (can be found in $SVN/programs/network/netsurf/).
This installer downloads the netsurf binary and the required resources over HTTP and installs to /tmp0/1/ by default.
The download (aka installation) path can be changed in the .asm file .
Simply execute the assembled binary and check debug board for details on the download.
Вложение:
Вложение 2017-05-29-231651_1366x768_scrot.png больше недоступно

Note: It will create new directories in the target path as well for downloading resource files.
====


Вложения:
Комментарий к файлу: Installer
nsinstall [1.06 КБ]
35 скачиваний
Комментарий к файлу: Installer screenshot
2017-05-29-231651_1366x768_scrot.png
2017-05-29-231651_1366x768_scrot.png [ 106.92 КБ | 411 просмотров ]

_________________
---
Check out the Netsurf Web Browser for KolibriOS.
Read the wiki and happy hacking with KolibriOS!
Вернуться к началу
 Заголовок сообщения: Re: Netsurf
СообщениеДобавлено: Ср май 31, 2017 8:55 pm 
Не в сети
Аватара пользователя

Зарегистрирован: Чт май 18, 2017 2:29 am
Сообщения: 66
Netsurf does not work for me. Searches for Sans.ttf font and does not find it. Opens only console and that's all. Logfiles is attached. :(

Where can I get sans.ttf font? :roll:

Why do you use the console with netsurf bynary file? The console is superfluous in the graphics program. It can be disabled in kos32-ld by the argument "--subsystem native".


Вложения:
Netsurf-log.7z [710 байт]
6 скачиваний

_________________
The Glass is Always Half Full! :mrgreen:
Вернуться к началу
 Заголовок сообщения: Re: Netsurf
СообщениеДобавлено: Ср май 31, 2017 10:07 pm 
Не в сети
Mentor/Kernel Developer
Аватара пользователя

Зарегистрирован: Пт июн 30, 2006 9:01 am
Сообщения: 1224
JohnXenox: Did you use the installer (downloader) program ? It should have been downloaded automatically.
You can also find a copy of the 'resources' needed by netsurf here: download/file.php?id=6100

_________________
"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


Вернуться к началу
 Заголовок сообщения: Re: Netsurf
СообщениеДобавлено: Ср май 31, 2017 11:18 pm 
Не в сети
Аватара пользователя

Зарегистрирован: Чт май 18, 2017 2:29 am
Сообщения: 66
hidnplayr писал(а):
JohnXenox: Did you use the installer (downloader) program ?
Nope. I use "netsurf-kolibrios" file.
hidnplayr писал(а):
You can also find a copy of the 'resources' needed by netsurf here: download/file.php?id=6100
Okay.

_________________
The Glass is Always Half Full! :mrgreen:


Вернуться к началу
 Заголовок сообщения: Re: Netsurf
СообщениеДобавлено: Ср май 31, 2017 11:49 pm 
Не в сети
Mentor

Зарегистрирован: Вт мар 11, 2014 11:37 am
Сообщения: 169
JohnXenox писал(а):
Netsurf does not work for me. Searches for Sans.ttf font and does not find it. Opens only console and that's all. Logfiles is attached. :(

Where can I get sans.ttf font? :roll:

Why do you use the console with netsurf bynary file? The console is superfluous in the graphics program. It can be disabled in kos32-ld by the argument "--subsystem native".


The console is useful for picking up on errors on libraries that one might not have, for example libpng16.
So I kept it around for a while more.

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


Вернуться к началу
 Заголовок сообщения: Re: Netsurf
СообщениеДобавлено: Чт июн 01, 2017 12:30 am 
Не в сети
Аватара пользователя

Зарегистрирован: Чт май 18, 2017 2:29 am
Сообщения: 66
ashmew2 писал(а):
The console is useful for picking up on errors on libraries that one might not have, for example libpng16.
So I kept it around for a while more.
Clear.

_________________
The Glass is Always Half Full! :mrgreen:


Вернуться к началу
 Заголовок сообщения: Re: Netsurf
СообщениеДобавлено: Чт июн 01, 2017 5:31 pm 
Не в сети
Аватара пользователя

Зарегистрирован: Чт май 18, 2017 2:29 am
Сообщения: 66
Still slowly opens offline pages. :(
Video report -> http://www.yourfilelink.com/get.php?fid=1365122.


Вложения:
netsurf.log.7z [9.98 КБ]
7 скачиваний

_________________
The Glass is Always Half Full! :mrgreen:
Вернуться к началу
 Заголовок сообщения: Re: Netsurf
СообщениеДобавлено: Пт июн 02, 2017 11:03 am 
Не в сети

Зарегистрирован: Вт мар 08, 2016 11:00 pm
Сообщения: 256
I use nsinstall - it works. But downloaded nskolibrios wont run - just open console window and crashes

But netsurf-kolibrios file runs

Using .iso rev 6916


Вернуться к началу
 Заголовок сообщения: Re: Netsurf
СообщениеДобавлено: Пт июн 09, 2017 4:41 pm 
Не в сети
Designer
Аватара пользователя

Зарегистрирован: Чт янв 25, 2007 3:33 pm
Сообщения: 4176
Hi, ashmew2!

I've tried nsinstall, but unfortunately it doesn't work.

My steps:
1. add "nsinstall" to kilibri.img root folder
2. run QEMU and open /sys/nsinstall
3. wait... (btw, how about add console output instead writing to board?)
4. get files
5. open /tmp0/1/nskolibrios

Actual result: I see console window, one thread is creashed according to boardlog.
Boardlog attached.


Вложения:
BOARDLOG.TXT [3.24 КБ]
9 скачиваний

_________________
Через тернии к звездам
Вернуться к началу
Показать сообщения за:  Поле сортировки  
Начать новую тему  Ответить на тему  [ 240 сообщений ]  На страницу Пред. 112 13 14 15 16 След.

Часовой пояс: UTC+03:00


Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и 2 гостя


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
Создано на основе phpBB® Forum Software © phpBB Limited
Русская поддержка phpBB