Project

General

Profile

Activity

From 10/27/2013 to 11/25/2013

11/25/2013

05:39 PM Feature #1791: implement dynamic UI support
I am surprised that the "embedded assign" portion is not working. I think it was working properly back in April.
...
Greg Shah
05:04 PM Feature #1791: implement dynamic UI support
I'm trying to implement conversion of full form of CREATE WIDGET statement - a form with assign statement.
I wrote s...
Vadim Gindin
12:47 PM Feature #1791: implement dynamic UI support
Right now we store it on the server in EnvironmentOps. See isBatchMode() and setBatchMode() in that class.
We als...
Greg Shah
12:24 PM Feature #1791: implement dynamic UI support
How to distinguish batch mode from usual mode? Vadim Gindin
02:48 PM Feature #1787: implement batch mode support
The update for your review. Includes:
1. ErrorWriter is cleaned from UI related classes.
2. ErrorWriter* implementa...
Eugenie Lyzenko
01:28 PM Feature #1787: implement batch mode support
> So do we need to have two separate error writer implementations, one for client side and one for server side?
Ye...
Greg Shah
01:08 PM Feature #1787: implement batch mode support
> Yes, the described approach should eliminate this dependency.
OK. I have cleaned almost everything UI related fr...
Eugenie Lyzenko
10:14 AM Feature #1787: implement batch mode support
> This is the state before I started to work on batch mode. And the client member is used in ErrorManager class.
...
Greg Shah
09:26 AM Feature #1787: implement batch mode support
The question.
> 6. The ErrorManager class must NOT have any references to com.goldencode.p2j.ui.* or any UI relate...
Eugenie Lyzenko
01:08 PM Feature #1811: implement the AJAX client driver
> In this case the p2j design should be slightly changed to provide paths inside the user account home directory for ... Greg Shah
12:35 PM Feature #1811: implement the AJAX client driver
New changes in the current design.

1. In p2j when the user open the following URL https://<host>:<admin_port>/c...
Marius Gligor
09:50 AM Feature #1811: implement the AJAX client driver
This is really good work. Some thoughts:
1. Each spawned process must have a controlling terminal. You can use t...
Greg Shah
12:23 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
By the way. When user presses the button (RETURN key code), key function is CHOOSE (EVENT-TYPE:PROGRESS). In other ca... Vadim Gindin
12:09 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
Here is next update. LABEL is implemented correctly but EVENT-TYPE is not implemented correctly.
When user presses th...
Vadim Gindin

11/24/2013

08:47 AM Feature #1787: implement batch mode support
Code Review 1119a
This is a move in the right direction, but there are some important changes to make:
1. The E...
Greg Shah
08:13 AM Feature #1787: implement batch mode support
The idea makes sense. Greg Shah

11/23/2013

04:14 PM Feature #1787: implement batch mode support
The question. I'm working on PAUSE statement handling for batch mode and other statements like this that silently ign... Eugenie Lyzenko
03:29 AM Feature #1782: implement LAST-EVENT system handle and associated attributes
Vadim Gindin wrote:
> I found that EVENT-TYPE for Key Functions: CHOOSE, VALUE_CHANGED, DEFAULT_ACTION is PROGRESS. ...
Constantin Asofiei
07:08 PM Feature #1791: implement dynamic UI support
Good. Make sure to generate the proper errors in our code. That means that we should be pretty safe for M7. Greg Shah

11/22/2013

