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 Wed 26 Nov 2014, 22:01
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 5 of 9 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Author Message
PupMike

Joined: 22 Apr 2009
Posts: 18

PostPosted: Tue 12 May 2009, 22:23    Post_subject:  

Okay, I just checked the tab problem you mentioned. You are actually getting the tab index before the change is complete. change the signal handler to:

Code:
    def note_page_changed(notebook : void*, index : uint)

       // var index = note.get_current_page()


The new tab index will be passed in index. Also remember that the tab index is zero based. Hope this helps.

Mike
Back to top
View user's profile Send_private_message 
MU


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

PostPosted: Wed 13 May 2009, 02:31    Post_subject:  

fantastic, so I can continue on the tabs this weekend.
Adding the rest should not be difficult Smile

Thanks Mike!
Mark

_________________
my recommended links
Back to top
View user's profile Send_private_message Visit_website 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Thu 14 May 2009, 23:51    Post_subject:  

We are working on a version of puppy with kids educational programs that will liveboot, so parents will be able to leave kids unattended. We have removed seamonkey etc along with the network/ntfs/fat modules for the next version....but we have one problem...Viewing the CUPS interface!

would this be suitable for this job?

HanSamBen is here

http://www.murga-linux.com/puppy/viewtopic.php?p=305505

_________________
Puppy Linux's Mission

Sorry, my server is down atm!
Back to top
View user's profile Send_private_message Visit_website MSNM 
ttuuxxx


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

PostPosted: Fri 15 May 2009, 00:12    Post_subject:  

ecomoney wrote:
We are working on a version of puppy with kids educational programs that will liveboot, so parents will be able to leave kids unattended. We have removed seamonkey etc along with the network/ntfs/fat modules for the next version....but we have one problem...Viewing the CUPS interface!

would this be suitable for this job?

HanSamBen is here

http://www.murga-linux.com/puppy/viewtopic.php?p=305505

ya it should work just fine if you reinstall Seamonkey, lol or use one of these http://dotpups.de/files/puppybrowser-tests/
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_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 20 May 2009, 03:02    Post_subject:  

Hi Mark
Broke out my crayon set (xaraLX and Mtpaint) to create a logo
based on your icon which I found amusing Smile


Hope it is of some use

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
dejan555


Joined: 30 Nov 2008
Posts: 2718
Location: Montenegro

PostPosted: Wed 20 May 2009, 03:54    Post_subject:  

^Niiice Cool
Boot your pc and connect easily in couple of mins with puppy linux and puppy browser Very Happy

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send_private_message Visit_website MSNM 
sky king

Joined: 08 Apr 2009
Posts: 72

PostPosted: Wed 20 May 2009, 04:36    Post_subject: the artwork  

Very creative and COOL.
Back to top
View user's profile Send_private_message 
Todd

Joined: 31 Aug 2006
Posts: 310

PostPosted: Tue 26 May 2009, 12:37    Post_subject:  

MU wrote:
Quote:
fantastic, so I can continue on the tabs this weekend.
Adding the rest should not be difficult


Any news?

Todd
Back to top
View user's profile Send_private_message 
MU


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

PostPosted: Tue 26 May 2009, 15:35    Post_subject:  

yes sir Smile

version 0.3 with tabs:

http://www.murga-linux.com/puppy/viewtopic.php?p=303882#303882

Mark

_________________
my recommended links
Back to top
View user's profile Send_private_message Visit_website 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: Tue 26 May 2009, 16:22    Post_subject:  

Dear Mark,

Thanks for version 3 (tabbed). It workes very nicely on my little Samsung NC10 with the acer 4.10 puplet. I wonder whether you could eventually creat a right click menu that would give a few options, such as open link in new tab? In any case, great work.

WIth kind regards,
vovchik
Back to top
View user's profile Send_private_message 
MU


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

PostPosted: Tue 26 May 2009, 16:34    Post_subject:  

unfortunately I cannot add a right-click menu (I tried it).

The mozilla widget "grabs" the events, so if you add own ones, they are ignored.
This gives no error, but is ignored:
Code:
moz = new MozEmbed ()
moz.button_release_event += on_moz_button_release_event



If you google for "dom_mouse_down" you'll see, that there are solutions in other programs, but they are not implemented in the Vala/genie vapi.

