[Ann][Cuis] Cuis 2.8 released

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

[Ann][Cuis] Cuis 2.8 released

Juan Vuletich-4
Hi Folks,

Cuis 2.8 is available at www.jvuletich.org/Cuis/Index.html .

New in Cuis 2.8:
- Fixes to Character sorting and testing methods, to honor ISO-8859-15
encoding
- Better conversion to/from UTF-8
- Faster startup (forked DateAndTime class>>startup)
- Honor quit signals from the OS (from Squeak)
- #findBinary:do:ifNone: and #findBinaryIndex:do:ifNone: in
SequenceableCollection
- PointerTracingTools by Matthew Fulmer
- Many recent tweaks from Squeak
- Tweaks to blinking cursors
- Tweaks to LayoutSpecs and PluggableMorphs
- Tweaks to Editors

I also tweaked the web page, so take a look!

Cheers,
Juan Vuletich

Reply | Threaded
Open this post in threaded view
|

Re: [Ann][Cuis] Cuis 2.8 released

Hannes Hirzel
I like your updated web site and the ideas expressed there.

--Hannes

On 11/4/10, Juan Vuletich <[hidden email]> wrote:

> Hi Folks,
>
> Cuis 2.8 is available at www.jvuletich.org/Cuis/Index.html .
>
> New in Cuis 2.8:
> - Fixes to Character sorting and testing methods, to honor ISO-8859-15
> encoding
> - Better conversion to/from UTF-8
> - Faster startup (forked DateAndTime class>>startup)
> - Honor quit signals from the OS (from Squeak)
> - #findBinary:do:ifNone: and #findBinaryIndex:do:ifNone: in
> SequenceableCollection
> - PointerTracingTools by Matthew Fulmer
> - Many recent tweaks from Squeak
> - Tweaks to blinking cursors
> - Tweaks to LayoutSpecs and PluggableMorphs
> - Tweaks to Editors
>
> I also tweaked the web page, so take a look!
>
> Cheers,
> Juan Vuletich
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [Ann][Cuis] Cuis 2.8 released

espin
In reply to this post by Juan Vuletich-4
Hi Juan,
I am trying Cuis 2.8 with Teleplace VM 1.0.15 from Aug 18 2010 on MS Windows.

I tried Alt-<arrow keys> to navigate to different workspaces but I do
not see it working...
It seems also Alt-b to open a browser does not work ... so maybe there
is something
wrong on my machine (but Squeak latest Trunk with the same VM is ok)

Any feedback is welcome.
Bye
Enrico


On Thu, Nov 4, 2010 at 16:15, Juan Vuletich <[hidden email]> wrote:

> Hi Folks,
>
> Cuis 2.8 is available at www.jvuletich.org/Cuis/Index.html .
>
> New in Cuis 2.8:
> - Fixes to Character sorting and testing methods, to honor ISO-8859-15
> encoding
> - Better conversion to/from UTF-8
> - Faster startup (forked DateAndTime class>>startup)
> - Honor quit signals from the OS (from Squeak)
> - #findBinary:do:ifNone: and #findBinaryIndex:do:ifNone: in
> SequenceableCollection
> - PointerTracingTools by Matthew Fulmer
> - Many recent tweaks from Squeak
> - Tweaks to blinking cursors
> - Tweaks to LayoutSpecs and PluggableMorphs
> - Tweaks to Editors
>
> I also tweaked the web page, so take a look!
>
> Cheers,
> Juan Vuletich
>
>



--
Enrico Spinielli
"Do Androids dream of electric sheep?"— Philip K. Dick
"Hear and forget; see and remember;do and understand."—Mitchel Resnick

Reply | Threaded
Open this post in threaded view
|

Re: [Ann][Cuis] Cuis 2.8 released

Juan Vuletich-4
Hi Enrico,

Enrico Spinielli wrote:

> Hi Juan,
> I am trying Cuis 2.8 with Teleplace VM 1.0.15 from Aug 18 2010 on MS Windows.
>
> I tried Alt-<arrow keys> to navigate to different workspaces but I do
> not see it working...
> It seems also Alt-b to open a browser does not work ... so maybe there
> is something
> wrong on my machine (but Squeak latest Trunk with the same VM is ok)
>
> Any feedback is welcome.
> Bye
> Enrico
>  