04:55 PM Feature #1791: implement dynamic UI support
Simple test:... Vadim Gindin
04:17 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
Constantin Asofiei wrote:
>..
> * Keyboard.isSynth - make sure the javadoc can be seen nicely in html (i.e. add a <...
Vadim Gindin
07:05 AM Feature #1782: implement LAST-EVENT system handle and associated attributes
Two notes about the changes:
* Keyboard.java - unneeded import
* Keyboard.isSynth - make sure the javadoc can be se...
Constantin Asofiei
11:38 AM Feature #1811: implement the AJAX client driver
Today I started to do tests using the spawn command written in C.
Here are the results.
I did some changes inside...
Marius Gligor

11/21/2013

06:02 PM Feature #1811: implement the AJAX client driver
This is good work. Some thoughts:
* We will want to limit the scope of the process that is root. In particular, t...
Greg Shah
12:38 PM Feature #1811: implement the AJAX client driver
A. I did a lot of researches to find out a way to execute a command on Linux on the environment of other user,
He...
Marius Gligor
04:44 PM Feature #1791: implement dynamic UI support
> CHUI supports only one (default) window and CREATE WINDOW won't work in CHUI. If we implement CREATE WINDOW in-spit... Greg Shah
04:19 PM Feature #1791: implement dynamic UI support
I will probably repeat the Constantin's question, but I'm recalling, CHUI supports only one (default) window and CREA... Vadim Gindin
02:03 PM Feature #1791: implement dynamic UI support
> Greg: beside for the CREATE WINDOW statement, there are the IN WINDOW clause and the assignment of CURRENT-/DEFAULT... Greg Shah
03:57 AM Feature #1791: implement dynamic UI support
Vadim Gindin wrote:
> 2) ... When I set the frame attribute of a button but didn't set appearing properties - a bu...
Constantin Asofiei
04:43 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
Here is next update. If I correctly understand we have the only one open question - about criteria of EVENT-TYPE sett... Vadim Gindin
02:07 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
It works different than we expected:
ENTRY, LEAVE - KEYPRESS inspite of they are synthetic in Keyboard.java. CHOOSE ...
Vadim Gindin
01:20 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
Vadim Gindin wrote:
> Constantin Asofiei wrote:
> > ..
> > you will need to check if the last-key code is syntheti...
Constantin Asofiei
01:17 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
Constantin Asofiei wrote:
> ..
> you will need to check if the last-key code is synthetic or not ..
How to check...
Vadim Gindin

11/20/2013

06:42 PM Feature #1791: implement dynamic UI support
> Greg: do we have a list of which widgets should be implemented first? In the reports for the #2155 and M7, I did no... Greg Shah
05:02 PM Feature #1791: implement dynamic UI support
Some intermediate results:
1) Here is three ways creation of dynamic widgets in static containers, creation of dyn...
Vadim Gindin
02:02 PM Feature #1791: implement dynamic UI support
> Should I correct the error message in this case?
No, do not focus on it; this is a conversion issue (to show the p...
Constantin Asofiei
12:32 PM Feature #1791: implement dynamic UI support
I thought that I can write more simple test to check the support of DELETE statement, i.e. I don't need to create but... Vadim Gindin
11:12 AM Feature #1791: implement dynamic UI support
Vadim Gindin wrote:
> It seems that the real case of dynamic button creation is not really implemented or good teste...
Constantin Asofiei
06:13 PM Feature #1811: implement the AJAX client driver
The standard Java process launching does not properly setup the terminal environment. As mentioned before, the termi... Greg Shah
02:11 PM Feature #1811: implement the AJAX client driver
I started to do tests using Linux su and sudo commands.
1. For security reasons su and sudo doesn't allow stdin re...
Marius Gligor
10:10 AM Feature #1811: implement the AJAX client driver
Here is a new design which is able to spawn the WebClient into the server context.
a) I designed a generic ClientB...
Marius Gligor
10:53 AM Feature #1782: implement LAST-EVENT system handle and associated attributes
Sorry, I was mistaken in saying you need to treat @EVENT-TYPE@ in the "global" attribute/method handling too... is en... Constantin Asofiei
08:29 PM Feature #1787: implement batch mode support
This update for review includes implementation proposal for interface implementing the error messages output for diff... Eugenie Lyzenko

11/19/2013

04:42 PM Feature #1791: implement dynamic UI support
Well I tried to concentrate on what will happen with UI if some dynamic widget is deleted and wrote some test proced... Vadim Gindin
09:19 AM Feature #1811: implement the AJAX client driver
> 1. I used a singleton design because I cannot export the Spawner interface on multiple instances.
> Is any method ...
Greg Shah
07:06 AM Feature #1811: implement the AJAX client driver
Another important design issue.
When a request is made at https://<server_host>:<admin_port>/chui the request is han...
Marius Gligor
06:01 AM Feature #1811: implement the AJAX client driver
1. I used a singleton design because I cannot export the Spawner interface on multiple instances.
Is any method t...
Marius Gligor
07:10 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
> Or there is possible to assign LAST-EVENT handle to some var?
Exactly: @my-handle-var = LAST-EVENT. message my-...
Greg Shah

11/18/2013

