Project

General

Profile

Activity

From 02/15/2014 to 03/16/2014

03/16/2014

04:54 PM Base Language Bug #2133: fix precision for decimal, dynamic-extent variables
I am attaching the initial implementation for fixing the @assignMulti@ method. The changes include the modification o... Hynek Cihlar
11:53 AM User Interface 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
11:50 AM Conversion Tools Feature #2251: improve the call graph generation
Please do a bzr check-in for your work each night, unless there are no changes. It doesn't matter what the state of ... Greg Shah
11:46 AM Conversion Tools Feature #2251: improve the call graph generation
Code Review branch rev 10492
I have some questions regarding the "database design". There are inconsistencies:
...
Greg Shah
11:00 AM Conversion Tools Feature #2251: improve the call graph generation
> BTW, do you have a rebase script, so I can rebase?
Not yet. Please go through the process manually based on my ...
Greg Shah

03/15/2014

01:33 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Concerning bug in @where_clause_normalize.rules@ (note 61).
Solution would be to add check @ref.type == prog.num_li...
Vadim Nebogatov

03/14/2014

07:54 PM Base Language Feature #1634: implement full native library (.so or DLL) support
The update for your review contains modification for @progress.g@ file and minor fix for @control_flow.rules@. The se... Eugenie Lyzenko
04:44 PM Conversion Tools Feature #2251: improve the call graph generation
I've added a good version for review in the 2251 branch. @rules/callgraph/callgraph_lib.rules@ contains details about... Constantin Asofiei
04:26 PM User Interface 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 User Interface 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 User Interface 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:48 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
Changes in update zip:
* removed Operators.java (it was identical to bzr version)
* added full implementation of Op...
Ovidiu Maxiniuc
11:05 AM Database Feature #2207: Remaining issues for dynamic buffers and dynamic tables
> 1. In the original testcase (violation error for the dynamic table) error is displayed twice (the fix reproduces th... Eric Faulhaber
08:13 AM Database Bug #2259: computed character columns are not created for dynamic tables
1. For static temp tables computed columns ("__fieldName") are created for indexed character columns. For dynamic tem... Stanislav Lomany
08:09 AM Database Bug #2259 (Closed): computed character columns are not created for dynamic tables
Stanislav Lomany
01:30 AM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Problem resolved. Replacement original method to denormalized method was missed in temporary record mode in RecordBuf... Vadim Nebogatov
12:26 AM Database Feature #1661: support case-sensitive fields in indexes
Ovidiu, please determine what is left to do with @P2JH2Dialect.isCaseInsensitiveColumn@. I think whatever index infor... Eric Faulhaber

03/13/2014

06:12 PM User Interface 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
05:56 PM Base Language Feature #1634: implement full native library (.so or DLL) support
The today update contains the @SourceNameMapper@ changes for you to review. The testcases are also included. The curr... Eugenie Lyzenko
01:17 PM Base Language Feature #1634: implement full native library (.so or DLL) support
Eugenie Lyzenko wrote:
> When the server is starting there is no physical dependency on the @test4.p@ file on the di...
Constantin Asofiei
12:54 PM Base Language Feature #1634: implement full native library (.so or DLL) support
> I don't understand: do you match an absolute name for the legacy 4GL program to an EXISTING file on the disk?
>
...
Eugenie Lyzenko
12:04 PM Base Language Feature #1634: implement full native library (.so or DLL) support
Eugenie Lyzenko wrote:
> I need to know what exactly the @"configured basepath"@ variable is on the run-time stage. ...
Constantin Asofiei
11:41 AM Base Language Feature #1634: implement full native library (.so or DLL) support
> canonicalize() will prepare the name so that it can be matched against a name from name_map.xml. Also, all names in... Eugenie Lyzenko
10:57 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Greg Shah wrote:
> > I'm asking because the SourceNameMapper.canonicalize() is used in different places inside Sourc...
Constantin Asofiei
09:15 AM Base Language Feature #1634: implement full native library (.so or DLL) support
> And after the conversion has been completed it is not required to keep the original 4GL source tree on the server s... Greg Shah
09:05 AM Base Language Feature #1634: implement full native library (.so or DLL) support
> All files to be converted must reside within a single subdirectory under the project home. This ensures that we can... Eugenie Lyzenko
07:28 AM Base Language Feature #1634: implement full native library (.so or DLL) support
> On the conversion stage the driver map the 4GL file name to the internal class for every program to be converted
...
Greg Shah
08:58 PM Base Language Feature #1634: implement full native library (.so or DLL) support
Another important thing to clarify.
Observing the full deployment path from conversion the source to run the conve...
Eugenie Lyzenko
03:48 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
The attached update pack contains some missing files from previous archive. Please review.
The C# source code were t...
Ovidiu Maxiniuc
02:00 PM Database Feature #2258: retrofit BUFFER-COPY and BUFFER-COMPARE language statement runtime support to use ...
When runtime support for the handle-based methods @BUFFER-COPY()@ and @BUFFER-COMPARE()@ originally was implemented, ... Eric Faulhaber
01:41 PM Database Feature #2258 (Closed): retrofit BUFFER-COPY and BUFFER-COMPARE language statement runtime suppor...
Eric Faulhaber
11:12 AM Runtime Infrastructure Feature #2243 (Closed): integrate spawn.c changes into winspawn.c
Greg Shah
10:57 AM User Interface Feature #2247 (WIP): interactive child process support
Marius Gligor
10:56 AM User Interface 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
10:48 AM Conversion Tools Feature #2251: improve the call graph generation
Yes, I think you are right. Greg Shah
10:25 AM Conversion Tools Feature #2251: improve the call graph generation
About the preprocessor parser problem which can be reproduced with an include file like this one:... Constantin Asofiei
07:15 AM Base Language Bug #2257: Set statment does not define variable
The following code throws an exception during conversion procedure(this is legal code in 4gl):... Greg Shah
06:46 AM Database Feature #2207: Remaining issues for dynamic buffers and dynamic tables
> What cases remain to be handled?
1. In the original testcase (violation error for the dynamic table) error is disp...
Stanislav Lomany
08:52 PM Database Feature #2207: Remaining issues for dynamic buffers and dynamic tables
Update 20140311a looks OK to me, but please hold off regression testing for now. I have a large update to RecordBuffe... Eric Faulhaber
03:21 AM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Eric Faulhaber wrote:
> @WhereExpression@ itself does not throw @UnsupportedOperationException@. What is throwing it...
Vadim Nebogatov
08:42 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
The attached update fixes the conversion error reported in note 61. I have not yet regression tested it. Eric Faulhaber
08:24 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
@WhereExpression@ itself does not throw @UnsupportedOperationException@. What is throwing it? What is your question? Eric Faulhaber

03/12/2014

07:44 PM Base Language Bug #2257 (New): Set statment does not define variable
Evgeny Kiselev
07:06 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
UnsupportedOperationException with using @WhereExpression@ found for denormalized fields with extent. Test case uses... Vadim Nebogatov
07:43 AM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
h3. Status of where clause conversion for denormalized extent fields
Problem was in what time should be denormalized...
Vadim Nebogatov
05:36 PM Base Language Feature #1634: implement full native library (.so or DLL) support
> 1. In your example is it key point the string leading to be the same as characters inside the strings(both ' or ")?... Greg Shah
04:22 PM Base Language Feature #1634: implement full native library (.so or DLL) support
> The change in progressToJavaString() will cause problems with strings in Windows mode where the next char after the... Eugenie Lyzenko
09:36 AM Base Language Feature #1634: implement full native library (.so or DLL) support
> Does it mean all file-system container values in directory.xml file for the OS where the server is running should c... Greg Shah
09:32 AM Base Language Feature #1634: implement full native library (.so or DLL) support
> It is not "predefined". That directory.xml is just a file that was designed to be run on Linux. All the values in t... Eugenie Lyzenko
08:44 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Code Review 0311a
1. The change in progressToJavaString() will cause problems with strings in Windows mode where t...
Greg Shah
08:12 AM Base Language Feature #1634: implement full native library (.so or DLL) support
> The question: do we plan to keep predefined "/" file separator value in directory.xml file?
It is not "predefine...
Greg Shah
04:21 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
That is excellent news, Ovidiu, well done! Eric Faulhaber
04:19 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
*Hurray!*
I have fixed all issues mentioned in my previous notes and successfully run some basic 4GL statements usin...
Ovidiu Maxiniuc
02:19 PM User Interface Feature #1811: implement the AJAX client driver
OK, then go ahead and get this runtime regression tested. Greg Shah
02:06 PM User Interface Feature #1811: implement the AJAX client driver
No. I have no other changes to do. Marius Gligor
01:18 PM User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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
01:43 PM Conversion Tools Feature #2256: create tools to analyze the .pphints files
From #2251 note 46:
> On a side note, there are cases in the server project where there are typos in the preprocesso...
Constantin Asofiei
01:40 PM Conversion Tools Feature #2256 (New): create tools to analyze the .pphints files
Constantin Asofiei
01:17 PM Conversion Tools Feature #2251: improve the call graph generation
Greg Shah wrote:
> Anyway, as far as I know, the preprocessor should not be considering the path of the file that co...
Constantin Asofiei
01:08 PM Conversion Tools Feature #2251: improve the call graph generation
> I think this is because FileScope doesn't keep track of the folder in which the 4GL program resides...
As far as...
Greg Shah
01:01 PM Conversion Tools Feature #2251: improve the call graph generation
Greg Shah wrote:
> As far as I know it does work. Have you found a problem?
What is not working for me is this case:...
Constantin Asofiei
12:38 PM Conversion Tools Feature #2251: improve the call graph generation
> I see that the P2J preprocessor does not support relative names via "..", only relative names starting with the loc... Greg Shah
12:08 PM Conversion Tools Feature #2251: improve the call graph generation
Greg Shah wrote:
> If the .pphints problems are not hindering your work, then create a new bug task for this and we ...
Constantin Asofiei
11:15 AM Conversion Tools Feature #2251: improve the call graph generation
If the .pphints problems are not hindering your work, then create a new bug task for this and we will work it later. ... Greg Shah
10:44 AM Conversion Tools Feature #2251: improve the call graph generation
Greg Shah wrote:
> The idea: create a common create_widget_or_object rule that matches the left portion of both the ...
Constantin Asofiei
10:20 AM Conversion Tools Feature #2251: improve the call graph generation
> This might need to be fixed in the post-parse fixups phase: just alter the create_widget_stmt to accept the CONNET ... Greg Shah
10:00 AM Conversion Tools Feature #2251: improve the call graph generation
Greg Shah wrote:
> Using VALUE() for CREATE Automation is not noted in the documentation. Are you sure that this wo...
Constantin Asofiei
09:49 AM Conversion Tools Feature #2251: improve the call graph generation
Using VALUE() for CREATE Automation is not noted in the documentation. Are you sure that this works in the 4GL as CO... Greg Shah
09:32 AM Conversion Tools Feature #2251: improve the call graph generation
Greg Shah wrote:
> > we can't parse the CONNECT TO phrase properly.
>
> Please provide more details.
It's a comb...
Constantin Asofiei
09:23 AM Conversion Tools Feature #2251: improve the call graph generation
> we can't parse the CONNECT TO phrase properly.
Please provide more details.
> More, should the CREATE stateme...
Greg Shah
08:57 AM Conversion Tools Feature #2251: improve the call graph generation
About DDE, COM and OCX call-sites:
# a @COM-HANDLE@ var is initialized via @CREATE expr com-handle-var [CONNECT TO e...
Constantin Asofiei
08:55 AM Conversion Tools Feature #2251: improve the call graph generation
We might have created something like that, but I don't recall it.
However, there is some useful code in operators....
Greg Shah
07:54 AM Conversion Tools Feature #2251: improve the call graph generation
Greg, is there a way to get the concatenated result from a string expression containing only literals, like @"-H loca... Constantin Asofiei
11:02 AM Database Feature #2235: fix deployment issues related to dynamic database conversion resources
Stanislav Lomany wrote:
> How these file should be handled for testcases project - should I include them in @p2j.jar...
Eric Faulhaber
08:22 AM Database Feature #2235: fix deployment issues related to dynamic database conversion resources
Eric, after unnecessary dependencies will be eliminated, I assume that @rules@ should be stored in @p2j[rt].jar@.
@d...
Stanislav Lomany
08:46 AM Base Language Feature #1628: fix any incompatibilities or missing features of NO-ECHO support
No. But please do create a new Redmine task (a bug) that describes the problem and has the testcase code for the rec... Greg Shah
06:38 AM Database Feature #2207: Remaining issues for dynamic buffers and dynamic tables
Fix for review for issue 1 in note 1. The fix is limited to constraints violation case for NO-UNDO buffers. Stanislav Lomany

03/11/2014

07:43 PM Base Language Feature #1628: fix any incompatibilities or missing features of NO-ECHO support
Greg Shah wrote:
> Yes. Although, I am surprised it doesn't work (we support other define var cases that are in a f...
Evgeny Kiselev
08:46 PM Base Language Feature #1628: fix any incompatibilities or missing features of NO-ECHO support
I'm responding to the note in #1629.
> Am correct ?
Yes. Although, I am surprised it doesn't work (we support ...
Greg Shah
08:04 PM Base Language Feature #1628: fix any incompatibilities or missing features of NO-ECHO support
OK, I understand what you are trying to do.
I think there are 2 options (test these to see if either or both work)...
Greg Shah
05:09 PM Base Language Feature #1634: implement full native library (.so or DLL) support
This update introduces the @SourceNameMapper.canonicalize()@ changes. I've found the @fileSep@ variable used in this ... Eugenie Lyzenko
09:27 PM Base Language Feature #1634: implement full native library (.so or DLL) support
This is the suggested change for conversion part of the process for you to review.
The @SourceNameMapper.canonical...
Eugenie Lyzenko
04:10 PM User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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
04:01 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
I have this exception:... Ovidiu Maxiniuc
02:33 PM Conversion Tools Feature #2251: improve the call graph generation
I've added to @testcases/uast/callgraph-tests@ the current tests for callgraph generation. What is working:
* RUN ex...
Constantin Asofiei
12:58 PM Runtime Infrastructure Feature #2243 (Review): integrate spawn.c changes into winspawn.c
Marius Gligor

03/10/2014

07:10 PM Base Language Feature #1628: fix any incompatibilities or missing features of NO-ECHO support
For example if I set @ECHO@ I want to know in code if something is displayed and if I set @NO-ECHO@ then display buff... Evgeny Kiselev
07:08 PM Base Language Feature #1628: fix any incompatibilities or missing features of NO-ECHO support
What do you mean by "display"? Greg Shah
06:51 PM Base Language Feature #1628: fix any incompatibilities or missing features of NO-ECHO support
Is any way to check what display is showing now in 4gl ? Evgeny Kiselev
04:49 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
I have some issues with the current generated datatypes in for the tables ddl. My concerns regard the following:
* u...
Ovidiu Maxiniuc
12:58 PM User Interface 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 User Interface 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
12:51 PM Conversion Tools Feature #2251: improve the call graph generation
Yes, please do this for any "fixes" that are done later but which are needed for call-graph processing. Greg Shah
12:45 PM Conversion Tools Feature #2251: improve the call graph generation
The ASTs for a i.e. @INPUT THROUGH@ stmt is broken and fixed by @annotations/input-output.rules:181@, the "fixup KW_T... Constantin Asofiei
09:47 AM Conversion Tools Feature #2251: improve the call graph generation
Greg Shah wrote:
> This means that processing the ASTs at that time *may* generate very different results than on th...
Constantin Asofiei
09:03 AM Conversion Tools Feature #2251: improve the call graph generation
> 1. Is there any reason why we can't generate the callgraph with the final ASTs, after conversion, and should use on... Greg Shah
08:41 AM Conversion Tools Feature #2251: improve the call graph generation
> Can you think of any external linkage type that I have not listed above?
I think all forms of the CONNECT method (...
Constantin Asofiei
07:59 AM Base Language Feature #1634: implement full native library (.so or DLL) support
> So I guess we must transform path\to\program.p string to path\\to\\program.p for java converted code
Modify @pr...
Greg Shah
04:03 AM Base Language Bug #2133: fix precision for decimal, dynamic-extent variables
Hynek Cihlar wrote:
> There's a bug in @ArrayAssigner.assignMulti(BaseDataType[], BaseDataType[])@. When assigning a...
Constantin Asofiei

03/09/2014

04:47 PM Base Language Bug #2133: fix precision for decimal, dynamic-extent variables
There's a bug in @ArrayAssigner.assignMulti(BaseDataType[], BaseDataType[])@. When assigning a determinate array to a... Hynek Cihlar

03/08/2014

02:58 PM Base Language Feature #1634: implement full native library (.so or DLL) support
>Eugenie: please do provide full support for absolute (drive letter) paths on Windows.
OK.
Another finding. The...
Eugenie Lyzenko
11:47 AM Base Language Feature #1634: implement full native library (.so or DLL) support
> My suggestion is the converted code(meaning runtime level) should have only one interpretation for Windows file sep... Greg Shah
06:38 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Eugenie Lyzenko wrote:
> The first point I'm thinking about is how to convert these cases. My suggestion is the conv...
Constantin Asofiei

03/07/2014

05:29 PM Base Language Feature #1634: implement full native library (.so or DLL) support
... Eugenie Lyzenko
04:42 PM Base Language Feature #1634: implement full native library (.so or DLL) support
> Also: make sure you have tests including:
>
> drive letter + COLON + relative paths
> drive letter + COLON + ab...
Eugenie Lyzenko
04:14 PM Base Language Feature #1634: implement full native library (.so or DLL) support
I don't think that case 1 will work in the 4GL on Windows. The other two definitely need to be supported.
Also: m...
Greg Shah
03:57 PM Base Language Feature #1634: implement full native library (.so or DLL) support
Which cases we need to handle for Windows:... Eugenie Lyzenko
02:52 PM Base Language Feature #1634: implement full native library (.so or DLL) support
Don't forget to send out the email too. Greg Shah
02:23 PM Base Language Feature #1634: implement full native library (.so or DLL) support
> Eugenie: your next step is to implement proper support in @SourceNameMapper.canonicalize@ as described in note 117.... Eugenie Lyzenko
02:07 PM Base Language Feature #1634: implement full native library (.so or DLL) support
Sorry, I should have picked up on that.
Eugenie: your next step is to implement proper support in @SourceNameMappe...
Greg Shah
02:05 PM Base Language Feature #1634: implement full native library (.so or DLL) support
Greg Shah wrote:
> Where is the least-intrusive place to process that? It cannot be done at conversion time since i...
Constantin Asofiei
02:02 PM Base Language Feature #1634: implement full native library (.so or DLL) support
Where is the least-intrusive place to process that? It cannot be done at conversion time since it can be a runtime-g... Greg Shah
02:01 PM Base Language Feature #1634: implement full native library (.so or DLL) support
Greg Shah wrote:
> Agreed. You can check in and distribute your change.
I think we forgot about a case: RUN <windo...
Constantin Asofiei
02:00 PM Base Language Feature #1634: implement full native library (.so or DLL) support
Agreed. You can check in and distribute your change. Greg Shah
01:48 PM Base Language Feature #1634: implement full native library (.so or DLL) support
The conversion testing finished. There are no differences in generated java code in @src/aero/timco/majic@ including ... Eugenie Lyzenko
10:03 AM Base Language Feature #1634: implement full native library (.so or DLL) support
> 1. Check in your 0306b change.
Committed in bzr as 1116.
> 2. Do a conversion regression test of 0306a. There...
Eugenie Lyzenko
09:51 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Excellent! OK, please go ahead with the following:
1. Check in your 0306b change.
2. Do a conversion regressio...
Greg Shah
09:34 AM Base Language Feature #1634: implement full native library (.so or DLL) support
> 2. Are there any diffs in the converted code caused by this change (other than name_map.xml)?
After check I conf...
Eugenie Lyzenko
09:02 AM Base Language Feature #1634: implement full native library (.so or DLL) support
> 1. With this change, does the Windows native API support work properly?
I think yes. There are some diffs regard...
Eugenie Lyzenko
08:15 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Code Review 0306a/b
I am fine with the changes.
Questions:
1. With this change, does the Windows native API ...
Greg Shah
09:06 PM Base Language Feature #1634: implement full native library (.so or DLL) support
The update for you to review to fix @name_map.xml@ entries. Only @name_map.xml@ generation rule is involved. So no ne... Eugenie Lyzenko
04:23 PM Base Language Feature #1628: fix any incompatibilities or missing features of NO-ECHO support
Make sure you have a testcase that does something like this:... Greg Shah
12:26 PM Conversion Tools Feature #2251: improve the call graph generation
For this current work, include any call-site that can cause an external linkage, including the non-4GL ones.
* All...
Greg Shah
11:34 AM Conversion Tools Feature #2251: improve the call graph generation
With a little hack (replace all "long" types with "string" in the @.graphml@ file) I've managed to open the graph in ... Constantin Asofiei
07:49 AM Conversion Tools Feature #2251: improve the call graph generation
Blueprints has a built-in feature to serialize the entire DB to a GraphML file. I've tried importing this into yEd, b... Constantin Asofiei
08:34 AM User Interface Bug #2244 (Closed): web client performance
Greg Shah
04:10 AM User Interface Feature #1811: implement the AJAX client driver
ChUI web client improvements ref. #2244
Passed regression tests. Committed revision 10487.
Marius Gligor
01:13 AM Base Language Feature #1599: shift EXP implementation (MathOps.pow()) to BigDecimal
I also added a javadoc fix of the method pow(BigDecimal, BigDecimal). The changes were regression tested and checked ... Hynek Cihlar

03/06/2014

06:12 PM Conversion Tools Feature #2251: improve the call graph generation
I did a quick code review. It looks really good! Very impressive.
In my opinion, the native Java query access is...
Greg Shah
03:33 PM Conversion Tools Feature #2251: improve the call graph generation
I've committed today's work to the task branch on devsrv01. What I've accomplished (the work is still rough, but it w... Constantin Asofiei
12:31 PM Conversion Tools Feature #2251: improve the call graph generation
> A first impression is that is just a "shorthand" access the Pipes APIs and the graph's APIs related to nodes/edges.... Greg Shah
11:53 AM Conversion Tools Feature #2251: improve the call graph generation
Greg Shah wrote:
> As such I'd like to avoid mixing Groovy and TRPL (Scala). I guess the key questions:
>
> 1. W...
Constantin Asofiei
11:29 AM Conversion Tools Feature #2251: improve the call graph generation
> After some more thought, I think is better to use the Blueprint APIs, which are implemented by both Neo4J and Titan... Greg Shah
10:33 AM Conversion Tools Feature #2251: improve the call graph generation
Greg Shah wrote:
> I like the abstraction of the graph database.
After some more thought, I think is better to use ...
Constantin Asofiei
10:17 AM Conversion Tools Feature #2251: improve the call graph generation
The plan so far is reasonable. I like the abstraction of the graph database.
> I don't like how PatternEngine.cal...
Greg Shah
07:58 AM Conversion Tools Feature #2251: improve the call graph generation
About the PatternEngine's callgraph dependencies: I think I understand why was needed for the PatternEngine to "know"... Constantin Asofiei
06:39 AM Conversion Tools Feature #2251: improve the call graph generation
I don't like how @PatternEngine.callGraphMode@ hard-codes a "callgraph-walking" mode in @PatternEngine@, it doesn't f... Constantin Asofiei
02:30 AM Conversion Tools Feature #2251: improve the call graph generation
This note will keep a history of the TitanDB required depencies (and their associated licences).
For blueprints, pip...
Constantin Asofiei
02:00 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
Eric Faulhaber wrote:
> We had to deal with this constraint for H2 as well. Please have a look at @H2Helper.getFunct...
Ovidiu Maxiniuc
01:43 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
Ovidiu Maxiniuc wrote:
> One more issue arises: how to handle *no overloaded methods* constraint ?
We had to deal w...
Eric Faulhaber
01:32 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
I discovered the errors from my previous note. The generated assemblies are compiled against different .Net framework... Ovidiu Maxiniuc
01:54 PM Runtime Infrastructure Feature #2243 (WIP): integrate spawn.c changes into winspawn.c
Marius Gligor
11:38 AM User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface Bug #2244 (Review): web client performance
Marius Gligor
06:23 AM User Interface 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:53 PM Base Language Feature #1634: implement full native library (.so or DLL) support
Some finding for execution the test in 4GL systems:
Source:...
Eugenie Lyzenko
04:48 PM Base Language Feature #1634: implement full native library (.so or DLL) support
> And what about native library path names? For example @"library_calls/testapi/testapi.dll"@. Here we also need Linu... Greg Shah
04:05 PM Base Language Feature #1634: implement full native library (.so or DLL) support
> We want to implement all name_map.xml entries in Linux form, even if the app was written with Windows file seps. In... Eugenie Lyzenko
03:52 PM Base Language Feature #1634: implement full native library (.so or DLL) support
Greg Shah wrote:
> Constantin: please provide your thoughts on where exactly to put this code. I know we need to re...
Constantin Asofiei
03:43 PM Base Language Feature #1634: implement full native library (.so or DLL) support
We want to implement all name_map.xml entries in Linux form, even if the app was written with Windows file seps. In ... Greg Shah
03:22 PM Base Language Feature #1634: implement full native library (.so or DLL) support
> I understand. But my concern is that changing the p2j.cfg.xml has other implications that may make this a bad idea.... Eugenie Lyzenko
01:25 PM Base Language Feature #1634: implement full native library (.so or DLL) support
No, you are right. The @p2j.cfg.xml.win@ should have @case-sensitive==false@. Keep this change. Greg Shah
12:59 PM Base Language Feature #1634: implement full native library (.so or DLL) support
> I understand. But my concern is that changing the p2j.cfg.xml has other implications that may make this a bad idea.... Eugenie Lyzenko
12:24 PM Base Language Feature #1634: implement full native library (.so or DLL) support
> This change was made according to note #96 above.
I understand. But my concern is that changing the p2j.cfg.xml...
Greg Shah
12:11 PM Base Language Feature #1634: implement full native library (.so or DLL) support
>... Eugenie Lyzenko
11:40 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Code Review 0305a
The change to @collect_names.rules@ is fine. The @null@ check is not really needed, because if ...
Greg Shah
11:19 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Code Review 0305b
The change to these values is concerning:...
Greg Shah
10:47 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Two updates for you to review, one for P2J code, other - for testcases(@p2j.cfg.xml.win@ to convert testcases). As fo... Eugenie Lyzenko
09:22 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Please post a real update so that I can use diffing tools (like meld) to compare your changes. The changes you have ... Greg Shah
04:46 PM User Interface 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 User Interface 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 User Interface Feature #2252 (Closed): implement GUI client support
Greg Shah
04:14 PM User Interface 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 User Interface Feature #2255 (New): replace non-UI code that has direct dependencies on the UI with dependence o...
Greg Shah
04:12 PM User Interface 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 User Interface 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 User Interface Feature #2253 (New): eliminate listener/event model
Greg Shah
03:34 PM User Interface 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 User Interface Feature #2254 (Closed): eliminate the logic in the Config* classes and make them simple container...
Greg Shah
01:23 PM User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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
01:08 PM Conversion Tools Feature #2251: improve the call graph generation
> Titan supports other storage backends, BerkeleyDB and Persistit both being ACID compliant and embeded in the same J... Greg Shah
12:43 PM Conversion Tools Feature #2251: improve the call graph generation
Greg Shah wrote:
> > what looks nice to me is that it allows HBase storage and it can be integrated with Hadoop: we...
Constantin Asofiei
12:20 PM Conversion Tools Feature #2251: improve the call graph generation
> At this time, I'm inclined to go with Titan, especially because the storage backend is not restricted to a propriet... Greg Shah
10:53 AM Conversion Tools Feature #2251: improve the call graph generation
Greg Shah wrote:
> Instead, I have long been considering using graph database technology. In particular, I have bee...
Constantin Asofiei
08:17 PM Conversion Tools Feature #2251: improve the call graph generation
> Is it possible to determine to which include file (if any) an AST is coming from? Isn't this information lost after... Greg Shah
08:07 PM Conversion Tools Feature #2251: improve the call graph generation
>> -------- Original Message --------
>> Subject: Neo4J licensing
>> Date: Tue, 04 Mar 2014 17:11:04 -0500
>> Fr...
Greg Shah

03/04/2014

05:31 PM Base Language Feature #1634: implement full native library (.so or DLL) support
The changes for you to review to convert/compile/run testcases in Windows. The result - there are no messages during ... Eugenie Lyzenko
12:49 PM Base Language Feature #1634: implement full native library (.so or DLL) support
> Using libname = ExpressionConversionWorker.progressToJavaString(libname) causes the exception:
Please search the...
Greg Shah
12:42 PM Base Language Feature #1634: implement full native library (.so or DLL) support
The strange thing I'm struggling with. Using libname = ExpressionConversionWorker.progressToJavaString(libname) cause... Eugenie Lyzenko
05:14 PM Conversion Tools Feature #2251: improve the call graph generation
Greg Shah wrote:
> If the call-site is from an include file, then there may be a list of containing include files th...
Constantin Asofiei
04:40 PM Conversion Tools Feature #2251: improve the call graph generation
OK, I don't want to throw you off track or open the scope of this too much. But we are at a point in this analysis t... Greg Shah
04:18 PM Conversion Tools Feature #2251: improve the call graph generation
> the preprocessor-graph is an example of the content of a .p.pphints file. I don't think we need to merge the prepro... Greg Shah
03:28 PM Conversion Tools Feature #2251: improve the call graph generation
Something I forgot: we should allow @rootlist.xml@ to have nodes like @<node folder="./path/to/folder/"/>@, to includ... Constantin Asofiei
03:19 PM Conversion Tools Feature #2251: improve the call graph generation
Greg, some thoughts about the callgraph generation. Assuming we have an explicit @RUN ext-prog.p.@ call in an interna... Constantin Asofiei
03:50 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
During the last days I tried to find a solution for compiling / converting previously attached files in linux using i... Ovidiu Maxiniuc
11:02 AM User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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
04:33 PM Base Language Feature #1599: shift EXP implementation (MathOps.pow()) to BigDecimal
Code Review 0227a
It looks fine. Assuming it passes testing, you can check it in and distribute it.
Greg Shah
04:21 PM Conversion Tools Feature #2251: improve the call graph generation
>> program internal or "internal linkage" - any mechanism by which code can call other code within the same compilati... Greg Shah
02:43 PM Conversion Tools Feature #2251: improve the call graph generation
Greg Shah wrote:
> # program internal or "internal linkage" - any mechanism by which code can call other code withi...
Constantin Asofiei
02:07 PM Conversion Tools Feature #2251: improve the call graph generation
> I think the only issue left for the current code to work properly is the file-name case-sensitivity.
Yes, pleas...
Greg Shah
12:59 PM Conversion Tools Feature #2251: improve the call graph generation
Code Review 0222d
Overall, I am fine with the changes.
My only concern is with @CallGraphWorker.Callgraph.prepa...
Greg Shah
12:20 PM Conversion Tools Feature #2251: improve the call graph generation
Some good references:
http://en.wikipedia.org/wiki/GraphML
http://en.wikipedia.org/wiki/YEd
Please note that G...
Greg Shah
11:35 AM Conversion Tools Feature #2251: improve the call graph generation
For the GUI project, there are cases when a parent/child relationship between two programs can be determined from the... Constantin Asofiei
10:52 AM Conversion Tools Feature #2251: improve the call graph generation
I've fixed the rules so that the callgraph can be ran with current P2J and also to use the @p2j.cfg.xml@'s file-separ... Constantin Asofiei
10:44 AM Conversion Tools Feature #2251 (Closed): improve the call graph generation
Constantin Asofiei

03/02/2014

02:34 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
I have found the following conversion error (see log below) in current bzr revision for the following example:
<pr...
Vadim Nebogatov

02/28/2014

01:10 PM User Interface 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 User Interface 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
10:06 AM Base Language Feature #1634: implement full native library (.so or DLL) support
> The place to fix is:
Yes. Instead of the call to @removeQuotes()@, it should call @ExpressionConversionWorker.p...
Greg Shah
09:20 AM Base Language Feature #1634: implement full native library (.so or DLL) support
> ... But in this case the text is stored into the name_map.xml during annotations/collect_names.rules and the string... Eugenie Lyzenko
08:55 AM Base Language Feature #1634: implement full native library (.so or DLL) support
> Greg, please advise: is this a conversion bug in the library name conversion, or a problem in load_library_native, ... Greg Shah
05:56 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Eugenie Lyzenko wrote:
> This is just fragment, the others - inside attached
> [...]
The @~\@ comes from the 4GL c...
Constantin Asofiei
05:42 AM Base Language Feature #1634: implement full native library (.so or DLL) support
This is just fragment, the others - inside attached... Eugenie Lyzenko
04:52 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Eugenie Lyzenko wrote:
> > What I think we need to do is to keep the program names in name_map.xml with the linux-st...
Constantin Asofiei
04:48 AM Base Language Feature #1634: implement full native library (.so or DLL) support
> What I think we need to do is to keep the program names in name_map.xml with the linux-style separator.
After ch...
Eugenie Lyzenko
02:55 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Greg Shah wrote:
> No, this is not a conversion problem. We can't change the source code since it is valid 4GL and ...
Constantin Asofiei
04:05 AM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
I have attached next update vmn_upd20140227a.zip with fixes according note 57 and refactored classes P2OLookup, P2OAc... Vadim Nebogatov

02/27/2014

06:06 PM Base Language Feature #1634: implement full native library (.so or DLL) support
Another similar issue is library name transformation from requested @"library_calls\\testapi\\testapi.dll"@ to @"libr... Eugenie Lyzenko
03:38 PM Base Language Feature #1634: implement full native library (.so or DLL) support
In the 4GL, this code works without problem on both Linux and Windows.
This means there is a runtime problem in ou...
Greg Shah
02:54 PM Base Language Feature #1634: implement full native library (.so or DLL) support
The first thing I've faced is the issue with hardcoded test file path name to run for example:... Eugenie Lyzenko
11:19 AM Base Language Feature #1634: implement full native library (.so or DLL) support
> The Linux copy has the error I need to clarify:
Please compare your results to the logs in note 79 to see if err...
Greg Shah
10:30 AM Base Language Feature #1634: implement full native library (.so or DLL) support
I'm executing test_runner.p in both Linux and Windows to compare behavior/results. The Linux copy has the error I nee... Eugenie Lyzenko
08:17 AM Base Language Feature #1634: implement full native library (.so or DLL) support
> I think what you are missing is copy the p2jspi.jar in your JRE's ext lib folder.
Yes, you are right, the server...
Eugenie Lyzenko
07:54 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Eugenie Lyzenko wrote:
> Ti enable persistence for server the following changes should be done in directory.xml file...
Constantin Asofiei
07:52 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Regarding previous note error. Do I need to set up the SQL server running on Windows to execute the tests? Eugenie Lyzenko
07:49 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Trying to start the server on Windows for native library with persistence enabled. But the error is happening.
Ti ...
Eugenie Lyzenko
03:26 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
My idea is to implement the requested interface for SQL server and defer the processing to a component. The same patt... Ovidiu Maxiniuc
03:06 PM Base Language Feature #1599: shift EXP implementation (MathOps.pow()) to BigDecimal
Fixed error handling issue in MathOps.pow(BigDecimal, BigDecimal). Regression test is in progress. Hynek Cihlar
02:55 PM Base Language Bug #2133: fix precision for decimal, dynamic-extent variables
Constantin Asofiei wrote:
> When the number of array elements is missing, then we have a dynamic extent. And looks l...
Hynek Cihlar
12:00 PM Base Language Bug #2133: fix precision for decimal, dynamic-extent variables
Hynek Cihlar wrote:
> Setting decimal precision in the @DEFINE VARIABLE@ statement of an @EXTENT@ with the missing n...
Constantin Asofiei
11:13 AM Base Language Bug #2133: fix precision for decimal, dynamic-extent variables
Setting decimal precision in the @DEFINE VARIABLE@ statement of an @EXTENT@ with the missing number of array elements... Hynek Cihlar
02:52 PM Base Language Bug #2250: Conversion error when decimal precision defined on dynamic extent variable
Setting decimal precision in the @DEFINE VARIABLE@ statement of an @EXTENT@ with the missing number of array elements... Hynek Cihlar
02:51 PM Base Language Bug #2250 (Closed): Conversion error when decimal precision defined on dynamic extent variable
Hynek Cihlar
10:15 AM User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface Feature #1787: implement batch mode support
Committed in bzr as 10482. Eugenie Lyzenko

02/26/2014

06:35 PM User Interface 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 User Interface Feature #1787: implement batch mode support
Check in and distribute the change. Greg Shah
06:22 PM User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface Feature #1787: implement batch mode support
Eugenie, the changes in 0225a.zip are OK - go ahead with regression testing. Constantin Asofiei
03:35 PM Base Language Feature #1599 (Closed): shift EXP implementation (MathOps.pow()) to BigDecimal
Greg Shah
03:17 PM Base Language Feature #1599: shift EXP implementation (MathOps.pow()) to BigDecimal
0220a regression tested and checked in to bzr revision 10481. Hynek Cihlar
03:00 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Eric Faulhaber wrote:
> * There is a new @throw_exception@ template in @java_templates.tpl@. I didn't see where this...
Vadim Nebogatov
09:00 AM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Vadim, please ignore my first question in the code review about the metaschema changes. I forgot we had discussed tha... Eric Faulhaber
02:33 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
> Only the deployment and testing need the Windows platform as I am not sure SQL Server will run on Wine.
No probl...
Greg Shah
01:54 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
Eric Faulhaber wrote:
> Ovidiu, nice work so far.
Thanks.
> Please continue investigating the data type issue. C...
Ovidiu Maxiniuc
01:10 PM User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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
03:08 AM Runtime Infrastructure Feature #2124: improve/simplify the startup of server-side batch processes and appserver "agent" ...
Passed runtime testing, attached version was committed to bzr rev 10480. Changes compared to 0225b:
* set the @secur...
Constantin Asofiei

02/25/2014

05:30 PM User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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
05:14 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
Ovidiu, nice work so far.
Please continue investigating the data type issue. Can we create a very thin "shim" laye...
Eric Faulhaber
02:25 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
My previous note was written rather quickly based on the notes I took while doing investigations and some actions wer... Ovidiu Maxiniuc
04:07 PM User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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:33 PM Runtime Infrastructure Feature #2124: improve/simplify the startup of server-side batch processes and appserver "agent" ...
Code Review 0225b
I'm fine with the changes. Check these in when they pass testing.
Greg Shah
12:14 PM Runtime Infrastructure Feature #2124: improve/simplify the startup of server-side batch processes and appserver "agent" ...
Fixed @ServerDriver.connect@ to work with in-directory private keys. Constantin Asofiei
12:57 PM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
About static resources generated in a appserver procedure ran persistent (using @RUN ... PERSISTENT ON SERVER@ or via... Constantin Asofiei
12:41 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Code review 20140222a/b:
This update looks good overall, though I think you've changed more than you needed to (see ...
Eric Faulhaber

02/24/2014

06:17 PM User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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
03:32 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
Eric Faulhaber wrote:
> This is great news! When you are ready, please post an update and detailed instructions abou...
Ovidiu Maxiniuc
02:00 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
This is great news! When you are ready, please post an update and detailed instructions about:
* the specific softwa...
Eric Faulhaber
01:08 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
Finally, I have managed to:
* install the IKVM assemblies into SQL Server
* installed the assembly converted from ...
Ovidiu Maxiniuc
02:26 PM Base Language Bug #2133: fix precision for decimal, dynamic-extent variables
Greg Shah wrote:
> > Can it ever happen to have the array reference registered to multiple scopes on the scope stack...
Hynek Cihlar
02:18 PM Base Language Bug #2133: fix precision for decimal, dynamic-extent variables
> Can it ever happen to have the array reference registered to multiple scopes on the scope stack?
Yes. I believe...
Greg Shah
01:47 PM Base Language Bug #2133: fix precision for decimal, dynamic-extent variables
When the dynamic array is resized (@EXTENT@ statement is encountered), old array reference is "deregistered" and new ... Hynek Cihlar
12:16 PM User Interface Feature #1811: implement the AJAX client driver
OK, I understand. Greg Shah
12:15 PM User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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
12:11 PM Base Language Feature #2145 (Closed): eliminate program-name limitations
Greg Shah
11:50 AM Base Language Feature #2145: eliminate program-name limitations
Greg Shah wrote:
> Have you retested the "standalone" super proc/persistent proc testcases?
Yes, the tests are OK.
...
Constantin Asofiei
10:49 AM Base Language Feature #2145: eliminate program-name limitations
Code Review 0222b/e
I am fine with the changes. This is another nice improvement/refactoring of the code such tha...
Greg Shah
11:22 AM Database Bug #2236 (Closed): HQL error generated from dynamically converted query with extent field refere...
Eric Faulhaber
11:20 AM Database Feature #2140 (Closed): use positional query substitution parameters in HQLPreprocessor and relat...
Eric Faulhaber
11:19 AM Database Bug #2237 (Closed): wrong historical annotations in dynamic temp-tables
Eric Faulhaber

02/23/2014

03:15 PM Base Language Feature #1599 (WIP): shift EXP implementation (MathOps.pow()) to BigDecimal
Hynek Cihlar
03:13 PM Base Language Bug #2133 (WIP): fix precision for decimal, dynamic-extent variables
Hynek Cihlar
03:12 PM Base Language Bug #2133: fix precision for decimal, dynamic-extent variables
The decimal precision is effectively lost when (1) unfixed decimal array is defined and later fixed with the @EXTENT@... Hynek Cihlar
04:18 AM Base Language Feature #2145 (Review): eliminate program-name limitations
Constantin Asofiei
04:14 AM Base Language Feature #2145: eliminate program-name limitations
The 0222b.zip and 0222e.zip (from #2248) have passed regression testing, after checking the cumulative regression tes... Constantin Asofiei

02/22/2014

05:40 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
I have attached next update vmn_upd20140222a.zip with using LegacyField instead of earlier using CustomExtentPrope... Vadim Nebogatov
10:42 AM User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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
09:47 AM Base Language Feature #2145: eliminate program-name limitations
Failures during testing of 0222b.zip: there are cases like this (MAJIC uses them):... Constantin Asofiei
05:05 AM Base Language Feature #2145: eliminate program-name limitations
This version allows java-style calls for internal and external procedures and centralizes the maintenance of procedur... Constantin Asofiei

02/21/2014

05:18 PM User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface Feature #1811: implement the AJAX client driver
Did you mean to find all rectangles or only the biggest one? Marius Gligor
08:48 AM User Interface 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 User Interface 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 User Interface 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 User Interface 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
03:46 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
The SQL Server can execute 'external' code in two ways:
1. *as 'Extended Stored Procedures'*. This is the deprecated...
Ovidiu Maxiniuc
09:15 AM Base Language Feature #2145: eliminate program-name limitations
Greg Shah wrote:
> Option 3 is the best solution, IF it is possible.
I think I will go ahead with this one. The onl...
Constantin Asofiei
08:31 AM Base Language Feature #2145: eliminate program-name limitations
Option 3 is the best solution, IF it is possible.
A modified option 1 may be the next best approach. The idea is ...
Greg Shah
04:10 AM Base Language Feature #2145 (WIP): eliminate program-name limitations
Regression testing showed problems related to calling the hand-written java code: we need to determine the policy of ... Constantin Asofiei
03:19 AM Runtime Infrastructure Feature #2124: improve/simplify the startup of server-side batch processes and appserver "agent" ...
0221a.zip was committed to bzr rev 10475. Constantin Asofiei

02/20/2014

06:27 PM Runtime Infrastructure Feature #2124: improve/simplify the startup of server-side batch processes and appserver "agent" ...
Fixes a bug in the JobProcessor waiting loop: wait only if there are no posted jobs.
LE: no testing required, I'll c...
Constantin Asofiei
12:19 PM Runtime Infrastructure Feature #2124 (Closed): improve/simplify the startup of server-side batch processes and appserver...
Greg Shah
04:45 PM Base Language Feature #1625: implement OUTPUT TO PRINTER on Windows
The Linux/UNIX support for OUTPUT TO PRINTER is already done from the work in #1631. The remaining work for this tas... Greg Shah
04:37 PM Base Language Feature #1824 (Closed): client platform delegate implementation
The design choices implemented in #1811 eliminate the need for this work. Greg Shah
03:00 PM User Interface 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 User Interface 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:50 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
Eric Faulhaber wrote:
> Sounds like you're making good headway, Ovidiu.
This was the easy part.. the time-consuming...
Ovidiu Maxiniuc
01:05 PM User Interface 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 User Interface 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 User Interface 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:59 PM Database Feature #2024 (Closed): implement runtime support for database triggers
Eric Faulhaber
12:46 PM User Interface 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 User Interface 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 User Interface 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 User Interface Feature #2247 (Closed): interactive child process support
Greg Shah
11:05 AM Base Language Feature #2145: eliminate program-name limitations
> The only dependence on reflection is the "java-style calls of legacy user-def functions", when we need to determine... Greg Shah
10:56 AM Base Language Feature #2145 (Review): eliminate program-name limitations
Greg Shah wrote:
> We don't have much choice in coding so much dependence on reflection and the old approach was als...
Constantin Asofiei
09:58 AM Base Language Feature #2145: eliminate program-name limitations
Code Review 0220d
I am OK with the changes. As always with the procedure processing, this stuff is pretty nasty. ...
Greg Shah
09:21 AM Base Language Feature #2145 (WIP): eliminate program-name limitations
This solves the OOME and the SOURCE- and TARGET-PROCEDURE deviations. Is going through testing now. Constantin Asofiei
08:21 AM Base Language Feature #1599: shift EXP implementation (MathOps.pow()) to BigDecimal
Code Review 0220a
Everything looks good. If it passes runtime regression testing, you can check it in and distrib...
Greg Shah
03:58 AM Base Language Feature #1599: shift EXP implementation (MathOps.pow()) to BigDecimal
I also moved the @log@ private methods down to the private methods section. The attached changes are submitted for re... Hynek Cihlar
01:26 AM Base Language Feature #1624: add support for PUT CONTROL
Evgeny Kiselev wrote:
> Do I need to commit testcases ?
Of course, the testcases need to be in the repository.
Constantin Asofiei
11:00 PM Base Language Feature #1624: add support for PUT CONTROL
Do I need to commit testcases ? Evgeny Kiselev
11:59 PM Base Language Feature #2208: create a java application running web services for testing purposes
I've committed intermediate version of test server to the @testcases/uast/web_services/server/@.
To run this from ID...
Evgeny Kiselev

02/19/2014

04:00 PM Database Feature #2143 (WIP): prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded ...
Sounds like you're making good headway, Ovidiu.
> I attempted to convert the whole p2jpl.jar. Operation finished and...
Eric Faulhaber
02:54 PM Database Feature #2143: prototype IKVM solution for Java UDFs compiled to CIL assemblies and loaded in SQL...
Progress so far:
* created a small test java class with 2 operators
* compiled the java source code and built the j...
Ovidiu Maxiniuc
03:41 PM Base Language Feature #1599: shift EXP implementation (MathOps.pow()) to BigDecimal
Code Review 0219a
The code looks good. My only comments relate to some coding standards:
1. Lines 608 and 614 a...
Greg Shah
02:52 PM Base Language Feature #1599: shift EXP implementation (MathOps.pow()) to BigDecimal
Please review the attached changes. Testcases checked in to testcases/uast/math/exp.p. Hynek Cihlar
02:35 PM Database Feature #2024: implement runtime support for database triggers
Committed to bzr as revision 10472 and distributed by mail. Ovidiu Maxiniuc
12:59 PM User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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
12:15 PM Base Language Feature #1624 (Closed): add support for PUT CONTROL
Greg Shah
11:52 AM Base Language Feature #1624: add support for PUT CONTROL
update evk_upd20140214a.zip has been passed regression testing.
Committed to bzr revision 10470.
Evgeny Kiselev
11:13 PM Base Language Feature #1624 (Review): add support for PUT CONTROL
Evgeny Kiselev
03:10 AM User Interface 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 User Interface Bug #2244 (WIP): web client performance
Marius Gligor

02/18/2014

01:50 PM Base Language Feature #2145: eliminate program-name limitations
This should solve the SOURCE- and TARGET-PROCEDURE cases (when invoking an external program or a trigger). Also, it i... Constantin Asofiei
12:47 PM User Interface 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
11:02 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Almost.
> take the testcases from @native_library_calls_4gl_..._sample_20131107.zip@
No, that is just a slightly...
Greg Shah
10:51 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Greg,
The question about task #2234. The goal is to take the testcases from @native_library_calls_4gl_..._sample_2...
Eugenie Lyzenko

02/17/2014

02:30 PM User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface Feature #1811: implement the AJAX client driver
You are a go for regression testing on 0217b. Greg Shah
02:19 PM User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface Feature #1811: implement the AJAX client driver
Here are my latest changes. Marius Gligor
01:12 PM User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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 User Interface 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
11:53 AM Base Language Support #2233 (Closed): test and fix the native API support on Linux
Greg Shah
10:50 AM User Interface 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 User Interface Bug #2244 (Closed): web client performance
Greg Shah
10:05 AM Database Feature #2024: implement runtime support for database triggers
I have merged the update with latest bzr version. The conversion testing passed (as expected, no changes in generated... Ovidiu Maxiniuc

02/16/2014

08:01 AM Base Language Feature #1624: add support for PUT CONTROL
Check it in and distribute it. Greg Shah
03:20 AM Base Language Feature #1624: add support for PUT CONTROL
Evgeny Kiselev wrote:
> Final update. Regression is running now.
Passed regression testing
Evgeny Kiselev
07:53 AM User Interface 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 User Interface 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
04:26 AM Runtime Infrastructure Feature #2124: improve/simplify the startup of server-side batch processes and appserver "agent" ...
The attached update fixed some oversights (debug was enabled for the spawn's P2J secure connection client and a bug r... Constantin Asofiei
10:04 PM Base Language Feature #1634: implement full native library (.so or DLL) support
Between 2 regression testing runs, all tests have passed except for GSO 167 (and TC JOB 002 which fails as expected i... Greg Shah

02/15/2014

03:47 PM User Interface Feature #1805: add missing UI method support
@Color.toForeground@ receives a @null@ @Color@ instance hence the NPE. It looks like @ColorMapper.toFont@ should hand... Hynek Cihlar
12:48 PM User Interface Feature #1805: add missing UI method support
Vadim: you have a typo on line 23: you need to have @display testt@ instead of @display test@. This was easily spotte... Constantin Asofiei
12:13 PM User Interface Feature #1805: add missing UI method support
I faced with the following conversion problem. The parser makes wrong annotations with links to @schemaname@, @bufnam... Vadim Gindin
02:53 PM Runtime Infrastructure Feature #2124: improve/simplify the startup of server-side batch processes and appserver "agent" ...
Constantin Asofiei wrote:
> Eric: I don't want to commit it until I update the directory.xml you use to run the serv...
Eric Faulhaber
12:59 PM Runtime Infrastructure Feature #2124: improve/simplify the startup of server-side batch processes and appserver "agent" ...
Constantin Asofiei wrote:
> Greg Shah wrote:
> > If I understand correctly, this contains fixes for all issues foun...
Greg Shah
10:24 AM Runtime Infrastructure Feature #2124: improve/simplify the startup of server-side batch processes and appserver "agent" ...
Greg Shah wrote:
> You can check in and distribute this when it passes testing.
Eric: I don't want to commit it unt...
Constantin Asofiei
09:53 AM Runtime Infrastructure Feature #2124: improve/simplify the startup of server-side batch processes and appserver "agent" ...
Greg Shah wrote:
> If I understand correctly, this contains fixes for all issues found in #1811 except for the probl...
Constantin Asofiei
09:48 AM Runtime Infrastructure Feature #2124: improve/simplify the startup of server-side batch processes and appserver "agent" ...
Code Review 0214h
The code changes look good. If I understand correctly, this contains fixes for all issues found...
Greg Shah
01:30 PM User Interface Feature #1811: implement the AJAX client driver
I'm OK with this update. Please manually test the following:
1. The admin console on the MAJIC server.
2. Normal...
Greg Shah
01:55 AM User Interface Feature #1811: implement the AJAX client driver
I builded a new jetty release. The good news are that web sockets are working now in Google Chrome 32. Marius Gligor
01:24 PM Base Language Feature #2145: eliminate program-name limitations
Greg Shah wrote:
> > my concern is that, if the PROPATH gets modified, we might resolve the relative name to a compl...
Constantin Asofiei
01:20 PM Base Language Feature #2145: eliminate program-name limitations
> my concern is that, if the PROPATH gets modified, we might resolve the relative name to a completely different prog... Greg Shah
09:06 AM Base Language Feature #2145: eliminate program-name limitations
This one proves a little more challenging: the procedure names in error messages and the procedure's @FILE-NAME@ and ... Constantin Asofiei
08:59 AM Base Language Feature #1634: implement full native library (.so or DLL) support
This update is merged up to bzr revision 10466. I am going back through runtime regression testing. The first run f... Greg Shah
08:56 AM Base Language Feature #1598 (Closed): shift LOG implementation (MathOps.log()) to BigDecimal
Greg Shah
07:32 AM Base Language Feature #1598: shift LOG implementation (MathOps.log()) to BigDecimal
Committed to bzr revision 10466. Hynek Cihlar
08:43 AM User Interface Feature #2240 (Closed): implement proper color support in the Swing ChUI and AJAX ChUI clients
Greg Shah
 

Also available in: Atom