World: r3wp
[RAMBO] The REBOL bug and enhancement database
older newer | first last |
JaimeVargas 26-Jan-2007 [2591] | Ladislav, I wonder if your task will be easier if you have an semantic model for the language instead of trying to create a coverage test set. |
Ladislav 27-Jan-2007 [2592] | Another question worth asking: I can agree that it is useful to obtain TRUE from equal? 0.1 + 0.1 + 0.1 0.3, although zero? 0.1 + 0.1 + 0.1 - 0.3 cannot yield TRUE due to the limitations of 64-bit IEEE754 floating point format. On the other hand the STRICT-EQUAL? and/or SAME? functions may be stricter. E.g. my IDENTICAL? function (see above) is the most strict possible in that respect and yields FALSE. |
Volker 27-Jan-2007 [2593] | AFAIK equal? in rebol is relaxed and does a range-check. For close-to-zero. And 'equal? is the relaxed version. 'strict-equal? should not. IMHO. |
Ladislav 27-Jan-2007 [2594] | that is my understanding too. what about SAME?, where would you like to see that in the strictness scale? |
Volker 27-Jan-2007 [2595x2] | even more strict than 'strict-equal? :) |
may break with save/load because of conversion-errors, but if i use that i know what i do. | |
Ladislav 27-Jan-2007 [2597x2] | actually, e.g. for decimal! values there *is* a way how to suppress the conversion errors |
(we only need 17 digits instead of 15) | |
Volker 27-Jan-2007 [2599] | AFAIK this periodical things may clash. like 1/3. There are values which work perfectly with one base and have periods in another. and then there are never enough digits. But i may thinking wrong. |
Anton 29-Jan-2007 [2600x6] | I am going to submit a request to implement para/margin/y |
any comments before I do ? | |
This is to allow a SCROLLER at the bottom, inside an AREA. | |
Currently, I suppose the text is clipped at the bottom edge of the face. I propose to now clip the text at the bottom edge minus para/margin/y | |
para/margin/x currently works when para/wrap? == true, but not when false. I would also propose that text is clipped when para/wrap? == false. These changes together guarantee the margins whether the text is wrapped or not. | |
.. and so scrollers can be placed in the margins. | |
Chris 29-Jan-2007 [2606] | What do you mean by 'text is clipped'? Would the margin not add on to the end of the longest line? |
Anton 29-Jan-2007 [2607x3] | I suppose the View font rendering system does not render and more lines of text after the bottom edge of the face has been reached, and the result is clipped to the size of the face. I propose clipping the text back a bit more by para/margin/y, so that there is a visible gap between the last line of text and the bottom edge of the face. |
oh I see what you mean.... | |
Ah I remember now. It's a bugger. I keep reaching for an "inner-gap" to provide space for scrollers and then trying to bend the para/margin functionality to accomodate this. But my changes would probably break text-size calculation and other things.... | |
Anton 31-Jan-2007 [2610x2] | Bug #4161 "Cursor movement screwed up if field is right aligned" It would be great if this were fixed. |
I want a new View 2.7 build with the home/end/page-up/down keys fixed. | |
Oldes 1-Feb-2007 [2612] | I want R3 alfa to play with:) You must wait. |
Henrik 3-Feb-2007 [2613x5] | do load insert tail [] reduce ["12" 'to 'time!] |
note that 'head is omitted on purpose. It crashes REBOL without 'head. | |
do load tail ['a] Actually this seems to be enough to crash it. | |
I don't see this in RAMBO. | |
RAMBO'ed | |
Anton 3-Feb-2007 [2618] | Nice one. I seem to remember a bug like this a long time ago, though. |
Gabriele 6-Feb-2007 [2619x2] | if you find anything that is broken in the 2.7 releases but worked fine on 1.3 please let me know. |
(key events bug is already known) | |
Ladislav 6-Feb-2007 [2621] | the load "#[function! [] []]" bug is know too, but anyway, I am reminding it here |
Anton 6-Feb-2007 [2622] | I haven't found much else wrong. |
Anton 7-Feb-2007 [2623] | This is a problem that has occurred since View 1.2.100 or before (but seems not a problem in View 1.2.48 or 1.2.54) I see a difference between these two: request-file/keep request-file/keep/file %hello The first one remembers the directory of previous invocations, but the second one doesn't. I think when the /FILE refinement is used, it just ignores the previous directory, reasoning that the user is passing in the "current directory" via %hello That seems simplistic. I would prefer if REQUEST-FILE would check the /FILE refinement's NAME argument to see if it contains a path or is just a single file. When it is a path, then it is OK to use it. When it is just a single file, then it should use the previous directory. |
Gabriele 7-Feb-2007 [2624] | Anton, if that applies to 1.3.2 too, then please make sure it is in RAMBO. |
Pekr 7-Feb-2007 [2625x3] | is there going to be official 2.7 release soon or what? |
dunno if RAMBOed, but there is a difference in callback! vs callback between 2.6 and 2.7 | |
and I hope timezone gets fixed finally after all those years | |
Anton 7-Feb-2007 [2628x2] | Gabriele, yes it does apply to 1.3.2 and also 2.7.5 |
Ok, posted bug report. | |
Gabriele 7-Feb-2007 [2630] | Petr: first of all, we don't want 2.7 to introduce new bugs. (2.7 is a merge of a number of branches of the code - Carl really needed to do this to simplify things - so there are many things that can break in such a scenario). Then, we want it to fix a few bugs too. :) |
Pekr 7-Feb-2007 [2631] | but we want 2.7 to fix certain bugs, no? |
Gabriele 7-Feb-2007 [2632] | of course. as i said, first we must remove the bugs introduced by the merge, then we start fixing bugs that were in 1.3.2 already. |
Ladislav 7-Feb-2007 [2633] | Gabriele: I noticed that two ROUND test cases ceased to work in 2.7 - this signals, that comparison in 2.7 isn't equivalent to comparison in 1.3.2 |
BrianH 7-Feb-2007 [2634] | Is it better? |
Ladislav 7-Feb-2007 [2635] | Brian: if your question is related to my post, then I would answer: it depends. The cases are: not negative? 1E-8 - abs 0.9999999 - mod 99999999.9999999 1 0.1 == round/even/to 0.1 1E-16 |
BrianH 7-Feb-2007 [2636x2] | Dang, I'd have to refresh my math memory to know what the answers to those should be. Still, my preference is to have comparison work correctly, and if it didn't before, break backwards compatibility and fix the code that depended on the bad comparisons. There can't be much of that... |
Err on the side of more correct :) | |
Ladislav 7-Feb-2007 [2638x2] | my preference is to have comparison work correctly - this may be a matter of preference, as it looks. Both versions yield: 0.1 + 0.1 + 0.1 = 0.3 ; == true zero? 0.1 + 0.1 + 0.1 - 0.3 ; == false |
:-) | |
BrianH 7-Feb-2007 [2640] | Where are fixed-point or BCD numbers when you need them? :) |
older newer | first last |