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

World: r3wp

[View] discuss view related issues

Henrik
27-Oct-2005
[3055x2]
sure, but I would like to keep it public
so all rebolians will benefit :-)
Volker
27-Oct-2005
[3057]
Me too. I usually "blog" my files on my wiki.
Henrik
27-Oct-2005
[3058]
it would be nice to be able to search something, doubleclick on a 
line and the editor opens and jumps to the right line... also if 
it could be incorporated the same way as we use request-file, request-dir 
and others
Volker
27-Oct-2005
[3059x2]
Thats what i am thinking. i had a goto-caret with editor working 
once. Only forgot inwhich project.
if i do omething, its here: http://polly.rebol.it/test/test/code-navigation/
Henrik
27-Oct-2005
[3061]
ok, thanks. will keep an eye on it :-)
Luca
28-Oct-2005
[3062]
Could anyone point me where /View manage the tab key to let  the 
focus move through the fields in the pane?
james_nak
28-Oct-2005
[3063]
Gabriel wrote this:
Add a face/refocus function.

   face/refocus: func [shift] [
      ; shift is true if this is shift-tab
      ; do your own refocus handling here
   ]


This  should  be  enough to solve most of your issues. In the past

(View  1.2.8)  there  were  even  more problems, so that I wrote 
a

number  of  patches  and  a Field style that *never* handles focus
automatically. So I could validate and handle focus myself.

http://www.mail-archive.com/[rebolist-:-rebol-:-net]/msg02722.html
DideC
28-Oct-2005
[3064]
TAB key is handle in ctx-text/edit-text. It is used only in face 
that input text (field & area) and works with the 'tabbed flag.
Louis
28-Oct-2005
[3065]
Why do I sometimes get several blank lines when I use return? How 
can I just get a return?  I'm using the beta SDK.
MikeL
30-Oct-2005
[3066]
Anybody working on a Rebol View version of Sudoku? http://www.dailysudoku.co.uk/sudoku/index.shtml
Sunanda
30-Oct-2005
[3067]
Sudoku: Two people in the last month alone:

http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-topic-detail.r?l=s&topic={55E4B9405FC4B313E9233E7B20E17EC08B5AC37D}
Luca
31-Oct-2005
[3068]
James, DideC - Thank you!
MikeL
31-Oct-2005
[3069]
Thanks Sunanda. That AGG Sudoku by James is very nice. It needs some 
bells and whistles like undo as well as the Functions mentioned in 
the script - like help, solve, hint but very nice effort.
james_nak
31-Oct-2005
[3070]
This is a view/core issue but I place this here since it's showing 
up in View. I've recently changed hosting companies and not one of 
my apps doesn't like the email authentication like it did before. 
I noticed that a while back there was a discussion about this before 
the esmtp was placed into view (esmtp.r and esend.r + the patch). 
I'm getting this:
** User Error: Server error: tcp 535 auth failure
** Near: smtp-port: open [scheme: 'esmtp]
either only

This is one of those "but it was working before" issues. Perhaps 
one of you has run into this. BTW, both Outlook and webmail seem 
to work OK though even Outlook was a little slower yesterday connecting 
to the server. Thanks as always in advance.
DideC
31-Oct-2005
[3071]
A "trace/net on" dump can help to narrow the cause, maybe.
james_nak
31-Oct-2005
[3072x2]
yes, I'll try that now.
Thanks DideC. That trace helped me to find the error of my ways. 
I think it used to work because it wasn't really being authenticated. 
Now that it is, I had to be very precise on the info I was sending 
(which was actually wrong in the previous versions)
Terry
1-Nov-2005
[3074]
Why is it when I run this code using  rebview1350031.exe, i get the 
rebol "working" logo spinning continuously?

view/new layout [box 100x100 blue]
Graham
1-Nov-2005
[3075]
you shouldn't get any thing since you have started the wait
Terry
1-Nov-2005
[3076]
Im DOing it from an older script that uses async.. I think it's messed 
it up somehow
Graham
1-Nov-2005
[3077x2]
the rebol working logo went long ago.
but I recall sometimes it attached to new windows rather than staying 
with the original window
Terry
1-Nov-2005
[3079x3]
yeah, that's what's happening.
Can't unview either.
Looks like an extensive debugging/rewrite... ack.
Luca
2-Nov-2005
[3082]
Anyone wrote a patch/program to access .htaccess protected urls?
Volker
2-Nov-2005
[3083x2]
http://user:[pass-:-server]
or a tool to build such a path?
Luca
2-Nov-2005
[3085]
Well, I'd like the HTTP schema to prompt for a user/pass if the webserver 
require them.
Volker
2-Nov-2005
[3086]
AH. Do not know how to do that.
Luca
2-Nov-2005
[3087]
I mean, like a browser does.
Volker
2-Nov-2005
[3088]
I understand. but i do not now how to trap that question.
Luca
2-Nov-2005
[3089]
I wrote a small patch to the HTTP schema to read urls protected by 
basic authentication.

It works for me but I don't know if it works with each webserver 
configuration.

Since it writes your %user.r to make the patch permanent, be careful 
to have a look at it before to execute it.

Any suggestion is appreciated: http://www.truffarelli.it/rebol/view/http-patch.r
Gabriele
3-Nov-2005
[3090x3]
I would do it this way:

1) Attempt to read the URL, with a TRY