There is nothing wrong with your machine. To navigate windows, now you
need to use Ctrl-Alt-<arrows>. I changed this because I changed
Alt-<arrows> to control the text cursor as the Mac does (The knwon as
'Alt' in Windows is called 'Command' on the Mac).

WRT Alt-b, Cuis does not include desktop keystrokes. Alt-b and others
work as usual on text windows.

Cheers,
Juan Vuletich

Reply | Threaded
Open this post in threaded view
|

Re: [Ann][Cuis] Cuis 2.8 released

espin
Hi Juan,
following your explanation (BTW KeyboardFocus section in 'Cuis
Features' has to be updated accordingly)
I tried the following with 'Cuis Features' and 'Useful Tweaks' windows open:
1. focus on 'Useful tweaks', issue Alt-Ctrl-<any arrows> ==> just
moves the cursor
2. focus on 'Useful tweaks', selection of Preferences string, Alt-b
==> no browser is opened
3. repeated 2. on a newly opened Workspace ==> the browser opens, Hurray!
4. repeated 1. with two newly opened Workspaces ==> no navigation
window-to-window

Hope it helps
Bye
Enrico

On Fri, Nov 5, 2010 at 14:19, Juan Vuletich <[hidden email]> wrote:

> Hi Enrico,
>
> Enrico Spinielli wrote:
>>
>> Hi Juan,
>> I am trying Cuis 2.8 with Teleplace VM 1.0.15 from Aug 18 2010 on MS
>> Windows.
>>
>> I tried Alt-<arrow keys> to navigate to different workspaces but I do
>> not see it working...
>> It seems also Alt-b to open a browser does not work ... so maybe there
>> is something
>> wrong on my machine (but Squeak latest Trunk with the same VM is ok)
>>
>> Any feedback is welcome.
>> Bye
>> Enrico
>>
>
> There is nothing wrong with your machine. To navigate windows, now you need
> to use Ctrl-Alt-<arrows>. I changed this because I changed Alt-<arrows> to
> control the text cursor as the Mac does (The knwon as 'Alt' in Windows is
> called 'Command' on the Mac).
>
> WRT Alt-b, Cuis does not include desktop keystrokes. Alt-b and others work
> as usual on text windows.
>
> Cheers,
> Juan Vuletich
>
>



--
Enrico Spinielli
"Do Androids dream of electric sheep?"— Philip K. Dick
"Hear and forget; see and remember;do and understand."—Mitchel Resnick

Reply | Threaded
Open this post in threaded view
|

Re: [Ann][Cuis] Cuis 2.8 released

Juan Vuletich-4
Hi Enrico,

I just released Cuis 2.9 with fixes to most of the issues you raise. :)
You can download it.

Enrico Spinielli wrote:
> Hi Juan,
> following your explanation (BTW KeyboardFocus section in 'Cuis
> Features' has to be updated accordingly)
> I tried the following with 'Cuis Features' and 'Useful Tweaks' windows open:
> 1. focus on 'Useful tweaks', issue Alt-Ctrl-<any arrows> ==> just
> moves the cursor
>  

This was my mistake. It worked on the Mac, but failed on Windows,
because of the way the VM reports events. But as on Windows people won't
expect alt-arrows to control the text cursor (they use Home/End for
that), I made the keyboard navigation to be controlled with alt-arrows
on Windows and Linux and with control-command-arrows on the Mac. I
really don't like making platform specific behavior, but I couldn't find
a better solution.

> 2. focus on 'Useful tweaks', selection of Preferences string, Alt-b
> ==> no browser is opened
>  

That's because those windows are not Workspaces, they are TextEditors.
Check the right-click menus, and you'll see.

> 3. repeated 2. on a newly opened Workspace ==> the browser opens, Hurray!
>  

Yep. Workspaces do alt-b :)

> 4. repeated 1. with two newly opened Workspaces ==> no navigation
> window-to-window
>  

Fixed as said above.

> Hope it helps
> Bye
> Enrico
>  

It surely helped. Thanks for reporting these issues!

Cheers,
Juan Vuletich

