Activity
From 09/29/2012 to 10/28/2012
10/25/2012
- 11:21 AM Feature #1579: review and merge 12/2011 conversion fixes into main P2J code base, regression test...
- > I understand that we can't promote staging until the frame_generator.xml problem is fixed. But it seems like we ca...
- 10:53 AM Feature #1579: review and merge 12/2011 conversion fixes into main P2J code base, regression test...
- I understand that we can't promote staging until the frame_generator.xml problem is fixed. But it seems like we can ...
- 10:51 AM Feature #1579: review and merge 12/2011 conversion fixes into main P2J code base, regression test...
- In regard to the StatsWorker version in ecf_upd20111207b.zip, I think the differences with the version in ges_upd2011...
- 03:43 AM Feature #1579: review and merge 12/2011 conversion fixes into main P2J code base, regression test...
- Added merged update, with all fixes.
10/24/2012
- 02:01 PM Feature #1579: review and merge 12/2011 conversion fixes into main P2J code base, regression test...
- Regression testing has passed. Can't move this to CVS until the #1445 frame_generator.xml problem is solved (I'll att...
- 11:38 AM Feature #1579: review and merge 12/2011 conversion fixes into main P2J code base, regression test...
- Greg Shah wrote:
> Eric: is the version I am posting here the final/best one?
My changes in the StatsWorker version ... - 10:38 AM Feature #1579: review and merge 12/2011 conversion fixes into main P2J code base, regression test...
- I was reviewing the files that I posted and I think I was missing a major change made by Eric to StatsWorker.java in ...
- 11:11 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Updates to make Windows conversion have been uploaded.
10/23/2012
- 07:19 PM Feature #1699: remove duplicate validation expressions from business logic
- Currently, a separate, inner class is emitted for each validation expression in an external procedure, regardless of ...
- 07:17 PM Feature #1699 (New): remove duplicate validation expressions from business logic
- 07:17 PM Feature #1698 (New): remove duplicate frame.openScope() calls from business logic
- 07:13 PM Feature #1697: eliminate duplication of frame definitions
- Detect frames that are functionally identical and reuse the same definition in all business logic rather than creatin...
- 07:07 PM Feature #1697 (New): eliminate duplication of frame definitions
- 07:04 PM Feature #1696: create a variable to replace multiple uses of a string literal
- If the same string literal is used in multiple places (in the same scope), implement a String variable and then refer...
- 07:04 PM Feature #1696 (New): create a variable to replace multiple uses of a string literal
- 07:01 PM Feature #1695: evaluate certain constant expressions at conversion time
- Examples:
* array dereferencing: constant array indices can be decremented by 1 instead of written as an expression... - 06:58 PM Feature #1695 (New): evaluate certain constant expressions at conversion time
- 06:57 PM Feature #1694: rewrite variable comparisons with the unknown value constant
- Convert @x <> ?@ to @!x.isUnknown()@ and convert @x = ?@ to @x.isUnknown()@.
- 06:56 PM Feature #1694 (New): rewrite variable comparisons with the unknown value constant
- 06:55 PM Feature #1693: rewrite numeric increment/decrement expressions
- Emit @i.increment()@ for an expression like @i = i + 1@. Emit @i.decrement()@ for an expression like @i = i - 1@.
- 06:54 PM Feature #1693 (New): rewrite numeric increment/decrement expressions
- 06:52 PM Feature #1692 (New): optimize/rewrite common expression idioms
- 06:48 PM Feature #1691: remove unnecessary handle vars and replace with object of the appropriate type
- Detect cases where:
* handle is not shared; AND
* is not passed as a parameter; AND
* is only assigned a single ... - 06:47 PM Feature #1691 (New): remove unnecessary handle vars and replace with object of the appropriate type
10/22/2012
- 03:12 PM Feature #1688: move LEAVE/NEXT rewriting from annotations into fixups
- This will allow simplification of the code handling this as well as improvements in unreachable processing (which hap...
- 03:11 PM Feature #1688 (New): move LEAVE/NEXT rewriting from annotations into fixups
- 03:10 PM Feature #1687: remove frames which are completely scoped to dead code
- A frame which is completely scoped to dead code can be safely removed along with the dead code (requires taking into ...
- 03:09 PM Feature #1687 (New): remove frames which are completely scoped to dead code
- 03:08 PM Feature #1686: ensure frame definitions properly account for formatting information in otherwise ...
- Dead code can have an effect on frame formatting (e.g., format string processing and width calcs for @ base fields) b...
- 03:07 PM Feature #1686 (New): ensure frame definitions properly account for formatting information in othe...
- 02:47 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- > Don't make any changes to the line termination processing. I'll create a separate task for that and we will work it...
- 02:43 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Don't make any changes to the line termination processing. I'll create a separate task for that and we will work it ...
- 10:52 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- > Please prepare the full set of changes needed to get the results you have so far. Make sure that the final result i...
- 10:51 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- > I still need the answer to this question. What line termination characters are placed in the output files today?
... - 09:27 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Making the Windows file system case-sensitive is not an option.
It is clear that we have to rework our name conver... - 09:23 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- ...
- 08:47 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Further investigation shows the following:
1. We can set the NTFS in Windows XP 64-bit to be case sensitive. And i... - 02:38 PM Feature #1579: review and merge 12/2011 conversion fixes into main P2J code base, regression test...
- Please do add a new Bug issue along with a full testcase, screen shots and any other recreate/description of the prob...
- 10:35 AM Feature #1579: review and merge 12/2011 conversion fixes into main P2J code base, regression test...
- Greg,
There is a remainder brws runtime issue which I think should be documented and solved later on. Currently, ... - 08:54 AM Feature #1579: review and merge 12/2011 conversion fixes into main P2J code base, regression test...
- Finished cleaning up all files from the update, I'm reconverting using current staging and I'm going to do regression...
- 02:30 PM Feature #1685: log all dead/unreachable code decisions
- The log should record whether the result is missing because it was determined to be unreachable (and why).
- 02:29 PM Feature #1685 (New): log all dead/unreachable code decisions
- 02:28 PM Feature #1684: variable definitions made in unreachable code actually still exist and can be used...
- This is tougher in cases where there is a message statement or format_phrase var definition because there are other s...
- 02:27 PM Feature #1684 (New): variable definitions made in unreachable code actually still exist and can b...
- 02:25 PM Feature #1683: rewrite unreachable processing to run in a loop (and/or using ascent rules) to det...
- The issue is that if all contents of a particular IF block turn out to be unreachable BUT the IF *is* reachable, then...
- 02:21 PM Feature #1683 (New): rewrite unreachable processing to run in a loop (and/or using ascent rules) ...
- 02:06 PM Feature #1682: IF/ELSE unreachable processing needs to promote THEN/ELSE child nodes into enclosi...
- This can be single statements (e.g. even "blocks" like REPEAT) or complex groups (any case of a simple DO block). In...
- 02:05 PM Feature #1682 (New): IF/ELSE unreachable processing needs to promote THEN/ELSE child nodes into e...
- 02:01 PM Feature #1681: convert "for each foo: i = i + 1. end." to something like RecordBuffer.count(fooDMO)
- Some other forms would be possible too, taking a where clause to allow a count of all records matching given criteria...
- 01:57 PM Feature #1681 (New): convert "for each foo: i = i + 1. end." to something like RecordBuffer.count...
- 01:56 PM Feature #1680: convert "for each foo: delete foo. end." into a simpler form
- The idiom of looping through a table and deleting all records in that table is fairly common for older, temp-table co...
- 01:28 PM Feature #1680 (New): convert "for each foo: delete foo. end." into a simpler form
- 01:25 PM Feature #1679 (New): remove concatenation of empty strings
- 01:24 PM Feature #1678: rollup/simplify/remove dead code usually caused by preprocessor substitutions
- Often 4GL preprocessing directives/substitutions will expand to bloated code which converts to something more complic...
- 01:12 PM Feature #1678 (New): rollup/simplify/remove dead code usually caused by preprocessor substitutions
- 12:18 PM Feature #1677: deeper analysis of IF/CASE and other condition expressions
- For example, a logical variable that is initialized or assigned false and then is never otherwise changed (or passed ...
- 12:17 PM Feature #1677 (New): deeper analysis of IF/CASE and other condition expressions
- 12:11 PM Feature #1676 (New): remove conditional expressions that always evaluate true or false
- 12:11 PM Feature #1675 (New): remove unreferenced streams, frames, buffers, temp-tables
- 09:46 AM Feature #1531 (Review): update the "Techniques for Integrating Java Code into Reconverted 4GL Cod...
- 09:45 AM Feature #1530 (Review): update the "Other Customization" chapter of the Conversion Handbook to ad...
- 09:45 AM Feature #1529 (Review): move customer_specific_conversion.rules into p2j/rules/conversion/ and im...
- 01:15 AM Feature #1674: remove unreferenced, non-shared variables
- Check for any node that has a refid to the var def, but there are cases that are not real source code references so t...
- 01:13 AM Feature #1674 (New): remove unreferenced, non-shared variables
10/21/2012
- 09:36 AM Feature #1519: report improvements
- Refine reports that are too broad today. For example, reports such as "potential sockets usage" include language sta...
- 09:34 AM Feature #1519: report improvements
- Add specific reports for:
* dynamic/unspecified EXTENT usage
* EXTENT parameter usage
* detect when the same HANDLE...
10/19/2012
- 09:58 AM Feature #1604 (New): enhance name conversion to support malformed frame names and labels
- 09:58 AM Feature #1603 (New): enhance name conversion to support internal procedure names that contain a '...
- 09:51 AM Feature #1579: review and merge 12/2011 conversion fixes into main P2J code base, regression test...
- Running the tests in 4GL showed the following:
# entire DISPLAY columns... clause is optional. If it is missing, "s... - 08:42 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Another viewpoint to the naming issue. Theoretically the NTFS is case-sensitive. In XP we can turn this feature on ac...
10/18/2012
- 05:11 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- The conversion has been completed in Windows. But the compilation can not be performed due to the following name gene...
- 12:10 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Greg, some considerations about names
> ... But good Java names CANNOT contain hyphens. But we get away with camel... - 10:30 AM Feature #1579: review and merge 12/2011 conversion fixes into main P2J code base, regression test...
- Regarding your questions in update 5 above:
> 1. By "conversion for the pilot project broke with the update" you m... - 04:32 AM Feature #1579: review and merge 12/2011 conversion fixes into main P2J code base, regression test...
- I've found the problem, it was caused by the uast/progress.g changes related to "optional column_spec clause" for a d...
10/17/2012
- 09:53 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- The root cause for src\syman\train2\rst01.p issue has been found. Take a look at pattern/customer_specific_annotation...
- 09:52 AM Feature #1579: review and merge 12/2011 conversion fixes into main P2J code base, regression test...
- Constantin Asofiei wrote:
> Greg/Eric,
>
> A few questions and findings:
> 1. By "conversion for the pilot proje... - 09:38 AM Feature #1579: review and merge 12/2011 conversion fixes into main P2J code base, regression test...
- Greg/Eric,
A few questions and findings:
1. By "conversion for the pilot project broke with the update" you mean ... - 04:55 AM Feature #1579 (WIP): review and merge 12/2011 conversion fixes into main P2J code base, regressio...
10/16/2012
- 07:07 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- > I understand. I can see that some people would want the converted code to have the proper Windows line termination ...
- 05:31 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- ...
- 05:31 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- ...
- 05:28 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- ...
- 05:27 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- In regard to the case insensitive filename problem in Windows:...
- 05:14 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- In regards to the exception, this 4GL code:
h = query q:handle.
brws:query in frame fRoster = h.
/*h... - 12:17 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- The news/more findings from Windows conversion process.
I have searched the results for syman/train2/rst01.p conve... - 05:01 PM Feature #1520 (Closed): design gap analysis approach
- 05:01 PM Feature #1520: design gap analysis approach
- 1. Should this be inclusive or exclusive?
- inclusive means that we define exactly what is supported and by defaul... - 02:40 PM Feature #1520 (WIP): design gap analysis approach
- 10:27 AM Feature #1530: update the "Other Customization" chapter of the Conversion Handbook to add a refer...
- The changed other_customization.odt file is in bazaar.
- 10:25 AM Feature #1529: move customer_specific_conversion.rules into p2j/rules/conversion/ and improve/ref...
- Sent final updates for review (for both P2J and TIMCO projects). The other_customization.odt and managing_changes.od...
- 10:22 AM Feature #1531: update the "Techniques for Integrating Java Code into Reconverted 4GL Code" chapte...
- The changes are in bazaar.
10/15/2012
- 12:31 PM Feature #1531 (WIP): update the "Techniques for Integrating Java Code into Reconverted 4GL Code" ...
- 12:30 PM Feature #1530 (WIP): update the "Other Customization" chapter of the Conversion Handbook to add a...
- 09:21 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- The following line of code causes the exception generated, file train2/rst01.p.cache Line 1409:9
...
brws:quer... - 08:49 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- The new set of issues is related to the file separator difference between Linux(/) and Windows(\) inside the conversi...
10/12/2012
- 05:13 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- OK. The Windows conversion is in progress.
For now the known issues are:
1. The maximum heap size I can request o... - 04:25 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- I agree, the truncation problem does appear to happen on staging too, so that is just a bug that already exists.
G... - 03:32 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- The news.
I have converted another MAJIC build. The source is from staging + "New" rule set and helper update. The... - 07:00 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Guys,
The problem with
> compile_jasper:
> [jrc] Compiling 1 report design files.
> File : /home/eugenie/timco_... - 05:32 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Another very interesting finding. Take a look at staging build on lightning. The files
src/syman/adp/adpchkls.p.lexe... - 04:58 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Constantin, Greg,
Strange thing I have got while converting staging sources:
Conversion has been finished but the... - 04:29 PM Bug #1589: during parsing the .lexer file is sometimes arbitrarily truncated
- This behavior can be seen by:
1. Make an exact copy of a conversion project (duplicate the entire directory tree).... - 04:26 PM Bug #1589 (New): during parsing the .lexer file is sometimes arbitrarily truncated
10/11/2012
- 07:15 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- OK.
- 05:48 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Those versions of the code (from 2009 and 2010) are much too old to be useful. Please rebuild your local environment ...
- 04:58 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Another question. Trying to run conversion in Windows I have the following message:
D:\timco_win>CMD.EXE /C ""C:\Prog... - 04:52 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- > Where did you get these?
In my current timco/src subdirectory:
eugenie@cyborg64:~/timco/src> ls -l *.zip
-rw-r... - 04:48 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- ...
- 04:30 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- The previous message is updated with customer_libs directrory instruction. And I have checked all created log files a...
- 04:21 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- > Do you have 2 completely independent project installations? With 2 completely separate P2J installations?
Yes, the... - 02:34 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- I didn't mean that the command line environment itself was a problem (although it is possible). I meant that in gene...
- 11:15 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- > The .lexer file is truncated at [01386:003] and there is nothing after that?
Yes, this file finished at [01386:0... - 10:59 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- OK, these are some strange results....
- 09:10 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- One more note.
> Since the comparisons are just about the differences in src/aero/timco/majic/
These directorie... - 09:02 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- > Please show examples of both.
Here is the src/syman/adp/adpout0.p.lexer
The Old MAJIC conversion with "classi... - 11:08 PM Feature #1579: review and merge 12/2011 conversion fixes into main P2J code base, regression test...
- The following is the text of an email I sent to Greg regarding one of the fixes, which had to do with schema parsing ...
- 11:06 PM Feature #1579: review and merge 12/2011 conversion fixes into main P2J code base, regression test...
- In December 2011, Greg and I made a number of fixes to P2J to enable early work on a large customer project (updates ...
- 10:33 PM Feature #1579 (Closed): review and merge 12/2011 conversion fixes into main P2J code base, regres...
10/10/2012
- 07:39 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- ...
- 07:06 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- OK.
BTW, I have faced the strange issue. I did run two conversions in Linux. The both was OK. Then I have compared... - 06:49 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Since the comparisons are just about the differences in src/aero/timco/majic/, the amount of code is actually not so ...
- 06:27 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Greg,
OK. I'm running the conversions. The difference reports will be here. But what is the place to upload result... - 05:16 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Please report on the status of the 2 testing activities:
1. Old P2J majic conversion on Linux vs new P2J majic con... - 06:44 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Understood. Then you need to put the cfg files for MAJIC in a separate update.
- 05:21 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Constantin,
This was not mistake. I have added the config files for TIMCO conversion under Linux/Windows. This is ... - 03:36 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Eugenie,
Please remove the cfg/ folder from the root of your update. Except this, the update looks OK.
10/09/2012
- 11:45 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Eugenie,
For 2 - as you change a file, if the current year is different than the one in the copyright area, you ne... - 10:06 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Constantin,
1. OK.
2. I do not understand. Why this special update need this modification? Do we need every file ... - 05:57 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Eugenie,
Please address the following:
1. the p2j.cfg.xml you sent is for Windows OS. Please leave the p2j.cfg.xml ...
10/08/2012
- 05:41 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- OK.
The files to be changed to run conversion on Windows.
Rules:
p2j/rules/annotations/annotations.xml
p2j/rule... - 04:04 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Don't apply the changes to staging or CVS yet. Please do the following:
1. Send the changes to Constantin (and co... - 03:49 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- The changes are tested and prepared. Do we need them to be applied to the current P2J build? Note we still need to ma...
- 09:20 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Please do use the quoteReplacement() for all of the 2nd parameter cases. That is exactly what that code is meant to ...
10/05/2012
- 04:42 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Greg, Constantin,
I've performed a bit more testing and found we can use both fixupRegex() and quoteReplacement() ... - 10:21 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Constantin,
Yes, the call
replaceAll("\.", quoteReplacement(fileSep))
does work. So I applied fixupRegex() and q... - 06:26 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Eugenie, please try the following call in the conversion rules:
replaceAll("\.", quoteReplacement(fileSep))
I sus... - 09:42 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Preliminary results:
1. Substitution replaceAll(fileSep, ".") with replaceAll(fixupRegex(fileSep), ".") works fine.
...
10/04/2012
- 01:25 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- ...
- 01:10 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Constantin,
There are no such elements in our rule files as second parameter for replaceAll(): "\\" as the file se... - 12:48 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Please prepare the minimum set of changes needed to resolve all the known problems. Add a helper as needed to Common...
- 12:45 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Greg,
I've done a little more testing in why it abends in the first place and it looks like calls like this:
<pre... - 12:01 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- After thinking more about this, I realize that my idea about adding a getFileSepRegex() is not a full solution. The ...
- 11:45 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- I think this would be a more appropriate solution.
OK. I'll look into this.
> > Is it mandatory to use replaceA... - 08:01 AM Feature #1565: test the full conversion process on Windows and document all problems that are found
- ...
10/03/2012
- 07:32 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Further investigations and testing shows the only real issue we have converting on Windows is the replaceAll call wit...
10/01/2012
- 12:16 PM Bug #1574: broken report links when they target very long filenames
- From ECF:
I've noticed that some detail reports with really long names create links with longer names than the act... - 12:14 PM Bug #1574 (Closed): broken report links when they target very long filenames
09/30/2012
- 03:01 PM Feature #1565: test the full conversion process on Windows and document all problems that are found
- Now we have the promes.p converted. The main issue is the Windows file separator char: "\" and some calls that uses t...
Also available in: Atom