Project

General

Profile

Activity

From 02/16/2014 to 03/17/2014

03/17/2014

02:25 PM Feature #1811: implement the AJAX client driver
OK, go ahead and write our own vt100 emulation layer, from scratch. Of course, it is OK to look at the other project... Greg Shah
02:16 PM Feature #1811: implement the AJAX client driver
I didn't found any native library that could be used in our P2J interactive client.
Each application which need a te...
Marius Gligor
11:11 AM Feature #1811: implement the AJAX client driver
1. I don't know I have to check if such libraries exists.
2. Screen is writen in C and YES he provide also a VT 10...
Marius Gligor
10:37 AM Feature #1811: implement the AJAX client driver
> The VT 100 emulator could be designed by getting some code from JCTerm project and adapt to our needs.
> Also we c...
Greg Shah
09:52 AM Feature #1811: implement the AJAX client driver
The attached examples are form projects which implements SSH standalone clients.
Those projects use the same inter...
Marius Gligor

03/16/2014

11:53 AM Feature #1811: implement the AJAX client driver
> None of the existing Java VT 100 emulators can be used as they are.
Please provide more details.
* What are...
Greg Shah

03/14/2014

04:26 PM Feature #1811: implement the AJAX client driver
None of the existing Java VT 100 emulators can be used as they are.
We have to create a derivative work if license a...
Marius Gligor
01:58 PM Feature #1811: implement the AJAX client driver
A couple of quick points:
> The VT 100 terminal emulator should be a Java implementation. Searching on Internet I ...
Greg Shah
12:23 PM Feature #1811: implement the AJAX client driver
1. The interactive client on Linux/Unix could be implemented using a pseudo terminal.
A pseudo terminal (PTY) is ass...
Marius Gligor

03/13/2014

06:12 PM Feature #2162: add support for CURRENT-ITERATION attribute (for widget objects)
Next update works for almost all up/down cases including different step sizes (not only 1). Here are two remained unc... Vadim Gindin
10:57 AM Feature #2247 (WIP): interactive child process support
Marius Gligor
10:56 AM Feature #1811: implement the AJAX client driver
0312c.zip Integrate spawn.c changes into winspawn.c ref. #2243
Passed regression tests. Committed revision 10492.
Marius Gligor

03/12/2014

02:19 PM Feature #1811: implement the AJAX client driver
OK, then go ahead and get this runtime regression tested. Greg Shah
02:06 PM Feature #1811: implement the AJAX client driver
No. I have no other changes to do. Marius Gligor
01:18 PM Feature #1811: implement the AJAX client driver
Code Review 0312c
I'm fine with the code.
Is there anything left to do for #2243?
Greg Shah
12:04 PM Feature #1811: implement the AJAX client driver
The encryption use is now optional. By default no encryption is used just clear-text.
In order to use encryption a c...
Marius Gligor
10:09 AM Feature #1811: implement the AJAX client driver
I like the idea.
Some issues:
# We can't use encryption keys that are hard coded in our source code. We provide...
Greg Shah
09:13 AM Feature #1811: implement the AJAX client driver
Here is my implementation for password encryption.
For Windows OS we have to keep the systemPassword in clear-text i...
Marius Gligor
09:08 AM Feature #1811: implement the AJAX client driver
Code Review 0312a
The code looks fine. What is left to do with this task?
Greg Shah
09:03 AM Feature #1811: implement the AJAX client driver
Normally, I would absolutely want to do this.
Can the encoding be easily reversed? It seems like it must be rever...
Greg Shah
08:52 AM Feature #1811: implement the AJAX client driver
Today I designed and tested a simple algorithm in C code to encode/decode the password on Windows OS.
I think that i...
Marius Gligor
08:48 AM Feature #1811: implement the AJAX client driver
> Since the redirection of STDOUT or STDIN for chui_native clients make no sense I think that is better to keep the o... Greg Shah
03:24 AM Feature #1811: implement the AJAX client driver
1. The code inside terminal_win.c is the native implementation of chui_native screen driver for Windows OS using cons... Marius Gligor

03/11/2014