> On Fri, Nov 5, 2010 at 14:19, Juan Vuletich <[hidden email]> wrote:
>  
>> Hi Enrico,
>>
>> Enrico Spinielli wrote:
>>    
>>> Hi Juan,
>>> I am trying Cuis 2.8 with Teleplace VM 1.0.15 from Aug 18 2010 on MS
>>> Windows.
>>>
>>> I tried Alt-<arrow keys> to navigate to different workspaces but I do
>>> not see it working...
>>> It seems also Alt-b to open a browser does not work ... so maybe there
>>> is something
>>> wrong on my machine (but Squeak latest Trunk with the same VM is ok)
>>>
>>> Any feedback is welcome.
>>> Bye
>>> Enrico
>>>
>>>      
>> There is nothing wrong with your machine. To navigate windows, now you need
>> to use Ctrl-Alt-<arrows>. I changed this because I changed Alt-<arrows> to
>> control the text cursor as the Mac does (The knwon as 'Alt' in Windows is
>> called 'Command' on the Mac).
>>
>> WRT Alt-b, Cuis does not include desktop keystrokes. Alt-b and others work
>> as usual on text windows.
>>
>> Cheers,
>> Juan Vuletich
>>
>>
>>    
>
>
>
>  
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.864 / Virus Database: 271.1.1/3239 - Release Date: 11/05/10 04:34:00
>
>  


Reply | Threaded
Open this post in threaded view
|

Re: [Ann][Cuis] Cuis 2.8 released

Levente Uzonyi-2
In reply to this post by Juan Vuletich-4
On Thu, 4 Nov 2010, Juan Vuletich wrote:

> Hi Folks,
>
> Cuis 2.8 is available at www.jvuletich.org/Cuis/Index.html .
>
> New in Cuis 2.8:
> - Fixes to Character sorting and testing methods, to honor ISO-8859-15
> encoding
> - Better conversion to/from UTF-8
> - Faster startup (forked DateAndTime class>>startup)