2) if there's an error, check if it is an authorization required 
error
3) if so, ask the user for credentials
4) go back to 1
Asking the user should not be done on the protocol side, but on the 
application side.
the protocol should make it easier for the user to figure out what 
kind of error is when one happens, though. http:// surely needs improvements 
on this front.
Luca
3-Nov-2005
[3093x2]
I agree with you. I thougth to modify the schema because I need to 
access files (basic auth protected) from the /view desktop. So I 
don't have any application running yet, probably I have to modify 
the ctx-viewtop insteed.
insteed=instead :-)
Volker
4-Nov-2005
[3095]
IMHO passwords belong into the protocol. 

- If possible they should never be exposed to the application. More 
like browsers do, with a password-manager. Unfortunally that is not 
really possible with rebol.

- urls go thru multiple layers. after read-thru you dont have any 
error-information.
Luca
4-Nov-2005
[3096]
Actually the 401 error (Unauthorized) and the HTTP Authentication 
are mentioned in the RFC 2616 - Hypertext Transfer Protocol. So maybe 
the HTTP should manage it, and it actually manages ithem a call to 
http://user:[pass-:-server] works fine: However, in my opinion, would 
be very useful if /View would manage user/pass when it access authorization 
required urls.
Volker
4-Nov-2005
[3097]
I use http://polly.rebol.it/test/test/desktop/test-desktop.rfor 
my own site, there you can specify passwords for base-urls. but all 
hardwired still.
Henrik
7-Nov-2005
[3098]
I'm trying to solve a performance problem with lists that uses a 
supply function. Mouseovers are dog-slow because every time the mouse 
gets over a row, the entire list view is regenerated by the supply 
function. the supply function redraws the list and truncates values 
so they fit in cells, paints backgrounds according to cell contents, 
etc. Lots of stuff and slow.

I'm looking for a way to discern between that I want to show the 
entire list and when I'm just doing a mouse over, so the supply function 
only changes the colors of the affected rows. Ideas?
Louis
7-Nov-2005
[3099]
I have two money fields in the same view window. I would like for 
the contents of the first field to be automatically be copied to 
the second field. But the second field must then be able to be changed 
if necessary without affecting the first field.  Would someone please 
show me how?
Graham
7-Nov-2005
[3100]
just use a function block attached to the first to copy to the second.
Louis
7-Nov-2005
[3101]
Been trying for an hour or so to do that with no success. With a 
text field I can do it, but I haven't been able to get it to work 
for a money field. A simle example is what I need, I think.
Graham
7-Nov-2005
[3102]
what is a money field ??
Louis
7-Nov-2005
[3103]
Holds money ( for example $1.00), not a string.
Graham
7-Nov-2005
[3104]
fields only hold text strings.  so, you are doing it already.