AltME groups: search
Help · search scripts · search articles · search mailing listresults summary
world | hits |
r4wp | 5907 |
r3wp | 58701 |
total: | 64608 |
results window for this page: [start: 44101 end: 44200]
world-name: r3wp
Group: !RebGUI ... A lightweight alternative to VID [web-public] | ||
Pekr: 9-Apr-2007 | now if area could scroll by hiliting by mouse, most "bugs" would be fixed for me :-) Well, not me, it was Bobik who reported it to me, as for me, being keyboard guy - I am ok with ctrl + A :-) | |
PeterD: 9-Apr-2007 | Can I use multiple level sort on a table? If yes how? | |
Graham: 10-Apr-2007 | For those who are not developers, Ashley offers a download on his site. | |
Graham: 10-Apr-2007 | If that is too hard ... well, I think someone has a problem. | |
Ashley: 10-Apr-2007 | Note that the easiest way to grab the latest SVN build (without using any client s/w) is via a simple REBOL script like this: write %rebgui.r read http://trac.geekisp.com/rebgui/browser/rebgui.r?format=raw write %tour.r read http://trac.geekisp.com/rebgui/browser/tour.r?format=raw %rebgui.r (the complete merged distribution sans %tour.r) is now regenerated and uploaded every build. | |
PeterD: 10-Apr-2007 | Pekr,Graham,Henrik,Ashley, all of you, Thanks for your help and interest. Everything is sooo new and there is a lot of it. I am to "new" to help with the development part, however I can play and test. Just want to make sure I use the "latest and greatest" I used to download from Ashley's site until I realized that I'm 2-3 build behind. I will RebolAutomize thinhs as I go and hopefully catch up with you. Best regards A newly Rebolized Peter | |
PeterD: 10-Apr-2007 | Any of you gurus feels a need for a multi-level-sort-table ? I need one and hopefully I'm not alone ! I have a lot of data with a lot of same values in some columns, no simple sort will do what I need. For right now a simple hard coded: first by Col1, than by Col2 and so forth will do. A more elegant and flexible [sort-definition] can follow later. Cheers | |
btiffin: 10-Apr-2007 | A little more >>echo %trace.txt >>trace on >>do %rebgui.r >>echo none Trace: echo (word) Trace: none (word) Trace: if (word) Trace: port? (word) Trace: system/ports/echo (path) Result: true (logic) Trace: [ close system/ports/echo system/ports/echo: none ] (block) Trace: close (word) Trace: system/ports/echo (path) REBOL Internal Error: Stack overflow Program terminated abnormally. This should never happen. Contact www.REBOL.com with details. | |
Ashley: 11-Apr-2007 | post your code ... I suspect it was as simple as adding a fiew widget names into behaviors/tabbable via request-ui posts an improvement leading to 3x speed increase ... where? | |
Steeve: 11-Apr-2007 | the first 'sort in your train function consume a lot of time | |
Ashley: 11-Apr-2007 | And a good collection of bin files would be located at? | |
Steeve: 11-Apr-2007 | just take a book well writed | |
Steeve: 11-Apr-2007 | take a classic | |
Steeve: 11-Apr-2007 | use books.google.com to find a good one | |
Ashley: 11-Apr-2007 | ? It's less than a dozen lines of code! | |
Ladislav: 12-Apr-2007 | steeve: don't forget, that the 1s difference in TRAIN speed does not actually matter, since it is just a dictionary preparation. What matters is the speed of the CORRECT function | |
Ladislav: 12-Apr-2007 | Soundex is a language-specific algorithm, unfortunately | |
Ashley: 12-Apr-2007 | Looking at the new algorithm again, a lot of effort goes into weighting word use (the values block) which in turn is only used in one place ... to determine the "best" candidate replacement. Given that a spell-checker just needs to return a sorted candidate list and the remainder of the algorithm handles this quite well, I'd be quite happy with a cut-down version that excludes the whole dict/values logic. That way I could use the existing dictionary files I have sourced (sans soundex codes). | |
Graham: 12-Apr-2007 | So, to create a specialized dictionary, you can train it on eg. a medical text ? | |
Ladislav: 12-Apr-2007 | I suppose medical text can contain a lot of latin words e.g. | |
btiffin: 13-Apr-2007 | Isn't that just look up and highlight...quite a bit easier/faster than offering corrections? | |
Ashley: 13-Apr-2007 | how easy it would be to do real time spell checking ... with a cut-down version of Ladislav's code (mainly limiting edits to one char distance) speed is no longer an issue. I'm looking at using draw to red underline all spelling errors in a text face and then only popping up the spellcheck box on right-clicking a misspelled word. Problem is synchronizing red underlines with scrolling. R3's rich text support would make this trivia [by comparison] to implement. | |
Ashley: 13-Apr-2007 | The source code for area is here: http://trac.geekisp.com/rebgui/browser/widgets/area.r?format=raw feel free to propose a solution. | |
Steeve: 13-Apr-2007 | or define a dialect for this purpose | |
Steeve: 13-Apr-2007 | the issue is not to create synchronisation but to have a good interface | |
Ashley: 14-Apr-2007 | process-keystrokes has been inlined into the display function. This fixes those errors where typing while the focus is on a button placed the characters into the previous field/area with focus. | |
Ashley: 14-Apr-2007 | Are these global in nature or specific to a display? | |
Graham: 14-Apr-2007 | I have one password entry screen, then a status window, and then before the main window pops up, I get this error. | |
Ashley: 14-Apr-2007 | Is that a critical widget for you? | |
Ashley: 14-Apr-2007 | chart, drop-tree, grid & input-grid need a bit of work to get them working again with Beta 2. | |
Ashley: 14-Apr-2007 | Not a bad idea. How do you specify them (i.e. if not via a display refinement then where/how)? | |
Ashley: 14-Apr-2007 | F1 - F12? Do you have a sample of the code you've had to add back? | |
Graham: 14-Apr-2007 | BTW, in chat.r, in a multi line text message, the blue divider cuts across the first line of text | |
Graham: 14-Apr-2007 | If there is a lot of text, it won't display all the text in a message | |
Ashley: 14-Apr-2007 | So a 'set-message-text accessor? | |
Graham: 14-Apr-2007 | I think it's nice to have an addition column for a message id. | |
Graham: 14-Apr-2007 | Otherwise , if you try and refer to a particular message .. you can't.. except by pointing to a datestamp which may be different depending upon which time zone you're in. | |
Graham: 14-Apr-2007 | I think with Altme, each message is followed by a font block etc. | |
Graham: 14-Apr-2007 | so, each colum of data is then followed by a block that specifies the font, background etc. | |
Graham: 14-Apr-2007 | Which might be a bit of overkill ... | |
Ashley: 14-Apr-2007 | Remember we are in a public group. You may want to take this private? | |
Graham: 14-Apr-2007 | I basically wrapped a gui around other peoples' code :) | |
Graham: 14-Apr-2007 | spellchecker is a must though :( | |
Ashley: 14-Apr-2007 | Although not ideal, you can always force a spellcheck with: ... button "Submit" [ request-spellcheck my-area ... ] But check-as-you-go is where it needs to be. | |
Graham: 14-Apr-2007 | and in a chat screen, you don't normally need to scroll the text in the reply area .. | |
Graham: 14-Apr-2007 | How do you make a display stay on top without making it modal ? | |
Graham: 14-Apr-2007 | Ok. I added a /options to display previously ... | |
Graham: 14-Apr-2007 | I've had a search on the internet and can't find the dbase template syntax. | |
Graham: 14-Apr-2007 | I have the Ashton Tate Advanced Programmer's guide which describes it, but I'll have to find a scanner and scan the pages in. | |
Ashley: 15-Apr-2007 | Build 78 uploaded to SVN. Includes the following additions: 1) New chat widget chat data ["Bob" none "Comment." yello 1-May-2007/10:00:00 2) New on-fkey handlers ctx-rebgui/on-fkey/f3: make function! [face] [...] 3) Soundex spellcheck logic replaced with new algorithm as discussed above 4) New, smaller, dictionaries (sans soundex codes) to be uploaded within the next few days 5) request-font enhanced (now has multiple refinements) 6) %tour.r updated Note that the chat widget has a known display problem when it appears on a tab or is resized. The fix, adding a 'show in its feel/resize, appears to eat other widgets resize events. Not sure if this is a REBOL/View bug or not. Anyone who knows of a fix please speak up! | |
Ashley: 15-Apr-2007 | chart, drop-tree, grid & input-grid need a bit of work to get them working again with Beta 2. | |
Robert: 15-Apr-2007 | Ok, we take a look at them. | |
Ashley: 15-Apr-2007 | Off the top of my head these are some of the things needed to be done: 1) Code a rebind func where applicable to handle dynamic UI changes (e.g. color) 2) Assign a string! to 'tip so my audo-doc system can pick it up (look at table.r for an example) 3) remove redundant ctx-rebgui/ qualifiers 4) check for global namespace pollution 5) Avoid having the widget dependent upon %rebgui-edit.r hard-coded widget handling code ... I've removed all the widget specific stuff (apart from button) ... If the widget *really* requires other changes then we need to talk and find a way of making such changes "generic" 6) References to 'action, 'alt-action, 'dbl-action need to be changed to use the new action object (e.g. action/on-click, action/on-alt-click, action/on-dbl-click) 7) Use (and possible extension) of the standard RebGUI UI objects: colors, sizes, behaviors & effects 8) Use (and possible extension) of the standard widgets objects: default-* 9) Removal of accessors/options that are unlikely to be used (.e. KISS principle) That's probably enough to start with. ;) | |
Graham: 15-Apr-2007 | Has the layout engine changed? I'm using some custom widgets derived from text and field ( just preset sizes, and content ), and now when I display them, there is a large vertical space following 'return to the next widget. This is only in beta2 | |
Ashley: 15-Apr-2007 | Minor bug fixes and enhancements. Two related specifically to 'at and 'after (the later now always triggers a newline). Also have a look at: http://www.dobeash.com/RebGUI/user-guide.html#section-4.2 http://www.dobeash.com/RebGUI/user-guide.html#section-4.3 which provide easy ways of making small changes/variations. Of course it's quite possible you've hit a bug in the layout logic, can you reproduce the layout problem just using the box widget? | |
Ashley: 16-Apr-2007 | Is the chat error on initialization or when you try to add a message? | |
Graham: 16-Apr-2007 | I've got a widget named 'outcome defined as outcome: make text [ size: 0x5 ] | |
Graham: 16-Apr-2007 | there is a large vertical gap ( twice normal ? ) between the two visible widgets | |
Graham: 16-Apr-2007 | Ashley, would you provide a working example of using the function keys ? I'm having difficulty getting it working. | |
Graham: 16-Apr-2007 | A merge of my changes with your latest | |
Graham: 16-Apr-2007 | checking out a new version now | |
Graham: 16-Apr-2007 | BTW, would it be okay to add caret support to spinner so that we can change a single character? | |
Ashley: 16-Apr-2007 | text (derived from label) is trying to protect you from: text 10 "A really long bit of text that should wrap even though I didn't specify 10x-1" but the problem is that if you specify 10x5 then it should honor that regardless of whether the text fits or not. The solution, I think, is to change the default size from -1x5 to -1x-1 but ensure that size/y is always a min of sizes/line. | |
Graham: 16-Apr-2007 | I get a red line, which is deeper than specified | |
Graham: 16-Apr-2007 | I'm using these hidden widgets to controll the low, high range of acceptable values in a widget, and to provide them with database field names | |
Graham: 16-Apr-2007 | It allows a user to define a template like this: label "Tender joint count? (0-28)" outcome "tender28" ifield low-range "0" hi-range "28" return | |
Graham: 16-Apr-2007 | so, outcome refers to the database field, and the user has integer field for the data, with a low range of 0, and a high range of 28 | |
Graham: 16-Apr-2007 | I guess I could use a custom widget and use options instead | |
Ashley: 16-Apr-2007 | or a spinner? | |
Graham: 16-Apr-2007 | you have to highlight a spinner and type over it | |
Graham: 16-Apr-2007 | Does a spinner allow blank field to start off with ? Trying to avoid users accepting default values | |
Ashley: 16-Apr-2007 | Not at the moment. Should it? And if so, should it let them leave the widget without entering a value? | |
Graham: 16-Apr-2007 | Well, I don't want to present a template with prefilled values | |
Ashley: 16-Apr-2007 | show?: false *should* work, haven't tracked down why not yet. Also, if you're going to be placing "hidden" widgets consider using box with a 0x0 size. This involved less processing and lets you use the data facet without having to "hide" the widget per sa. e.g. box 0x0 data "Text" does what you want. | |
Graham: 16-Apr-2007 | in 'current-word, add a check for series? str | |
Ashley: 16-Apr-2007 | A list of your changes would be good, might help to nail the remaining problems. | |
Graham: 16-Apr-2007 | I've also got a sparker widget | |
Graham: 16-Apr-2007 | A sparkline is a graphic intense object of word size | |
Ashley: 16-Apr-2007 | Probably not something that will ever be part of the base release, but feel free to check it in to SVN and add an entry to WidgetList. The pie-chart widget and Robert's chart widget probably fall into the same category. I'll eventually figure out a good way of providing a base + optional widgets download facility. What I really want is a checklist of widgets to download which dynamically builds a tailored %rebgui.r ... sort of a "would you like fries with that" type facility. | |
Graham: 16-Apr-2007 | have a file named custom-widgets.r ?? | |
Ashley: 16-Apr-2007 | For you edit-text patch, where do you place the attempt? (caret is handled in quite a view places there). | |
Ashley: 16-Apr-2007 | I've wrapped both in a gui-error/continue test which will write out diagnostic information to %error.txt but ignore the error. | |
Graham: 16-Apr-2007 | Hmm. I'm stuck in a edit-list .. can't tab out of it | |
Graham: 16-Apr-2007 | what a life .. trapped in an edit-list! | |
Graham: 16-Apr-2007 | and I did a show-focus to get to the edit-list | |
Anton: 17-Apr-2007 | Ashley, View system has broken highlighting and caret positioning with center and right aligned text. It's been a problem for a long time. | |
Ashley: 17-Apr-2007 | Ah, because they don't get keyboard focus like area and field do. The fact that they are not tabbable [yet] is a separate issue. | |
Graham: 17-Apr-2007 | I'm getting a 5 second delay on using the "close" button in the spell checker, or on the final "add". I wonder if it's better to close the spell checker window down first and then do the file maintenance. | |
Graham: 17-Apr-2007 | Sometimes you need to disable buttons etc, until an action has been completed. Rather than redefining the action of the face, how about a putting a flag that signifies whether the action is active or not? | |
Graham: 17-Apr-2007 | in request-spellcheck.r, what does this line do? ; do we have a string with > 1 char? any [not string? face/text 2 > length? face/text] [exit] | |
Ashley: 17-Apr-2007 | Checks that face/text is in fact a string and has a length greater than one char. We don't really want to spellcheck an empty string or one with a single character in it. Why, is it causing a problem? | |
Ashley: 17-Apr-2007 | getting a 5 second delay Got it. Hard to believe, but: write file form sort unique dict is about a hundred times slower than: write file form dict Sorting isn't so bad, but unique absolutely grinds it to a halt. Timings are: parse 00:00.2 plus sort 00:00.8 plus unique 00:05 | |
Ashley: 17-Apr-2007 | Doh! Thanks, that's now two errors I need to fix in spellcheck. Will upload fix in a few minutes. | |
Ashley: 17-Apr-2007 | Uploaded build#82 with above changes. Note also that the request-spellcheck function now has a /anagram refinement (don't ask). | |
Graham: 17-Apr-2007 | Do you have a utility for us to build our own dictionaries? Or is it just a collection of unique words? | |
Ashley: 17-Apr-2007 | The dictionary files are just a collection of sorted unique space separated words (all on one line, no carriage returns). I extracted them from the latest Abiword dictionary files. No utility as such, but the trick to generating them in REBOL is to get a block of strings then do a: write %my-dict.dat form sort unique my-block-of-strings As for the button disabling question, I thought it was specifically related to the spellcheck taking 5 seconds. But, more generally, I'm against that type of thing. Far better to pop up an alert or progress bar for actions that will take time. Pressing a button should provide *immediate* feedback or results. | |
Graham: 17-Apr-2007 | Ok, how about ghosting a button then? | |
Ashley: 17-Apr-2007 | Button and many other widgets have an 'info option already. Any solution to disable a widget dynamically would have to be generic and done via functions like: set-disable set-enable On a related note, I'm thinking a request-progress function might be handy. Would have the following format: request-progress 10000 [foreach f read %. [...]] request-progress/cancel 10000 [foreach f read %. [...]] [...] Advantage would be that it is modal and provides useful feedback. The /cancel block provides a "cleanup" routine if the window is closed the cancel button is pressed. Without the refinement no window close button would be present and no cancel button. Useful? | |
Graham: 17-Apr-2007 | A progress function would be useful .. but less useful for me, because modal windows can disrupt BEER async communications | |
Ashley: 17-Apr-2007 | All the request-* functions are modal. (length? word) < 2 ... I think that was guarding against the empty string case as well. But can be expressed better as "2 > length? word" anyway. Or just drop the condition entirely. After all, "a" is a valid "word" "z" is not. |
44101 / 64608 | 1 | 2 | 3 | 4 | 5 | ... | 440 | 441 | [442] | 443 | 444 | ... | 643 | 644 | 645 | 646 | 647 |