06:38 PM Feature #1811: implement the AJAX client driver
Code Review 1118a
There is some good work here, but this still needs some work. If anything, this is a good start...
Greg Shah
01:14 PM Feature #1811: implement the AJAX client driver
Here is the first implementation of our process spawner. It was tested and found to work properly.
Bellow are some d...
Marius Gligor
11:11 AM Feature #1811: implement the AJAX client driver
The archive contains the ChuiWebDriver implementation based on jetty web sockets.
Passed regression testing, committ...
Marius Gligor
05:39 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
Constantin Asofiei wrote:
> About implementing the @EVENT-TYPE@ attribute:
> 1. in @methods_attributes.rules@, you ...
Vadim Gindin
02:10 AM Feature #1782: implement LAST-EVENT system handle and associated attributes
About implementing the @EVENT-TYPE@ attribute:
1. in @methods_attributes.rules@, you need to treat the @kw_evt_type@...
Constantin Asofiei
05:21 PM Feature #2200 (Closed): enable a Jetty web server to be initialized and used within a client process
Greg Shah
11:19 AM Feature #1787: implement batch mode support
I am generally OK with the proposal. I'll need to see the implementation to comment further.
> One note here. Win...
Greg Shah

11/17/2013

05:24 PM Feature #1787: implement batch mode support
> 5. In regard to the ErrorManager case, please make a proposal for discussion. For a long time, I have wanted to abs... Eugenie Lyzenko
04:36 PM Feature #1787: implement batch mode support
Both Linux and Windows generates error:... Eugenie Lyzenko

11/15/2013

05:16 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
I'm posting update but I have open questions.
I've added @label@ field to WorkArea to hold the label. So I need th...
Vadim Gindin
09:36 AM Feature #1782: implement LAST-EVENT system handle and associated attributes
I think your approach of using MESSAGE to debug LAST-EVENT:LABEL is unfortunate in this case. This will lead the prog... Constantin Asofiei
08:04 AM Feature #1782: implement LAST-EVENT system handle and associated attributes
As you advised I ran scripts from the command line on windev01. It lets my edit procedures corresponding to you last ... Vadim Gindin
04:29 PM Feature #1787: implement batch mode support
> You will need to add logic to StandardServer.standardEntry() to catch this new exception and set the mainResult to ... Eugenie Lyzenko
09:48 AM Feature #1787: implement batch mode support
OK, so we have some kind of uncatchable abend.
Please post the list of the exact cases (e.g. READKEY on LINUX) whi...
Greg Shah
01:40 PM Feature #1811: implement the AJAX client driver
The following files should be deleted:
ChuiAppletHandler.java ChuiApplet.java and chui_applet.html
Also I have ...
Marius Gligor
01:29 PM Feature #1811: implement the AJAX client driver
Please fix the build.xml and re-do your manual testing. If that works, then you can check in the update and distribu... Greg Shah
01:26 PM Feature #1811: implement the AJAX client driver
> The chuiApplet is no longer used, should I delete the files related to this applet from project?
Yes.
Greg Shah
01:05 PM Feature #1811: implement the AJAX client driver
The changes does not affect the the adminConsole applet.
The chuiApplet is no longer used, should I delete the fil...
Marius Gligor
01:00 PM Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> 1. Here are the results of the regression tests. Seems to be expected errors.
Do not update ...
Constantin Asofiei
12:44 PM Feature #1811: implement the AJAX client driver
1. Here are the results of the regression tests. Seems to be expected errors.
2. I did also tests on my workstatio...
Marius Gligor

11/14/2013