I checked the changeset and found that you're forking the process at
priority 50 (#userInterruptPriority). AFAIK the process running the
startup code has priority 40, so the startup process will be suspended
while the forked process is running.

> - Honor quit signals from the OS (from Squeak)
> - #findBinary:do:ifNone: and #findBinaryIndex:do:ifNone: in
> SequenceableCollection

I think #findBinary:ifNone: is useful, because it can be used just like
#detect:ifNone:.

> - PointerTracingTools by Matthew Fulmer
> - Many recent tweaks from Squeak
> - Tweaks to blinking cursors
> - Tweaks to LayoutSpecs and PluggableMorphs
> - Tweaks to Editors
>

I also checked the MessageTally changeset (0431) and found that
MessageTally won't work in Cuis running on Cog, because some VM parameters
can be nil. See MessageTally >> #spyEvery:on: and friends.


Levente

> I also tweaked the web page, so take a look!
>
> Cheers,
> Juan Vuletich
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [Ann][Cuis] Cuis 2.8 released

Juan Vuletich-4
Levente Uzonyi wrote:

> On Thu, 4 Nov 2010, Juan Vuletich wrote:
>
>> Hi Folks,
>>
>> Cuis 2.8 is available at www.jvuletich.org/Cuis/Index.html .
>>
>> New in Cuis 2.8:
>> - Fixes to Character sorting and testing methods, to honor
>> ISO-8859-15 encoding
>> - Better conversion to/from UTF-8
>> - Faster startup (forked DateAndTime class>>startup)
>
> I checked the changeset and found that you're forking the process at
> priority 50 (#userInterruptPriority). AFAIK the process running the
> startup code has priority 40, so the startup process will be suspended
> while the forked process is running.

Yes. But that forked process is waiting on delays almost all the time,
and needs to wake up and do its stuff precisely at the start of a new
second. In Squeak, it runs at priority 40, so this is not guaranteed. I
suggest doing this change in Squeak too. Besides, I added protection
from invalid offsets with the OffsetsAreValid class var. In a commercial
project, I found that with the Squeak implementation, using DateAndTime
during system startup is not safe.

>> - Honor quit signals from the OS (from Squeak)
>> - #findBinary:do:ifNone: and #findBinaryIndex:do:ifNone: in
>> SequenceableCollection
>
> I think #findBinary:ifNone: is useful, because it can be used just like
> #detect:ifNone:.

Right. I did not remove #detect:ifNone: as that would break a lot of
code. But I believe having the actionBlock in the sender will usually
save some #ifTrue: to do stuff only when an element was found.

>> - PointerTracingTools by Matthew Fulmer
>> - Many recent tweaks from Squeak
>> - Tweaks to blinking cursors
>> - Tweaks to LayoutSpecs and PluggableMorphs
>> - Tweaks to Editors
>>
>
> I also checked the MessageTally changeset (0431) and found that
> MessageTally won't work in Cuis running on Cog, because some VM
> parameters can be nil. See MessageTally >> #spyEvery:on: and friends.

Cuis change sets are numbered and should considered in order. Latest
update number is 034, so 431 is quite old. It is actually older than Cog
public release. That code was modified later, when the issues you
mention were found in Squeak. You can check that by opening a changes
list on change set 431 in Cuis. MessageTally works correctly in Cuis on Cog.

>
> Levente

Thanks for reviewing!

Cheers,
Juan Vuletich

Reply | Threaded
Open this post in threaded view
|

Re: [Ann][Cuis] Cuis 2.8 released

Levente Uzonyi-2
On Sat, 6 Nov 2010, Juan Vuletich wrote:

> Levente Uzonyi wrote:
>> On Thu, 4 Nov 2010, Juan Vuletich wrote:
>>
>>> Hi Folks,
>>>
>>> Cuis 2.8 is available at www.jvuletich.org/Cuis/Index.html .
>>>
>>> New in Cuis 2.8:
>>> - Fixes to Character sorting and testing methods, to honor ISO-8859-15
>>> encoding
>>> - Better conversion to/from UTF-8
>>> - Faster startup (forked DateAndTime class>>startup)
>>
>> I checked the changeset and found that you're forking the process at
>> priority 50 (#userInterruptPriority). AFAIK the process running the startup
>> code has priority 40, so the startup process will be suspended while the
>> forked process is running.
>
> Yes. But that forked process is waiting on delays almost all the time, and
> needs to wake up and do its stuff precisely at the start of a new second. In
> Squeak, it runs at priority 40, so this is not guaranteed. I suggest doing

I see.

> this change in Squeak too. Besides, I added protection from invalid offsets
> with the OffsetsAreValid class var. In a commercial project, I found that
> with the Squeak implementation, using DateAndTime during system startup is
> not safe.

Okay, just for nitpicking, the #waitForSeconds send is unnecessary in
DateAndTime >> #now, because #milliSecondsSinceMidnight will send it.

>
>>> - Honor quit signals from the OS (from Squeak)
>>> - #findBinary:do:ifNone: and #findBinaryIndex:do:ifNone: in
>>> SequenceableCollection
>>
>> I think #findBinary:ifNone: is useful, because it can be used just like
>> #detect:ifNone:.
>
> Right. I did not remove #detect:ifNone: as that would break a lot of code.
> But I believe having the actionBlock in the sender will usually save some
> #ifTrue: to do stuff only when an element was found.

The only minor problem with blocks is that they have to be copied and
activated which is sometimes too expensive.

But, your exceptionBlock enhancement is fantastic in #findBinary*ifNone:.
I was about to implement some kind of C++-style #upperBound: and
#lowerBound:, but your solution already includes that and it's even more
general. It shows the power of Smalltalk and blocks.

>
>>> - PointerTracingTools by Matthew Fulmer
>>> - Many recent tweaks from Squeak
>>> - Tweaks to blinking cursors
>>> - Tweaks to LayoutSpecs and PluggableMorphs
>>> - Tweaks to Editors
>>>
>>
>> I also checked the MessageTally changeset (0431) and found that
>> MessageTally won't work in Cuis running on Cog, because some VM parameters
>> can be nil. See MessageTally >> #spyEvery:on: and friends.
>
> Cuis change sets are numbered and should considered in order. Latest update
> number is 034, so 431 is quite old. It is actually older than Cog public
> release. That code was modified later, when the issues you mention were found
> in Squeak. You can check that by opening a changes list on change set 431 in
> Cuis. MessageTally works correctly in Cuis on Cog.

I'm aware of the numbering scheme, but I was checking the changesets by
name. The fixes are in 0511-CogCompatibility and I was only looking at the
changesets that had tally in their name.


Levente

>
>>
>> Levente
>
> Thanks for reviewing!
>
> Cheers,
> Juan Vuletich
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [Ann][Cuis] Cuis 2.8 released

Casey Ransberger-2
In reply to this post by Juan Vuletich-4
I've been playing with Cuis. I like it. As the community has agreed that the core of Squeak should look a lot like Cuis, I figured I should pay some attention to it.

Cuis has two rather serious deal-breakers for me. First, the retro SystemWindow icons feel dated, and make it hard for me to sell Cuis to people in my local software community (which is a shame, because in a lot of ways, it's an idealized Smalltalk.) Second, I find the (neon green) text highlight color jarring (perhaps this is just a personal preference, but maybe other people will have the same experience, I'm not sure.)

So I replaced the system window icons with the ones from Squeak (also removed the faux-3d borders,) and replaced the text highlighting color with something a little more mainstream. I didn't bring over SystemWindowButton, though; if you hover over or click and hold on one of the icons, you'll be able to see the difference. It might be better to actually use SystemWindowButtons for this, but I figured for a first stab, I wouldn't, in part because adding a class to Cuis is something that only makes sense when a *lot* of people want it.

I'd like to say: we really should get the focus keyboard shortcuts moved into the Trunk when they stabilize (I've seen a couple of debuggers pop while changing focus from the keyboard in 2.9, but I have no repro yet: more on this when I find the bug.)

I will also eat some of my words here: the way the Cuis editors deal with the CR/LF fiasco visually not only makes a total sense, but is also IMHO better than what we have in Squeak; that said, Juan: can we have different indicators for for CR and LF? Showing LF on the next line *works,* but I think that a different glyph (in addition to displaying it on the next line) would really make things less confusing. What do you think?

Please find attached my little modifications: I bet some other folks will prefer the feel of the system this way. This itsy bitsy bit of bits (mostly stuff ripped from Squeak Trunk) is (of course) available under the MIT license.

Note that you need to open a new window to see the new icons; no provision has been made for changing the icons of existing windows (which is probably totally doable, but seemed like a pain.)

It's just a little touch. Enjoy, if you're so inclined:)

 - C

On Thu, Nov 4, 2010 at 8:15 AM, Juan Vuletich <[hidden email]> wrote:
Hi Folks,

Cuis 2.8 is available at www.jvuletich.org/Cuis/Index.html .

New in Cuis 2.8:
- Fixes to Character sorting and testing methods, to honor ISO-8859-15 encoding
- Better conversion to/from UTF-8
- Faster startup (forked DateAndTime class>>startup)
- Honor quit signals from the OS (from Squeak)
- #findBinary:do:ifNone: and #findBinaryIndex:do:ifNone: in SequenceableCollection
- PointerTracingTools by Matthew Fulmer
- Many recent tweaks from Squeak
- Tweaks to blinking cursors
- Tweaks to LayoutSpecs and PluggableMorphs
- Tweaks to Editors

I also tweaked the web page, so take a look!

Cheers,
Juan Vuletich





CaseyCuisChanges.1.cs (14K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Ann][Cuis] Cuis 2.8 released

Casey Ransberger-2
Oh, I suppose I also reordered the syswindow buttons to my personal preference. I should have mentioned that. This might not make sense for everyone. It feels more natural to me, but then again, I use a Mac.

On Sat, Nov 6, 2010 at 1:34 PM, Casey Ransberger <[hidden email]> wrote:
I've been playing with Cuis. I like it. As the community has agreed that the core of Squeak should look a lot like Cuis, I figured I should pay some attention to it.

Cuis has two rather serious deal-breakers for me. First, the retro SystemWindow icons feel dated, and make it hard for me to sell Cuis to people in my local software community (which is a shame, because in a lot of ways, it's an idealized Smalltalk.) Second, I find the (neon green) text highlight color jarring (perhaps this is just a personal preference, but maybe other people will have the same experience, I'm not sure.)

So I replaced the system window icons with the ones from Squeak (also removed the faux-3d borders,) and replaced the text highlighting color with something a little more mainstream. I didn't bring over SystemWindowButton, though; if you hover over or click and hold on one of the icons, you'll be able to see the difference. It might be better to actually use SystemWindowButtons for this, but I figured for a first stab, I wouldn't, in part because adding a class to Cuis is something that only makes sense when a *lot* of people want it.

I'd like to say: we really should get the focus keyboard shortcuts moved into the Trunk when they stabilize (I've seen a couple of debuggers pop while changing focus from the keyboard in 2.9, but I have no repro yet: more on this when I find the bug.)

