[View] discuss view related issues
RebGUI SHOW is not the same as SHOW for VID
I know. The problem is however the same with RebGUI's SHOW-NATIVE.
IIRC, /changes meant that show did not do all the work, but only what it was asked to do by /changes
I'm studying a possible font alignment bug with Cyphre: view layout [origin 0x0 space 0x0 t1: text 100 black white "Boo" right t2: text 100 black 200.200.200 "Boo" right bold] Does the last "o" line up to the same pixel for you (correct) or is there a slight misalignment (wrong)? State your OS, please. Thanks.
I can't see any mis-alignment (we're looking for it to be flush right, yes?) Win 7 rebview 2.7.6
Correct alignment here, and bold doesn't seem to have an effect, as both texts looks the same. OS X v. 10.6.8, View v. 2.7.7
Correct alignment under WinXP on same Mac using VirtualBox. Here the 2nd text is bold, starts 1 pixel before, so it's correct aligned on the right side.
Looks OK here, XP x64.
Not sure what we are looking for, but here the bold text i shifted cca 1 pixels to the left = both "Boo" texts are not aligned to the right to the same pixel ... View 2.7.8, Windows Vista
Ubuntu 10.04, View 2.7.6 Both the 'o's in the lines start at the same place as the one above/below, but the bold ones are 1 pixel wider on the right. The 'B's end at the same place, but the bold one extends 1 pixel further to the left. Neither is flush with the right side of the pane/window
REBOL/View 126.96.36.199.1 1-Jan-2011 on Win 7 Correct alignment for the default font, misplacements when trying with some other fonts (all featuring crafted bold styles).
This is very interesting.
We'd like to test this under R3 as well.
Win7 64bit with 2.7.6 - the bold Boo is moved to the left as Pekr described.
I posted in OSX group but I just noticed its a private group...anyway, just got a mac mini and I'm having trouble installing rebol. I run through the install process but it does not seem to to install properly for example it does not make a ".r" file association.
It doesn't seem to be able to do that, although I vaguely remember Robert may have found a method
Is there a method to find the active window? I actually thought I had this in the VID Extension Kit, but apparently not.
BTW, thanks for testing the font issue.
adding an event handler and trapping window activate and deactivate events is one way.
its possible that the window stores its active state in the flags block, if this is the case could also tl
that would happen from mezzanine code?
... could also loop thru all faces in screen-face/pane. but I don't know if view actually stores the active state anywhere.
adding the event handler is very easy from mezz code. its basically like a detect function, but executed at the screen level. the face you receive is a window.
IIRC its executed within do event (so its run from within the wake-event). if you are already patching view's wake-event, that would be another place to put it.
RIM.r script on rebol.org (RIM - REBOL Instant Messenger) crashes the REBOL process on Windows (R2) http://www.rebol.org/view-script.r?script=rim.r&sid=hhim88gr
Worked for me when I used it .. have you tried a version of rebol from when the script was written?
Another crash I found: get-modes system/ports/system 'port-modes others don't crash: 'network-modes, 'file-modes, 'copy-modes
no crash here WinXP, Rebol 2.7.8
Strange, I tried several times on my XP/Home it crashed everytime. But no crash on my XP/Pro.
Yes as Admin on both.
Anyone happen to have a copy of the self modifying program I wrote in REBOL years ago? The one tht displays itself, and then lets you modify itself?
what is the generic name for such program already ?
A program that displays itself is a quine. Some in the library, but none from Reichart www.rebol.org/search.r?find=quine
No, I did not put it in the lib, although I think Greg may have done another version of what I wrote and submitted it. John too played with it and did something as well. It is not a big deal, I can rewrite it , was just hoping to have the original, I might still have it somewhere.
The quines in the library are string-based. That is not how the scripts in Rebol should look, as the documentation suggests. There were other sources of REBOL quines, I remember putting a couple of quines somewhere too, but it seems, that the corresponding pages have been either taken down or "cleaned" by some zealot.
If it's me "John", then I don't remember atm. If it comes back, I'll say so.
Reichart, I think I wrote one of those. (I think we were talking here, and I threw something together so that we could play with it.)
Maybe I have it in some old archive. Let me know if I should search.
Didn't turn it up here.
Some quines were posted to the mailing list
Maybe the ones in question were on earlier incarnations of this world
Nothing relevant in my copy of the original REBOL world, nor its short-lived sucessor REBOL2, Nothing obvious on the Mailing list archive -- that goes back to mid-2000 which, I think, predates Reichart's involvement with REBOL.
Rechart's involvement with Rebol predates Rebol ! lol
Nice ! p: 0x0 img: make image! [200x200] loop 100000 [poke img p red p: (pick [100x0 0x200 200x200] random 3) + p / 2] view layout [image img]