06:02 PM Feature #1787: implement batch mode support
No changes for both Windows and Linux and for every cases: ENDKEY, ERROR, STOP and QUIT. The tests are:
Caller:
<pr...
Eugenie Lyzenko
05:25 PM Feature #1787: implement batch mode support
> Looks like we need something like Progress 4GL "source level debugger".
Progress does have a debugger. I've nev...
Greg Shah
03:45 PM Feature #1787: implement batch mode support
OK. I have got the strange results:
1. Calling program does not continue after failed returns.
2. The answer no b...
Eugenie Lyzenko
12:16 PM Feature #1787: implement batch mode support
No, what they are describing on page 52 is the ERROR condition. We already support that fully.
You have found som...
Greg Shah
11:05 AM Feature #1787: implement batch mode support
The ENDKEY works the same way as ERROR, STOP, QUIT. I have tested even interception by CATCH block usage like:... Eugenie Lyzenko
02:00 PM Feature #1811: implement the AJAX client driver
Yes, the reference to ChuiWebDriver from WebHandler will be eliminated and replaced with code to spawn the client. Marius Gligor
01:28 PM Feature #1811: implement the AJAX client driver
Code Review 1114b
It looks good. Please get this runtime regression tested.
I assume that the direct reference...
Greg Shah
12:20 PM Feature #1811: implement the AJAX client driver
Changes after Code Review 1114a. Marius Gligor
11:20 AM Feature #1811: implement the AJAX client driver
Code Review 1114a
1. The ChuiWebSocketCreator has nothing that is specific to ChUI. Let's make it generic and put...
Greg Shah
10:47 AM Feature #1811: implement the AJAX client driver
Regarding my tests with ClientDriver and "chui_web" screen driver I used the configuration
file client.xml and the k...
Marius Gligor
10:23 AM Feature #1811: implement the AJAX client driver
I did more changes in the structure of the project to make the implementation more generic and abstract.
1. The Ch...
Marius Gligor
12:23 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
The tests work for me on windev01 (maybe was just a glitch). But, what I would like you to do is to try to simplify t... Constantin Asofiei
11:33 AM Feature #1782: implement LAST-EVENT system handle and associated attributes
Thank you Constantin! Test cases are already committed to bazaar (testcases/uast/lastevent/server-socket.p and testca... Vadim Gindin
05:21 AM Feature #1782: implement LAST-EVENT system handle and associated attributes
Vadim Gindin wrote:
> As you can see LAST-EVENT:LABEL before and after is "RETURN". It don't conforms to Progress re...
Constantin Asofiei

11/13/2013

05:00 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
No, It wasn't in the java.library.path and you are right - that was the reason of error with memptr. Thank you.
Go...
Vadim Gindin
01:34 AM Feature #1782: implement LAST-EVENT system handle and associated attributes
Vadim Gindin wrote:
> After that there is an error in server-socket.p and at this moment I didn't find out reason. S...
Constantin Asofiei
03:10 PM Feature #1787: implement batch mode support
I guess it is worth trying ENDKEY too. Greg Shah
03:08 PM Feature #1787: implement batch mode support
> Please try ERROR instead of STOP or QUIT.
The same result as for STOP and QUIT.
Eugenie Lyzenko
10:14 AM Feature #1787: implement batch mode support
Please try ERROR instead of STOP or QUIT. Greg Shah
03:08 PM Feature #1811: implement the AJAX client driver
> In this case I think that we have to use the ClientCore.start(...) method like ClientDriver finally do.
I was as...
Greg Shah
02:40 PM Feature #1811: implement the AJAX client driver
The WebSocketAdapter was used only for notification mechanism because WebSocketAdapter implements WebSocketListener.
...
Marius Gligor
02:09 PM Feature #1811: implement the AJAX client driver
> in this case I think that is possible to extend the web socket in simulator
I don't have a problem using the We...
Greg Shah
01:07 PM Feature #1811: implement the AJAX client driver
1. The server web socket is created only when the remote user will open the communication with him.
On the other han...
Marius Gligor
12:23 PM Feature #1811: implement the AJAX client driver
> I found no GUI implementation on the current p2j. The screen driver for GUI should be designed from scratch.
Cor...
Greg Shah
12:02 PM Feature #1811: implement the AJAX client driver
Code Review 1113a
This is moving in exactly the direction I was looking for. Very good.
1. I see that there is...
Greg Shah
10:06 AM Feature #1811: implement the AJAX client driver
1. I've created a new Chui screen simulator which use the web socket for remote communication.
Basically the simu...
Marius Gligor
01:08 PM Feature #2201 (WIP): implement the web client process spawning and server redirect
Marius Gligor

11/12/2013

06:30 PM Feature #1787: implement batch mode support
The strange results have been gotten for the following testcase:... Eugenie Lyzenko
05:26 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
Thanks. Good advices. I set all correctly. The problem was in paths. Mappings contains path dependent of "testcases/u... Vadim Gindin
12:24 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
> 1) It don't run external procedure. In the Progress I should specify the directory with external procedures to PROP... Constantin Asofiei
12:07 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
Here the file with error log Vadim Gindin
12:06 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
Good idea.
I tried to run such procedure (converted) and faced with problems:
1) It don't run external procedure. I...
Vadim Gindin
03:10 AM Feature #1782: implement LAST-EVENT system handle and associated attributes
Vadim Gindin wrote:
> 3) How to test converted procedures that requires two parts: client and server, sessProc and t...
Constantin Asofiei
04:44 PM Feature #1811: implement the AJAX client driver
Task #2201 is meant to take the next steps beyond #2200. In #2200 the embedded web server is enabled in the client. ... Greg Shah
01:53 PM Feature #1811: implement the AJAX client driver
> 1. The web socket communications are asynchronous messaging operations.
> Here we have to find a solution in case ...
Greg Shah
01:40 PM Feature #1811: implement the AJAX client driver
Code Review 1112b
I like the changes.
Greg Shah
01:38 PM Feature #1811: implement the AJAX client driver
Code Review 1112a
As we are just starting on the path to the web driver(s), we will check something in soon that i...
Greg Shah
01:21 PM Feature #1811: implement the AJAX client driver
code formatting Marius Gligor
12:45 PM Feature #1811: implement the AJAX client driver
Code Formatting Notes
The following are some general (but minor) problems with the code formatting.
1. Where po...
Greg Shah
12:09 PM Feature #1811: implement the AJAX client driver
The archive mag_upd20131112a.zip contains the first implementation for the Ajax screen driver.
AjaxScreenDriver ha...
Marius Gligor
04:37 PM Feature #2201 (Closed): implement the web client process spawning and server redirect
Greg Shah