I will also eat some of my words here: the way the Cuis editors deal with the CR/LF fiasco visually not only makes a total sense, but is also IMHO better than what we have in Squeak; that said, Juan: can we have different indicators for for CR and LF? Showing LF on the next line *works,* but I think that a different glyph (in addition to displaying it on the next line) would really make things less confusing. What do you think?

Please find attached my little modifications: I bet some other folks will prefer the feel of the system this way. This itsy bitsy bit of bits (mostly stuff ripped from Squeak Trunk) is (of course) available under the MIT license.

Note that you need to open a new window to see the new icons; no provision has been made for changing the icons of existing windows (which is probably totally doable, but seemed like a pain.)

It's just a little touch. Enjoy, if you're so inclined:)

 - C

On Thu, Nov 4, 2010 at 8:15 AM, Juan Vuletich <[hidden email]> wrote:
Hi Folks,

Cuis 2.8 is available at www.jvuletich.org/Cuis/Index.html .

New in Cuis 2.8:
- Fixes to Character sorting and testing methods, to honor ISO-8859-15 encoding
- Better conversion to/from UTF-8
- Faster startup (forked DateAndTime class>>startup)
- Honor quit signals from the OS (from Squeak)
- #findBinary:do:ifNone: and #findBinaryIndex:do:ifNone: in SequenceableCollection
- PointerTracingTools by Matthew Fulmer
- Many recent tweaks from Squeak
- Tweaks to blinking cursors
- Tweaks to LayoutSpecs and PluggableMorphs
- Tweaks to Editors

