<div dir="ltr">Some one should feed me any source code changes for this, and I&quot;ll look at integration into the cog branch(es) <div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 23, 2015 at 1:17 PM, Javier Diaz-Reinoso <span dir="ltr">&lt;<a href="mailto:javier_diaz_r@mac.com" target="_blank">javier_diaz_r@mac.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span class="">On Sep 22, 2015, at 07:39, Bert Freudenberg &lt;<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>&gt; wrote:<br></span><div><span class=""><blockquote type="cite"><br><div><div style="word-wrap:break-word">On 21.09.2015, at 01:40, Javier Diaz-Reinoso &lt;<a href="mailto:javier_diaz_r@mac.com" target="_blank">javier_diaz_r@mac.com</a>&gt; wrote:<br><div><blockquote type="cite"><br><div><div style="word-wrap:break-word">I am also interested in this, so I wasted a few days and finally have a (original) Squeak 4.1 image working in mi old iPad 2:<div><span>&lt;Photo on 9-20-15 at 18.31.jpeg&gt;</span></div></div></div></blockquote><div><br></div>Nice!</div><div><br><blockquote type="cite"><div><div style="word-wrap:break-word"><div>the clock works, but that is all, I can’t enter anything, I know I need modifications in the image, but before I spend more days in this, can any people who knows send me advice and perhaps a change set with the modifications?</div></div></div></blockquote></div><div><br></div><div>You can dig around on John McIntosh’s site but I don’t think there’s a comprehensible set of changes yet.</div></div></div></blockquote><div><br></div></span>I find the file miPhone-Events-EstebanLorenzano.25.mcz who contains your code and code from John McIntosh and Esteban Lorenzano and others, that file don’t load in Squeak, I suppose is for Pharo, but with selective copy-paste I have now a working UI.<span class=""><blockquote type="cite"><div><div style="word-wrap:break-word"><div><br></div><div>What I did years ago was adding image-side support for multi-touch, plus an on-screen alt key [*]. That’s not strictly necessary though, the VM could (and IMHO should) generate mouse events itself. Still, you need a way to bring up the keyboard (which I ‘solved’ back then by hacking the VM to show the keyboard when rotating to portrait orientation).</div><div><br></div></div></div></blockquote><blockquote type="cite"><div><div style="word-wrap:break-word"><div>The proper way to do this (IMHO) would be by implementing an IMM plugin for iOS just like we have for X11 etc. Morphic calls a plugin function whenever a text input field gets focused, which could be used to trigger the keyboard. But AFAIK nobody has gone that route yet, instead relying on the ObjectiveCBridge plugin to call OS functions directly.</div><div><br></div><div>Your best bet if you want to avoid doing it yourself would be contacting the makers of Pyonkee, the most complex Squeak app in the Apple App Store yet. There is also DrGeo, for which Esteban did the VM work. And since all this is still pretty experimental, continuing this discussion on the VM dev list would be a good idea :)</div><div><br></div><div>
- Bert -<br><br></div><div>[*] <a href="https://www.youtube.com/watch?v=gYrp31fH-Jk" target="_blank">https://www.youtube.com/watch?v=gYrp31fH-Jk</a></div></div><br></div></blockquote></span></div><div><br></div><div>I find in a Pharo repository the folder IOSPlugin who is used in DrGeo, is very small but works, in the .mcz is some code to call the plugin from TextMorph&gt;&gt;wantsKeyboardFocus who also is not in Squeak, but inserting the line in TextMorphForEditView&gt;&gt;keyboardFocusChange: is now possible to simple click in a Workspace or Browser and the keyboard appears.</div><div><br></div><div>Apart from a few fixes I am not really changing the VM, is only in the image. The most desirable change in the VM I think is changing to Cog more speed is always best.</div></div><br><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">===========================================================================<br>John M. McIntosh. Corporate Smalltalk Consulting Ltd <a href="https://www.linkedin.com/in/smalltalk" target="_blank">https://www.linkedin.com/in/smalltalk</a><br>===========================================================================<br></div></div></div></div>
</div>