11/11/2013

04:07 PM Feature #1811: implement the AJAX client driver
Feedback 1111a
I like it. I look forward to seeing the client side fill out.
Greg Shah
04:02 PM Feature #1811: implement the AJAX client driver
From Greg on November 11, 2013:
Before I review the code, I will provide some comments and answers to note 10.
...
Greg Shah
04:02 PM Feature #1811: implement the AJAX client driver
From Marius, on November 11, 2013. Greg Shah
04:01 PM Feature #1811: implement the AJAX client driver
From Marius, on November 11, 2013:
Today I did a lot of tests regarding the ClientDriver and ThinClient.
I'm able...
Greg Shah
04:00 PM Feature #1811: implement the AJAX client driver
From Greg on November 8, 2013:
Feedback
This is very good. Some thoughts:
1. Change the "ws" package to "we...
Greg Shah
04:00 PM Feature #1811: implement the AJAX client driver
From Marius on November 8, 2013:
Release candidate after your feedback.
1.a The embedded server was renamed as ...
Greg Shah
03:58 PM Feature #1811: implement the AJAX client driver
From Greg on November 7, 2013:
Initial Feedback
I realize that this is a work in progress and an early version....
Greg Shah
03:57 PM Feature #1811: implement the AJAX client driver
From Marius on November 7, 2013:
Web Sockets support - the current design
Each client running on server has an ...
Greg Shah
03:56 PM Feature #1811: implement the AJAX client driver
From Marius on November 5, 2013:
Today I started to design and implement the AJAX Client Driver.
So far I designe...
Greg Shah
03:56 PM Feature #1811: implement the AJAX client driver
From Greg on November 4, 2013:
> Q: The "server jetty" is in fact the WebServer or another instance, a new design?...
Greg Shah
03:55 PM Feature #1811: implement the AJAX client driver
From Marius on November 4, 2013:
Regarding the implementation on P2J I read your specifications.
Here is what I u...
Greg Shah
03:42 PM Feature #1791: implement dynamic UI support
Vadim Gindin wrote:
> > # the pool behavior is not implemented - should be done for #2027; estimate is 20 hours for ...
Constantin Asofiei
03:15 PM Feature #1791: implement dynamic UI support
Constantin Asofiei wrote:
> What should #2027 "prelimiary runtime support" contain? Do you mean to avoid implementin...
Vadim Gindin
03:15 PM Feature #2200: enable a Jetty web server to be initialized and used within a client process
Unfortunately, I have just realized that all of these discussions have been going on in the wrong redmine task. Plea... Greg Shah
03:14 PM Feature #2200: enable a Jetty web server to be initialized and used within a client process
Before I review the code, I will provide some comments and answers to note 10.
> The ClientDriver is a remote clie...
Greg Shah
01:21 PM Feature #2200 (Review): enable a Jetty web server to be initialized and used within a client process
Marius Gligor
10:42 AM Feature #2200: enable a Jetty web server to be initialized and used within a client process
Today I did a lot of tests regarding the ClientDriver and ThinClient.
I'm able to starts and debug from my IDE both ...
Marius Gligor
02:22 PM Feature #1787: implement batch mode support
> For now I use this exception because the 4GL really stops the application when facing with i/o statements in batch ... Greg Shah
01:45 PM Feature #1787: implement batch mode support
> 2. What is the purpose of the BatchPrimitives.batchModeOn flag? It doesn't really seem to mean that we are in batch... Eugenie Lyzenko
12:40 PM Feature #1787: implement batch mode support
Code Review 1109a
1. I like the approach. Keep going with this.
2. What is the purpose of the BatchPrimitives....
Greg Shah
01:08 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
When you run code like @message my-var + " some text".@, the result will be a ? when my-var is the unknown value. In... Greg Shah
12:55 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
I've committed test cases. Rev #1065. See editing.p for issue 1. Recreation sequence is simple - run editing.p - and ... Vadim Gindin
11:18 AM Feature #1782: implement LAST-EVENT system handle and associated attributes
Please check your tests into the testcases/uast/ project. Make a testcases/uast/last_event/ subdirectory. I will ne... Greg Shah

