Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 18 Sep 2014, 19:57
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
ultratiny html viewer - PuppyBrowser 0.5 + embeddedbookmarks
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 9 [123 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Author Message
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sun 10 May 2009, 19:23    Post subject:  

sullysat,

please type in a console:
cd /usr/local/PuppyBrowser
./puppy-browser 2>err.txt
gzip err.txt


Then attach here /usr/local/PuppyBrowser/err.txt.gz

Mark

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
dawnsboy


Joined: 03 Dec 2008
Posts: 248
Location: Indiana - Republic of New Canada

PostPosted: Sun 10 May 2009, 20:01    Post subject:  

This is impressive! I have been playing around with 0.1 and now 0.2 and I am having a great time with it. Very Happy

Thank you.
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10750
Location: Ontario Canada,Sydney Australia

PostPosted: Sun 10 May 2009, 22:13    Post subject:  

It could also turn into a live package manager downloader, well for the install side, like at the repo,my wheels are spinning Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sun 10 May 2009, 22:33    Post subject:  

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 Smile
ttuuxxx


yes, just could not sleep, and dreamt about it.

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:
<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>


So when the link is clicked, the BROWSER (and not a Javascript engine) would open a dialog, where the security code must be entered.
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

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
sullysat


Joined: 16 Oct 2007
Posts: 364
Location: San Antonio, TX

PostPosted: Sun 10 May 2009, 22:58    Post subject:  

MU wrote:

please type in a console:
cd /usr/local/PuppyBrowser
./puppy-browser 2>err.txt
gzip err.txt


Mark,

All it says is "load error"

Sully
err.txt.gz
Description 
gz

 Download 
Filename  err.txt.gz 
Filesize  39 Bytes 
Downloaded  794 Time(s) 
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Mon 11 May 2009, 00:59    Post subject:  

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! Cool Cool Cool
solved just drag an drop the package you want to root
and wget downloads it !!!!

this is perfect Very Happy


thank you for all your hard work
and sharing

tested on slaxer_pup 412
Joe

_________________
debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7802
Location: qld

PostPosted: Mon 11 May 2009, 02:28    Post subject:  

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


Ok, will try with "xulrunner" and report back, may take a few days.

Good to see how low we can go. I like that idea. Cool

Mick

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Mon 11 May 2009, 04:29    Post subject:  

coolpup found microbrowser mentioned in my last post:
http://puppyfiles.org/dotpupsde/diverse-tgz/

http://www.murga-linux.com/puppy/viewtopic.php?p=102769#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/Programming/Vala/libgee-0.1.5.pet
http://www.puppylinux.asia/members/coolpup/libgee-0.1.5-i486.pet
http://www.puppylinux.asia/members/coolpup/libgee-0.1.5-prescott.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

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
MUguest

Joined: 09 Dec 2006
Posts: 73

PostPosted: Mon 11 May 2009, 08:55    Post subject:  

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
Back to top
View user's profile Send private message 
sullysat


Joined: 16 Oct 2007
Posts: 364
Location: San Antonio, TX

PostPosted: Mon 11 May 2009, 11:22    Post subject:  

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/Programming/Vala/libgee-0.1.5.pet
http://www.puppylinux.asia/members/coolpup/libgee-0.1.5-i486.pet
http://www.puppylinux.asia/members/coolpup/libgee-0.1.5-prescott.pet


Tried all three of these with no noticeable difference.

And there was no segmentation error anywhere on any of this that I saw.

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



I downloaded the sfs file and successfully mounted it. This is the output from that:

# cd /usr/local/PuppyBrowser
# gdb ./puppy-browser
bash: gdb: command not found
#

What would you like me to try next?

Sully

_________________
Puppy Files Mirror - http://www.wisdom-seekers.com/puppy.html
Classic Puppy Page - http://www.wisdom-seekers.com/puppy214x.html
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10750
Location: Ontario Canada,Sydney Australia

PostPosted: Mon 11 May 2009, 11:42    Post subject:  

Hey mark another idea might be webkit+Qt once you get this browser fully functional, That would be handy to have Qt in puppy by default, probably would be smaller than Seamonkey by a little bit.
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Mon 11 May 2009, 11:47    Post subject:  

Sully,

I just installed puppy-4.00-k2.6.21.7-seamonkey.iso in virtualbox.
Installed Pictureviewer 0.3, PuppyBrowser 0.2, libgee-2008.
And it works Shocked

So what might be wrong?
Please rename these two files in /root/:
.gtk-bookmarks
.recently-used.xbel

These are hiddn configfiles from Gtk.
They sometimes prevent applications to start properly.

Does that help?
Does the pictureviewer work?

---------------------------
ttuuxx, yes, I first want to solve the tabbed browsing issue, then look at webkit.
Here is examplecode:
http://code.valaide.org/node?page=2
Mark

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
sullysat


Joined: 16 Oct 2007
Posts: 364
Location: San Antonio, TX

PostPosted: Mon 11 May 2009, 12:13    Post subject:  

MU wrote:

I just installed puppy-4.00-k2.6.21.7-seamonkey.iso in virtualbox.
Installed Pictureviewer 0.3, PuppyBrowser 0.2, libgee-2008.
And it works

So what might be wrong?
Please rename these two files in /root/:
.gtk-bookmarks
.recently-used.xbel


I renamed the files with no effect.

I'm running Seamonkey 1.1.14.

MU wrote:

Does that help?
Does the pictureviewer work?


Downloaded and installed Pictureviewer. That works fine.

I love a good mystery!

Sully
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Mon 11 May 2009, 12:26    Post subject:  

Sully,
I see two possible issues.

1.) you installed somethink, that "broke" the old Seamonkey setup, like a different version.
Or another program. A broken Gtk theme?

2.) what makes me wonder is, that gdb is not found.
Puppy 400 used the erratic "unionfs" driver.
It had a bad effect, it corrupted files, and SFS were not loaded correctly.

Please boot Puppy with the option:

(from CD, by typing at the bootscreen):
puppy layerfs=aufs

(from Grub):
add in the end of the line, that loads the kernel:
layerfs=aufs

If this does not help, it should be something with the mozilla libraries.
You could verify it by running Puppy without savefile, from CD with the bootoption:
puppy pfix=ram

Mark

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Mon 11 May 2009, 12:30    Post subject:  

Sully,
Quote:
I'm running Seamonkey 1.1.14.


ok, but the inbuilt of Puppy 4.00 is 1.1.8.

Where did you get 1.1.14?
Did you install it with petget?
I'd like to reproduce, what changed on your system.

Mark

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 3 of 9 [123 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0980s ][ Queries: 13 (0.0060s) ][ GZIP on ]