Such code will not work:
Code:
moz = new MozEmbed ()
moz.dom_mouse_down += on_moz_button_release_event


I must google more in the next days, to find out, if it can be added somehow.

Mark

_________________
my recommended links
Back to top
View user's profile Send_private_message Visit_website 
trapster


Joined: 28 Nov 2005
Posts: 2027
Location: Maine, USA

PostPosted: Wed 27 May 2009, 17:57    Post_subject:  

Dragging a link to a tab and dropping it on the page that opens, works.
_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox
Back to top
View user's profile Send_private_message Visit_website 
MU


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

PostPosted: Wed 27 May 2009, 20:10    Post_subject:  

cool, great hint, trapster!
Did not know this myself yet Very Happy

I uploaded version 0.4:
http://www.murga-linux.com/puppy/viewtopic.php?p=303882#303882

Mark

_________________
my recommended links
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 27 May 2009, 21:37    Post_subject:  

I really like the toggle full screen (one of the bottom right buttons) and the other new features . . .
A few minutes and it was all obvious how to use . . . Cool

Everything seems a lot faster than using other browsers? Smile
Is that possible?
How much of Seamonkey is it using?
Could it be packaged as an independent pet? How much space would be saved do you think?
Is the feature set complete?
What are your future intentions Mark?

Very exciting release Smile

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
MU


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

PostPosted: Wed 27 May 2009, 22:09    Post_subject:  

Lobster,

Quote:
A few minutes and it was all obvious how to use . . .


Fine, I think it is important to keep it simple.
I should add a help button, that explains the limitations that make the usage different from other browsers, e.g. how to download a file (with pwget).


Quote:
Everything seems a lot faster than using other browsers?
Is that possible?


Well it just uses Gtk, while the Gtk support of Seamonkey / Firefox is not "native", but added "afterwards" to their internal widget-set.
This could well be seen in their older releases, when not all elements looked like a Gtk application.
I have read, that you meanwhile can extend the grafical interface of Firefox with HTML/Javascript.
Such a lot of functionality costs resources.

Quote:
How much of Seamonkey is it using?

Just Gecko (the renderengine).
For this reason I also can not use right-click menus, as this would require to include the headers of other seamonkey libraries.
I was able to grab mouseclicks by slightly modifying /usr/share/vala/vapi/gtkmozembed.vapi
Like this:
Code:
      public signal void dom_mouse_out (int dom_event);
      public signal void dom_mouse_down (int dom_event);
      public signal void dom_mouse_up (int dom_event);
      public signal void dom_activate (int dom_event);
      public signal void dom_mouse_click (int dom_event);


But this does not really help us.
To find out, what button was clicked, I would need:
Code:
      public signal void dom_mouse_up (gpointer dom_event);

(defined by: /usr/include/gtkembedmoz/gtkmozembed.h)

The gpointer points to a special event from the seamonkey libraries.
As I don't know, how to include them, I used the "int" workaround.
Like this I can catch, when a button is clicked. But as I have not the event-pointer, i cannot use something like:
button = event.button

This means, I now have reached the limits of what can be done with gtkembedmoz.

Quote:
Is the feature set complete?
What are your future intentions Mark?


More or less.
I might add a button, to download/view the source of a page.

Maybe add the support to execute shellscripts, that was discussed up earlieron with ttuuxx.

One other nice feature might be a "PuppysBrowser Presentation Language".
If a file with the suffix *.pbpl is loaded, the browser would run commands in it.

Like:
Code:
cd /root/presentation
page_1=1.htm
page_2=2.htm

show page_1
wait 10
show page_2


Then you would see a buttonbar on the left side, that would allow to open a page directly, or if you click none, the presentation would run just like a slideshow.

As HTML files can display videos, pictures and such, this could be a nice replacement for Powerpoint presentations Smile

And maybe add an option to run it without window border, as I did long ago here:
http://murga-linux.com/puppy/viewtopic.php?p=139725

And of course try to use "Webkit" as alternative to Gecko.

And maybe an own option dialog to set default fonts or so.
But all this has no high priority, I might first concentrate on other Genie examples.

Glad, you like it Smile

Mark

_________________
my recommended links
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 5 of 9 Posts_count   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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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