11/10/2013

05:54 PM Feature #1787: implement batch mode support
The further investigations and debugging shows the following requirements with the current approach:
1. The real b...
Eugenie Lyzenko

11/08/2013

05:27 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
Behavior of other tests is identical.
About points 1 and 2 I just don't understand this logic.. May be we stay cur...
Vadim Gindin
05:15 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
The more I'm executing tests (source and converted) the more different I'm getting results.
The last actual result i...
Vadim Gindin
01:47 PM Feature #2200: enable a Jetty web server to be initialized and used within a client process
Feedback
This is very good. Some thoughts:
1. Change the "ws" package to "web". This will be the place for ge...
Greg Shah
12:10 PM Feature #2200: enable a Jetty web server to be initialized and used within a client process
Release candidate after your feedback.
1.a The embedded server was renamed as GenericeWebServer. This class could ...
Marius Gligor

11/07/2013

06:37 PM Feature #2200: enable a Jetty web server to be initialized and used within a client process
Initial Feedback
I realize that this is a work in progress and an early version. Thank you for posting it and the...
Greg Shah
12:56 PM Feature #2200: enable a Jetty web server to be initialized and used within a client process
Web Sockets support - the current design
Each client running on server has an embedded jetty server which offer we...
Marius Gligor
09:01 AM Feature #1522 (Closed): Jetty Upgrade
Greg Shah
09:01 AM Feature #1526 (Closed): integrate the new version into P2J
Committed to bzr revision 10410. Greg Shah

11/06/2013

05:10 PM Feature #1526: integrate the new version into P2J
> All that remain is to commit the changes on the bazaar repository and send an email to the team members to inform t... Greg Shah
11:18 AM Feature #1526 (Review): integrate the new version into P2J
Testing Admin Console on MAJIC server:
1. Create on your home directory the following structure:
~/testing
/ma...
Marius Gligor
12:15 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
Here are some test results (I added EVENT-TYPE).
EVENT-TYPES
1. editing phrase - KEYPRESS
2. message .. view-as aler...
Vadim Gindin

11/05/2013

04:52 PM Feature #1787: implement batch mode support
This is the current status update for what I'm working on for you to keep track.
The update includes prototype for...
Eugenie Lyzenko
01:20 PM Feature #2200: enable a Jetty web server to be initialized and used within a client process
Today I started to design and implement the AJAX Client Driver.
So far I designed the embedded jetty SSL server and ...
Marius Gligor
12:02 PM Feature #1526: integrate the new version into P2J
Marius: if the failures are related to the false negatives described in the automated testing regression notes, then ... Constantin Asofiei
11:54 AM Feature #1526: integrate the new version into P2J
According to the regression tests reports attached the final result is PASSED.
Marius Gligor
11:05 AM Feature #1526: integrate the new version into P2J
> Please have a look over the attached log files and give me a hint.
Unfortunately, I don't have the time right no...
Greg Shah
10:47 AM Feature #1526: integrate the new version into P2J
1. Today I started a new regression test from the beginning, including conversion.
Unfortunately I got the same r...
Marius Gligor

11/04/2013

