GtkLauncher is dead long live to VisualGST

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

GtkLauncher is dead long live to VisualGST

MrGwen
Hi everybody,

Finally I've fixed the shortcut bug (when you're doing a shortcut the browser
is open two times). And we've a initial support for debugging not perfect but
a good starting point and I will present VisualGST for the ESUG awards ;)

Cheers,
Gwenael

--

VisualGST for GNU Smalltalk : http://visualgst.bioskop.fr/


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: GtkLauncher is dead long live to VisualGST

Stefan Schmiedl
On Wed, 1 Jul 2009 10:04:59 +0200
Gwenael Casaccio <[hidden email]> wrote:

> Finally I've fixed the shortcut bug (when you're doing a shortcut the
> browser is open two times). And we've a initial support for debugging
> not perfect but a good starting point and I will present VisualGST
> for the ESUG awards ;)

Good work, Gwenael!

rev 136:
gst-package -t ~/.st package.xml
./gst-VisualGST
In VisualGST window, click on Tools > Assistant

 error: Invalid index 3: index out of range
SystemExceptions.IndexOutOfRange(Exception)>>signal (AnsiExcept.st:216)
SystemExceptions.IndexOutOfRange class>>signalOn:withIndex: (AnsiExcept.st:839)
Array(Object)>>checkIndexableBounds: (Object.st:779)
Array(Object)>>at: (Object.st:839)
[] in VisualGST.GtkAssistant(VisualGST.GtkMainWindow)>>createMenuEntry: (VisualGST.star#VFS.ZipFile/GtkMainWindow.st:168)
Array(SequenceableCollection)>>do: (SeqCollect.st:822)
VisualGST.GtkAssistant(VisualGST.GtkMainWindow)>>createMenuEntry: (VisualGST.star#VFS.ZipFile/GtkMainWindow.st:171)
VisualGST.GtkAssistant>>createFileMenus (VisualGST.star#VFS.ZipFile/GtkAssistant.st:98)
VisualGST.GtkAssistant>>createMenus (VisualGST.star#VFS.ZipFile/GtkAssistant.st:111)
VisualGST.GtkAssistant>>initialize (VisualGST.star#VFS.ZipFile/GtkAssistant.st:48)
VisualGST.GtkAssistant class(VisualGST.GtkMainWindow class)>>openSized: (VisualGST.star#VFS.ZipFile/GtkMainWindow.st:18)
VisualGST.GtkAssistant class>>open (VisualGST.star#VFS.ZipFile/GtkAssistant.st:7)
VisualGST.VisualGST>>gtkAssistant (VisualGST.star#VFS.ZipFile/VisualGST.st:513)

s.


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: GtkLauncher is dead long live to VisualGST

Stefan Schmiedl
In reply to this post by MrGwen
On Wed, 1 Jul 2009 10:04:59 +0200
Gwenael Casaccio <[hidden email]> wrote:

> Hi everybody,
>
> Finally I've fixed the shortcut bug (when you're doing a shortcut the
> browser is open two times).

A bit related, since it's got to do with menus:

How about moving Implementors and Senders from the Smalltalk menu
over into the Tools menu? They look like really helpful tools to me :-)

Thanks,
s.


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: GtkLauncher is dead long live to VisualGST

Stefan Schmiedl
On Wed, 1 Jul 2009 10:19:59 +0200
Stefan Schmiedl <[hidden email]> wrote:

> How about moving Implementors and Senders from the Smalltalk menu
> over into the Tools menu? They look like really helpful tools to
> me :-)
>

Could you set the initial input focus to the text box in these two tools?

And while the Implementors work fine, I have a timing issue with Senders:
Open Senders, enter slowly   d  i  v, selector list shows dive
now, if I enter div fast enough, I end up with "vid" in the text field
and the list box is centered around "id" but not highlighting anything.

I guess the immediate scrolling takes long enough so that the next character
is already inserted before the position of insertion mark has been moved
forward.

Is it possible to delay the lookup a bit? So that the list lookup occurs
only after, say 0.5 s of inactivity?

s.


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: GtkLauncher is dead long live to VisualGST

MrGwen
On Wednesday 01 July 2009 10:29:48 Stefan Schmiedl wrote:
> On Wed, 1 Jul 2009 10:19:59 +0200
>
> Stefan Schmiedl <[hidden email]> wrote:
> > How about moving Implementors and Senders from the Smalltalk menu
> > over into the Tools menu? They look like really helpful tools to
> > me :-)
>
> Could you set the initial input focus to the text box in these two tools?

Done ;)

>
> And while the Implementors work fine, I have a timing issue with Senders:
> Open Senders, enter slowly   d  i  v, selector list shows dive
> now, if I enter div fast enough, I end up with "vid" in the text field
> and the list box is centered around "id" but not highlighting anything.
>
> I guess the immediate scrolling takes long enough so that the next
> character is already inserted before the position of insertion mark has
> been moved forward.
>

I know the problem I'll try to fix it as soon as possible

> Is it possible to delay the lookup a bit? So that the list lookup occurs
> only after, say 0.5 s of inactivity?
>
> s.
>
>
> _______________________________________________
> help-smalltalk mailing list
> [hidden email]
> http://lists.gnu.org/mailman/listinfo/help-smalltalk

--

VisualGST for GNU Smalltalk : http://visualgst.bioskop.fr/


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: GtkLauncher is dead long live to VisualGST

MrGwen
In reply to this post by Stefan Schmiedl
On Wednesday 01 July 2009 10:16:06 Stefan Schmiedl wrote:

> On Wed, 1 Jul 2009 10:04:59 +0200
>
> Gwenael Casaccio <[hidden email]> wrote:
> > Finally I've fixed the shortcut bug (when you're doing a shortcut the
> > browser is open two times). And we've a initial support for debugging
> > not perfect but a good starting point and I will present VisualGST
> > for the ESUG awards ;)
>
> Good work, Gwenael!
>
> rev 136:
> gst-package -t ~/.st package.xml
> ./gst-VisualGST
> In VisualGST window, click on Tools > Assistant
>

I've change the menu API but not yet update the GtkAssistant tool ^^

>  error: Invalid index 3: index out of range
> SystemExceptions.IndexOutOfRange(Exception)>>signal (AnsiExcept.st:216)
> SystemExceptions.IndexOutOfRange class>>signalOn:withIndex:
> (AnsiExcept.st:839) Array(Object)>>checkIndexableBounds: (Object.st:779)
> Array(Object)>>at: (Object.st:839)
> [] in VisualGST.GtkAssistant(VisualGST.GtkMainWindow)>>createMenuEntry:
> (VisualGST.star#VFS.ZipFile/GtkMainWindow.st:168)
> Array(SequenceableCollection)>>do: (SeqCollect.st:822)
> VisualGST.GtkAssistant(VisualGST.GtkMainWindow)>>createMenuEntry:
> (VisualGST.star#VFS.ZipFile/GtkMainWindow.st:171)
> VisualGST.GtkAssistant>>createFileMenus
> (VisualGST.star#VFS.ZipFile/GtkAssistant.st:98)
> VisualGST.GtkAssistant>>createMenus
> (VisualGST.star#VFS.ZipFile/GtkAssistant.st:111)
> VisualGST.GtkAssistant>>initialize
> (VisualGST.star#VFS.ZipFile/GtkAssistant.st:48) VisualGST.GtkAssistant
> class(VisualGST.GtkMainWindow class)>>openSized:
> (VisualGST.star#VFS.ZipFile/GtkMainWindow.st:18) VisualGST.GtkAssistant
> class>>open (VisualGST.star#VFS.ZipFile/GtkAssistant.st:7)
> VisualGST.VisualGST>>gtkAssistant
> (VisualGST.star#VFS.ZipFile/VisualGST.st:513)
>
> s.
>
>
> _______________________________________________
> help-smalltalk mailing list
> [hidden email]
> http://lists.gnu.org/mailman/listinfo/help-smalltalk

--

VisualGST for GNU Smalltalk : http://visualgst.bioskop.fr/


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: GtkLauncher is dead long live to VisualGST

MrGwen
On Wednesday 01 July 2009 11:19:57 you wrote:

> On Wednesday 01 July 2009 10:16:06 Stefan Schmiedl wrote:
> > On Wed, 1 Jul 2009 10:04:59 +0200
> >
> > Gwenael Casaccio <[hidden email]> wrote:
> > > Finally I've fixed the shortcut bug (when you're doing a shortcut the
> > > browser is open two times). And we've a initial support for debugging
> > > not perfect but a good starting point and I will present VisualGST
> > > for the ESUG awards ;)
> >
> > Good work, Gwenael!
> >
> > rev 136:
> > gst-package -t ~/.st package.xml
> > ./gst-VisualGST
> > In VisualGST window, click on Tools > Assistant
>
> I've change the menu API but not yet update the GtkAssistant tool ^^

Fixed

>
> >  error: Invalid index 3: index out of range
> > SystemExceptions.IndexOutOfRange(Exception)>>signal (AnsiExcept.st:216)
> > SystemExceptions.IndexOutOfRange class>>signalOn:withIndex:
> > (AnsiExcept.st:839) Array(Object)>>checkIndexableBounds: (Object.st:779)
> > Array(Object)>>at: (Object.st:839)
> > [] in VisualGST.GtkAssistant(VisualGST.GtkMainWindow)>>createMenuEntry:
> > (VisualGST.star#VFS.ZipFile/GtkMainWindow.st:168)
> > Array(SequenceableCollection)>>do: (SeqCollect.st:822)
> > VisualGST.GtkAssistant(VisualGST.GtkMainWindow)>>createMenuEntry:
> > (VisualGST.star#VFS.ZipFile/GtkMainWindow.st:171)
> > VisualGST.GtkAssistant>>createFileMenus
> > (VisualGST.star#VFS.ZipFile/GtkAssistant.st:98)
> > VisualGST.GtkAssistant>>createMenus
> > (VisualGST.star#VFS.ZipFile/GtkAssistant.st:111)
> > VisualGST.GtkAssistant>>initialize
> > (VisualGST.star#VFS.ZipFile/GtkAssistant.st:48) VisualGST.GtkAssistant
> > class(VisualGST.GtkMainWindow class)>>openSized:
> > (VisualGST.star#VFS.ZipFile/GtkMainWindow.st:18) VisualGST.GtkAssistant
> > class>>open (VisualGST.star#VFS.ZipFile/GtkAssistant.st:7)
> > VisualGST.VisualGST>>gtkAssistant
> > (VisualGST.star#VFS.ZipFile/VisualGST.st:513)
> >
> > s.
> >
> >
> > _______________________________________________
> > help-smalltalk mailing list
> > [hidden email]
> > http://lists.gnu.org/mailman/listinfo/help-smalltalk

--

VisualGST for GNU Smalltalk : http://visualgst.bioskop.fr/


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: GtkLauncher is dead long live to VisualGST

MrGwen
In reply to this post by Stefan Schmiedl
On Wed, Jul 1, 2009 at 10:19 AM, Stefan Schmiedl<[hidden email]> wrote:

> On Wed, 1 Jul 2009 10:04:59 +0200
> Gwenael Casaccio <[hidden email]> wrote:
>
>> Hi everybody,
>>
>> Finally I've fixed the shortcut bug (when you're doing a shortcut the
>> browser is open two times).
>
> A bit related, since it's got to do with menus:
>
> How about moving Implementors and Senders from the Smalltalk menu
> over into the Tools menu? They look like really helpful tools to me :-)

Done

>
> Thanks,
> s.
>
>
> _______________________________________________
> help-smalltalk mailing list
> [hidden email]
> http://lists.gnu.org/mailman/listinfo/help-smalltalk
>


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: GtkLauncher is dead long live to VisualGST

Stefan Schmiedl
In reply to this post by MrGwen
On Wed, 1 Jul 2009 11:56:58 +0200
Gwenael Casaccio <[hidden email]> wrote:

> > > In VisualGST window, click on Tools > Assistant
> >
> > I've change the menu API but not yet update the GtkAssistant tool ^^
>
> Fixed

Great ... you know, it's always the same with me: Give me something
and I break it on the first try :-)

s.


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: GtkLauncher is dead long live to VisualGST

Stefan Schmiedl
In reply to this post by MrGwen
On Wed, 1 Jul 2009 11:56:58 +0200
Gwenael Casaccio <[hidden email]> wrote:

> On Wednesday 01 July 2009 11:19:57 you wrote:
> > On Wednesday 01 July 2009 10:16:06 Stefan Schmiedl wrote:
> > > On Wed, 1 Jul 2009 10:04:59 +0200
> > >
> > > Gwenael Casaccio <[hidden email]> wrote:
> > > > Finally I've fixed the shortcut bug (when you're doing a
> > > > shortcut the browser is open two times). And we've a initial
> > > > support for debugging not perfect but a good starting point and
> > > > I will present VisualGST for the ESUG awards ;)
> > >
> > > Good work, Gwenael!
> > >
> > > rev 136:
> > > gst-package -t ~/.st package.xml
> > > ./gst-VisualGST
> > > In VisualGST window, click on Tools > Assistant
> >
> > I've change the menu API but not yet update the GtkAssistant tool ^^
>
> Fixed

Now I get another error:

(gst:28875): GLib-ERROR **: The thread system is not yet initialized.
(ip 14)CFunctionDescriptor(CCallable)>>#callInto:
(ip 8)GtkWebView class>>#new
(ip 10)GtkAssistant>>#buildCentralWidget
(ip 44)GtkAssistant>>#initialize
(ip 6)GtkAssistant class(GtkMainWindow class)>>#openSized:
(ip 12)GtkAssistant class>>#open
(ip 6)VisualGST>>#gtkAssistant

I can open a Browser in its own window, though.

s.


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: GtkLauncher is dead long live to VisualGST

MrGwen
It seems that g_thread_init () is not called but I've not this problem
(what is your distro, version of webkit-gtk ... )

here is a small patch don't know if it solves your problem : in
gst-gtk.c in gst_gtk_init ()
before gtk_init (&argc, &argv); add this line :

if (!g_thread_supported ()) g_thread_init (NULL);

and in the Makefile.am

update gst_gtk_la_LDFLAGS with
gst_gtk_la_LDFLAGS = $(gst_module_ldflags) -pthread -lgthread-2.0 -lrt
-lglib-2.0

On Wed, Jul 1, 2009 at 2:47 PM, Stefan Schmiedl<[hidden email]> wrote:

> On Wed, 1 Jul 2009 11:56:58 +0200
> Gwenael Casaccio <[hidden email]> wrote:
>
>> On Wednesday 01 July 2009 11:19:57 you wrote:
>> > On Wednesday 01 July 2009 10:16:06 Stefan Schmiedl wrote:
>> > > On Wed, 1 Jul 2009 10:04:59 +0200
>> > >
>> > > Gwenael Casaccio <[hidden email]> wrote:
>> > > > Finally I've fixed the shortcut bug (when you're doing a
>> > > > shortcut the browser is open two times). And we've a initial
>> > > > support for debugging not perfect but a good starting point and
>> > > > I will present VisualGST for the ESUG awards ;)
>> > >
>> > > Good work, Gwenael!
>> > >
>> > > rev 136:
>> > > gst-package -t ~/.st package.xml
>> > > ./gst-VisualGST
>> > > In VisualGST window, click on Tools > Assistant
>> >
>> > I've change the menu API but not yet update the GtkAssistant tool ^^
>>
>> Fixed
>
> Now I get another error:
>
> (gst:28875): GLib-ERROR **: The thread system is not yet initialized.
> (ip 14)CFunctionDescriptor(CCallable)>>#callInto:
> (ip 8)GtkWebView class>>#new
> (ip 10)GtkAssistant>>#buildCentralWidget
> (ip 44)GtkAssistant>>#initialize
> (ip 6)GtkAssistant class(GtkMainWindow class)>>#openSized:
> (ip 12)GtkAssistant class>>#open
> (ip 6)VisualGST>>#gtkAssistant
>
> I can open a Browser in its own window, though.
>
> s.
>
>
> _______________________________________________
> help-smalltalk mailing list
> [hidden email]
> http://lists.gnu.org/mailman/listinfo/help-smalltalk
>


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: GtkLauncher is dead long live to VisualGST

Stefan Schmiedl
On Wed, 1 Jul 2009 15:28:29 +0200
Gwenaƫl Casaccio <[hidden email]> wrote:

> It seems that g_thread_init () is not called but I've not this problem
> (what is your distro, version of webkit-gtk ... )

Linux g128 2.6.27-gentoo-r7-0701 #1 SMP Wed Jul 1 02:01:30 CEST 2009 x86_64 Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz GenuineIntel GNU/Linux

WebKit was configured with the following options:

Build configuration:
 Enable debugging (slow)                                  : no
 Enable GCC build optimization                            : yes
 Code coverage support                                    : no
 Unicode backend                                          : icu
 Font backend                                             : pango
 Optimized memory allocator                               : yes
Features:
 3D Transforms                                            : no
 JIT compilation                                          : yes
 Dashboard support                                        : yes
 Filters support                                          : yes
 Geolocation support                                      : no
 GNOME Keyring support                                    : no
 JavaScript debugger/profiler support                     : yes
 HTML5 offline web applications support                   : yes
 HTML5 channel messaging support                          : no
 HTML5 client-side session and persistent storage support : yes
 HTML5 client-side database storage support               : yes
 HTML5 video element support                              : yes
 Icon database support                                    : yes
 SVG support                                              : yes
 SVG animation support                                    : yes
 SVG fonts support                                        : yes
 SVG foreign object support                               : yes
 SVG as image support                                     : yes
 SVG use element support                                  : yes
 WML support                                              : no
 Web Workers support                                      : yes
 XPATH support                                            : yes
 XSLT support                                             : yes
GTK+ configuration:
 GDK target                                               : x11
 Hildon UI extensions                                     : no

> here is a small patch don't know if it solves your problem : in
> gst-gtk.c in gst_gtk_init ()
> before gtk_init (&argc, &argv); add this line :
>
> if (!g_thread_supported ()) g_thread_init (NULL);

if by "before" you mean "after", then it works :-)

>
> and in the Makefile.am
>
> update gst_gtk_la_LDFLAGS with
> gst_gtk_la_LDFLAGS = $(gst_module_ldflags) -pthread -lgthread-2.0 -lrt
> -lglib-2.0

Now I see a "Unable to load page" message, but I guess that's
because the "GTK+ Reference Manual" lives in
file:///usr/share/gtk-doc/html/gtk/index.html
on my box.

NB: I've also registered on visualgst.bioskop.fr, if you approve of
me, I might find another opportunity to feed your issue tracker
instead of this list :-)

Thanks for your help in fixing this.

s.


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: GtkLauncher is dead long live to VisualGST

Paolo Bonzini-3

> NB: I've also registered on visualgst.bioskop.fr, if you approve of
> me, I might find another opportunity to feed your issue tracker
> instead of this list:-)

No, please keep communicating here.  These things have to be merged in
gst as well.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: GtkLauncher is dead long live to VisualGST

Paolo Bonzini-3
In reply to this post by Stefan Schmiedl
On 07/01/2009 05:41 PM, Stefan Schmiedl wrote:
>> >  if (!g_thread_supported ()) g_thread_init (NULL);
>
> if by "before" you mean "after", then it works:-)

What happens if you put it before?  No change?  In other words you do

    init++;
    gtk_init (&argc, &argv);
+  if (!g_thread_supported ())
+    g_thread_init (NULL);
  }

right?

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk