SrcEdit source
Colin (129) 41 posts |
Any chance of having the SrcEdit sources – which are part of the AcornC/C++ package – I’d like to merge it with Edit ie give SrcEdit BASIC editing capabilities. |
Steve Revill (20) 1361 posts |
Only if you promise to fix the scroll bars… ;) |
Colin (129) 41 posts |
I can’t think of a scrollbar bug unless you mean the one where paragraphs don’t always redraw properly. If that’s the one you mean it’s on the list :-) |
Ben Avison (25) 445 posts |
He’s talking about the way the scrollbars reflect the proportion of the bytes of the file which are visible, and not the proportion of lines. Ever since solid dragging of windows became the default (RISC OS 3.0?) this has made it very difficult to scroll through documents by dragging the scrollbars. |
Colin (129) 41 posts |
I’ve never found it a problem and I use it every day but I can change it. |
Steve Revill (20) 1361 posts |
Well, seeing as you’re being so nice, we’ll move it up our list of things to look at next. :) On that subject, maybe we should have a list on this forum to help us prioritise? Just have a look at your ROM module list and the stuff in Resources:$.Apps or in the standard disc image, and tell us the things you want to see published next along with your reasons. |
Colin (129) 41 posts |
A quick look at the Edit sources shows that virtually all of its functionality (and I suspect SrcEdit’s too) lies in RISC_OSLib so I’d like that to be released too. |
Andrew Hodgkinson (6) 465 posts |
Yes, that’s what underpins all of the old applications. But it’s big and old, so needs careful checking before release. Presently, it’s only available in binary form through the build environment. |
Steve Revill (20) 1361 posts |
We’ve dug out the sources to SrcEdit and you can now find them on the tarballs page. Read the README in the archive before building this program. |
Colin (129) 41 posts |
Excellent – thanks. I can sit and ponder it while I wait for a copy of the latest acorn c/c++ to arrive :-) |
Colin (129) 41 posts |
I finally received the latest c/c+ and compiled srcedit. It compiled ok but the version of srcedit with acornc/c+ is 1.23 and the version compiled by your sources is 1.21. The most obvious difference is different icons. Do you have the 1.23 source? |
Colin (129) 41 posts |
I’ve also found that the sources for Draw, Paint and Edit are all versions older than the version I have in RO 5.10 |
Steve Revill (20) 1361 posts |
Yes, there are likely to be a few components which aren’t up to speed with the ones in RISC OS 5. Basically, it all boils down to us releasing what we had available to work on at the time – and that repository wasn’t fully synchronised with the latest and greatest bits in the Castle repository. We’ll sort these out soon. |
Ben Avison (25) 445 posts |
That is true, but I’m not sure that it applies to any of the components released so far. In these particular cases, if I’m reading the logs correctly, RISC OS 5.10 had Draw 1.13, Edit 1.63 and Paint 1.96; can you confirm this? The head revisions in CVS are 1.14, 1.64 and 1.97 respectively, each one version number newer than that. SrcEdit, on the other hand, has been rather unloved, and its source control has heretofore been somewhat – shall we say – informal. As I noted in the log for SrcEdit, I’m aware that the sources are a couple of versions out of date. They’re the best we’ve found so far; we’ll keep on looking for the latest sources, but I doubt the differences will be substantial. |
Colin (129) 41 posts |
My apologies draw paint and edit are the latest versions I was looking in the messages file. The Srcedit source looks a work in progress. The version is set in the template, templates are missing, menus don’t display properly and if they did there isn’t the code to handle all the items. The latest srcedit is 1.23 10-dec-02 and while I could bring the sources up to that version It would be better to use the 1.23 sources as it will have been tested for years. In fact I think the messages file is from 1.23 Thanks |
Ben Avison (25) 445 posts |
I’ve just uploaded some newer sources to CVS - as best as I can tell, these are for version 1.23. The binary they build certainly seems to be more functional than before. |
Colin (129) 41 posts |
Excellent! After my initial hiccough in working out how to use cvs I’ve finally got srcedit editing BASIC and don’t have to use !Edit anymore yay :-) The new binary does indeed seem to be version 1.23 Thanks for your efforts. |
Steve Revill (20) 1361 posts |
If you do any work on SrcEdit, please submit your changes back to us (along with comment saying what you’ve done) so that other people can benefit from it. Thanks :) |
Colin (129) 41 posts |
Yes I was going to but I thought I’d give it a few days testing. I have been looking around the website for a procedure on how to submit changes I’m sure it’s there but I can’t find it :-) |
James Lampard (51) 120 posts |
Try https://www.riscosopen.org/wiki/documentation/pages/The+19th+May+Release under the section “How do I submit back to ROOL?” |