Project

General

Profile

Activity

From 12/14/2012 to 01/12/2013

01/12/2013

12:37 PM Feature #1920: implement persistent procedures
Summary for more tested issues:
* handle equality tests
* persistent procedure chains (SESSION handle's first-proce...
Constantin Asofiei
09:09 AM Feature #1613: finish FILE-INFO system handle support
For FILE-INFO:FILE-TYPE we can reuse the native code for OS-DIR as main type and just keep the read/write type logic ... Costin Savin
06:38 AM Feature #1626: implement OS-DIR support as an INPUT stream
The results of the tests are ok, ran the conversion tests and there weren't any differences. Costin Savin
04:45 AM Feature #1626: implement OS-DIR support as an INPUT stream
1. I checked the StreamWrapper from proposed update against bzr and the changes are on method assignStream(Stream s)
...
Costin Savin

01/11/2013

05:55 PM Feature #1613 (WIP): finish FILE-INFO system handle support
Assuming new JNI methods are needed, they can be placed into filesys.c.
The conversion support is in rules/convert...
Greg Shah
05:52 PM Feature #1626: implement OS-DIR support as an INPUT stream
I have 2 questions:
1. Where is the StreamWrapper change? The one that is included in the update is identical wit...
Greg Shah
01:23 PM Feature #1626: implement OS-DIR support as an INPUT stream
Added the proposed update.
Costin Savin
12:48 PM Feature #1626: implement OS-DIR support as an INPUT stream
... Greg Shah
12:22 PM Feature #1626: implement OS-DIR support as an INPUT stream
> 6. In FileChecker.getFileType(), there needs to be code to handle the -1 (error case). I stubbed it out in my examp... Costin Savin
05:52 PM Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
Additional requirements:
* define a DATETIME variable
* define a DATETIME field in a temp-table
* assign a DATET...
Eric Faulhaber
05:11 PM Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
The highest priorities for the DATETIME implementation:
NOW
MTIME
ADD-INTERVAL
DATETIME
SESSION:TIME-SOURCE ...
Greg Shah
01:23 PM Feature #1920: implement persistent procedures
Summary for what is tested and known to be working:
* FILE-INFO, SESSION, ERROR-STATUS, LAST-KEY, CURRENT-WINDOW hand...
Constantin Asofiei
09:55 AM Feature #1920: implement persistent procedures
ErrorManager.isError() is what should be used from converted application code, to access ERROR-STATUS:ERROR. If I re... Greg Shah
09:50 AM Feature #1920: implement persistent procedures
Which ErrorManager API maps the ERROR-STATUS:ERROR flag ? isError or isErrorFlag ? Constantin Asofiei

01/10/2013

05:59 PM Feature #1626: implement OS-DIR support as an INPUT stream
Feedback:
1. In input_output.rules, this change seems wrong:...
Greg Shah
12:10 PM Feature #1626: implement OS-DIR support as an INPUT stream
Added proposed update, hope I didn't miss anything. Costin Savin
03:44 PM Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
This plan sounds good.
My only feedback is that it is probably best to encode the time value as a number of mill...
Greg Shah
12:30 PM Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
As @date@ / @datetime@ and @datetime-tz@ all represent some kind of timestamp the following question raise:
Isn't i...
Ovidiu Maxiniuc
12:23 PM Feature #1920: implement persistent procedures
All of your decisions are good ones. I agree with the deferral of the old API name mapping. Greg Shah
10:58 AM Feature #1920: implement persistent procedures
About the invalid API calls (when the invoked API is not valid for the current referent). 4GL shows these kind of mes... Constantin Asofiei

01/09/2013

03:10 PM Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
> You only need to compare the src/aero/timco/majic directories.
The directories are identical. The next step I'm ...
Eugenie Lyzenko
01:59 PM Feature #1626: implement OS-DIR support as an INPUT stream
We will handle that in a different task. We will likely use platform specific files with functions that are called f... Greg Shah
01:32 PM Feature #1626: implement OS-DIR support as an INPUT stream
Finished and tested the filesys.c version that handles all the logic inside the c code using bitfield approach for st... Costin Savin
09:30 AM Feature #1611 (Closed): implement QUOTER utility
Greg Shah
08:40 AM Feature #1611: implement QUOTER utility
Costin: please check in the code to bzr and distribute the update to the team.
I won't be promoting this version o...
Greg Shah
01:34 AM Feature #1611: implement QUOTER utility
The testing results have been uploaded into shared GCD drive: 20130107_*.zip 20130108_*.zip(4 files). The all tests c... Eugenie Lyzenko

01/08/2013

04:38 PM Feature #1611: implement QUOTER utility
I have started another harness cycle about a hour ago. We will know today if this issue be repeated. Eugenie Lyzenko
04:24 PM Feature #1611: implement QUOTER utility
Strange. Can you reproduce the problem manually? Greg Shah
03:57 PM Feature #1611: implement QUOTER utility
The current report(The failing line is second in the figures below):... Eugenie Lyzenko
03:24 PM Feature #1611: implement QUOTER utility
It is unlikely, but yes, it is possible. Please show the lines of output in the report that are different. Greg Shah
02:51 PM Feature #1611: implement QUOTER utility
Is there inside the update some code that can affect data sorting algirythm inside report generated? I have one issue... Eugenie Lyzenko
04:18 PM Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
You only need to compare the src/aero/timco/majic directories. Greg Shah
04:01 PM Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
Is it enough to compare just src/aero/timco/majic to make sure the generated java code is identical? Or we need to co... Eugenie Lyzenko
03:21 PM Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
Yes, good plan. Make sure to compare the converted output from staging with the output from your copied build. It s... Greg Shah
02:47 PM Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
> Let me know if there are any questions.
The plan is:
After current staging passes the regression testing I will...
Eugenie Lyzenko
12:23 PM Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
It looks good. Please go ahead with testing. It needs both conversion AND runtime testing. The conversion testing ... Greg Shah
12:18 PM Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
OK. The update has been uploaded. Eugenie Lyzenko
11:49 AM Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
Feedback on the PlatformHelper:
1. Remove the JPRM column from the header. Since there are no JPRM numbers and JPR...
Greg Shah
10:51 AM Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
The new update to review. The method isUnderWindowsFamily() has been move to the separate class com.goldencode.util.P... Eugenie Lyzenko
10:17 AM Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
Yes, that makes sense. Greg Shah
10:13 AM Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
> Please create a new class com.goldencode.util.PlatformHelper. Put the static method isWindowsFamily() in there. Cal... Eugenie Lyzenko
09:23 AM Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
Everything looks good except for 1 thing.
We don't want com.goldencode.util to depend upon com.goldencode.p2j.util...
Greg Shah
01:26 PM Feature #1626: implement OS-DIR support as an INPUT stream
> 1. I don't like that you have made the status codes mutually exclusive..
> 2. I don't see how you can ever get the...
Costin Savin
12:04 PM Feature #1626: implement OS-DIR support as an INPUT stream
This is a step in the right direction, but it is incomplete or wrong in some ways.
1. I don't like that you have m...
Greg Shah
11:17 AM Feature #1626: implement OS-DIR support as an INPUT stream
The C implementation "filesys.c" according to Progress documentation... Costin Savin
03:12 AM Feature #1626: implement OS-DIR support as an INPUT stream
> ... they mean that the L, H and P attributes are always IN ADDITION TO the main attribute F, D, S or X
Yes those at...
Costin Savin
08:43 AM Support #1928: update documentation to explain how to convert, develop and run P2J on Windows
The latest document update uploaded. With small synytax fix and new line behavior description adding. Eugenie Lyzenko

01/07/2013

05:22 PM Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
The Windows detection code has been moved to separate statis method of the EnvironmentOps class.
Also I made one s...
Eugenie Lyzenko
04:33 PM Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
Yes, please make a new method for isUnderWindowsFamily() and use that everywhere necessary. Then upload the latest c... Greg Shah
03:47 PM Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
The new archive has been uploaded here for you to review.
The question: In getLegacyCaseSensitive() I have used "i...
Eugenie Lyzenko
02:54 PM Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
Feedback:
1. In ExpressionConversionWorker, instead of this:...
Greg Shah
01:51 PM Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
The cumulative fix has been uploaded here. Eugenie Lyzenko
01:26 PM Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
Please upload the complete update zip into this task so that I can do a final code review. Greg Shah
02:32 PM Feature #1626: implement OS-DIR support as an INPUT stream
To be clear, I think that when Progress says "You might also get one or more of the following characters:" they mean ... Greg Shah
02:29 PM Feature #1626: implement OS-DIR support as an INPUT stream
Implement option 2 (create the Linux implementation even though we cannot test the 4GL on Linux today). Please note ... Greg Shah
01:50 PM Feature #1626: implement OS-DIR support as an INPUT stream
The pipes case may be a problem to detect, since files and FIFO pipes are both marked with "F" only nonFIFO pipes w... Costin Savin
02:04 PM Feature #1650: process launching support for Windows (JNI library changes and any associated modi...
Please implement full process launching support for Windows. This means that src/native/process.c will need modifica... Greg Shah
11:07 AM Feature #1920: implement persistent procedures
Yes, you've got the idea.
I think your implementation approach (e.g. CommonProcedure) makes sense.
One note: us...
Greg Shah
08:14 AM Feature #1920: implement persistent procedures
Ok, now I undestand what you mean: when the resource is of a known type (widget, persistent procedure,etc), unwrap wi... Constantin Asofiei
10:15 AM Feature #1611: implement QUOTER utility
The latest update for this tast is cs_upd20121219a.zip the cs_upd20121231a? is for the other quoter (built-in) #1591.... Costin Savin
10:09 AM Feature #1611: implement QUOTER utility
> Did you get a chance to work on it?
Costin,
Have you updates ready to test in lightning? Is it only cs_upd20...
Eugenie Lyzenko
03:02 AM Feature #1591: implement QUOTER built-in function
I've applied the update to staging and P2J is rebuilt. Constantin Asofiei

01/04/2013

11:31 AM Feature #1626: implement OS-DIR support as an INPUT stream
For Windows stat() seems to do the job, but in Unix lstat() must be used or link will not be corectly detected.
2-> ...
Costin Savin
11:06 AM Feature #1626: implement OS-DIR support as an INPUT stream
It is OK to be linux-specific right now. We will have separate tasks to port this to Windows.
Some initial feedba...
Greg Shah
10:32 AM Feature #1626: implement OS-DIR support as an INPUT stream
Actually , I realize this will have to be tested on a windows system since there might be problems with lstat(). Costin Savin
10:21 AM Feature #1626: implement OS-DIR support as an INPUT stream
The code for filesys.c... Costin Savin
09:52 AM Feature #1626: implement OS-DIR support as an INPUT stream
Good. Please post your prototype code for review. Just paste the code into your redmine issue update if it is small... Greg Shah
09:42 AM Feature #1626: implement OS-DIR support as an INPUT stream
This also requires some changes to the ant task "native" ,
otherwise I made the changes and tested for symbolic lin...
Costin Savin
08:10 AM Feature #1626: implement OS-DIR support as an INPUT stream
Yes, this solution is OK. We already have a libp2j.so (which we will have to also port to Windows as p2j.dll). Righ... Greg Shah

01/03/2013

10:21 AM Feature #1626: implement OS-DIR support as an INPUT stream
Java (at least until Java 7 NIO 2) doesn't seem to have a way of detecting symbolic links( the problem it's likely th... Costin Savin

12/31/2012

11:34 AM Feature #1591: implement QUOTER built-in function
OK, it looks good. These additions should not be able to cause any runtime regressions. So I am going to bypass reg... Greg Shah
06:41 AM Feature #1591: implement QUOTER built-in function
Added proposed update Costin Savin
10:57 AM Feature #1920: implement persistent procedures
... Greg Shah

12/27/2012

03:37 PM Support #1928: update documentation to explain how to convert, develop and run P2J on Windows
Small changes to Windows specific has been uploaded. The issues for conversion INPUT THROUGH, OUTPUT THROUGH and INPU... Eugenie Lyzenko

12/25/2012

05:08 PM Support #1928: update documentation to explain how to convert, develop and run P2J on Windows
The updated versions of the document have been uploaded here. Also the new document part describing the run-time setu... Eugenie Lyzenko

12/22/2012

07:43 AM Feature #1920: implement persistent procedures
If I understood right, then there will be "handle.unwrap<Resource>" APIs, like:
* handle.unwrapWidget for widget han...
Constantin Asofiei

12/21/2012

02:29 PM Support #1928: update documentation to explain how to convert, develop and run P2J on Windows
I've uploaded two draft files here, one for conversion handbook, another for developer guide. Now I'm thinking and st... Eugenie Lyzenko
01:26 PM Feature #1591: implement QUOTER built-in function
Feedback:
1. Remove the builtin_functions.rules from your zip. There are no changes there.
2. The character.ja...
Greg Shah
01:09 PM Feature #1591: implement QUOTER built-in function
Added proposed update with the String overloaded methods. Costin Savin
12:12 PM Feature #1591: implement QUOTER built-in function
Yes. Greg Shah
12:09 PM Feature #1591: implement QUOTER built-in function
A quoter version which supports String instead of BaseDataType should probably be added to be reused for places where... Costin Savin
05:39 AM Feature #1591: implement QUOTER built-in function
Added the entry to expressions.odt Costin Savin
01:11 PM Feature #1920: implement persistent procedures
In addition to the general messiness that comes from having a global or "umbrella" interface, there is another practi... Greg Shah
12:35 PM Feature #1920: implement persistent procedures
The idea is, to be able to use handle.unwrap to access an attribute for any kind of handle (procedure handle, widget ... Constantin Asofiei
12:09 PM Feature #1920: implement persistent procedures
I thought we were going to use resource-specific interfaces instead of a global interface. I prefer it to be resourc... Greg Shah
09:32 AM Feature #1920: implement persistent procedures
Greg,
When collecting all the handle-related APIs in a "global" interface, I found some differences between the retu...
Constantin Asofiei
11:33 AM Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
The attached file contains only implementation and test cases for int64.
The changes are both syntactic and semantic...
Ovidiu Maxiniuc

12/20/2012

01:36 PM Feature #1591: implement QUOTER built-in function
I forgot to ask you to update the documentation. Please update the builtin functions table in the expressions.odt ch... Greg Shah
08:59 AM Feature #1591 (Closed): implement QUOTER built-in function
Greg Shah
11:16 AM Feature #1921: implement super-procedures
Ok, that makes sense. Constantin Asofiei
10:58 AM Feature #1921: implement super-procedures
... Greg Shah
10:05 AM Feature #1921: implement super-procedures
I found a case which I haven't thought about until now. Consider we have these procedures:
* t1.p:...
Constantin Asofiei
10:24 AM Feature #1626: implement OS-DIR support as an INPUT stream
Those parameters should NOT be emitted in the OS-DIR case. Greg Shah
09:58 AM Feature #1626: implement OS-DIR support as an INPUT stream
From default conversion logic p2j will also add 2 boolean parameters when calling StreamFactory.openOsDir: boolean w... Costin Savin
10:23 AM Feature #1611 (Test): implement QUOTER utility
I am OK with the proposed code.
Please work with Eugenie to put this through full runtime testing using lightning ...
Greg Shah
10:03 AM Feature #1611: implement QUOTER utility
Actually it's the cs_upd20121219a.zip mistaken between the two quoter folders. Costin Savin
09:02 AM Feature #1611: implement QUOTER utility
This is the wrong update (it is the same one that goes with #1591). Please upload the proper update (probably it is ... Greg Shah
09:40 AM Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
Another error I found. The following sample code extracted from _OpenEdge® Development: ABL Reference_ (page 55) fail... Ovidiu Maxiniuc

12/19/2012

07:28 AM Feature #1591: implement QUOTER built-in function
Applied to staging and P2J was rebuilt. MAJIC was not reconverted or rebuilt. Constantin Asofiei
06:35 AM Feature #1611: implement QUOTER utility
Added proposed update.
Also found a bug regarding the error message when input file does not exist and fixed it, th...
Costin Savin
03:23 AM Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
Current status:
* added .rules changes and in various files (like ExpressionConversion etc) for int64 support (more ...
Ovidiu Maxiniuc

12/18/2012

01:10 PM Feature #1591: implement QUOTER built-in function
OK, it looks good.
Good ahead and do the following:
1. Work with Constantin to get the update applied to stagin...
Greg Shah
12:27 PM Feature #1591: implement QUOTER built-in function

Added update. I assumed null -> &lt;code&gt;null&lt;/code&gt;
Costin Savin
11:32 AM Feature #1591: implement QUOTER built-in function
There is still a javadoc problem.... Greg Shah
06:43 AM Feature #1591: implement QUOTER built-in function
Done conversion regression testing, there are no differences. Costin Savin
12:49 PM Feature #1626: implement OS-DIR support as an INPUT stream
... Greg Shah
11:45 AM Feature #1626: implement OS-DIR support as an INPUT stream
Updated the Input from OS-Dir Specifications.
Certain things are not 100% clear:
From the list of arguments only NO-...
Costin Savin
12:33 PM Feature #1611: implement QUOTER utility
8. Yes ran all the tests and checked results it all looks good.
Will also test again after making the changes from r...
Costin Savin
12:02 PM Feature #1611: implement QUOTER utility
Feedback:
1. The text "This may be specified as a file or as a stream." in the javadoc for can be removed. Statin...
Greg Shah
12:03 PM Feature #1920: implement persistent procedures
That is fine with me. Greg Shah
08:58 AM Feature #1920: implement persistent procedures
The MAJIC sources, beside the ControlFlowOps and handle.unwrap changes, has this change: frame.getScreeValue(widget) ... Constantin Asofiei

12/17/2012

02:39 PM Feature #1591: implement QUOTER built-in function
Attached wrong update before. This is the correct one Costin Savin
02:30 PM Feature #1591: implement QUOTER built-in function
Added proposed update, started the regression test Costin Savin
12:57 PM Feature #1611: implement QUOTER utility
I understand , the final code should be be fully documented, respect the coding standards entirely , tested and broug... Costin Savin
12:16 PM Feature #1611: implement QUOTER utility
7. The text description is wrong it's 4't included not 5'th included. Corrected
Costin Savin
11:50 AM Feature #1584 (WIP): add conversion and runtime support for INT64 and DATETIME data types
Ovidiu Maxiniuc

12/15/2012

05:54 PM Feature #1591: implement QUOTER built-in function
Feedback:
This javadoc for the 2 parameter version needs to be changed:...
Greg Shah

12/14/2012

03:26 PM Support #1928 (WIP): update documentation to explain how to convert, develop and run P2J on Windows
Yes, these are the projects that need to be updated.... Greg Shah
02:15 PM Support #1928: update documentation to explain how to convert, develop and run P2J on Windows
If my understanding is OK the you mean the following directories need to be updated:
p2j_books/conversion_handbook
...
Eugenie Lyzenko
03:22 PM Feature #1611: implement QUOTER utility
Feedback, Part 2:
14. I think that preProcessQuoter() needs to be renamed. It leaves the impression that it is ju...
Greg Shah
12:58 PM Feature #1611: implement QUOTER utility
Feedback, Part 1:
ProcessDaemon:
1. The file needs its copyright date updated.
2. The changes in prepareComm...
Greg Shah
06:20 AM Feature #1611 (Review): implement QUOTER utility
Costin Savin
06:16 AM Feature #1611: implement QUOTER utility
Submitted testcases to bazaar added proposed update (revised and re-tested) Costin Savin
01:34 PM Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
Please focus on the conversion aspects of this task first and only stub out the runtime support at first. Start with... Eric Faulhaber
09:49 AM Feature #1626: implement OS-DIR support as an INPUT stream
After testing the simple case of OS-DIR usage (no options)... Costin Savin
07:27 AM Feature #1626 (WIP): implement OS-DIR support as an INPUT stream
Costin Savin
07:16 AM Feature #1591: implement QUOTER built-in function
Added revised proposed update. From what I understand there are plans to move code that is not character specific fro... Costin Savin
 

Also available in: Atom