ultratiny html viewer - PuppyBrowser 0.5 + embeddedbookmarks
I added libgee to the message where you could download the browser.
http://www.murga-linux.com/puppy/viewto ... 882#303882
Mark
http://www.murga-linux.com/puppy/viewto ... 882#303882
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]
I attach a pet for interested developers.
This NOT for endusers, as I just started to add tabs, they do not work at all as expected!
I has a new button, that opens a new tabpage with the current URL.
But when I click on the new tabs, a wrong index is returned (printed to console).
If someone can solve it, please let me know.
You must compile it on your own in ValaIde.
The corresponding code is around line 300:
This NOT for endusers, as I just started to add tabs, they do not work at all as expected!
Mark
This NOT for endusers, as I just started to add tabs, they do not work at all as expected!
I has a new button, that opens a new tabpage with the current URL.
But when I click on the new tabs, a wrong index is returned (printed to console).
If someone can solve it, please let me know.
You must compile it on your own in ValaIde.
The corresponding code is around line 300:
Code: Select all
def new_tab()
mozcount ++
moz[mozcount] = new MozEmbed ()
var a = note.append_page(moz[mozcount] , null)
print("--%d" ,a)
moz[mozcount].show()
load(current_uri)
def note_page_changed()
var index = note.get_current_page()
print("%d" ,index)
Mark
- Attachments
-
- PuppyBrowser-broken-tabs.tar.gz
- (44.42 KiB) Downloaded 1132 times
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]
It can be used with Seamonkey 1.x, or Xulrunner 1.8.x.Lobster wrote:Mark, you must be dependent on some libraries from Seamonkey?
Would it be viable to use this in Puppy - allowing users to download a bigger browser if required? Preferences for Opera, Seamonkey, Firefox, Konqueror, Flock, Dillo etc would no longer be an issue . . .
PuppyBrowser does not replace Seamonkey, it is just a reduced grafical Interface written in pure Gtk. This should explain the faster start, as the Seamonkey interface is very complex to allow extensions and such, while PuppyBrowser just wants to offer the basic requirements to browse websites.
But it requires a full gecko installation (= Seamonkey or Xulrunner).
Xulrunner is a "seamonkey for developers", without own browser-interface, but supplying the Gecko engine and all the required stuff to write own applications based on Gecko.
Among the utilities is gtkmozembed.so, the library, that has wrappers in Vala/Genie.
As it is no longer supported in Seamonkey2 or Xulrunner 1.9, we need a new library for those newer browsers, or must install Xulrunner in an own folder in next versions of Puppy.
I have no idea, what kind of new library will follow for the new browsers.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]
Hello Mark
I've been experimenting with trying to get the browser to run in fat_ free dillo on my 486 and realise it must actually need seamonkey, because I got all the dependant libs but still get an error, "TLS data" in regard to one of the libs. Giving up on that one
Next step is to remaster a 4.1.2 of puppy adding the puppybrowser and doing a full install to the 486. Methinks that should work. Seamonkey has next to no chance of running on that box due to ram constraints.
Thanks again
Mick
I've been experimenting with trying to get the browser to run in fat_ free dillo on my 486 and realise it must actually need seamonkey, because I got all the dependant libs but still get an error, "TLS data" in regard to one of the libs. Giving up on that one
Next step is to remaster a 4.1.2 of puppy adding the puppybrowser and doing a full install to the 486. Methinks that should work. Seamonkey has next to no chance of running on that box due to ram constraints.
Thanks again
Mick
Puppy Linux Blog - contact me for access
Micko,
it also should run with this one:
http://releases.mozilla.org/pub/mozilla ... 686.tar.gz
Extract it somewhere, you get a folder "xulrunner".
You should symlink it, e.g.:
I think you also need to type in a console:
I am not certain, that it is enough, though.
If it works, you could add the commands to a startscript or to "puppy-browser".
Maybe several files could be deleted, as we need no "xul", but only gecko.
I have not investigated yet, how far it can be strupped down, I want to try it, once I added tabs to the browser.
Mark
it also should run with this one:
http://releases.mozilla.org/pub/mozilla ... 686.tar.gz
Extract it somewhere, you get a folder "xulrunner".
You should symlink it, e.g.:
Code: Select all
ln -s /mnt/sda2/xulrunner /usr/lib/
Code: Select all
export PATH=/usr/lib/xulrunner:$PATH
export LD_LIBRARY_PATH=/usr/lib/xulrunner:$LD_LIBRARY_PATH
export MOZILLA_FIVE_HOME=/usr/lib/xulrunner
/usr/local/PuppyBrowser/puppy-browser
If it works, you could add the commands to a startscript or to "puppy-browser".
Maybe several files could be deleted, as we need no "xul", but only gecko.
I have not investigated yet, how far it can be strupped down, I want to try it, once I added tabs to the browser.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]
uploaded Puppybrowser 0.2.
http://www.murga-linux.com/puppy/viewto ... 882#303882
Changes:
- fixed bug, that pages for "new windows" did not load.
They now open in the same window.
- added a statusbar, so you can see where a link points to, when you move the mouse over it.
Mark
http://www.murga-linux.com/puppy/viewto ... 882#303882
Changes:
- fixed bug, that pages for "new windows" did not load.
They now open in the same window.
- added a statusbar, so you can see where a link points to, when you move the mouse over it.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]
Okay, the system says the browser is installed and a dependency check says all is good now that I've got libgee installed. I even have the item in the menu, but it does not run.
The first time I try to run the browser when I boot the system I get some activity on the HDD for a few seconds, but nothing else happens.
I'm running 4.0 in a full install.
Sully
The first time I try to run the browser when I boot the system I get some activity on the HDD for a few seconds, but nothing else happens.
I'm running 4.0 in a full install.
Sully
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
It could also turn into a live package manager downloader, well for the install side, like at the repo,my wheels are spinning
ttuuxxx
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
yes, just could not sleep, and dreamt about it.ttuuxxx wrote:It could also turn into a live package manager downloader, well for the install side, like at the repo,my wheels are spinning
ttuuxxx
You could do this:
rule: a website contains in the URL the word "pscriptp".
like http://dotpups.de/install-a-pet-pscriptp.htm
The browser recognizes this, and treats this page in a special way.
Code: Select all
<html>
Security info: this page can install a dotpet.<p>
Please click on the next link.<p>
This opens a dialog, where you must enter a security code.<p>
It is: 12345<p>
<a href="verifycode#code12345">install test.pet</a>
<!-- embedded shellscript -->
#!/bin/sh
cd /tmp
wget -c http://dotpups.de/test.pet
petget /tmp/test.pet
rm -f /tmp/test.pet
<!-- /embedded shellscript -->
</html>
As it is a inbuilt GTK dialog, there is no chance for malicious javascripts, to manipulate it.
Then it downloads the page, scans if the entered code matches the "#code12345".
If it is correct, it saves the embedded shellscript-code in /tmp/, and executes it.
I had written long ago something similar in Lua, called "microbrowser" I think, but I can't find it again.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]
Mark (MU)
another great app
everything worked as expected even the arrows to change
to previous pages worked .. except
dowloading of a package
the right click could allow a "copy link"
so I could use
wget -c -N
on the URL
even without that added feature as a viewer
this is great
EDITED
woooooooooooooo!
solved just drag an drop the package you want to root
and wget downloads it !!!!
this is perfect
thank you for all your hard work
and sharing
tested on slaxer_pup 412
Joe
another great app
everything worked as expected even the arrows to change
to previous pages worked .. except
dowloading of a package
the right click could allow a "copy link"
so I could use
wget -c -N
on the URL
even without that added feature as a viewer
this is great
EDITED
woooooooooooooo!
solved just drag an drop the package you want to root
and wget downloads it !!!!
this is perfect
thank you for all your hard work
and sharing
tested on slaxer_pup 412
Joe
Ok, will try with "xulrunner" and report back, may take a few days.MU wrote:Micko,
(sic)
Maybe several files could be deleted, as we need no "xul", but only gecko.
I have not investigated yet, how far it can be strupped down, I want to try it, once I added tabs to the browser.
Mark
Good to see how low we can go. I like that idea.
Mick
Puppy Linux Blog - contact me for access
coolpup found microbrowser mentioned in my last post:
http://puppyfiles.org/dotpupsde/diverse-tgz/
http://www.murga-linux.com/puppy/viewto ... 769#102769
thanks!
Sullysat,
load error is ok, it is shown, because there are no bookmarks yet.
If you don't get anything else, I assume, that you can see a message like "segmention fault"?
Maybe it works with a different libgee:
http://dotpups.de/puppy4/dotpups/Progra ... -0.1.5.pet
http://www.puppylinux.asia/members/cool ... 5-i486.pet
http://www.puppylinux.asia/members/cool ... escott.pet
The first was compiled by me, the others by coolpup.
If you still have no success, this helps to find the error:
-you need the "devx_400.sfs" addon.
-type in console:
cd /usr/local/PuppyBrowser
gdb ./puppy-browser
This will give a new prompt from gdb, the debugger.
Type there:
run
After some seconds, the browser will crash, and you get the new prompt from gdb again.
Now type:
backtrace
This will display 1-4 pages of cryptic text.
Please select it with the mouse, and paste it here using the middle mousebutton.
To see the next page, you must press the space-bar.
When all the debug info was printed, you can exit by typing:
quit
Mark
http://puppyfiles.org/dotpupsde/diverse-tgz/
http://www.murga-linux.com/puppy/viewto ... 769#102769
thanks!
Sullysat,
load error is ok, it is shown, because there are no bookmarks yet.
If you don't get anything else, I assume, that you can see a message like "segmention fault"?
Maybe it works with a different libgee:
http://dotpups.de/puppy4/dotpups/Progra ... -0.1.5.pet
http://www.puppylinux.asia/members/cool ... 5-i486.pet
http://www.puppylinux.asia/members/cool ... escott.pet
The first was compiled by me, the others by coolpup.
If you still have no success, this helps to find the error:
-you need the "devx_400.sfs" addon.
-type in console:
cd /usr/local/PuppyBrowser
gdb ./puppy-browser
This will give a new prompt from gdb, the debugger.
Type there:
run
After some seconds, the browser will crash, and you get the new prompt from gdb again.
Now type:
backtrace
This will display 1-4 pages of cryptic text.
Please select it with the mouse, and paste it here using the middle mousebutton.
To see the next page, you must press the space-bar.
When all the debug info was printed, you can exit by typing:
quit
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]
I have uploaded three SFS.
http://dotpups.de/files/puppybrowser-tests/
They allow to run PuppyBrowser, even if no Seamonkey is installed (e.g. in Fatfree, Monodevelpup).
All include:
- PuppyBrowser-0.2
- Pictureviewer-0.3
- lingee-2008
The rest is specific:
- PuppyBrowser02-seamonkey-1.1.8-no_mailnews_412 (8.5 MB)
It includes Seamonkey from the Puppy 4 Repo. This is the smallest Seamonkey version.
- PuppyBrowser02-xulrunner_412 (9.5 MB)
It includes the full /usr/lib/xulrunner-1.8.0.4
- PuppyBrowser02-xulrunner-reduced_412 (7.5 MB)
It includes /usr/lib/xulrunner-1.8.0.4, but I deleted several files.
So this version cannot be used to run other xul applications.
I just tested it with the welcome-page, so maybe I deleted too much, and other sites might fail.
The "best" solution certainly is the Seamonkey version.
So you can run seamonkey in addition to PuppyBrowser, if you need to change some settings.
As this is usually needed seldom, the slower speed is acceptable.
I added the "xulrunner" versions to evaluate, how far things can be reduced.
And for tests for those, where Seamonkey will not run. Maybe xulrunner does.
I also had a testversion of seamonkey around 1 MB smaller, but it is not worth the upload, as it breaks quite some functionality.
Mark
http://dotpups.de/files/puppybrowser-tests/
They allow to run PuppyBrowser, even if no Seamonkey is installed (e.g. in Fatfree, Monodevelpup).
All include:
- PuppyBrowser-0.2
- Pictureviewer-0.3
- lingee-2008
The rest is specific:
- PuppyBrowser02-seamonkey-1.1.8-no_mailnews_412 (8.5 MB)
It includes Seamonkey from the Puppy 4 Repo. This is the smallest Seamonkey version.
- PuppyBrowser02-xulrunner_412 (9.5 MB)
It includes the full /usr/lib/xulrunner-1.8.0.4
- PuppyBrowser02-xulrunner-reduced_412 (7.5 MB)
It includes /usr/lib/xulrunner-1.8.0.4, but I deleted several files.
So this version cannot be used to run other xul applications.
I just tested it with the welcome-page, so maybe I deleted too much, and other sites might fail.
The "best" solution certainly is the Seamonkey version.
So you can run seamonkey in addition to PuppyBrowser, if you need to change some settings.
As this is usually needed seldom, the slower speed is acceptable.
I added the "xulrunner" versions to evaluate, how far things can be reduced.
And for tests for those, where Seamonkey will not run. Maybe xulrunner does.
I also had a testversion of seamonkey around 1 MB smaller, but it is not worth the upload, as it breaks quite some functionality.
Mark
Tried all three of these with no noticeable difference.MU wrote: Sullysat,
load error is ok, it is shown, because there are no bookmarks yet.
If you don't get anything else, I assume, that you can see a message like "segmention fault"?
Maybe it works with a different libgee:
http://dotpups.de/puppy4/dotpups/Progra ... -0.1.5.pet
http://www.puppylinux.asia/members/cool ... 5-i486.pet
http://www.puppylinux.asia/members/cool ... escott.pet
And there was no segmentation error anywhere on any of this that I saw.
I downloaded the sfs file and successfully mounted it. This is the output from that:MU wrote: If you still have no success, this helps to find the error:
-you need the "devx_400.sfs" addon.
-type in console:
cd /usr/local/PuppyBrowser
gdb ./puppy-browser
# cd /usr/local/PuppyBrowser
# gdb ./puppy-browser
bash: gdb: command not found
#
What would you like me to try next?
Sully
Puppy Files Mirror - [b][url]http://www.wisdom-seekers.com/puppy.html[/url][/b]
Classic Puppy Page - [b][url]http://www.wisdom-seekers.com/puppy214x.html[/url][/b]
Classic Puppy Page - [b][url]http://www.wisdom-seekers.com/puppy214x.html[/url][/b]