04:10 PM Feature #1811: implement the AJAX client driver
Code Review 0311b
The code changes make sense.
My only questions are in regard to the terminal_win.c change:
...
Greg Shah
12:57 PM Feature #1811: implement the AJAX client driver
I found the problem. I fixed my bug and now it works properly. What was missing is the last argument client:driver:ba... Marius Gligor
12:10 PM Feature #1811: implement the AJAX client driver
The STDOUT redirection is implemented for Windows OS at high level but not at low level.
So my changes in terminal_w...
Marius Gligor
11:18 AM Feature #1811: implement the AJAX client driver
> the redirection of STDOUT is not yet implemented in screen drivers code for Windows OS.
> Maybe I should check the...
Greg Shah
11:14 AM Feature #1811: implement the AJAX client driver
OK. I understood. Is about appserver agents running in batch mode. The appserver agents implementation is to spawn cl... Marius Gligor
11:02 AM Feature #1811: implement the AJAX client driver
There is no batch mode for the ServerDriver because there is no concept of a real server in the 4GL. All 4GL session... Greg Shah
10:45 AM Feature #1811: implement the AJAX client driver
> 1. I'm using a command like: com.goldencode.p2j.main.ServerDriver -b p2j_proc
> This is not a batch mode?
Until...
Eugenie Lyzenko
10:34 AM Feature #1811: implement the AJAX client driver
Some time ago I worked to implements the STDOUT redirection in spawn.c for Linux/Unix OS (see note 434).
Now I'm wor...
Marius Gligor
10:09 AM Feature #1811: implement the AJAX client driver
1. I'm using a command like: com.goldencode.p2j.main.ServerDriver -b p2j_proc
This is not a batch mode?
2. The re...
Marius Gligor
08:43 AM Feature #1811: implement the AJAX client driver
> It is my understanding that batch most is mostly implemented for Windows. I think an exception is the support for m... Eugenie Lyzenko
08:20 AM Feature #1811: implement the AJAX client driver
It is my understanding that batch most *is* mostly implemented for Windows. I think an exception is the support for ... Greg Shah
05:18 AM Feature #1811: implement the AJAX client driver
On console initialization STDIN and STDOUT are checked for redirection.
If STDOUT is redirected the redirected handl...
Marius Gligor

03/10/2014

12:58 PM Feature #1811: implement the AJAX client driver
Regarding to STDOUT redirection in terminal_win.c it seems that we have to do more changes here.
On init console we ...
Marius Gligor
12:10 PM Feature #1811: implement the AJAX client driver
Here are the winspawn.c changes that I did in order to integrate the code from Linux spawn.c version.

1. In order...
Marius Gligor

03/07/2014

08:34 AM Bug #2244 (Closed): web client performance
Greg Shah
04:10 AM Feature #1811: implement the AJAX client driver
ChUI web client improvements ref. #2244
Passed regression tests. Committed revision 10487.
Marius Gligor

03/06/2014

11:38 AM Feature #1811: implement the AJAX client driver
Greg Shah wrote:
> I guess we will have to store the OS password for such accounts in our directory.
This can work,...
Constantin Asofiei
11:18 AM Feature #1811: implement the AJAX client driver
Constantin: How does the 4GL handle this for appserver launching? Does it always assume everything runs in the same ... Greg Shah
11:15 AM Feature #1811: implement the AJAX client driver
> We must provide both user name and password. Without credentials we can create processes only for the account on wh... Greg Shah
10:48 AM Feature #1811: implement the AJAX client driver
OK. I started the regression tests on devsrv01.
Regarding #2243 if I understood better we could encounter a problem....
Marius Gligor
10:30 AM Feature #1811: implement the AJAX client driver
I'm fine with the code in 0306a. Go ahead with runtime regression testing.
This should close off #2244, right?
...
Greg Shah
08:48 AM Feature #1811: implement the AJAX client driver
Here are the changes after your last code review.
In the mean time I prepared the testing environment by doing a co...
Marius Gligor
10:38 AM Bug #2244 (Review): web client performance
Marius Gligor
06:23 AM Feature #2162: add support for CURRENT-ITERATION attribute (for widget objects)
Here is the next update that works some way. Vadim Gindin

03/05/2014

