World: r3wp
[View] discuss view related issues
older newer | first last |
Henrik 3-Nov-2011 [10680] | That's what he told me some years ago. It was only meant to be a demo of View. |
Gabriele 3-Nov-2011 [10681] | the initial version, yes. but, vid has been worked on after that... |
Kaj 3-Nov-2011 [10682] | Wasn't R3 going to add help for dialects? |
Duke 3-Nov-2011 [10683] | @Henrik: I now understand the "hoops" that need to be jumped into in order to get graphics to happen in REBOL. Is REBGUI an extension/replacement for VID? I sure hope that the answer to Kaj's question is "yes" - cuz that would make the "help sytem" much more useful, IMO. Thanks for the input! |
GrahamC 4-Nov-2011 [10684] | Rebgui is an alternative to vid ... it has more widgets but is less flexibles |
Henrik 4-Nov-2011 [10685] | Kaj, I think Carl is still thinking about that. The R3 GUI will provide some documentation. |
Pekr 4-Nov-2011 [10686] | In the past I proposed help to use a refinement, e.g. /custom, /dialect, and the format would then be: help/custom dialect-name "button" It is a problem right now, as 'help uses just one argument. But maybe it could just accept more types, e.g. a block, and then we could have a dialect to help us with dialect help :-) |
Henrik 4-Nov-2011 [10687] | I think one solution is to add a uniform domain based dictionary (one domain for styles, one for VID, one for other dialects), that help understands, but it can unfortunately not make dialects themselves self documenting. Possibly there would be automated dictionary builders, but these take a lot of time to run during startup, so maybe they should be some sort of callbacks from help to get just-in-time help on a domain. Then you could use: >> help/on styles to get a dictionary on the styles, based on a dictionary builder. |
Duke 4-Nov-2011 [10688x2] | @GrahamC: Thanks for clearing that up in a nutshell. |
@Henrik & Pekr: IMHO, enhancing the "help" system as you suggest, is the greatest form of advocacy that the REBOL community can undertake. let the "help system" be as comprehensive as possible - whatever form it takes, so that REBOL novices are not faced with yet another source of stress and uncertainty - especially if they come from a non-Forthish or LISPish background. If a novice can solve - by himself, using the "help system" - what he perceives to be an ambiguity, already that is a success which can only give impetous to continueing his exploration of REBOL. | |
Henrik 10-Nov-2011 [10690] | Question: If you have a window face and SHOW it, does it perform a different kind of SHOW, if the window face /CHANGES is set to TEXT or ACTIVATE? I have some problems refreshing a table along with changing the window title during the same SHOW. |
Ladislav 10-Nov-2011 [10691] | RebGUI SHOW is not the same as SHOW for VID |
Henrik 10-Nov-2011 [10692] | I know. The problem is however the same with RebGUI's SHOW-NATIVE. |
Gabriele 10-Nov-2011 [10693] | IIRC, /changes meant that show did not do all the work, but only what it was asked to do by /changes |
Henrik 10-Nov-2011 [10694] | ok, thanks |
Henrik 22-Nov-2011 [10695] | 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. |
Sunanda 22-Nov-2011 [10696] | I can't see any mis-alignment (we're looking for it to be flush right, yes?) Win 7 rebview 2.7.6 |
Geomol 22-Nov-2011 [10697x2] | 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. | |
Gregg 22-Nov-2011 [10699x2] | Looks OK here, XP x64. |
View 2.7.7 | |
Pekr 22-Nov-2011 [10701] | 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 |
Izkata 22-Nov-2011 [10702] | 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 |
ChristianE 23-Nov-2011 [10703] | REBOL/View 2.7.8.3.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). |
Henrik 23-Nov-2011 [10704x2] | This is very interesting. |
We'd like to test this under R3 as well. | |
Oldes 24-Nov-2011 [10706] | Win7 64bit with 2.7.6 - the bold Boo is moved to the left as Pekr described. |
amacleod 10-Dec-2011 [10707] | 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. |
Kaj 10-Dec-2011 [10708] | It doesn't seem to be able to do that, although I vaguely remember Robert may have found a method |
Henrik 16-Dec-2011 [10709x2] | 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. | |
Maxim 16-Dec-2011 [10711] | adding an event handler and trapping window activate and deactivate events is one way. |
Henrik 16-Dec-2011 [10712] | ok, thanks |
Maxim 16-Dec-2011 [10713] | its possible that the window stores its active state in the flags block, if this is the case could also tl |
Henrik 16-Dec-2011 [10714] | that would happen from mezzanine code? |
Maxim 16-Dec-2011 [10715x3] | ... 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. | |
Endo 4-Jan-2012 [10718] | 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 |
GrahamC 4-Jan-2012 [10719] | Worked for me when I used it .. have you tried a version of rebol from when the script was written? |
Endo 4-Jan-2012 [10720x2] | Nope, I tried only with R2/view 2.7.8.3.1 But I found the crashed part, on line 251: face/text: bud: pick users count ;crash!, PICKing from users is ok, setting face/text crashes. users is a block of something strange: users/1 == <script type="text/javascript"> <!-- top.location="http://www.reboltech.com/?fp=BSODCy... I think something changed on the server and return value is not a text anymore, so setting it to face/text lead to crash. |
Another crash I found: get-modes system/ports/system 'port-modes others don't crash: 'network-modes, 'file-modes, 'copy-modes | |
sqlab 5-Jan-2012 [10722] | no crash here WinXP, Rebol 2.7.8 |
Endo 5-Jan-2012 [10723] | Strange, I tried several times on my XP/Home it crashed everytime. But no crash on my XP/Pro. |
GrahamC 5-Jan-2012 [10724] | As admin? |
Endo 5-Jan-2012 [10725] | Yes as Admin on both. |
Reichart 7-Jan-2012 [10726] | 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? |
Steeve 7-Jan-2012 [10727] | what is the generic name for such program already ? |
Sunanda 7-Jan-2012 [10728] | A program that displays itself is a quine. Some in the library, but none from Reichart www.rebol.org/search.r?find=quine |
Reichart 7-Jan-2012 [10729] | 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. |
older newer | first last |