[Cuis-dev] ExtendedClipboard package

Juan Vuletich juan at cuis.st
Sun Sep 17 17:50:40 PDT 2023


Just pushed a fix for RTFClipboardTest >> 
#testSample6ToAndFromRTFClipboard in the StyledTextEditor repo.

Cheers,

On 9/17/2023 8:14 PM, Juan Vuletich via Cuis-dev wrote:
> Hi Bernhard,
>
> On 9/17/2023 3:57 PM, Bernhard Pieber via Cuis-dev wrote:
>> Hi Juan,
>>
>> During fixing StyledTextEditor tests I found and fixed a small bug in 
>> ExtendedClipboardMacInterface>>#storeText:id: with regards copying 
>> RTF format. I created another PR for Cuis-Smalltalk-Dev:
>> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/pull/265
>>
>> I improved the PR for StyledTextEditor and am down to just one 
>> failure and one error out of 56 tests:
>> https://github.com/Cuis-Smalltalk/StyledTextEditor/pull/7
>>
>> Cheers,
>> Bernhard
>>
>
> Thanks a lot. This is very good. I just merged both PRs.
>
> I'll take a look at the still failing test.
>
> Just a comment. I don't know if this is relevant at all, but if you 
> browse https://github.com/Cuis-Smalltalk/StyledTextEditor you see
> This branch is 8 commits ahead, 4 commits behind bpieber:master.
> Is this something to worry about?
>
> (more below inline)
>
>>
>>
>> ------- Original Message -------
>> Bernhard Pieber via Cuis-dev <cuis-dev at lists.cuis.st> schrieb am 
>> Sonntag, 17. September 2023 um 09:47:
>>
>>> Hi,
>>>
>>> I just found out that by using the latest (not yet released) VM 
>>> build, copying works. I took the VM from here:
>>> https://github.com/OpenSmalltalk/opensmalltalk-vm/actions/workflows/macos.yml
>>>
>>> Make sure to take a build labelled Cog, not virtend, otherwise the 
>>> fonts in existing images look much bigger. I tested with this:
>>> https://github.com/OpenSmalltalk/opensmalltalk-vm/suites/14338173951/artifacts/807073212
>>>
>>> Probably the fact that a newer VM is required for the 
>>> ExtendedClipboard package should be documented somewhere. I am not 
>>> sure what the best place for that would be? Or maybe show a warning 
>>> when loading ExtendedClipboard.pck.st when the plugin is outdated? 
>>> What do you think?
>>>
>>> Cheers,
>>> Bernhard
>
> I'm not sure. Maybe we'd just add a note to the GettingStarted.md 
> file, right? If you'd like to add such note, I'll happy to merge.
>
> Thanks!
>
>>>
>>> ------- Original Message -------
>>> Bernhard Pieber via Cuis-dev <cuis-dev at lists.cuis.st> schrieb am 
>>> Samstag, 16. September 2023 um 19:05:
>>>
>>>> Hi,
>>>>
>>>> I noted that when I load the ExtendedClipboard package into a 
>>>> current image using Feature require: 'ExtendedClipboard', copy and 
>>>> paste outside of Cuis stops working. By that I don't mean any 
>>>> extended formats but just copying text.
>>>>
>>>> I am on macOS Mojave Version 10.14.6 (18G9323) and use the 
>>>> following VM, which should be the latest released VM:
>>>> 5.0 5.20220602.1410 Mac OS X built on Jun  2 2022 15:55:29 UTC 
>>>> Compiler: Apple LLVM 12.0.0 (clang-1200.0.32.29) [Production Spur 
>>>> 64-bit x64 VM]
>>>> CoInterpreter VMMaker.oscog-dtl.3185 uuid: 
>>>> 0e7f07b8-eed6-4362-b223-86c98594ddb9 Jun  2 2022
>>>> StackToRegisterMappingCogit VMMaker.oscog-mt.3179 uuid: 
>>>> c6fbcb07-2a19-ed4f-8b40-9c119a70882a Jun  2 2022
>>>> VM: 202206021410 
>>>> runner at Mac-1654183989075.local:work/opensmalltalk-vm/opensmalltalk-vm
>>>> Date: Thu Jun 2 16:10:44 2022 CommitHash: c9fd365
>>>> Plugins: 202206021410 
>>>> runner at Mac-1654183989075.local:work/opensmalltalk-vm/opensmalltalk-vm
>>>>
>>>> This should be the VM which is recommended for Cuis in:
>>>> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/blob/master/Documentation/GettingStarted.md
>>>>
>>>> Should this work? Does is work for you?
>>>>
>>>> The latest change to the package was this:
>>>> Fixes to ExtendedClipboard (was broken by addition of UnicodeString)
>>>> Commit:
>>>> c62104e92a87dcac6558da5529406bc28f0f1bc8 [c62104e]
>>>> Parents:
>>>> 9eccfa6273
>>>> Author:
>>>> Juan Vuletich <juan at jvuletich.org <mailto:juan at jvuletich.org>>
>>>> Date:
>>>> 6. January 2023 at 18:29:54 CET
>>>>
>>>> So the Unicode changes should not be the reason. Any ideas?
>>>>
>>>> Cheers,
>>>> Bernhard
>>>>
>>>>
>>>
>>
>
>
> -- 
> Juan Vuletich
> cuis.st
> github.com/jvuletich
> researchgate.net/profile/Juan-Vuletich
> independent.academia.edu/JuanVuletich
> patents.justia.com/inventor/juan-manuel-vuletich
> linkedin.com/in/juan-vuletich-75611b3
> twitter.com/JuanVuletich


-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230917/1617fb63/attachment-0001.htm>


More information about the Cuis-dev mailing list