04:46 PM Feature #2252: implement GUI client support
The client will need significant changes to implement GUI support.
One important change that is necessary is to ...
Greg Shah
03:02 PM Feature #2252: implement GUI client support
This task is meant to be the parent task for the GUI implementation. Please place task history here instead of in th... Greg Shah
03:01 PM Feature #2252 (Closed): implement GUI client support
Greg Shah
04:14 PM Feature #2255: replace non-UI code that has direct dependencies on the UI with dependence on an a...
Provide an abstract interface for UI services used by code in p2j/util/ et al. For example, the TransactionManager, ... Greg Shah
03:36 PM Feature #2255 (New): replace non-UI code that has direct dependencies on the UI with dependence o...
Greg Shah
04:12 PM Feature #2253: eliminate listener/event model
From a conversation between SIY and GES on November 15, 2010:
> Although I agree with the goal, I must admit that ...
Greg Shah
03:27 PM Feature #2253: eliminate listener/event model
The original ChUI support was written using CHARVA. CHARVA provided a library of widgets and UI functionality mapped... Greg Shah
03:19 PM Feature #2253 (New): eliminate listener/event model
Greg Shah
03:34 PM Feature #2254: eliminate the logic in the Config* classes and make them simple containers with pu...
The current approach of having a parallel set of Config classes for each widget type is overcomplicated. In particul... Greg Shah
03:28 PM Feature #2254 (Closed): eliminate the logic in the Config* classes and make them simple container...
Greg Shah
01:23 PM Feature #1811: implement the AJAX client driver
If your testing is not showing any noticeable performance differences between Majic in the browser and Majic in the t... Greg Shah
01:20 PM Feature #1811: implement the AJAX client driver
Code Review 0305b
1. In ChuiWebPageHandler, please use @*@ for imports.
2. Please remove the reference to "Maji...
Greg Shah
12:56 PM Feature #1811: implement the AJAX client driver
1. Done. HtmlResourceHandler the base class of ChuiWebPageHandler is used to load other pages like the admin page whi... Marius Gligor
09:16 AM Feature #1811: implement the AJAX client driver
> a) Supposing that client is authenticated and the application is loaded and running into the iframe.
> When the us...
Greg Shah
09:06 AM Feature #1811: implement the AJAX client driver
Code Review 0305a
1. In @HtmlResourceHandler@, in what case will @isAuthorized()@ find that @authorizationToken@ i...
Greg Shah
07:15 AM Feature #1811: implement the AJAX client driver
1. I found and fixed the issue related to Majic login plug-in.
When Majic plug-in run within ThinClient using system...
Marius Gligor

03/04/2014

11:02 AM Feature #1811: implement the AJAX client driver
> Also is possible to open a new window (pop-up) to load the page from server C.
Please avoid pop-ups. Just make ...
Greg Shah
10:58 AM Feature #1811: implement the AJAX client driver
> What's strange is that happen only when the p2j Majic plug-in refresh. After Majic login everything works fine.
> ...
Greg Shah
10:37 AM Feature #1811: implement the AJAX client driver
1. Today I did many tests and investigations regarding the "Refresh" button on web browser so far unfortunately witho... Marius Gligor

03/03/2014

06:15 PM Feature #1811: implement the AJAX client driver
Code Review 0303a
1. About the authorization approach:
I agree, we cannot reuse the spawn UUID. As I noted in ...
Greg Shah
01:19 PM Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> A SHA message digest is generated from the random UUID and used as an authorization token.
...
Constantin Asofiei
11:51 AM Feature #1811: implement the AJAX client driver
1. During this weekend I did a lot of tests on Linux and Windows OS. Defining clip rectangles when drawing text lines... Marius Gligor
02:24 AM Feature #1811: implement the AJAX client driver
Marius, the changes in 0228b.zip look good to me. Greg: please take a look too. Constantin Asofiei

02/28/2014

01:10 PM Feature #1811: implement the AJAX client driver
Just a minor change. Use \u2501 (-) character to measure the width of a cell.
Character \u2501 should be the largest...
Marius Gligor
11:16 AM Feature #1811: implement the AJAX client driver
Here are my last cahanges after Majic tests on devsrv01.
- I added character \u2502 (|) to measure the height of ...
Marius Gligor

02/27/2014

10:15 AM Feature #1811: implement the AJAX client driver
Implements STDOUT and STDERR redirection for spawner Ref. #2124
Passed regression tests. Committed to revision 10483
Marius Gligor
09:02 AM Feature #1811: implement the AJAX client driver
Implements rectangle detection on screen cells that should be update on JS code.
With a few extra computation in Jav...
Marius Gligor
07:25 AM Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> Please do some tests using this changes and let me know your results.
I'm using Firefox 26.0...
Constantin Asofiei
08:22 AM Feature #2162: add support for CURRENT-ITERATION attribute (for widget objects)
Vadim:
# there is no @IterableResource@ file in the update
# @CommonFrame@: as is extending @IterableResource@, the...
Constantin Asofiei
07:15 PM Feature #1787: implement batch mode support
Committed in bzr as 10482. Eugenie Lyzenko

02/26/2014

