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

World: r3wp

[View] discuss view related issues

Anton
19-Oct-2005
[2905]
site: select load-thru http://www.reboltech.com/index.r[folder "Anton"]
clear find site %index.r
foreach url [
	site/gui/mimic-do-event.r
	site/library/window.r
	site/library/stack.r
	site/gui/shell-list.r
	site/gui/percent-progress.r
][
	read-thru/update do url
]
do http://www.lexicon.net/antonr/rebol/gui/demo-shell-list.r
Volker
19-Oct-2005
[2906]
That could be in a download-script onthat site itself? :)
Anton
19-Oct-2005
[2907]
Yes, I know. But there are issues.
Volker
19-Oct-2005
[2908]
Hu?
Anton
19-Oct-2005
[2909]
When I test locally, I do not want to download files I already have 
each time, do I ?
Volker
19-Oct-2005
[2910]
No, why should you? You would not use the download-script then?
Anton
19-Oct-2005
[2911x2]
I am trying to be minimalist here. I don't want to have a download-script 
for every demo I have. That will end up in hundreds of extra scripts. 
I would like to move that functionality into my replacement include 
system, which is still in progress.
... and which is on hold because I wanted to use shell-list for it.....
Volker
19-Oct-2005
[2913]
simplest way: have a clear-my-site. then all downloads are fresh.
Anton
19-Oct-2005
[2914]
I could do stuff like that, but I am a perfectionist, reluctant to 
admit there might be a simple way that's good enough for now. But 
I'm coming round... :)
Volker
19-Oct-2005
[2915]
Just sharing my latest experience :)
Anton
19-Oct-2005
[2916x2]
My original thought process was that I don't want to automate the 
deleting of files in the cache, on my computer or someone else's. 
I think if the user wants to delete their files, they should do it 
themselves. I don't want to get involved in any data loss.

So I thought it preferable to do an intelligent update. But for that 
I need an intelligent interface... -> shell-list.
Shell-list is designed to be highly flexible and configurable, for 
maximum code re-use. I didn't like the thought of writing a new custom 
list for every program.
Volker
19-Oct-2005
[2918x2]
I use cache more like, uhm, cache now. like a browser. before leaving 
data is cleared.
advantage, besides simple: I have only the used files in cache. and 
since i can upload too by a filerequester, having only used files 
there helps.
Anton
19-Oct-2005
[2920]
Note to everyone: shell-list is nowhere near finished, but the hook 
system I use to iterate those styles is so significant to me I have 
to make a demo of it.
Volker
19-Oct-2005
[2921]
except for large files, i have to do some "dont-delete" for them.
Anton
19-Oct-2005
[2922]
Mmm... in practice it may work ok, your system. But it begins to 
make unclear to the user what is in his computer.
Volker
19-Oct-2005
[2923]
everything since last deletetion? or the "keep big files"?
Anton
19-Oct-2005
[2924]
I would like, when I get some of Volker's files, that they stay where 
they are, not disappear sometimes.
Volker
19-Oct-2005
[2925]
then dont clear the cache. and they are on the website for redownload.
Anton
19-Oct-2005
[2926x2]
umm..
Anyway, let's not argue about this here; we could discuss this all 
night. :) I would much prefer people to talk about the iterated buttons. 
:)
Volker
19-Oct-2005
[2928x2]
i prefer not to have version-conflicts. changed something in cache, 
worked on another computer, had same (old file) there and nearly 
uploaded that. no problem when cache is cleard first.
They have to get them first painless! But you are right. :)
Anton
19-Oct-2005
[2930x4]
I understand, really I do. :)
I'm working so hard to solve all these things...!
What I need, to continue with shell-list, is some extra hooks in 
the View system. I need to be able to hook each call to feel/redraw. 
This means a hook in SHOW and probably other places too.
I might also need access to view system's internal "timer-list" - 
this is the list of faces with rates which need time events sent. 
I at least need to know when this list changes, which as far as I 
know only happens when SHOW is called.
Volker
19-Oct-2005
[2934x2]
tSoo, what are we talking now, except of "Hey, it works"? :)
WIll that be part of rebols opensourcing?
Anton
19-Oct-2005
[2936x2]
Due to this project, I would *LOVE* to see what SHOW is doing.
Yes, the demo is not very impressive looking, I admit. There are 
no flashing lights or fancy graphics.

(though I can easily add some interesting variations for each iteration.)

It doesn' t look any different from a window with some normal buttons 
or toggles in it.

But, in a way, that's the point. You, the user of shell-list, should 
not have to care at all what you throw into the iterated-layout. 
It should just work as it would inside a normal layout. That's the 
beauty. The buttons look and interact like normal buttons.
Volker
19-Oct-2005
[2938x2]
Oops, did not mean "impressive".
argh. Meant my comment was not about "not impressive".
Anton
19-Oct-2005
[2940]
no offence
Volker
19-Oct-2005
[2941x3]
More, what do we do with it now? About using it, building demos, 
maybe 10000 buttons in a row or such things. Where doyou want to 
go with us?
I guess it would be a good base for a spreadsheet?
where faces are to expensive when it gets big.
Anton
19-Oct-2005
[2944x2]
Good question. The idea of shell-list is to make things simpler. 
It should be *easy* to make lists of things.
Why do I publish it now, when it's still in such an early stage ?
I guess I am hoping for a bit of attention. I will need some changes 
to the View system or it will not be able to work perfectly. Right 
now seems not a good time with rebcode just released, but this seems 
so fundamental to user interfaces to me I think it's more important. 
Everything always seems to lead back to the list.
Volker
19-Oct-2005
[2946x2]
Maybe right time. rebcode goes speed, iterated lists goes memory.
Maybe it could also help with this half-implemented set-face/get-face 
of panels? saving and reloading the displayed contents?
Anton
19-Oct-2005
[2948x2]
I'm not sure about that.
Although, maybe it could. The facets I have discovered (and will 
continue to discover) which are used in shell-list ("default-iterates" 
block), could be used for set-face/get-face of panels.
Volker
19-Oct-2005
[2950]
Maybe we could have some face-dialect?
 get-set: [/auto text data /explicit color [set-code][get-code]
Anton
19-Oct-2005
[2951]
for use where ?
Volker
19-Oct-2005
[2952x2]
to declare the related facets in style.
if some facet is calculated, it could declare that in the /explicet-part. 
but maybe to complex.
Anton
19-Oct-2005
[2954]
You mean when using set-face/get-face ?