I also tweaked the web page, so take a look!

Cheers,
Juan Vuletich





--
Casey Ransberger


Reply | Threaded
Open this post in threaded view
|

Re: [Ann][Cuis] Cuis 2.8 released

Hannes Hirzel
On 11/6/10, Casey Ransberger <[hidden email]> wrote:
.....

>> Cuis has two rather serious deal-breakers for me. First,
>> the retro SystemWindow icons feel dated, and make it hard for me to sell
>> Cuis to people in my local software community (which is a shame, because
>> in
>> a lot of ways, it's an idealized Smalltalk.) Second, I find the (neon
>> green)
>> text highlight color jarring (perhaps this is just a personal preference,
>> but maybe other people will have the same experience, I'm not sure.)
>>
>> So I replaced the system window icons with the ones from Squeak (also
>> removed the faux-3d borders,) and replaced the text highlighting color
.....
>> Please find attached my little modifications: I bet some other folks will
>> prefer the feel of the system this way. This itsy bitsy bit of bits
>> (mostly
>> stuff ripped from Squeak Trunk) is (of course) available under the MIT
>> license.
>>

> Casey Ransberger
>


Nice addition, Casey. I did not like the original icons either .....
The ones you put in are nice and straightforward to understand.

It filed in fine in Cuis 2.9

Hannes



Cuis2.9-with-Icon-ChangeSet-ByCaseyR-2.PNG (98K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Ann][Cuis] Cuis 2.8 released

Juan Vuletich-4
In reply to this post by Levente Uzonyi-2
Levente Uzonyi wrote:
>
> Okay, just for nitpicking, the #waitForSeconds send is unnecessary in
> DateAndTime >> #now, because #milliSecondsSinceMidnight will send it.

Right. I left it because I felt it would be good to state that the
offsets must be consistent... I guess a comment is enough. I'll remove it.

>> Right. I did not remove #detect:ifNone: as that would break a lot of
>> code. But I believe having the actionBlock in the sender will usually
>> save some #ifTrue: to do stuff only when an element was found.
>
> The only minor problem with blocks is that they have to be copied and
> activated which is sometimes too expensive.

Right. I guess anybody writing such performance critical code for this
to matter, should check all the called methods himself, and tweak as needed.

> But, your exceptionBlock enhancement is fantastic in
> #findBinary*ifNone:. I was about to implement some kind of C++-style
> #upperBound: and #lowerBound:, but your solution already includes that
> and it's even more general. It shows the power of Smalltalk and blocks.

:) I also liked that one!

>> Cuis change sets are numbered and should considered in order. Latest
>> update number is 034, so 431 is quite old. It is actually older than
>> Cog public release. That code was modified later, when the issues you
>> mention were found in Squeak. You can check that by opening a changes
>> list on change set 431 in Cuis. MessageTally works correctly in Cuis
>> on Cog.
>
> I'm aware of the numbering scheme, but I was checking the changesets
> by name. The fixes are in 0511-CogCompatibility and I was only looking
> at the changesets that had tally in their name.