04:10 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
1. "anywhere" is not supported
2. widgets events works fine with current impl of LAST-EVENT:LABEL
3. EVENT-TYPE is ...
Vadim Gindin
01:49 PM Feature #1526: integrate the new version into P2J
> I have to restart the regression test.
Make sure you wait long enough for the main part to finish. It can take ...
Greg Shah
01:30 PM Feature #1526: integrate the new version into P2J
Today I started the the regression tests.
The first conversion was done without any error.
Currently I have a regre...
Marius Gligor
10:02 AM Feature #1526: integrate the new version into P2J
> By the way the document which describe regression testing has a little miss, the ant task runtime-regression.
Go...
Greg Shah
10:00 AM Feature #1526: integrate the new version into P2J
> My first regression test failed on CTRL-C test. What's this?
As you may have seen in the 4GL, the user can issue...
Greg Shah
09:39 AM Feature #1526: integrate the new version into P2J
1. We already disabled the http by defining a single SSL connector which use only the https protocol.
We have no ...
Marius Gligor
09:26 AM Feature #1526: integrate the new version into P2J
Code Review 1104b
It looks good. Put it through runtime regression testing. There is no need for conversion test...
Greg Shah
09:09 AM Feature #1526: integrate the new version into P2J
1. restore idle timeout to 30000 ms.
2. organize imports.
Marius Gligor
09:07 AM Feature #1526: integrate the new version into P2J
The daily index should be a instead c. Marius Gligor
08:36 AM Feature #1526: integrate the new version into P2J
Code Review 1104c
1. The timeout can't be set to 2000ms.
> In conclusion this method is equivalent with the old...
Greg Shah
08:22 AM Feature #1526: integrate the new version into P2J
1. jetty-9.1.0-SNAPSHOT is official documented on the Eclipse web site (http://www.eclipse.org/jetty/documentation/cu... Marius Gligor
02:26 AM Feature #1526: integrate the new version into P2J
Regarding SSL handshake timeout.
SslSocket extends Socket class and provides secure socket using protocols such
...
Marius Gligor
01:04 PM Feature #2200: enable a Jetty web server to be initialized and used within a client process
> Q: The "server jetty" is in fact the WebServer or another instance, a new design?
I don't see any important adva...
Greg Shah
12:21 PM Feature #2200: enable a Jetty web server to be initialized and used within a client process
Regarding the implementation on P2J I read your specifications.
Here is what I understood so far:
1. The browser ...
Marius Gligor
07:01 AM Feature #2200 (WIP): enable a Jetty web server to be initialized and used within a client process
Marius Gligor

11/03/2013

10:00 AM Feature #1811: implement the AJAX client driver
For task #2200, the following must be reviewed/considered:
* The startup process for the ClientDriver and ThinClie...
Greg Shah
09:20 AM Feature #1782: implement LAST-EVENT system handle and associated attributes
> But EVENT-TYPE is not implemented yet..
Please enhance your testcases to add output of EVENT-TYPE and FUNCTION (...
Greg Shah
08:05 AM Feature #1526: integrate the new version into P2J
In regard to the failure in the regression testing environment, the problem location is here:... Greg Shah
07:10 AM Feature #1526: integrate the new version into P2J
Code Review 1101b
The code looks good. I see that you removed the concerning code with the fixed port 8443. That...
Greg Shah
07:04 AM Feature #1526: integrate the new version into P2J
> 1. Jetty 9.1 indeed is not a stable release and could be changed until the final release.
Do you know the target d...
Greg Shah

11/01/2013

04:38 PM Feature #1811: implement the AJAX client driver
In the following, the term AJAX is used as a shorthand for a javascript implementation that runs as a "web applicatio... Greg Shah
02:22 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
Here is a principled problem. The documentation says that the value of LAST-EVENT:LABEL depends on LAST-EVENT:EVENT-T... Vadim Gindin
01:03 PM Feature #1526: integrate the new version into P2J
Today I've finished to test the P2J integration of jetty 9.1 on my workstation.
Later I started to prepare the regre...
Marius Gligor
11:39 AM Feature #1526: integrate the new version into P2J
1. Jetty 9.1 indeed is not a stable release and could be changed until the final release.
Jetty 9.0.6 is the late...
Marius Gligor
09:07 AM Feature #1526: integrate the new version into P2J
Code Review 1101a
The update is pretty good.
1. 9.1 is still not listed as the latest "stable" release for Jett...
Greg Shah
08:33 AM Feature #1526: integrate the new version into P2J
This the archive containing my changes. Marius Gligor
08:25 AM Feature #1526: integrate the new version into P2J
Today I tested the P2J build having my changes.
First I tested from Eclipse IDE and I found to work properly.
Next I ...
Marius Gligor
09:46 AM Feature #2200: enable a Jetty web server to be initialized and used within a client process
This task is just for time tracking and project management. All task history should be placed in the parent task #1811. Greg Shah
09:42 AM Feature #2200 (Closed): enable a Jetty web server to be initialized and used within a client process
Greg Shah
09:12 AM Feature #1525 (Closed): submit patches upstream (if the patches are still needed)
This is no longer needed. Greg Shah
09:11 AM Feature #1524 (Closed): merge existing patches if necessary
HTTPS testing shows that we no longer need the patches after the upgrade. Greg Shah

10/31/2013

03:03 PM Feature #1787: implement batch mode support
> I assume that UI things like DISPLAY still work with redirected unnamed streams output. Is that correct?
Yes, th...
Eugenie Lyzenko
02:46 PM Feature #1787: implement batch mode support
Good, this helps to clarify things. Notice how only certain interactive cases cause errors and the rest of the I/O s... Greg Shah
02:31 PM Feature #1787: implement batch mode support
OK. The findings are:
1. 4GL behaves the same way in Linux and Windows. The difference is not related to the i/o o...
Eugenie Lyzenko
02:05 PM Feature #1526: integrate the new version into P2J
Today I managed to ran the AdminClient applet using the current P2J project.
Also I studied the server and client co...
Marius Gligor
11:20 AM Feature #1526: integrate the new version into P2J
I need to logon on the AdminConsole and I have to use an user id and a password.
1. It's OK to use the admin user ...
Marius Gligor
07:40 AM Feature #1526: integrate the new version into P2J
The AppletHandler works properly and the applet code embedded on the admin_login.html
after the placeholders are set...
Marius Gligor
04:25 AM Feature #1526: integrate the new version into P2J
I started the server using the following command line parameters:
net:connection:secure=true net:server:secure=3334
...
Marius Gligor

10/30/2013

06:26 PM Feature #1787: implement batch mode support
I am talking about if the 4GL code is using both techniques at the same time. So a program started like this:
<pr...
Greg Shah
06:21 PM Feature #1787: implement batch mode support
> I am wondering what happens if you have the input and/or output of the process redirected from the command line and... Eugenie Lyzenko
06:04 PM Feature #1787: implement batch mode support
I am wondering what happens if you have the input and/or output of the process redirected from the command line and t... Greg Shah
05:54 PM Feature #1787: implement batch mode support
> This last point brings up another question: what happens if you run code in batch mode that redirects the unnamed s... Eugenie Lyzenko
05:16 PM Feature #1787: implement batch mode support
> We can declare using the batch mode either in client.xml file or command line with client starting script client.sh... Greg Shah
05:05 PM Feature #1787: implement batch mode support
So my suggestions at this time:
1. For bootstrap config. We can declare using the batch mode either in client.xml ...
Eugenie Lyzenko
12:04 PM Feature #1526: integrate the new version into P2J
This is a good opportunity for you to debug through the server startup to see why Jetty is not initialized. Greg Shah
11:46 AM Feature #1526: integrate the new version into P2J
I have the following settings in directory.xml file of simple server
<node class="container" name="server">
...
Marius Gligor
10:37 AM Feature #1526: integrate the new version into P2J
> The changes aren't committed yet to my local repository.
Good. If you commit to a bzr check-out of P2J, it will...
Greg Shah
04:03 AM Feature #1526: integrate the new version into P2J
I started to integrate the jetty 9.1 into the P2J project by replacing the old jetty 6.1.14 jars with the new jetty-a... Marius Gligor
10:17 AM Feature #1524: merge existing patches if necessary
If I recall correctly, the patch was to provide accessors so that we could set some of the SSL configuration via prog... Greg Shah
03:46 AM Feature #1524: merge existing patches if necessary
The SslSocketConnector.java file is no longer part of the project.
I searched the project for snippets of code like...
Marius Gligor
03:37 AM Feature #1524: merge existing patches if necessary
Building jetty 9.1
1. Install git and maven.
2. Checkout the jetty project from github branch release-9.1
3....
Marius Gligor
09:57 AM Feature #1782: implement LAST-EVENT system handle and associated attributes
The CTRL-SHIFT-ALT-HELP-KEY may be a kind of "ANY" key that is reported from PAUSE. Greg Shah
09:40 AM Feature #1782: implement LAST-EVENT system handle and associated attributes
> 1. Readkey
OK
> 2. nested UI statements
I think you are right, and the following shows this without using ENDK...
Constantin Asofiei

10/29/2013

02:33 PM Feature #1782: implement LAST-EVENT system handle and associated attributes
Here are results of remained testing:
1. Readkey. The result of your test and mine (with pause) shows that there is ...
Vadim Gindin
02:01 PM Feature #1524 (Review): merge existing patches if necessary
Marius Gligor
02:00 PM Feature #1524 (WIP): merge existing patches if necessary
Marius Gligor
01:57 PM Feature #1526 (WIP): integrate the new version into P2J
Marius Gligor

10/28/2013

07:12 PM Feature #1787: implement batch mode support
> In a new approach with the only command client.sh we need the ability to start either interactive mode or batch mo... Greg Shah
05:28 PM Feature #1787: implement batch mode support
> I assume you are done with your testing. Based on your results, what do you propose as changes to implement this be... Eugenie Lyzenko
04:50 PM Feature #1787: implement batch mode support
I assume you are done with your testing. Based on your results, what do you propose as changes to implement this beh... Greg Shah
 

Also available in: Atom