DataFlex Open Source Projects: Issueshttps://projects.vdf-guidance.com/https://projects.vdf-guidance.com/favicon.ico2017-11-13T23:13:58ZDataFlex Open Source Projects
Redmine The Hammer - Bug #97 (New): Register workspace in Hammer instead of by using the Studiohttps://projects.vdf-guidance.com/issues/972017-11-13T23:13:58ZWil van Antwerpen
<p>DaveR, reports:</p>
<p>Trying to add our main production workspace.<br>
File | WorkSpaces | select Workspace | Browse</p>
<p>browse to the sws file I want to register, click on it and DF19 opens. Should I be looking for the .hws? When I do that windows 10 doesn't know what app to open.</p>
vWin32fh Windows File Handling - Bug #87 (Resolved): ParseFolderName: if filename part of path th...https://projects.vdf-guidance.com/issues/872017-09-05T09:18:56ZWil van Antwerpen
<p>From: Clayton</p>
<p>I found a possible bug using ParseFolderName function.</p>
<p>If the contents of sFile is part of the direcories names in sFileName, the replace function change the first ocurrence of the substring.</p>
<p>To fix this a replaced the line:<br>
Move (Replace(sFile,sFileName,"")) To sFolderName<br>
With:<br>
Move (Left(sFileName,Length(sFileName)-Length(sFile))) to sFolderName</p>
<p>Hope I made myself clear.</p>
<p>Thanks in advance.</p>
<p>Have a nice day.</p>
The Hammer - Bug #74 (New): Keyboard shortcuts don't work when focus not on editorhttps://projects.vdf-guidance.com/issues/742017-07-24T12:03:12ZWil van Antwerpen
<p>If the focus outside of the editor then most of the keyboard shortcuts do not work.<br>
Would at least expect that shortcuts like the ones for save/find/compile etc.. to work.</p>
The Hammer - Suggestion #69 (In Progress): Look at following defaultshttps://projects.vdf-guidance.com/issues/692017-07-20T17:42:26ZWil van Antwerpen
<p>When starting on a new machine I miss these settings:<br>
- show line numbers<br>
- show matching braces<br>
- Highlight whole line on Selection<br>
should all be set by default.</p>
<ul>
<li>Add ctrl+shift+keyup/ctrl+shift+keydown to defaults for MoveLineUp/MoveLineDown</li>
</ul>
The Hammer - Bug #67 (New): Add Scintilla Print featurehttps://projects.vdf-guidance.com/issues/672017-07-07T14:36:43ZWil van AntwerpenThe Hammer - Bug #59 (New): Add DataFlex Images as a Scopehttps://projects.vdf-guidance.com/issues/592017-06-25T10:54:36ZSergey Natarov
<p>DataFlex Image (/IMAGE ... /*) might be considered as a scope. Still used in some projects.</p>
The Hammer - Bug #57 (Resolved): Trying to complete Class (first time appearance) - code list is ...https://projects.vdf-guidance.com/issues/572017-06-22T15:57:18ZWil van Antwerpen
<p>Trying to complete Class (first time appearance) - code list is empty, see image.</p>
<p>If you then press backspace and space again, it will show the proper codelist.</p>
<p>While Sergey can reproduce this at will, I only see it every now and then.</p>
<p>Note also that when the codelist does show up that it has an empty item at the end of the list, this might be related.</p>
The Hammer - Bug #53 (In Progress): Block select should allow you to edit multiple rows at the sa...https://projects.vdf-guidance.com/issues/532017-06-22T15:41:38ZWil van Antwerpen
<p>As reported by Sergey:<br>
"<br>
When you select block, it should allow to work with this block (similar to CM or even Word).</p>
<p>eg 1. Select vertical block and copy/paste it at the location required (looks like it does it)<br>
or 2. Select vertical line and press tab = Selection + Right side code moved to the right by 4 spaces/tab.<br>
or 3. Select vertical line and start typing = You should get X lines of similar text: etc</p>
<p>|Move to CM_<br>
|Move to CM_<br>
|Move to CM_<br>
|Move to CM_</p>
<p>This feature often used by developers (including me)."</p>
The Hammer - Bug #36 (In Progress): TH3: Unable to find packages from DataFlex versionhttps://projects.vdf-guidance.com/issues/362017-03-28T11:21:03ZWil van Antwerpen
<p>Hammer3.src isn’t able to open packages from the workspace and will show DataFlex framework files as "not found" in the file explorer.</p>
<p>It is due to this bit in Hammer.src:<br>
<br>
// This Procedure should no longer be neccessary.<br>
// MK 27.06.2001 21:41<br>
Procedure IncludeMakePath<br>
String sMake sMake2 sOpenPath<br>
Get_Attribute DF_OPEN_PATH To sOpenPath<br>
Get_Profile_String "DFCOMP" "MakePath" To sMake<br>
Get_Profile_String "WorkSpaces" "SystemMakePath" To sMake2<br>
Set_Attribute DF_OPEN_PATH To (sOpenPath+";"+sMake+";"+sMake2)<br>
End_Procedure<br>
Send IncludeMakePath</p>
<p>The comment there wasn’t helping. The code is not that great either (various reasons)<br>
The code that tries to find the file location is in parser.pkg:<br>
<br>
Procedure onNewUsedFile Integer wP Integer lP<br>
Integer iRet<br>
String sName2<br>
Local_Buffer sName pName (lP+1)<br>
Move (CopyMemory(pName,wP,lP)) To iRet<br>
Move (CString(sName)) To sName<br>
If Not "." In sName Append sName ".Pkg"<br>
Get FindFileForWorkspace of ghoWorkspaceHandlerEx sName To sName2<br>
....<br>
<br>
Which then goes here: (snipped)<br>
<br>
Function FindFileForWorkspace String sFile Returns String<br>
Boolean bExists<br>
String sFileName<br>
String sPaths<br>
String sPath</p>
<pre> // First check df_open_path, this will include files in the runtime pkg folder
// and base workspace folders
Get_File_Path sFile to sFileName
</pre>
<p>....<br>
<br>
It is the Get_File_Path command not knowing about the pkg folder.</p>
<p>Now if you add the following code in the Hammer3.src like so:<br>
<br>
Use Tools\TH3Workspace.pkg</p>
<pre>// This Procedure should no longer be neccessary.
// MK 27.06.2001 21:41
</pre>
<p>Procedure IncludeMakePath<br>
String sMake sMake2 sOpenPath<br>
Get_Attribute DF_OPEN_PATH To sOpenPath<br>
Get_Profile_String "DFCOMP" "MakePath" To sMake<br>
Get_Profile_String "WorkSpaces" "SystemMakePath" To sMake2<br>
Set_Attribute DF_OPEN_PATH To (sOpenPath+";"+sMake+";"+sMake2)<br>
End_Procedure<br>
Send IncludeMakePath</p>
<p>Use cWorkSpaceHandlerEx.pkg // Workspace handler (needs to be at the top)</p>
<p>Then now your files are found.<br>
Of course “Get_Profile_String” is obsolete. <br>
Besides that the only files from the pkg folder it will add are those from one of the makepaths and that makepath is not version specific.<br>
This explains WHY the hammer2 sometimes displayed the pkg files from the wrong VDF/DF version.</p>
The Hammer - Bug #28 (Resolved): Matching braces appears to try and match over multiple lineshttps://projects.vdf-guidance.com/issues/282017-03-26T22:16:24ZWil van Antwerpen
<p>In previous version it highlighted unmatched braces in red. <br>
Here's an example where it highlights some irrelevant braces (just added one extra closing brace).</p>
<p>See attached screenshot.</p>