DataFlex Open Source Projects: Issueshttps://projects.vdf-guidance.com/https://projects.vdf-guidance.com/favicon.ico2020-10-03T19:55:20ZDataFlex Open Source Projects
Redmine dfSplat - Feature #174 (New): Add support for Web Applicationshttps://projects.vdf-guidance.com/issues/1742020-10-03T19:55:20ZWil van Antwerpen
<p>Subject says it all</p>
dfSplat - Bug #170 (New): Array properties tooltip value evaluationhttps://projects.vdf-guidance.com/issues/1702020-03-11T13:01:14ZWil van Antwerpen
<p>Bob reports here: <br>
<a href="https://support.dataaccess.com/Forums/showthread.php?65655-DfSplat-Preview-release&p=353162#post353162">https://support.dataaccess.com/Forums/showthread.php?65655-DfSplat-Preview-release&p=353162#post353162</a></p>
<p>I have several string[] properties in the program, they always evaluate to "Error: Illegal Datatype Conversion". If I get them to a local variable the contents shows as expected. Since we always have to do that it's really a non issue but just thought I'd mention it</p>
DfRefactor - Suggestion #156 (New): Add line x of y to running process dialoghttps://projects.vdf-guidance.com/issues/1562019-07-03T11:00:35ZWil van Antwerpen
<p>Logged on behalf of Ian Smith</p>
<p>DfRefactor takes a long time to process source files with 10s of <br>
thousands of lines. Is it possible to add a line x of y count to the <br>
Running Process dialog?</p>
<p>The Chilkat wrapper being a prime example 69713 lines.</p>
<p>We did look at this before and decided against it back then due to slowing down the process.<br>
Perhaps we can do something like updating the every 1000 lines which probably won't slow down things much.</p>
DfRefactor - Feature #142 (New): Add Search and Replace dialoghttps://projects.vdf-guidance.com/issues/1422019-05-20T19:38:08ZWil van Antwerpen
<p>It could be quite useful for power users to have a "find & replace" option.</p>
<p>We don't have a find & replace right now. The idea is to add a find&replace dialog with regular expression support (a "regex" checkbox).<br>
This way you would be able to run any regular expression of your liking over the source. </p>
<p>Then you can also "refactor" other things that are not within our scope of updating old code.<br>
We could probably borrow the code from the hammer for the search & Replace dialog and add the regex bits and pieces that we have in our code now.</p>
DfRefactor - Suggestion #141 (New): Add in a subclass layer to an entire, mature, projecthttps://projects.vdf-guidance.com/issues/1412019-05-06T17:25:55ZWil van Antwerpen
<p>Snippet from discord:</p>
<p>mwpmullan Last Saturday at 1:51 PM<br>
Not sure if this is a re-factor question, or a thing for one of the other parsers, but how would one go about adding in a sub_class layer to an entire, mature, project. If I go down the rabbit hole of changing the default size for all of my apps, I'm going to have to sub-class all of the ui components.</p>
<p>starzen Last Saturday at 2:04 PM<br>
you would need a list of all class names and the subclass names and then replace the class name with the subclass name and add the use statement. you could of course use simply multi file search and replace for the class name but you also need to insert the use statement</p>
<p>mwpmullan Last Saturday at 2:06 PM<br>
so which tool is the best to get the starting list of classes? I'd guess your parser Michael.</p>
<p>starzen Last Saturday at 2:10 PM<br>
the list of classes you want to subclass is really up to you. The list of occurrences of that class you could use a parser but i think for what you want to do a multi file search and replace should work pretty well. </p>
<p>Another thing i do in cases like this is to force the compiler to throw an error in case someone tries to use it by defining a replacement for the class name that throws an error</p>
<p>mwpmullan Last Saturday at 2:11 PM<br>
#warning works for that in 19.1 :smiley:<br>
I want to start by seeing just how many classes there are in use, then culling out the non UI ones, and building the sub-classes I need, so step one is to ask the parser for a class list. Or global search for " is a"</p>
<p>starzen Last Saturday at 2:14 PM<br>
not sure how you would use #warning for that.</p>
<p>mwpmullan Last Saturday at 2:15 PM<br>
you put a warning in the original class definition.. o wait, that will bite because the sub class calls it.. D'oh!</p>
<p>starzen Last Saturday at 2:15 PM<br>
and the warning would only show one time at the definition. With the replace you will get a compiler error on every line that tries to create an instance of the class<br>
my parser does create a list of classes but i am not sure if i make the list available at this point. Also of course you would end up with a lot of classes to cull through. probably better off just doing it manually. The Studio has a list of the most used ui classes in the workspace config. Wasnt there a create subclass layer feature in the studio once?</p>
<p>mwpmullan Last Saturday at 2:21 PM<br>
There is / was, but IIRC it only helped before you started coding. I'm trying to back-fill font handling into a big app, at least until I realize the level of futility, and just buy the client two new screens. Might be cheaper for me.</p>
<p>Wil Last Saturday at 5:59 PM<br>
Interesting idea. I think it would not be too hard to add for dfrefactor. It would not get you a list of classes though.<br>
As long as you are talking about replacing DAWs base classes that is.</p>
<p>starzen Last Saturday at 6:08 PM<br>
yes you can easily create a function to replace a class. then add a frontend that can ran a loop over a list of classes</p>
<p>Wil Last Saturday at 6:08 PM<br>
Probably only takes a couple of hours to implement a rough first version.</p>
<p>mwpmullan Last Saturday at 6:09 PM<br>
I think I'm going to buy the client new monitors. Globally increasing the size of the font used in the app is giving me a migraine.</p>
<p>Wil Last Saturday at 6:10 PM<br>
Yep, dfrefactor already has most of the logic. The moe diffucult bit is inserting the correct use statement. If class naming is consistent then that helps, otherwise it will be more complex soon.<br>
@mwpmullan yes that sounds better.</p>
The Hammer - Bug #120 (New): Add scope word into the keyword list breaks code collapse and reindenthttps://projects.vdf-guidance.com/issues/1202018-11-27T11:20:31ZWil van Antwerpen
<p>Adding the words "while", "until", "loop" into the keyword list with a desire to get proper casing does break the reindent logic. This is due to some logic in the scintilla DLL and it has to be taken care of.</p>
Source Code Tools - Feature #116 (New): Add method/object name as comment at the endhttps://projects.vdf-guidance.com/issues/1162018-08-14T08:32:00ZWil van Antwerpen
<p>Normally I add the procedure, function or object name after the end_procedure/end_function/end_object line like this:</p>
<p>Code:</p>
<p>Procedure HelloWorld<br>
DoSomeStuff<br>
End_Procedure // HelloWorld</p>
<p>They all got removed. It would be nice if it works the other way around and adds the procedure name if it is not there</p>
<p><a href="https://support.dataaccess.com/Forums/showthread.php?63084-Release-Source-Code-Tools&p=336621#post336621">https://support.dataaccess.com/Forums/showthread.php?63084-Release-Source-Code-Tools&p=336621#post336621</a></p>
Source Code Tools - Suggestion #115 (New): Add option to remove unused variableshttps://projects.vdf-guidance.com/issues/1152018-08-08T08:20:23ZWil van Antwerpen
<p>suggestion: to provide consistent functionality with the ‘Remove’ functions, maybe a remove sub-option for the unused variables selection (or at least a //hide - I suppose funky include/use statements could defeat the logic) </p>
<p><a href="https://support.dataaccess.com/Forums/showthread.php?63084-Release-Source-Code-Tools&p=336405#post336405">https://support.dataaccess.com/Forums/showthread.php?63084-Release-Source-Code-Tools&p=336405#post336405</a></p>
The Hammer - Feature #112 (New): Add if/then/else on the same line refactor methodhttps://projects.vdf-guidance.com/issues/1122018-06-06T23:37:08ZWil van Antwerpen
<p>DF19.1 has a warning if you have and if statement that is a single line.</p>
The Hammer - Feature #79 (New): Add option for delimiter in the menuhttps://projects.vdf-guidance.com/issues/792017-08-18T12:16:09ZWil van Antwerpen
<p>Bob ask's </p>
<p><a href="https://support.dataaccess.com/Forums/showthread.php?61274-Hammer3-in-alpha&p=325623#post325623">https://support.dataaccess.com/Forums/showthread.php?61274-Hammer3-in-alpha&p=325623#post325623</a></p>
<p>--<br>
Wil</p>
The Hammer - Feature #68 (New): Add copy as RTFhttps://projects.vdf-guidance.com/issues/682017-07-17T09:38:35ZWil van Antwerpen
<p>Unfortunately this functionality is not in the basic scintilla control.<br>
The SciTE editor however has this feature. It can be found in file SciTEWin.cxx under <br>
<br>
void SciTEWin::CopyAsRTF() </p>
<p>It would be marvellous if we can somehow port this to our editor.<br>
Need to investigate.</p>
The Hammer - Bug #67 (New): Add Scintilla Print featurehttps://projects.vdf-guidance.com/issues/672017-07-07T14:36:43ZWil van AntwerpenThe Hammer - Feature #24 (New): Add classes from wherever studio stores themhttps://projects.vdf-guidance.com/issues/242017-03-20T17:00:41ZWil van AntwerpenThe Hammer - Feature #20 (New): Add Back/forward navigation logichttps://projects.vdf-guidance.com/issues/202017-03-20T17:00:40ZWil van AntwerpenThe Hammer - Bug #22 (New): Added CodeSpy app to config, but does not starthttps://projects.vdf-guidance.com/issues/222017-03-20T17:00:40ZWil van Antwerpen