06:35 PM Feature #2162: add support for CURRENT-ITERATION attribute (for widget objects)
Here is some update. Could you look at it. It is not working. Several questions.
1. We need separate widgets lists f...
Vadim Gindin
06:33 PM Feature #1787: implement batch mode support
Check in and distribute the change. Greg Shah
06:22 PM Feature #1787: implement batch mode support
The CTRL-C part has been passed without regressions. The servers are now stopped. Eugenie Lyzenko
04:33 PM Feature #1787: implement batch mode support
The main part of testing has been passed without regressions. Running the CTRL-C part. Expect to finish today later. Eugenie Lyzenko
08:39 AM Feature #1787: implement batch mode support
> I'm not sure what problem you see: checking the MAJIC login screen from my instance on devsrv01 (with latest rev) a... Eugenie Lyzenko
05:19 AM Feature #1787: implement batch mode support
Eugenie Lyzenko wrote:
> The testing is in progress.
>
> BTW, nave you noted the underline attribute for fill-in ...
Constantin Asofiei
05:04 AM Feature #1787: implement batch mode support
The testing is in progress.
BTW, nave you noted the underline attribute for fill-in fields is not drawing. The exa...
Eugenie Lyzenko
01:30 AM Feature #1787: implement batch mode support
Eugenie, the changes in 0225a.zip are OK - go ahead with regression testing. Constantin Asofiei
01:10 PM Feature #1811: implement the AJAX client driver
The package was send just for testing purposes. Please do not code review. Marius Gligor
01:01 PM Feature #1811: implement the AJAX client driver
Here are the changes containing the fixed bug. You can use JS console to see the order of the packages.
This part wi...
Marius Gligor
12:49 PM Feature #1811: implement the AJAX client driver
Sorry I think that is my fault. I found a serious bug inside my code which is the cause of describe bevaviour.
By mi...
Marius Gligor
12:18 PM Feature #1811: implement the AJAX client driver
>Also, if the JS is not processing the requests fast enough (i.e. consider my drawing stress test) and the >queue fil... Hynek Cihlar
11:30 AM Feature #1811: implement the AJAX client driver
TCP has nothing to do with it. I agree that the entire message will be received before it is delivered and if that m... Greg Shah
11:19 AM Feature #1811: implement the AJAX client driver
WebSockets is built on TCP. TCP guarantees delivery and ordering of packets. In addition, unlike TCP, WebSockets is m... Marius Gligor
10:33 AM Feature #1811: implement the AJAX client driver
> is there any reason for the PushMessagesWorker not wait until is notified by the JS that it finished drawing?
I ...
Greg Shah
10:26 AM Feature #1811: implement the AJAX client driver
If we don't sequence the drawings, what I'm worried about is that the screen can end up in the wrong state: i.e. if m... Constantin Asofiei
09:55 AM Feature #1811: implement the AJAX client driver
What you ask me to do I'm afraid that is impossible in JS.
Unlike Java the JS is a very simple programming language ...
Marius Gligor
09:38 AM Feature #1811: implement the AJAX client driver
Greg Shah wrote:
> If I understand the problem, we just need to make sure to always apply the screen changes IN ORDE...
Constantin Asofiei
09:22 AM Feature #1811: implement the AJAX client driver
> did you change the sockets on the JS side to be async in the mean time?
JS is single threaded (unless worker thr...
Greg Shah
07:57 AM Feature #1811: implement the AJAX client driver
Marius, remember the stress drawing test on note 408? Well, I've ran it with your 0224a.zip update and it broke the b... Constantin Asofiei
07:06 AM Feature #1811: implement the AJAX client driver
Marius, the update is OK. Please put the @ProcessBuilderOptions.getProcess@ together with the other public methods. Y... Constantin Asofiei
06:17 AM Feature #1811: implement the AJAX client driver
Here are the latest changes and the results of my tests with and without STDOUT redirected to a file.
The STDERR is ...
Marius Gligor
04:29 AM Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> The outputToFile parameter is an optional command line parameter. In the future it is possibl...
Constantin Asofiei
04:26 AM Feature #1811: implement the AJAX client driver
The outputToFile parameter is an optional command line parameter. In the future it is possible to add more optional p... Marius Gligor

02/25/2014

05:30 PM Feature #1787: implement batch mode support
The update for you review includes fix for @DISPLAY@ statement handling. I've looked for different ways and the has o... Eugenie Lyzenko
10:34 AM Feature #1787: implement batch mode support
> Have you tested the @STDOUT@ redirection case in P2J? To start a batch process with @STDOUT@ redirected, just add a... Eugenie Lyzenko
10:29 AM Feature #1787: implement batch mode support
Eugenie Lyzenko wrote:
> The statements:
> @MESSAGE@, @DISPLAY@, @PUT SCREEN@, @SET@, @UPDATE@, @ENABLE@ all contai...
Constantin Asofiei
09:41 AM Feature #1787: implement batch mode support
The statements:
@MESSAGE@, @DISPLAY@, @PUT SCREEN@, @SET@, @UPDATE@, @ENABLE@ all containing in batch test file set....
Eugenie Lyzenko
08:03 AM Feature #1787: implement batch mode support
Eugenie, I'm OK with the changes in 0224c.zip. Together with the features which will be added by Marius on #1811 sho... Constantin Asofiei
07:36 PM Feature #1787: implement batch mode support
This update is the result of additional debugging and testing in Windows. We have to handle(make a stub) @setCursorSt... Eugenie Lyzenko
04:07 PM Feature #1811: implement the AJAX client driver
Marius, the entry point for the process in directory.xml needs to end with @.execute@ (i.e. the method which we need ... Constantin Asofiei
01:43 PM Feature #1811: implement the AJAX client driver
Now the redirections are works but I still have an error. The batch process cannot be started.
Tomorrow I have to do...
Marius Gligor
12:46 PM Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> The certificate problem is now fixed. However I have another problem.
> When I started the ...
Constantin Asofiei
12:44 PM Feature #1811: implement the AJAX client driver
The certificate problem is now fixed. However I have another problem.
When I started the batch client an error mess...
Marius Gligor
12:15 PM Feature #1811: implement the AJAX client driver
See the 0225b.zip update from #2124: I forgot to change the code in @ServerDriver.connect@, for the case when the pri... Constantin Asofiei
10:31 AM Feature #1811: implement the AJAX client driver
I forgot to mention: remove all the @security/keystore@ and @access/password@ nodes from @server.xml@ and @client.xml@. Constantin Asofiei
10:26 AM Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> I'm trying to start a batch process. I did all configurations but when I started the batch cl...
Constantin Asofiei
10:25 AM Feature #1811: implement the AJAX client driver
Greg Shah wrote:
> Perhaps we need to pass a token (a different one than we use between the server and P2J client) i...
Constantin Asofiei
09:45 AM Feature #1811: implement the AJAX client driver
I have to found a solution to set-up the embedded server on the client to accept only one connection. Marius Gligor
09:29 AM Feature #1811: implement the AJAX client driver
Once a web socket is open, we shouldn't allow any other connections. Likewise, only the browser that initially is re... Greg Shah
09:26 AM Feature #1811: implement the AJAX client driver
I'm trying to start a batch process. I did all configurations but when I started the batch client I got:
Error con...
Marius Gligor
09:14 AM Feature #1811: implement the AJAX client driver
Marius, something else to think about and add to your web client issue list: once we are redirected, there is nothing... Constantin Asofiei
07:26 AM Feature #1811: implement the AJAX client driver
> Running a program in batch mode using @pro -b -p run_batch.p 2> a.txt@ behaves the same way as there was no redirec... Eugenie Lyzenko
07:15 AM Feature #1811: implement the AJAX client driver
No. it's not necessary to check STDERR redirection before redirect the STDOUT and vice versa.
All 4 cases are poss...
Marius Gligor
07:14 AM Feature #1811: implement the AJAX client driver
Eugenie Lyzenko wrote:
> Do we need to check @STDERR@ in addition to @STDOUT@ to find out if the output is redirecte...
Constantin Asofiei
07:07 AM Feature #1811: implement the AJAX client driver
Marius, Constantin,
I need some clarification for output redirection.
Do we need to check @STDERR@ in addition ...
Eugenie Lyzenko
06:45 AM Feature #1811: implement the AJAX client driver
Marius, some more issues/notes:
# adding @System.err.println@ calls directly in the java program will write to the s...
Constantin Asofiei
06:19 AM Feature #1811: implement the AJAX client driver
Indeed the spawn is the session leader process the parent of the child process, our client.
The 2 remaining processe...
Marius Gligor
06:05 AM Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> You said that this is not true and the correct is:
>
> The redirection of STDERR is the sa...
Constantin Asofiei
04:36 AM Feature #1811: implement the AJAX client driver
It was a miss understanding in requested design. Let clarify.
What I understood is that outputToFile is a file to re...
Marius Gligor
04:13 AM Feature #1811: implement the AJAX client driver
About 0225a.zip:
* ClientBuilderParameters
- can you think of a way to pass the PID in the file name, too? Maybe @%...
Constantin Asofiei
03:38 AM Feature #1811: implement the AJAX client driver
You have to delete the lines when the STDOUT and STDERR are redirected to PTY.
The open the file on which you want t...
Marius Gligor
03:26 AM Feature #1811: implement the AJAX client driver
Marius: can you tell me the changes needed in spawn.c, to redirect the child process to a file? I don't need the full... Constantin Asofiei

02/24/2014

06:17 PM Feature #1787: implement batch mode support
Code Review 0224b
The code looks good. Make sure you have addressed everything needed by Constantin and he can revi...
Greg Shah
06:12 PM Feature #1787: implement batch mode support
In this update the native call has been moved to @FileChecker@ class. The @build.xml@ does not need to be updated any... Eugenie Lyzenko
03:03 PM Feature #1787: implement batch mode support
Code Review 0224a
1. The build.xml is missing from the update.
2. About this:
> I think only caller that use...
Greg Shah
02:17 PM Feature #1787: implement batch mode support
The new updated has been uploaded for you to check.
>My only concern with this update is that the approach in @Pla...
Eugenie Lyzenko
12:45 PM Feature #1787: implement batch mode support
Code Review 0221a
I will let Constantin continue the discussion with you regarding the requirements for #2228.
...
Greg Shah
12:16 PM Feature #1811: implement the AJAX client driver
OK, I understand. Greg Shah
12:15 PM Feature #1811: implement the AJAX client driver
No files are missing. I did changes only on JS code.
On the next step I have to implements the rectangle detections ...
Marius Gligor
12:09 PM Feature #1811: implement the AJAX client driver
Code Review 0224a
Your use of the direct pixel access in canvas for the calculation of font metrics is very clever...
Greg Shah
11:29 AM Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> How could I do tests using the mode 0 )with no password)?
Mode 0 is used for starting batch ...
Constantin Asofiei
10:56 AM Feature #1811: implement the AJAX client driver
I understood the STDERR is redirected foe both modes 0 and 1 so I kept the code.
The difference between > and >> is ...
Marius Gligor
10:54 AM Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> OK. A first question please. This change remains or was only for test purposes.
> pb.redirec...
Constantin Asofiei
09:35 AM Feature #1811: implement the AJAX client driver
OK. A first question please. This change remains or was only for test purposes.
pb.redirectError(ProcessBuilder.Redi...
Marius Gligor
08:50 AM Feature #1811: implement the AJAX client driver
PS: add support for a @clientConfig/outputToFile@ node, with the name of the log file. This flag will be read by @Pr... Constantin Asofiei
08:41 AM Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> This part (detection of rectangles) is not yet implemented and I would like to implements on ...
Constantin Asofiei
08:28 AM Feature #1811: implement the AJAX client driver
Overall best performances has been obtained using Google Chrome which really has a very fast JS engine. Marius Gligor
08:25 AM Feature #1811: implement the AJAX client driver
1. No longer dirty screens. I found what cause the canvas to becomes dirty and I fixed this issue.

When a text is...
Marius Gligor

02/22/2014

10:42 AM Feature #1811: implement the AJAX client driver
It works. Nice! The messages from the client are stored now into the server log. Marius Gligor
10:10 AM Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> We can open this file inside the spawner and redirect STDERR or STDOUT to this file.
This is...
Constantin Asofiei
10:03 AM Feature #1811: implement the AJAX client driver
A possible solution is to put in a command line parameter the name of the file we want to redirect the output.
We ca...
Marius Gligor
09:51 AM Feature #1811: implement the AJAX client driver
PS: if the command has error messages, wouldn't these end up to STDERR? So, what about inheriting the STDERR from the... Constantin Asofiei
09:44 AM Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> The redirection of the child process STDOUT could be a solution.
I don't think we can redirect...
Constantin Asofiei
09:41 AM Feature #1811: implement the AJAX client driver
On syslog only error messages related to system call's are stored.

syslog(LOG_ERR, "Error:%d method:%s (%m)\n...
Marius Gligor
07:15 AM Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> The syslog is used by the audit function in spawn.c to log errors during the process spawning...
Constantin Asofiei
06:57 AM Feature #1811: implement the AJAX client driver
The syslog is used by the audit function in spawn.c to log errors during the process spawning.
When the spawner star...
Marius Gligor

02/21/2014

05:18 PM Feature #1787: implement batch mode support
Eugenie: we are using a spawn tool to launch the appserver agents, as they need to be automatically launched by the P... Constantin Asofiei
03:52 PM Feature #1787: implement batch mode support
The update with suggested changes has been uploaded for review. Now I'm going to perform big testing for possible cas... Eugenie Lyzenko
11:20 AM Feature #1787: implement batch mode support
Good work!
> I would suggest to put java call into com/goldencode/util/PlatformHelper.java
Yes.
> and nativ...
Greg Shah
11:03 AM Feature #1787: implement batch mode support
Looks like I have found the way to detect the externally redirected stdout. This is the native code. While the Window... Eugenie Lyzenko
05:11 PM Feature #1811: implement the AJAX client driver
Marius: we are running blind when we are trying to determine if there were errors when execvp launches the command. A... Constantin Asofiei
03:10 PM Feature #1811: implement the AJAX client driver
Code Review 0221b
The changes look good. I look forward to seeing the next changes (batching multiple rows in a s...
Greg Shah
02:26 PM Feature #1811: implement the AJAX client driver
Cleaning JS code after so many changes. I will try also to simplify even more the JS code.
I think that is possible ...
Marius Gligor
12:00 PM Feature #1811: implement the AJAX client driver
Please take a look over this changes. All the changes on the screen are sent on a single message over the network.
E...
Marius Gligor
08:55 AM Feature #1811: implement the AJAX client driver
Start with the rectangle specified by the union of the changes. If we still need more optimizations past that, we ca... Greg Shah
08:53 AM Feature #1811: implement the AJAX client driver
Did you mean to find all rectangles or only the biggest one? Marius Gligor
08:48 AM Feature #1811: implement the AJAX client driver
The 4GL approach to all of this processing is executed in a single process. When we designed P2J, we deliberately ch... Greg Shah
08:35 AM Feature #1811: implement the AJAX client driver
Rectangles detection on screen entropies doesn't help us too much. Let me explain:
Having a pattern like:...
Marius Gligor
08:34 AM Feature #1811: implement the AJAX client driver
> I just noticed that you if a line has changed cells, you send them to the JS immediately: can you test if is faste... Greg Shah
04:49 AM Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> except for Majic login plug-in which is loaded in 2-5 seconds.
I think I know where the prob...
Constantin Asofiei

02/20/2014

03:00 PM Feature #1787: implement batch mode support
Eugenie Lyzenko wrote:
> As to your note for external redirections like @java ... ClientDriver > client.log@ - you a...
Constantin Asofiei
06:15 AM Feature #1787: implement batch mode support
Eugenie, something else to check: a test like this works with no problem when invoked via an appserver or with batch ... Constantin Asofiei
01:05 PM Feature #2162: add support for CURRENT-ITERATION attribute (for widget objects)
Vadim Gindin wrote:
> The question is why have you used additional display statement before the loop in the function...
Constantin Asofiei
09:21 AM Feature #2162: add support for CURRENT-ITERATION attribute (for widget objects)
Sorry, I already committed it. The file is _up_down_field_group_test1.p_ Vadim Gindin
06:11 AM Feature #2162: add support for CURRENT-ITERATION attribute (for widget objects)
Vadim, please commit the exact testcase you used to capture the screens, I can't reproduce your screens easily. Constantin Asofiei
12:46 PM Feature #1811: implement the AJAX client driver
Marius, the changes are good and is a step forward into performance improvement. See bellow for my review:
@ChuiW...
Constantin Asofiei
09:54 AM Feature #1811: implement the AJAX client driver
Here is the first release containing my changes in order to improve the ChUI web client performances.
I did major ch...
Marius Gligor
12:22 PM Feature #2247: interactive child process support
This task is just for time tracking. Please put all history entries in the parent task #1811. Greg Shah
12:21 PM Feature #2247 (Closed): interactive child process support
Greg Shah

02/19/2014

12:59 PM Feature #1811: implement the AJAX client driver
Passed regression tests. Committed to bzr revision 10471.
I created an Majic environment on my work station based ...
Marius Gligor
09:02 AM Feature #1811: implement the AJAX client driver
> But I wonder if we shouldn't push to the JS side just the portion(s) of the screen being changed
Yes, we certain...
Greg Shah
04:15 AM Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> 2. Regarding UNIX statement, at this moment I have no idea how to solve. We will see after I ...
Constantin Asofiei
03:24 AM Feature #1811: implement the AJAX client driver
1. I started to find a solution to improve the web ChUI client. I have to improve both network traffic and JS renderi... Marius Gligor
03:07 AM Feature #1811: implement the AJAX client driver
Marius: another part which is not working in Web (or Swing) mode is the @UNIX.@ statement. This suspends the P2J clie... Constantin Asofiei
02:38 AM Feature #1811: implement the AJAX client driver
Greg Shah wrote:
> Constantin: can you think of any 4GL behavior that this would break?
In terms of 4GL behaviour, ...
Constantin Asofiei
03:10 AM Bug #2244: web client performance
How to launch a Shell command in MAJIC:
* login to main menu using syman/test123
* press F2 for dev help
* press ...
Constantin Asofiei
02:16 AM Bug #2244 (WIP): web client performance
Marius Gligor

02/18/2014

12:47 PM Feature #2162: add support for CURRENT-ITERATION attribute (for widget objects)
The case with UP 1 and down 1 looks good. The question is why have you used additional display statement before the l... Vadim Gindin

02/17/2014

02:30 PM Feature #1805: add missing UI method support
Marius Gligor wrote:
> Sorry but I don't understood. What version of Color is on my project H003 or H004?
Check the...
Constantin Asofiei
02:23 PM Feature #1805: add missing UI method support
Sorry but I don't understood. What version of Color is on my project H003 or H004?
Marius Gligor
02:15 PM Feature #1805: add missing UI method support
Marius Gligor wrote:
> Strange but Color.java 293 on my p2j project point to a javadoc line!!!
This is because the ...
Constantin Asofiei
05:47 AM Feature #1805: add missing UI method support
My changes for ChUI colors implementation was done only in ColorMapper class.
Exception in thread "AWT-EventQueue-...
Marius Gligor
02:26 PM Feature #1811: implement the AJAX client driver
You are a go for regression testing on 0217b. Greg Shah
02:19 PM Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> Should I started the regression tests using my latest changes or is better to wait until the ...
Constantin Asofiei
02:15 PM Feature #1811: implement the AJAX client driver
I tested the redirection by killing P2J web client manually and its works on my workstation.
Nevertheless I will tes...
Marius Gligor
01:50 PM Feature #1811: implement the AJAX client driver
Greg Shah wrote:
> Constantin: based on these changes and Marius' comments, do you have any other feedback?
The code ...
Constantin Asofiei
01:42 PM Feature #1811: implement the AJAX client driver
Code Review 0217b
I am fine with the changes.
Constantin: based on these changes and Marius' comments, do you h...
Greg Shah
01:25 PM Feature #1811: implement the AJAX client driver
The TemporaryAccountWorker is a single instance as is declared as static. It was designed to execute one single task ... Marius Gligor
01:18 PM Feature #1811: implement the AJAX client driver
Here are my latest changes. Marius Gligor
01:12 PM Feature #1811: implement the AJAX client driver
The deadlocks does not occur. The callerLatch is always counted down on the finally block when the current task execu... Marius Gligor
12:57 PM Feature #1811: implement the AJAX client driver
Ah, and if you need for the caller to wait for the task to be finished, -you can always use task.wait() at the caller... Constantin Asofiei
12:46 PM Feature #1811: implement the AJAX client driver
About 0217a: my feeling is that the @TemporaryAccountPool@ and @TemporaryAccountWorker@ changes are prone to deadlock... Constantin Asofiei
12:10 PM Feature #1811: implement the AJAX client driver
The main difference between web client and swing client is the network layer. Here we have to find solutions to impro... Marius Gligor
11:50 AM Feature #1811: implement the AJAX client driver
In regard to the web client performance DOWN frame issue:
I suspect that the issues we are seeing are probably due...
Greg Shah
11:43 AM Feature #1811: implement the AJAX client driver
Code Review 0217a
I am fine with the changes. As far as I can tell, this resolves both the server shutdown issue ...
Greg Shah
11:03 AM Feature #1811: implement the AJAX client driver
Here are the changes that I did today:
1. Redirect web client when client exit via System.exit()
We have two s...
Marius Gligor
06:57 AM Feature #1811: implement the AJAX client driver
I configured the directory.xml and now it works fine.
Just a minor observation.
On note 38 from #2124 - parts 4 fo...
Marius Gligor
05:47 AM Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> The build of native artefacts now works but the server start-up fails probably due to major c...
Constantin Asofiei
04:23 AM Feature #1811: implement the AJAX client driver
The build of native artefacts now works but the server start-up fails probably due to major changes in design and dir... Marius Gligor
03:49 AM Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> I did an update form the remote repository and I tried a full build "ant all".
From my follo...
Constantin Asofiei
03:40 AM Feature #1811: implement the AJAX client driver
I did an update form the remote repository and I tried a full build "ant all".
The spawn build fails due to:
/usr...
Marius Gligor
03:04 AM Feature #1811: implement the AJAX client driver
Constantin Asofiei wrote:
> LE: check if the @WatchdogTimer.run:81@ @while (true)@ loop needs to terminate if it was...
Marius Gligor
02:51 AM Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> Here are the changes which passed today regression tests.
Passed regression tests. Committ...
Marius Gligor
10:50 AM Bug #2244: web client performance
Using the ChUI web client with MAJIC exposes some performance problems. Although the web client inherently has a dif... Greg Shah
10:23 AM Bug #2244 (Closed): web client performance
Greg Shah

02/16/2014

07:53 AM Feature #1811: implement the AJAX client driver
LE: check if the @WatchdogTimer.run:81@ @while (true)@ loop needs to terminate if it was interrupted. Constantin Asofiei
07:49 AM Feature #1811: implement the AJAX client driver
Marius, there are problems when terminating the P2J server via the "shutdown" command (i.e. @-k@ argument). After at ... Constantin Asofiei
 

Also available in: Atom