I see.

>
> Levente

Cheers,
Juan Vuletich

Reply | Threaded
Open this post in threaded view
|

Re: [Ann][Cuis] Cuis 2.8 released

Juan Vuletich-4
In reply to this post by Casey Ransberger-2
Hi Casey,

Before getting into details; Wow, I love your stuff! It will be
integrated in next version.

Casey Ransberger wrote:

> I've been playing with Cuis. I like it. As the community has agreed
> that the core of Squeak should look a lot like Cuis, I figured I
> should pay some attention to it.
>
> Cuis has two rather serious deal-breakers for me. First,
> the retro SystemWindow icons feel dated, and make it hard for me to
> sell Cuis to people in my local software community (which is a shame,
> because in a lot of ways, it's an idealized Smalltalk.) Second, I find
> the (neon green) text highlight color jarring (perhaps this is just a
> personal preference, but maybe other people will have the same
> experience, I'm not sure.)
>
> So I replaced the system window icons with the ones from Squeak (also
> removed the faux-3d borders,) and replaced the text highlighting color
> with something a little more mainstream. I didn't bring
> over SystemWindowButton, though; if you hover over or click and hold
> on one of the icons, you'll be able to see the difference. It might be
> better to actually use SystemWindowButtons for this, but I figured for
> a first stab, I wouldn't, in part because adding a class to Cuis is
> something that only makes sense when a *lot* of people want it.

I really like your changes. And I really prefer the updated look. Now,
menus also need the new close icon, if you want to add it too :)

Cuis welcomes contributions and suggestions, especially if they ease
adoption without adding too much complexity. Also, I just took a look at
SystemWindowButton, and it is rather simple, so I wouldn't mind adding
it if that helps adoption.

> I'd like to say: we really should get the focus keyboard shortcuts
> moved into the Trunk when they stabilize (I've seen a couple of
> debuggers pop while changing focus from the keyboard in 2.9, but I
> have no repro yet: more on this when I find the bug.)

If you can't reproduce the bug but you can send me a SqueakDebug.log
I'll look at it.

> I will also eat some of my words here: the way the Cuis editors deal
> with the CR/LF fiasco visually not only makes a total sense, but is
> also IMHO better than what we have in Squeak; that said, Juan: can we
> have different indicators for for CR and LF? Showing LF on the next
> line *works,* but I think that a different glyph (in addition to
> displaying it on the next line) would really make things less
> confusing. What do you think?

I agree with you. a different glyph would be better. I'll work on that.

> Please find attached my little modifications: I bet some other folks
> will prefer the feel of the system this way. This itsy bitsy bit of
> bits (mostly stuff ripped from Squeak Trunk) is (of course) available
> under the MIT license.
>
> Note that you need to open a new window to see the new icons; no
> provision has been made for changing the icons of existing windows
> (which is probably totally doable, but seemed like a pain.)
> It's just a little touch. Enjoy, if you're so inclined:)
>
>  - C

Thank you!

Cheers,
Juan Vuletich

Reply | Threaded
Open this post in threaded view
|

Re: [Ann][Cuis] Cuis 2.8 released

Juan Vuletich-4
In reply to this post by Casey Ransberger-2
Casey Ransberger wrote:
> Oh, I suppose I also reordered the syswindow buttons to my personal
> preference. I should have mentioned that. This might not make sense
> for everyone. It feels more natural to me, but then again, I use a Mac.

I'm totally ok with that.

Cheers,
Juan Vuletich

Reply | Threaded
Open this post in threaded view
|

Re: [Ann][Cuis] Cuis 2.8 released

Casey Ransberger-2
In reply to this post by Juan Vuletich-4
Comments inline, with much snippage.

On Nov 6, 2010, at 7:01 PM, Juan Vuletich <[hidden email]> wrote:

> Hi Casey,
>
> Before getting into details; Wow, I love your stuff! It will be integrated in next version.
Cool! Thank you. I'm glad and gleeful.

> I really like your changes. And I really prefer the updated look. Now, menus also need the new close icon, if you want to add it too :)
I thought about it, but I actually really like the X on the menus. I like that they're distinct from system windows, and the X is my favorite of the icons that I just unceremoniously replaced. I think I might miss it on the menus. Besides, the red could overpower the menu itself, which would be bad.

