r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[RAMBO] The REBOL bug and enhancement database

Gregg
26-Jul-2005
[936]
In the works Anton. Thanks!
Anton
26-Jul-2005
[937]
Thank you, Gregg.
Graham
26-Jul-2005
[938x2]
well, the new rebcommand finally crashed on me too though took much 
longer than previously.  Usage jumped to 50% as before and stayed 
there.  I guess on a non hyperthreaded cpu, it would have jumped 
to 100%.
It's looking like I need to ditch odbc and move to using doc's mysql 
instead.
Anton
27-Jul-2005
[940x5]
Thanks again Gabriele. Even though I've read that document several 
times over the years, and styled many widgets, somehow I kept getting 
confused by OVER. It was that particular phrase "The over function 
is called whenever the mouse pointer passes over or off of a face." 
Every time I re-read it I believed it :)
Anyway, now the doc is fixed I feel a lot better.
Gabriele, #3112 shows a different issue and should not be dismissed. 
(I admit my last bug report was a little bit crazy, and I'm sorry 
about that.)
Ach! too hasty again. That issue can be solved by using OVER in combination 
with DETECT.  That misunderstanding was caused by the same wording 
in the documentation of OVER. I will make an example for that too.
Actually, maybe I am not too hasty. I am struggling to come up with 
an example that works as I want with the help of DETECT.
sqlab
27-Jul-2005
[945]
Jaime: Unfortunately I will not have so much access to the data and 
the time to anonymize it the next days for familial reasons.
When I am back, i will go on.
Gabriele
27-Jul-2005
[946x2]
#3112 was dismissed by Carl, so I guess he knew what he was doing. 
:-)
(or he was too quick too, i'll ask him anyway.)
Anton
28-Jul-2005
[948x4]
Thanks Gabriele! This is actually a burning issue for me!  I felt 
a bit ignored by that.
Anyway, I have been researching, and I found the bug note:
	http://www.rebol.com/docs/view-system.html

 "Bug Note: On current versions of REBOL, the event/face within the 
 detect function

 is not set to the proper value. It should indicate the target face 
 of the event, 
	not the face in which the detect event is used."


 If that is fixed, then it should be possible to filter conditionally 
 to face or subfaces,
	eg.

		detect: func [face event][

   if face = event/face [event] ; return event for this face, but none 
   for subfaces
		]


 and hopefully if a face does that, then it should get all 'over and 
 'away events, 

 regardless of subfaces. That is, to be able to know at any time whether 
 the mouse
	is in its rectangular area or not.
So I'm just going to check, but there should be a bug tracker item 
for this bug.
I searched for "detect" and did not find a ticket. So I will make 
one.
Ok, submitted a ticket.
Volker
28-Jul-2005
[952]
i think then detect should get both faces? also, isn't the source-face 
somewhere in the event? (asking, i am no expert there)
Gabriele
29-Jul-2005
[953x2]
about #3112: "BTW, the reason I dismissed it is because his test 
example seems invalid. He needs to add an over feel to the face in 
the pane.


There may be one issue however... which is that when moving from 
blue back to red, a FALSE over action does not occur.  However, have 
him submit with short and precise description and an example that 
does not use VID. (He can cut and paste the similar over example 
from the doc then modify it.)"
(quote from Carl
Anton
29-Jul-2005
[955x3]
OK, excellent feedback. I have been doing just that the last couple 
of days, following the style of the new documentation.
About the example being invalid. The subface has no feel intentionally 
by me. It is my opinion that the box face should not care about faces 
lower down in the chain in order to detect if the mouse is over itself 
or not.
OK, I'm going to do more preparation so I have the clearest example 
ever. :)
Volker
29-Jul-2005
[958x5]
binding problem when making objects from objects:
probe system/version
c1: context [dmy: 0 v1: 1 f: does[v1]]
c2: context [dmy: 0 v2: 2 f2: does[v2]]
c3: make c2 c1
probe c3/v1 probe c3/v2 probe c3/f probe c3/f2
print"other way round"
c3: make c1 c2 
probe c3/v1 probe c3/v2 probe c3/f probe c3/f2
2.6.0.4.2
1
2
2
2
other way round
1
2
1
1
the results of the functions are wrong. they take always the first 
value in the object, where the word was on construction. not the 
index the word has after the make.
rambo?
Gabriele
29-Jul-2005
[963]
seems a bug to me.
Volker
29-Jul-2005
[964x2]
i go reporting.
done
Anton
31-Jul-2005
[966]
Yep, looks that way.
Ladislav
31-Jul-2005
[967]
since when was this make c2 c1 or make c1 c2 possible? (I thought 
that the second arg had to be a block?)
Sunanda
31-Jul-2005
[968]
The 2nd arg is an integer when making many other datatypes (usually 
meaning the amount of space to allocate for it initially)

   make block! 2222    ;; block with reserved space for 2,222 entries.

3rd arg needed in some cases too:
f: make function! [a b] [print a + b]
Volker
31-Jul-2005
[969]
Don't know when, but old. IIRC older than 'construct. in a way its 
the predecessor of construct/with . And as such, with only data, 
there is no problem anyway. but can be used to merge objects too, 
kind of multiple inheritance. i thought.. ;)
Gabriele
31-Jul-2005
[970]
Ladislav: it's on view 1.2.1 too. so I guess very old.
Ladislav
31-Jul-2005
[971]
apparently nobody used it, because this error never showed up
Volker
31-Jul-2005
[972]
I used it primarily for data, to add default fields. 
 item: make context[ defaults ] load %item.r

there are no functions, so no problem. now thats construct/with, 
even no binding nowhere :)
But lately i did something obscure and it drove me made..
sqlab
1-Aug-2005
[973]
Rambo #3869 "** CRASH (Should not happen) - Invalid string width 
16 : type 41" 

sounds very similar to the problem I have with cmd. Just that I have 
to wait a few thousand messages and at least two days for one crash.
Sunanda
1-Aug-2005
[974]
Izkata has found a way to speed up your bug 1,000% :-)
Izkata
1-Aug-2005
[975]
-.-'
Ammon
1-Aug-2005
[976]
The /part refinement of copy requires a number! series! or port! 
value.  But it seems that it should be able to accept a NONE value 
as well.
Oldes
4-Aug-2005
[977x2]
is this known bug?:
>> parse/all {" x} ""
== [" x"]
>> parse {" x} ""
== [" x"]
Volker
10-Aug-2005
[979x2]
linux-1.3: nameclash: /link wants ~/.rebol as file. /view now wants 
a directory there. I guess we have to rename, ~/rebol.d ?
At least until a /link-1.3 is out.
[unknown: 10]
10-Aug-2005
[981x5]
Linux 1.3 Beta -> do read http://www.rebol.net/tests/arc-angle.r
 does work strange on [arc 100x100 90x90 0 0 closed]
Linux 1.3 Beta -> startup reports this -> 

** Access Error: Cannot open /home/usersx/.rebol/view/desktop/filetypes.r
** Where: init-desktop-files
** Near: write path join {REBOL [Title: "File Types"]
} mold/only
>>
Looks like view is faster in 1.3 ??? :-)
Linux 1.3 Beta -> I need to give an extra do-events for view actions 
to make a face...
Linux 1.3 Beta -> do read http://www.rebol.com/view/demos/tiger-boom.r
Is dammmm sharp ...nice!