You might be right, though: not sure if making the close icon consistent between the two would hurt or help usability.

> Also, I just took a look at SystemWindowButton, and it is rather simple, so I wouldn't mind adding it if that helps adoption.
I think it would be a good idea, the behavior is a lot nicer. Mea culpa: part of the reason I went with the simpler solution was that it would be less work :-)

> Thank you!
>
> Cheers,
> Juan Vuletich
>

Reply | Threaded
Open this post in threaded view
|

Re: [Ann][Cuis] Cuis 2.8 released

David T. Lewis
In reply to this post by Juan Vuletich-4
On Thu, 4 Nov 2010, Juan Vuletich wrote:
> Hi Folks,
>
> Cuis 2.8 is available at www.jvuletich.org/Cuis/Index.html .
>

I know it has been said many times before, but Cuis is a really nice
image. It has a clean, crisp feel and is a pleasure to use.

I use Squeak images most of the time, but I enjoy opening a Cuis image
just for the inspiration :)

Dave


Reply | Threaded
Open this post in threaded view
|

Re: [Ann][Cuis] Cuis 2.8 released

Juan Vuletich-4
In reply to this post by Casey Ransberger-2
Hi Casey,

Casey Ransberger wrote:

> Comments inline, with much snippage.
>
> On Nov 6, 2010, at 7:01 PM, Juan Vuletich <[hidden email]> wrote:
>
>  
>> Hi Casey,
>>
>> Before getting into details; Wow, I love your stuff! It will be integrated in next version.
>>    
> Cool! Thank you. I'm glad and gleeful.
>  

:)

>> I really like your changes. And I really prefer the updated look. Now, menus also need the new close icon, if you want to add it too :)
>>    
> I thought about it, but I actually really like the X on the menus. I like that they're distinct from system windows, and the X is my favorite of the icons that I just unceremoniously replaced. I think I might miss it on the menus. Besides, the red could overpower the menu itself, which would be bad.
>
> You might be right, though: not sure if making the close icon consistent between the two would hurt or help usability.
>  

I don't have a strong opinion on this. Leaving the x is ok too for me.

>> Also, I just took a look at SystemWindowButton, and it is rather simple, so I wouldn't mind adding it if that helps adoption.
>>    
> I think it would be a good idea, the behavior is a lot nicer. Mea culpa: part of the reason I went with the simpler solution was that it would be less work :-)
>  

Going first for the simplest solution is what I always do. If you want,
you can do it. Otherwise, maybe I'll do it one of these evenings.

Cheers,
Juan Vuletich

Ps: Please don't forget to send me the walkback file for the DNU you got
with keyboard focus control

Reply | Threaded
Open this post in threaded view
|

Re: [Ann][Cuis] Cuis 2.8 released

Juan Vuletich-4
In reply to this post by David T. Lewis
David T. Lewis wrote:

> On Thu, 4 Nov 2010, Juan Vuletich wrote:
>  
>> Hi Folks,
>>
>> Cuis 2.8 is available at www.jvuletich.org/Cuis/Index.html .
>>
>>    
>
> I know it has been said many times before, but Cuis is a really nice
> image. It has a clean, crisp feel and is a pleasure to use.
>
> I use Squeak images most of the time, but I enjoy opening a Cuis image
> just for the inspiration :)
>
> Dave

:) May I quote you on the Cuis web page?

Cheers,
Juan Vuletich

Reply | Threaded
Open this post in threaded view
|

Re: [Ann][Cuis] Cuis 2.8 released

David T. Lewis
On Sun, Nov 07, 2010 at 01:02:55PM -0300, Juan Vuletich wrote:

> David T. Lewis wrote:
> >On Thu, 4 Nov 2010, Juan Vuletich wrote:
> >  
> >>Hi Folks,
> >>
> >>Cuis 2.8 is available at www.jvuletich.org/Cuis/Index.html .
> >>
> >>    
> >
> >I know it has been said many times before, but Cuis is a really nice
> >image. It has a clean, crisp feel and is a pleasure to use.
> >
> >I use Squeak images most of the time, but I enjoy opening a Cuis image
> >just for the inspiration :)
> >
> >Dave
>
> :) May I quote you on the Cuis web page?

Juan,

Yes of course you may quote me :)

Dave


12