Project

General

Profile

Activity

From 10/30/2013 to 11/28/2013

11/28/2013

01:26 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Here is the code. The problem I can see is that a process that got changes from the client and calls @LogicalTerminal... Vadim Gindin
01:35 AM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Vadim Gindin wrote:
> I tried to implement but at this moment it don't work.
Well, then tell/show us where you get ...
Constantin Asofiei
01:21 PM User Interface Feature #1811: implement the AJAX client driver
This is really good work. It seems very close to what we need. Some feedback:
1. There are a few coding conventi...
Greg Shah
05:28 AM User Interface Feature #1811: implement the AJAX client driver
Makefile improvements. Marius Gligor
01:18 PM Database Feature #2024: implement runtime support for database triggers
Thanks, I see now.
I was blinded by the @WRITE@ trigger that also allows @new@/@old@ values. If no field is specifie...
Ovidiu Maxiniuc
12:57 PM Database Feature #2024: implement runtime support for database triggers
From the v11.0 documention for the TRIGGER PROCEDURE statement:... Greg Shah
12:28 PM Database Feature #2024: implement runtime support for database triggers
> In regard to your other changes, I should note that the 4GL docs state that NEW is a possible keyword used in the a... Ovidiu Maxiniuc
11:25 AM Database Feature #2024: implement runtime support for database triggers
This is the intermediate version of my progress.g changes which I plan to include with my work on #1634. Greg Shah
11:23 AM Database Feature #2024: implement runtime support for database triggers
Sadly, I independently found the same "implicit like" problem with the assign_trigger_var_def/regular_parm processing... Greg Shah
12:09 PM Database Feature #2116: add runtime support for _user metadata table
Code Review 1125d and 1121b
CustomSecurityOps has had the @public@ access modifier removed from all the methods. ...
Greg Shah
07:10 PM Database Feature #2116: add runtime support for _user metadata table
Code review 20131125d (database-related):
The database portions of this most recent drop look fine for check-in. T...
Eric Faulhaber
09:45 AM Database Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
But I found out on testing one strange fact. Data Dictionary allows to create permanent table with no fields, default... Vadim Nebogatov
08:43 AM Database Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
Eric Faulhaber wrote:
> * Also regarding @IndexHelper.getPrimaryIndex@, I'm pretty sure this is the case, but have y...
Vadim Nebogatov
08:00 AM Database Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
Eric Faulhaber wrote:
> * In @IndexHelper.getPrimaryIndex@, the @primaryIndexByEntity@ map will never contain any en...
Vadim Nebogatov
04:43 AM Database Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
With any solution @each tt1 where tt.f-1 = 0 or tt.f-2 = 0@ will be converted to @select tt__1.id from DynamicRecord1... Stanislav Lomany

11/27/2013

06:10 PM Database Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
Code review 20131126a:
* The new @legacy_primary_index_annotation@ in @java_templates.tpl@ is largely redundant with...
Eric Faulhaber
05:30 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
> I think the solution will be to push to the server the name of the last event (i.e. the function of the last presse... Vadim Gindin
07:39 AM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Vadim Gindin wrote:
> > * have you tested the READ-RESPONSE/CONNECT events?
>
> Yes I did. Current implementatio...
Constantin Asofiei
05:19 PM User Interface Feature #1787: implement batch mode support
The new drop for review.
1. Completed Javadoc comments.
2. Added handling of @PAUSE@ like processing when we need t...
Eugenie Lyzenko
03:53 PM Database Feature #2024: implement runtime support for database triggers
I think that parts of the @progress.g@ should be re-written to allow the correct syntax to be parsed. It here are the... Ovidiu Maxiniuc
03:21 PM Database Feature #2116: add runtime support for _user metadata table
I finally obtained a satisfiable result with the update for this issue.
The final run wasn't flawless, but I couldn'...
Ovidiu Maxiniuc
11:26 AM Database Feature #2116 (Test): add runtime support for _user metadata table
Eric Faulhaber
01:18 PM User Interface Feature #1811: implement the AJAX client driver
Add GCC flags on makefile for a RELEASE build not a DEBUG one. Marius Gligor
01:08 PM User Interface Feature #1811: implement the AJAX client driver
Today I finished to design and implements a spawner tool working like "su" command but allow us to specify the user p... Marius Gligor
09:27 AM Database Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
So, when you use a dynamic table @tt@ (with fields @f-1@ and @f-2@) in a dynamic query, and in 4GL you have this pred... Constantin Asofiei
07:04 AM Database Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
The problem: dynamic queries do not recognize fields of dynamic tables specified in 4GL where clause.
Cause:
1. Na...
Stanislav Lomany
08:23 AM User Interface Feature #1791: implement dynamic UI support
The server project uses the @IN WINDOW@ clause only with the @DISPLAY@ statement, in only one program; that program a... Constantin Asofiei
08:17 AM User Interface Feature #2016: implement CURRENT-WINDOW, ACTIVE-WINDOW and DEFAULT-WINDOW system handles
Check #1791 note 30 and forward for a discussion for findings about the current-/default-/active-window behaviour in ... Constantin Asofiei

11/26/2013

06:42 PM Base Language Feature #1641: implement SAX XML support
Greg Shah wrote:
> How much more time do you estimate that you will need to complete this work?
I've finishing with...
Evgeny Kiselev
11:39 AM Base Language Feature #1641: implement SAX XML support
How much more time do you estimate that you will need to complete this work? Greg Shah
04:15 PM User Interface Feature #1791: implement dynamic UI support
I'm posting update about CREATE WINDOW errors.
IN WINDOW clause is used in a big amount of statements:
ENABLE, f...
Vadim Gindin
11:54 AM User Interface Feature #1791: implement dynamic UI support
AFAIK the trigger phrase in the CREATE statement is not used by the server project, so should not be worked by #2027.... Constantin Asofiei
11:50 AM User Interface Feature #1791: implement dynamic UI support
I'm sorry, I muddled files with same names in different folders.. My mistake. You're right. Embedded assign works cor... Vadim Gindin
01:32 AM User Interface Feature #1791: implement dynamic UI support
Vadim Gindin wrote:
> I'm trying to implement conversion of full form of CREATE WIDGET statement - a form with assig...
Constantin Asofiei
03:36 PM Database Feature #1588: add conversion and runtime support for embedded SQL
Actually I tested deleteAll() with @DELETE FOR@ for permanent tables. Rest issue, – fix in P2JIndex.getOrderByClause... Vadim Nebogatov
03:35 PM Database Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
Update vmn_upd20131126a.zip is attached.
Fixed P2JIndex.getOrderByClause(), used dmoAlias instead of table name.
...
Vadim Nebogatov
11:27 AM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Constantin Asofiei wrote:
> About the update:
> * AsyncRequestImpl is missing history entry
Thank you, I've added.
...
Vadim Gindin
04:33 AM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
About the update:
* AsyncRequestImpl is missing history entry
* have you tested the READ-RESPONSE/CONNECT events?
...
Constantin Asofiei
09:03 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Greg Shah wrote:
> I will go ahead and return 'O' instead of 'R' for getParameterModes().
OK. This will allow Cont...
Constantin Asofiei
08:49 AM Base Language Feature #1634: implement full native library (.so or DLL) support
I will go ahead and return 'O' instead of 'R' for getParameterModes().
The mode checking for native API calls is d...
Greg Shah
01:25 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Greg Shah wrote:
> > BTW, the native invocation code I think looks better in a distinct class; NativeProcedureCaller...
Constantin Asofiei
08:41 AM Base Language Bug #2183 (Closed): fix resource save/restoration when used with string/handle functions
Greg Shah
05:32 AM Base Language Bug #2183: fix resource save/restoration when used with string/handle functions
The code (hc_upd20131118a.zip) passed regression tests (the run 20131116) and was committed as revision 10416. Hynek Cihlar

11/25/2013

05:39 PM User Interface Feature #1791: implement dynamic UI support
I am surprised that the "embedded assign" portion is not working. I think it was working properly back in April.
...
Greg Shah
05:04 PM User Interface Feature #1791: implement dynamic UI support
I'm trying to implement conversion of full form of CREATE WIDGET statement - a form with assign statement.
I wrote s...
Vadim Gindin
12:47 PM User Interface Feature #1791: implement dynamic UI support
Right now we store it on the server in EnvironmentOps. See isBatchMode() and setBatchMode() in that class.
We als...
Greg Shah
12:24 PM User Interface Feature #1791: implement dynamic UI support
How to distinguish batch mode from usual mode? Vadim Gindin
05:14 PM Base Language Feature #1634: implement full native library (.so or DLL) support
> BTW, the native invocation code I think looks better in a distinct class; NativeProcedureCaller.invoke should deleg... Greg Shah
02:48 PM User Interface Feature #1787: implement batch mode support
The update for your review. Includes:
1. ErrorWriter is cleaned from UI related classes.
2. ErrorWriter* implementa...
Eugenie Lyzenko
01:28 PM User Interface Feature #1787: implement batch mode support
> So do we need to have two separate error writer implementations, one for client side and one for server side?
Ye...
Greg Shah
01:08 PM User Interface Feature #1787: implement batch mode support
> Yes, the described approach should eliminate this dependency.
OK. I have cleaned almost everything UI related fr...
Eugenie Lyzenko
10:14 AM User Interface Feature #1787: implement batch mode support
> This is the state before I started to work on batch mode. And the client member is used in ErrorManager class.
...
Greg Shah
09:26 AM User Interface Feature #1787: implement batch mode support
The question.
> 6. The ErrorManager class must NOT have any references to com.goldencode.p2j.ui.* or any UI relate...
Eugenie Lyzenko
02:01 PM Database Feature #1588: add conversion and runtime support for embedded SQL
Please use the new primary index annotation you have added for #2126 to ensure that the no-WHERE-clause variant of @d... Eric Faulhaber
01:53 PM Database Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
Update vmn_upd20131125a.zip is attached.
1) Using java annotations for retrieving primary index and deleteAll().
...
Vadim Nebogatov
01:08 PM User Interface Feature #1811: implement the AJAX client driver
> In this case the p2j design should be slightly changed to provide paths inside the user account home directory for ... Greg Shah
12:35 PM User Interface Feature #1811: implement the AJAX client driver
New changes in the current design.

1. In p2j when the user open the following URL https://<host>:<admin_port>/c...
Marius Gligor
09:50 AM User Interface Feature #1811: implement the AJAX client driver
This is really good work. Some thoughts:
1. Each spawned process must have a controlling terminal. You can use t...
Greg Shah
12:23 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
By the way. When user presses the button (RETURN key code), key function is CHOOSE (EVENT-TYPE:PROGRESS). In other ca... Vadim Gindin
12:09 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Here is next update. LABEL is implemented correctly but EVENT-TYPE is not implemented correctly.
When user presses th...
Vadim Gindin
09:17 AM Base Language Feature #1650: process launching support for Windows (JNI library changes and any associated modi...
The 4GL process launching requires a controlling terminal or pty. For instance, the programs that are launched from ... Greg Shah
09:00 AM Base Language Feature #1650: process launching support for Windows (JNI library changes and any associated modi...
> Greg/Eugenie: if the client is ran in a non-TTY mode, the process launching will not work. Is this by intent?
Ye...
Eugenie Lyzenko
03:17 AM Base Language Feature #1650: process launching support for Windows (JNI library changes and any associated modi...
Greg/Eugenie: if the client is ran in a non-TTY mode, the process launching will not work. Is this by intent? I think... Constantin Asofiei

11/24/2013

11:50 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Greg Shah wrote:
> Question: what does the NativeProcedureCaller.invoke() return value mean/what is it used for? It...
Constantin Asofiei
11:42 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Question: what does the NativeProcedureCaller.invoke() return value mean/what is it used for? It is not clear from t... Greg Shah
08:47 AM User Interface Feature #1787: implement batch mode support
Code Review 1119a
This is a move in the right direction, but there are some important changes to make:
1. The E...
Greg Shah
08:13 AM User Interface Feature #1787: implement batch mode support
The idea makes sense. Greg Shah

11/23/2013

04:14 PM User Interface Feature #1787: implement batch mode support
The question. I'm working on PAUSE statement handling for batch mode and other statements like this that silently ign... Eugenie Lyzenko
03:29 AM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Vadim Gindin wrote:
> I found that EVENT-TYPE for Key Functions: CHOOSE, VALUE_CHANGED, DEFAULT_ACTION is PROGRESS. ...
Constantin Asofiei
12:18 AM Database Feature #2117: add runtime support for _lock metadata table
The attached update adds basic conversion and runtime metadata support for the _lock table. It has passed regression ... Eric Faulhaber
07:08 PM User Interface Feature #1791: implement dynamic UI support
Good. Make sure to generate the proper errors in our code. That means that we should be pretty safe for M7. Greg Shah

11/22/2013

04:55 PM User Interface Feature #1791: implement dynamic UI support
Simple test:... Vadim Gindin
04:20 PM Base Language Feature #1634: implement full native library (.so or DLL) support
Misc Notes
The 4GL doesn't use native language header files or other definitions. No common OS platforms provide ...
Greg Shah
04:10 PM Base Language Feature #1634: implement full native library (.so or DLL) support
As mentioned before, EXTENT parameters are always passed as a pointer. One cannot pass an extent var of indeterminat... Greg Shah
03:59 PM Base Language Feature #1634: implement full native library (.so or DLL) support
RETURN Parameter Additional Notes
The definition of a RETURN parameter can be placed as the 1st parameter definiti...
Greg Shah
02:22 PM Base Language Feature #1634: implement full native library (.so or DLL) support
Outbound Checking Findings
The use of "outbound" means on the outbound "side" of the API call. In other words these ...
Greg Shah
04:17 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Constantin Asofiei wrote:
>..
> * Keyboard.isSynth - make sure the javadoc can be seen nicely in html (i.e. add a <...
Vadim Gindin
07:05 AM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Two notes about the changes:
* Keyboard.java - unneeded import
* Keyboard.isSynth - make sure the javadoc can be se...
Constantin Asofiei
03:08 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Vadim Nebogatov wrote:
> [...] But I agree that separate <extent-name> elements look better. Should I correct?
Yes...
Eric Faulhaber
02:41 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Eric Faulhaber wrote:
> * Why did you choose a CSV format for the @<extent-names>@ hint element, instead of using se...
Vadim Nebogatov
07:01 AM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Go ahead and commit and distribute the update, even though the above issues need to be addressed. It won't affect con... Eric Faulhaber
12:12 PM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
Greg Shah wrote:
> We can partially mitigate this (for the body of the message) by only setting the context during t...
Constantin Asofiei
11:06 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
We can partially mitigate this (for the body of the message) by only setting the context during the state sync proces... Greg Shah
10:25 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
Greg Shah wrote:
> What are the implications for setting context permanently for the reader/writer threads on DIRECT...
Constantin Asofiei
10:13 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
OK, then let's get the context set properly instead of reworking all of this code.
What are the implications for s...
Greg Shah
10:11 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
Yes, I agree with you, but that is not enough. To make all call-paths reachable from the frame deletion code independ... Constantin Asofiei
09:49 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
My point is that the applyChanges() method is already running in the proper instance because that instance is what is... Greg Shah
09:42 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
Greg Shah wrote:
> Isn't the @this@ reference in LogicalTerminal.applyChanges() the same as the instance returned by...
Constantin Asofiei
09:41 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
> this will need the context-local LogicalTerminal instance (obtained via LogicalTerminal.locate()) to destroy the fr... Greg Shah
11:42 PM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
> What is there in the visible flag case that requires the context?
The problem is that a frame (for which its insta...
Constantin Asofiei
11:38 AM User Interface Feature #1811: implement the AJAX client driver
Today I started to do tests using the spawn command written in C.
Here are the results.
I did some changes inside...
Marius Gligor
09:42 AM Base Language Feature #1641: implement SAX XML support
If there is no difference in the versions, use the one that is Apache licensed. Greg Shah
06:17 AM Base Language Feature #1641: implement SAX XML support
Constantin Asofiei wrote:
> Evgeny Kiselev wrote:
> > Unfortunately we need to add woodstox StAX api. Because JDK S...
Evgeny Kiselev
05:22 AM Base Language Feature #1641: implement SAX XML support
Evgeny Kiselev wrote:
> Unfortunately we need to add woodstox StAX api. Because JDK StAX api is not support any vali...
Constantin Asofiei
05:12 AM Base Language Feature #1641: implement SAX XML support
Unfortunately we need to add woodstox StAX api. Because JDK StAX api is not support any validation (DTD and schemas).... Evgeny Kiselev

11/21/2013

06:24 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Second regresion 20131121_123331 executed with 6 FAILED tests:
1. tc_job_002 FAILED failure in step 40: 'Unexpecte...
Vadim Nebogatov
05:59 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Code review 20131117*:
This is a good start, but it only handles the schema conversion, DMO creation, and ORM conf...
Eric Faulhaber
06:02 PM User Interface Feature #1811: implement the AJAX client driver
This is good work. Some thoughts:
* We will want to limit the scope of the process that is root. In particular, t...
Greg Shah
12:38 PM User Interface Feature #1811: implement the AJAX client driver
A. I did a lot of researches to find out a way to execute a command on Linux on the environment of other user,
He...
Marius Gligor
04:44 PM User Interface Feature #1791: implement dynamic UI support
> CHUI supports only one (default) window and CREATE WINDOW won't work in CHUI. If we implement CREATE WINDOW in-spit... Greg Shah
04:19 PM User Interface Feature #1791: implement dynamic UI support
I will probably repeat the Constantin's question, but I'm recalling, CHUI supports only one (default) window and CREA... Vadim Gindin
02:03 PM User Interface Feature #1791: implement dynamic UI support
> Greg: beside for the CREATE WINDOW statement, there are the IN WINDOW clause and the assignment of CURRENT-/DEFAULT... Greg Shah
03:57 AM User Interface Feature #1791: implement dynamic UI support
Vadim Gindin wrote:
> 2) ... When I set the frame attribute of a button but didn't set appearing properties - a bu...
Constantin Asofiei
04:43 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Here is next update. If I correctly understand we have the only one open question - about criteria of EVENT-TYPE sett... Vadim Gindin
02:07 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
It works different than we expected:
ENTRY, LEAVE - KEYPRESS inspite of they are synthetic in Keyboard.java. CHOOSE ...
Vadim Gindin
01:20 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Vadim Gindin wrote:
> Constantin Asofiei wrote:
> > ..
> > you will need to check if the last-key code is syntheti...
Constantin Asofiei
01:17 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Constantin Asofiei wrote:
> ..
> you will need to check if the last-key code is synthetic or not ..
How to check...
Vadim Gindin
02:16 PM Base Language Bug #1971: emit worker versions for functions to fix source-procedure handle
I am OK with the changes. Greg Shah
01:53 PM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
Generally speaking, to increase security, it is a good practice to limit the use of credentials (e.g. security contex... Greg Shah
09:14 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
LE: the queue may be multiplexed, thus the reason... I think we need to do something similar to how Dispatcher.proces... Constantin Asofiei
09:12 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
Greg, is there a specific reason the Reader/Writer threads don't have a security context set? I ask this because some... Constantin Asofiei

11/20/2013

06:42 PM User Interface Feature #1791: implement dynamic UI support
> Greg: do we have a list of which widgets should be implemented first? In the reports for the #2155 and M7, I did no... Greg Shah
05:02 PM User Interface Feature #1791: implement dynamic UI support
Some intermediate results:
1) Here is three ways creation of dynamic widgets in static containers, creation of dyn...
Vadim Gindin
02:02 PM User Interface Feature #1791: implement dynamic UI support
> Should I correct the error message in this case?
No, do not focus on it; this is a conversion issue (to show the p...
Constantin Asofiei
12:32 PM User Interface Feature #1791: implement dynamic UI support
I thought that I can write more simple test to check the support of DELETE statement, i.e. I don't need to create but... Vadim Gindin
11:12 AM User Interface Feature #1791: implement dynamic UI support
Vadim Gindin wrote:
> It seems that the real case of dynamic button creation is not really implemented or good teste...
Constantin Asofiei
06:29 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Regresion 20131119_150620 executed with 3 FAILED tests:
1. tc_job_002 FAILED failure in step 40: 'Unexpected EOF i...
Vadim Nebogatov
06:13 PM User Interface Feature #1811: implement the AJAX client driver
The standard Java process launching does not properly setup the terminal environment. As mentioned before, the termi... Greg Shah
02:11 PM User Interface Feature #1811: implement the AJAX client driver
I started to do tests using Linux su and sudo commands.
1. For security reasons su and sudo doesn't allow stdin re...
Marius Gligor
10:10 AM User Interface Feature #1811: implement the AJAX client driver
Here is a new design which is able to spawn the WebClient into the server context.
a) I designed a generic ClientB...
Marius Gligor
01:57 PM Database Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
>Is there any significant technical debt you are adding by going with the simple map approach now, which will complic... Stanislav Lomany
01:32 PM Database Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
Do what you need to do to get this issue finished for M7 (so...simple map for now). Please open a separate issue for ... Eric Faulhaber
01:27 PM Database Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
Guys, in order to make Java compiler work for dynamic queries + dynamic tables, I've done the following:
1. @InMemor...
Stanislav Lomany
11:27 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
Greg Shah wrote:
> 1. The addition of a BLOCK node as a prior sibling to CS_INSTANCE_VARS in the templates, seems a ...
Constantin Asofiei
11:04 AM Database Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
Constantin Asofiei wrote:
> More, I think for temp-tables the primary (and other info like this) is emitted to the @...
Eric Faulhaber
10:50 AM Database Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
I am OK with Constantin's approach, especially if we are going to get rid of the @@LegacyIndexes@ parent with Java 8. Eric Faulhaber
10:40 AM Database Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
Vadim Nebogatov wrote:
> ...in order to find primary index without search in array for example.
Yes, but you can al...
Constantin Asofiei
10:35 AM Database Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
...in order to find primary index without search in array for example. Vadim Nebogatov
10:33 AM Database Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
Actually I also started with adding boolean @primary@ to LegacyIndex, but noticed that Eric suggested to add index na... Vadim Nebogatov
10:23 AM Database Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
Vadim/Eric: The @LegacyIndexes@ annotation is used only because Java 7 does not allow multiple annotations with the s... Constantin Asofiei
10:11 AM Database Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
I am trying to add optional annotation “primary” and generate DMO impl annotation like ... Vadim Nebogatov
11:03 AM Database Feature #2203: replace or minimize use of dmo_index.xml file
The @dmo_index.xml@ file (and @DMOIndex@ class) originally was established as a list of DMOs needed to bootstrap Hibe... Eric Faulhaber
10:55 AM Database Feature #2203 (New): replace or minimize use of dmo_index.xml file
Eric Faulhaber
10:53 AM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Sorry, I was mistaken in saying you need to treat @EVENT-TYPE@ in the "global" attribute/method handling too... is en... Constantin Asofiei
09:36 AM Base Language Bug #2183: fix resource save/restoration when used with string/handle functions
Hynek Cihlar wrote:
> ... I am attaching the latest changes with the fixed RemoteResource/RemoteResourceImpl/Agent, ...
Constantin Asofiei
09:26 AM Base Language Bug #1971: emit worker versions for functions to fix source-procedure handle
See attached. Constantin Asofiei
08:29 PM User Interface Feature #1787: implement batch mode support
This update for review includes implementation proposal for interface implementing the error messages output for diff... Eugenie Lyzenko

11/19/2013

04:42 PM User Interface Feature #1791: implement dynamic UI support
Well I tried to concentrate on what will happen with UI if some dynamic widget is deleted and wrote some test proced... Vadim Gindin
04:19 PM Base Language Bug #2183: fix resource save/restoration when used with string/handle functions
Yesterday's regression test run ended with suspiciously high number of errors. I've started another control run. Mean... Hynek Cihlar
09:19 AM User Interface Feature #1811: implement the AJAX client driver
> 1. I used a singleton design because I cannot export the Spawner interface on multiple instances.
> Is any method ...
Greg Shah
07:06 AM User Interface Feature #1811: implement the AJAX client driver
Another important design issue.
When a request is made at https://<server_host>:<admin_port>/chui the request is han...
Marius Gligor
06:01 AM User Interface Feature #1811: implement the AJAX client driver
1. I used a singleton design because I cannot export the Spawner interface on multiple instances.
Is any method t...
Marius Gligor
07:38 AM Database Feature #2116: add runtime support for _user metadata table
The @_User@ table should only be involved in conversion and at runtime if it was configured to be a metadata table in... Eric Faulhaber
07:26 AM Database Feature #2116: add runtime support for _user metadata table
I have the following issue:
I have the @meta_user@ table created in the @schema_table_<dbname>_<dialect>.sql@ and th...
Ovidiu Maxiniuc
07:10 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
> Or there is possible to assign LAST-EVENT handle to some var?
Exactly: @my-handle-var = LAST-EVENT. message my-...
Greg Shah

11/18/2013

06:38 PM User Interface Feature #1811: implement the AJAX client driver
Code Review 1118a
There is some good work here, but this still needs some work. If anything, this is a good start...
Greg Shah
01:14 PM User Interface Feature #1811: implement the AJAX client driver
Here is the first implementation of our process spawner. It was tested and found to work properly.
Bellow are some d...
Marius Gligor
11:11 AM User Interface Feature #1811: implement the AJAX client driver
The archive contains the ChuiWebDriver implementation based on jetty web sockets.
Passed regression testing, committ...
Marius Gligor
06:27 PM Base Language Feature #1641: implement SAX XML support
>OK, I understand now. What StAX implementation will you be using?
I'm using standard implementation in JDK.
http:...
Evgeny Kiselev
02:52 AM Base Language Feature #1641: implement SAX XML support
Evgeny Kiselev wrote:
> Constantin Asofiei wrote:
> So Idea is parse tag by tag. Java SAX API cannot parse tag by t...
Constantin Asofiei
05:39 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Constantin Asofiei wrote:
> About implementing the @EVENT-TYPE@ attribute:
> 1. in @methods_attributes.rules@, you ...
Vadim Gindin
02:10 AM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
About implementing the @EVENT-TYPE@ attribute:
1. in @methods_attributes.rules@, you need to treat the @kw_evt_type@...
Constantin Asofiei
05:21 PM User Interface Feature #2200 (Closed): enable a Jetty web server to be initialized and used within a client process
Greg Shah
01:20 PM Database Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
Doesn't include features from the todo list above. Stanislav Lomany
11:47 AM Base Language Bug #1971: emit worker versions for functions to fix source-procedure handle
There was no update attached. Greg Shah
11:26 AM Base Language Bug #1968: implement MAP TO actual-name IN handle clause for function definitions
I'm fine with the 1116c changes. There is a minor formatting problem in SourceNameMapper (blank line missing before ... Greg Shah
11:21 AM Base Language Feature #1972 (Closed): provide full-support for DYNAMIC-FUNCTION set to function parameters
Greg Shah
11:19 AM User Interface Feature #1787: implement batch mode support
I am generally OK with the proposal. I'll need to see the implementation to comment further.
> One note here. Win...
Greg Shah
10:54 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
Code Review 1116e
I am OK with the changes. I do have some questions:
1. The addition of a BLOCK node as a pri...
Greg Shah
09:30 AM Base Language Bug #2183: fix resource save/restoration when used with string/handle functions
Constantin Asofiei wrote:
> Hynek, the RemoteResource/RemoteResourceImpl/Agent changes are incorrect. The @RemoteRes...
Hynek Cihlar
02:30 AM Base Language Bug #2183: fix resource save/restoration when used with string/handle functions
Hynek, the RemoteResource/RemoteResourceImpl/Agent changes are incorrect. The @RemoteResource@ interface is used to s... Constantin Asofiei
03:01 AM Base Language Feature #2138 (WIP): finish SEARCH-TARGET support
Constantin Asofiei

11/17/2013

06:20 PM Base Language Feature #1641: implement SAX XML support
Constantin Asofiei wrote:
> > 2) ProcDefaultHandler is specify in update, but I've found that java SAX API is not co...
Evgeny Kiselev
05:24 PM User Interface Feature #1787: implement batch mode support
> 5. In regard to the ErrorManager case, please make a proposal for discussion. For a long time, I have wanted to abs... Eugenie Lyzenko
04:36 PM User Interface Feature #1787: implement batch mode support
Both Linux and Windows generates error:... Eugenie Lyzenko
04:28 PM Base Language Bug #2183: fix resource save/restoration when used with string/handle functions
Attached is the release candidate.
* I reverted the weak references introduced in hc_upd20131115a.zip, deallocati...
Hynek Cihlar
06:08 AM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Updated files attached Vadim Nebogatov

11/16/2013

02:33 PM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
Attached update fixes the @buffer_name_conflicts.rules@ problem and some other regressions found during testing. The ... Constantin Asofiei
02:02 PM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
My buffer scoping changes exposed some incorrect usage of the @DictionaryWorker@. Currently, the @DictionaryWorker@ u... Constantin Asofiei
02:08 PM Base Language Bug #1971 (WIP): emit worker versions for functions to fix source-procedure handle
Attached update fixes the SOURCE and TARGET procedure push for java-style function calls. Built on top of the #1968 u... Constantin Asofiei
04:44 AM Base Language Feature #1972 (Feedback): provide full-support for DYNAMIC-FUNCTION set to function parameters
This is fixed by #2068. Can be closed. Constantin Asofiei
03:45 AM Base Language Bug #1968 (WIP): implement MAP TO actual-name IN handle clause for function definitions
Adds support for the @FUNCTION ... MAP TO@ case. The rule is that the search is done recursively, until it finds it o... Constantin Asofiei
02:32 AM Base Language Feature #1641: implement SAX XML support
> 2) ProcDefaultHandler is specify in update, but I've found that java SAX API is not correct. Here like SAX-WRITER w... Constantin Asofiei

11/15/2013

05:47 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Issue is found and fixed concerning wrong conversion of fields with no extent in case if hint is assigned for whole t... Vadim Nebogatov
05:16 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
I'm posting update but I have open questions.
I've added @label@ field to WorkArea to hold the label. So I need th...
Vadim Gindin
09:36 AM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
I think your approach of using MESSAGE to debug LAST-EVENT:LABEL is unfortunate in this case. This will lead the prog... Constantin Asofiei
08:04 AM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
As you advised I ran scripts from the command line on windev01. It lets my edit procedures corresponding to you last ... Vadim Gindin
04:29 PM User Interface Feature #1787: implement batch mode support
> You will need to add logic to StandardServer.standardEntry() to catch this new exception and set the mainResult to ... Eugenie Lyzenko
09:48 AM User Interface Feature #1787: implement batch mode support
OK, so we have some kind of uncatchable abend.
Please post the list of the exact cases (e.g. READKEY on LINUX) whi...
Greg Shah
01:53 PM Base Language Bug #2183: fix resource save/restoration when used with string/handle functions
Constantin Asofiei wrote:
> Hynek Cihlar wrote:
> > When a resource is deleted (by all means) is its instance metho...
Hynek Cihlar
01:45 PM Base Language Bug #2183: fix resource save/restoration when used with string/handle functions
Hynek Cihlar wrote:
> When a resource is deleted (by all means) is its instance method Deletable.delete always calle...
Constantin Asofiei
01:37 PM Base Language Bug #2183: fix resource save/restoration when used with string/handle functions
> > What is the boundary for the resource lifetime in this case? In other words, when should the fromString() return ... Hynek Cihlar
01:09 PM Base Language Bug #2183: fix resource save/restoration when used with string/handle functions
> What is the boundary for the resource lifetime in this case? In other words, when should the fromString() return an... Constantin Asofiei
12:48 PM Base Language Bug #2183: fix resource save/restoration when used with string/handle functions
Greg Shah wrote:
> Code Review 1115a
>
> 1. The explicit classes imported in handle.java should be imported with ...
Hynek Cihlar
12:47 PM Base Language Bug #2183: fix resource save/restoration when used with string/handle functions
Constantin Asofiei wrote:
> Are you sure that @WeakReference@ is the way to go? What about this scenario:
> # user ...
Hynek Cihlar
12:26 PM Base Language Bug #2183: fix resource save/restoration when used with string/handle functions
Code Review 1115a
1. The explicit classes imported in handle.java should be imported with the wildcard.
2. hand...
Greg Shah
11:31 AM Base Language Bug #2183: fix resource save/restoration when used with string/handle functions
Are you sure that @WeakReference@ is the way to go? What about this scenario:
# user creates a resource and saves it...
Constantin Asofiei
11:22 AM Base Language Bug #2183: fix resource save/restoration when used with string/handle functions
See the attached hc_upd20131115a.zip with the latest code version. It contains changes and fixes from the previous co... Hynek Cihlar
08:37 AM Base Language Bug #2183: fix resource save/restoration when used with string/handle functions
Please document the current status and upload the latest version for code review. Greg Shah
01:40 PM User Interface Feature #1811: implement the AJAX client driver
The following files should be deleted:
ChuiAppletHandler.java ChuiApplet.java and chui_applet.html
Also I have ...
Marius Gligor
01:29 PM User Interface Feature #1811: implement the AJAX client driver
Please fix the build.xml and re-do your manual testing. If that works, then you can check in the update and distribu... Greg Shah
01:26 PM User Interface Feature #1811: implement the AJAX client driver
> The chuiApplet is no longer used, should I delete the files related to this applet from project?
Yes.
Greg Shah
01:05 PM User Interface Feature #1811: implement the AJAX client driver
The changes does not affect the the adminConsole applet.
The chuiApplet is no longer used, should I delete the fil...
Marius Gligor
01:00 PM User Interface Feature #1811: implement the AJAX client driver
Marius Gligor wrote:
> 1. Here are the results of the regression tests. Seems to be expected errors.
Do not update ...
Constantin Asofiei
12:44 PM User Interface Feature #1811: implement the AJAX client driver
1. Here are the results of the regression tests. Seems to be expected errors.
2. I did also tests on my workstatio...
Marius Gligor
01:35 PM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
Added tests related to implicit resource deletion and @INSTANTIATING-PROCEDURE@ attribute. Constantin Asofiei
01:21 PM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
This update contains the following:
# more changes related to DYNAMIC attribute (to mark the resource as dynamic or ...
Constantin Asofiei
01:17 PM Database Bug #2199: ambiguity warnings too aggressively disabled
I believe the following test-case is related:
This is a P4GL valid code (temp-table @book@ 'hides' the @book@ tabl...
Ovidiu Maxiniuc
01:02 PM Database Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
todo list for this task:
1. fix dynamic tables + dynamic queries (WIP)
2. fix scoping for dynamic buffers for stati...
Stanislav Lomany
12:20 PM Base Language Feature #1641: implement SAX XML support
> I don't see any validation of the source parameter in the set-input-source or additional validation of the input so... Evgeny Kiselev
12:19 PM Database Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
Note that we will not need the @primary@ annotation element for temp-tables (at least not for bulk delete purposes), ... Eric Faulhaber
12:16 PM Database Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
We have decided not to move forward with the @MetaSchema@ interface, and instead to use Java annotations in the DMO i... Eric Faulhaber

11/14/2013

06:02 PM User Interface Feature #1787: implement batch mode support
No changes for both Windows and Linux and for every cases: ENDKEY, ERROR, STOP and QUIT. The tests are:
Caller:
<pr...
Eugenie Lyzenko
05:25 PM User Interface Feature #1787: implement batch mode support
> Looks like we need something like Progress 4GL "source level debugger".
Progress does have a debugger. I've nev...
Greg Shah
03:45 PM User Interface Feature #1787: implement batch mode support
OK. I have got the strange results:
1. Calling program does not continue after failed returns.
2. The answer no b...
Eugenie Lyzenko
12:16 PM User Interface Feature #1787: implement batch mode support
No, what they are describing on page 52 is the ERROR condition. We already support that fully.
You have found som...
Greg Shah
11:05 AM User Interface Feature #1787: implement batch mode support
The ENDKEY works the same way as ERROR, STOP, QUIT. I have tested even interception by CATCH block usage like:... Eugenie Lyzenko
04:07 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Issue with
<property column="hours9" name="hours3" type="p2j_integer"/>
is resolved.
Vadim Nebogatov
10:20 AM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Attached
1) code update vmn_upd20131114a.zip merged with latest bzr revision 10411;
2) vmn_upd20131114b.zip con...
Vadim Nebogatov
02:00 PM User Interface Feature #1811: implement the AJAX client driver
Yes, the reference to ChuiWebDriver from WebHandler will be eliminated and replaced with code to spawn the client. Marius Gligor
01:28 PM User Interface Feature #1811: implement the AJAX client driver
Code Review 1114b
It looks good. Please get this runtime regression tested.
I assume that the direct reference...
Greg Shah
12:20 PM User Interface Feature #1811: implement the AJAX client driver
Changes after Code Review 1114a. Marius Gligor
11:20 AM User Interface Feature #1811: implement the AJAX client driver
Code Review 1114a
1. The ChuiWebSocketCreator has nothing that is specific to ChUI. Let's make it generic and put...
Greg Shah
10:47 AM User Interface Feature #1811: implement the AJAX client driver
Regarding my tests with ClientDriver and "chui_web" screen driver I used the configuration
file client.xml and the k...
Marius Gligor
10:23 AM User Interface Feature #1811: implement the AJAX client driver
I did more changes in the structure of the project to make the implementation more generic and abstract.
1. The Ch...
Marius Gligor
01:06 PM Database Feature #2120: add runtime support for dynamically prepared queries
Variation of the bug above. Testcase:... Stanislav Lomany
12:41 PM Database Feature #2120: add runtime support for dynamically prepared queries
Yet another minor bug. Testcase:... Stanislav Lomany
12:55 PM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
OK, I'll try this too, as it will save lots of round-trips to the client. At this time, it works using a @FrameConfig... Constantin Asofiei
12:11 PM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
Perhaps we should just sync the flag. I assume that would fix the case 1 issue? It would also solve some number of ... Greg Shah
11:50 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
Greg Shah wrote:
> If you can fix the pause-before-end issue quickly, include it with this task.
I think I have a f...
Constantin Asofiei
10:33 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
If you can fix the pause-before-end issue quickly, include it with this task.
I am OK for you to open a new Bug fo...
Greg Shah
10:24 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
My changes in static frame deletion somehow ended up digging some other problems:
# the pause-before-end behaviour: ...
Constantin Asofiei
12:23 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
The tests work for me on windev01 (maybe was just a glitch). But, what I would like you to do is to try to simplify t... Constantin Asofiei
11:33 AM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Thank you Constantin! Test cases are already committed to bazaar (testcases/uast/lastevent/server-socket.p and testca... Vadim Gindin
05:21 AM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Vadim Gindin wrote:
> As you can see LAST-EVENT:LABEL before and after is "RETURN". It don't conforms to Progress re...
Constantin Asofiei
07:30 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Some Calling Convention Findings
STDCALL is really the default calling convention on 32-bit Windows (whether run in ...
Greg Shah
06:28 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Polymorphic Types
> And another one: I wonder how _POLY cases behave in this case... will a _POLY still get automa...
Greg Shah
06:06 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Inbound Checking Findings
The use of "inbound" means on the inbound "side" of the API call. In other words these ar...
Greg Shah

11/13/2013

05:00 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
No, It wasn't in the java.library.path and you are right - that was the reason of error with memptr. Thank you.
Go...
Vadim Gindin
01:34 AM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Vadim Gindin wrote:
> After that there is an error in server-socket.p and at this moment I didn't find out reason. S...
Constantin Asofiei
03:10 PM User Interface Feature #1787: implement batch mode support
I guess it is worth trying ENDKEY too. Greg Shah
03:08 PM User Interface Feature #1787: implement batch mode support
> Please try ERROR instead of STOP or QUIT.
The same result as for STOP and QUIT.
Eugenie Lyzenko
10:14 AM User Interface Feature #1787: implement batch mode support
Please try ERROR instead of STOP or QUIT. Greg Shah
03:09 PM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
Greg Shah wrote:
> 1. Missing history entry in RecordBuffer and TemporaryBuffer.
> 2. Some methods are missing java...
Constantin Asofiei
01:38 PM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
Code Review 1113c
I like the results very much. Some minor issues:
1. Missing history entry in RecordBuffer an...
Greg Shah
10:31 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
It took a while, but I have a good version. In the end, I had these two notifications and @INSTANTIATING-PROCEDURE@ s... Constantin Asofiei
03:08 PM User Interface Feature #1811: implement the AJAX client driver
> In this case I think that we have to use the ClientCore.start(...) method like ClientDriver finally do.
I was as...
Greg Shah
02:40 PM User Interface Feature #1811: implement the AJAX client driver
The WebSocketAdapter was used only for notification mechanism because WebSocketAdapter implements WebSocketListener.
...
Marius Gligor
02:09 PM User Interface Feature #1811: implement the AJAX client driver
> in this case I think that is possible to extend the web socket in simulator
I don't have a problem using the We...
Greg Shah
01:07 PM User Interface Feature #1811: implement the AJAX client driver
1. The server web socket is created only when the remote user will open the communication with him.
On the other han...
Marius Gligor
12:23 PM User Interface Feature #1811: implement the AJAX client driver
> I found no GUI implementation on the current p2j. The screen driver for GUI should be designed from scratch.
Cor...
Greg Shah
12:02 PM User Interface Feature #1811: implement the AJAX client driver
Code Review 1113a
This is moving in exactly the direction I was looking for. Very good.
1. I see that there is...
Greg Shah
10:06 AM User Interface Feature #1811: implement the AJAX client driver
1. I've created a new Chui screen simulator which use the web socket for remote communication.
Basically the simu...
Marius Gligor
01:30 PM Database Feature #2024: implement runtime support for database triggers
Wouldn't it be easier/cleaner to invoke the trigger manager from the record buffer proxy? It's already an architected... Eric Faulhaber
01:19 PM Database Feature #2024: implement runtime support for database triggers
Here is a 100 points question.
What's the best solution for notifying ASSIGN triggers ?
In P4GL, the ASSIGN trigg...
Ovidiu Maxiniuc
01:08 PM User Interface Feature #2201 (WIP): implement the web client process spawning and server redirect
Marius Gligor

11/12/2013

06:30 PM User Interface Feature #1787: implement batch mode support
The strange results have been gotten for the following testcase:... Eugenie Lyzenko
05:26 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Thanks. Good advices. I set all correctly. The problem was in paths. Mappings contains path dependent of "testcases/u... Vadim Gindin
12:24 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
> 1) It don't run external procedure. In the Progress I should specify the directory with external procedures to PROP... Constantin Asofiei
12:07 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Here the file with error log Vadim Gindin
12:06 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Good idea.
I tried to run such procedure (converted) and faced with problems:
1) It don't run external procedure. I...
Vadim Gindin
03:10 AM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Vadim Gindin wrote:
> 3) How to test converted procedures that requires two parts: client and server, sessProc and t...
Constantin Asofiei
04:54 PM Database Feature #2116: add runtime support for _user metadata table
I saw that change, but it wasn't clear to me how this fixed the problem. I understand now: the problem was not that t... Eric Faulhaber
01:04 PM Database Feature #2116: add runtime support for _user metadata table
I already have talked to Contstantin and he helped me with this issue; the last update contains the fix for it. See t... Ovidiu Maxiniuc
12:58 PM Database Feature #2116: add runtime support for _user metadata table
Ovidiu Maxiniuc wrote:
> ...the big problem is registering dirty databases and doing the cleanup of @DatabaseManager...
Eric Faulhaber
12:38 PM Database Feature #2116: add runtime support for _user metadata table
Sorry for the delay in review, lost track of this one. Please merge up to latest code level, make my minor changes be... Eric Faulhaber
04:44 PM User Interface Feature #1811: implement the AJAX client driver
Task #2201 is meant to take the next steps beyond #2200. In #2200 the embedded web server is enabled in the client. ... Greg Shah
01:53 PM User Interface Feature #1811: implement the AJAX client driver
> 1. The web socket communications are asynchronous messaging operations.
> Here we have to find a solution in case ...
Greg Shah
01:40 PM User Interface Feature #1811: implement the AJAX client driver
Code Review 1112b
I like the changes.
Greg Shah
01:38 PM User Interface Feature #1811: implement the AJAX client driver
Code Review 1112a
As we are just starting on the path to the web driver(s), we will check something in soon that i...
Greg Shah
01:21 PM User Interface Feature #1811: implement the AJAX client driver
code formatting Marius Gligor
12:45 PM User Interface Feature #1811: implement the AJAX client driver
Code Formatting Notes
The following are some general (but minor) problems with the code formatting.
1. Where po...
Greg Shah
12:09 PM User Interface Feature #1811: implement the AJAX client driver
The archive mag_upd20131112a.zip contains the first implementation for the Ajax screen driver.
AjaxScreenDriver ha...
Marius Gligor
04:37 PM User Interface Feature #2201 (Closed): implement the web client process spawning and server redirect
Greg Shah
02:02 PM Database Feature #2024: implement runtime support for database triggers
Today I had some questions about the WRITE trigger and its implementation so I had the following summarized mail disc... Ovidiu Maxiniuc

11/11/2013

06:04 PM Database Bug #1914: database conversion requires Internet connectivity
Actually, it is not even necessary to omit the PUBLIC ID. Only the code changes to use the entity resolver are needed. Eric Faulhaber
08:47 AM Database Bug #1914: database conversion requires Internet connectivity
I have a fix for this that does not require copying the DTD anywhere. The DTD already is in the Hibernate jar file, w... Eric Faulhaber
05:32 AM Database Bug #1914: database conversion requires Internet connectivity
Added the @hibernate-mapping-3.0.dtd@ file (in case hibernate.org site is inaccessible). Constantin Asofiei
04:51 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Yes, @initial@ subnode was missing, thanks. Vadim Nebogatov
02:54 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Look at the @.p2o@ file that is generated and compare the artificial property nodes you have created with your expans... Eric Faulhaber
01:42 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
I have created loop in p2o.xml in rule with the comment
<!-- map fields to properties -->
after rule with the ...
Vadim Nebogatov
04:07 PM User Interface Feature #1811: implement the AJAX client driver
Feedback 1111a
I like it. I look forward to seeing the client side fill out.
Greg Shah
04:02 PM User Interface Feature #1811: implement the AJAX client driver
From Greg on November 11, 2013:
Before I review the code, I will provide some comments and answers to note 10.
...
Greg Shah
04:02 PM User Interface Feature #1811: implement the AJAX client driver
From Marius, on November 11, 2013. Greg Shah
04:01 PM User Interface Feature #1811: implement the AJAX client driver
From Marius, on November 11, 2013:
Today I did a lot of tests regarding the ClientDriver and ThinClient.
I'm able...
Greg Shah
04:00 PM User Interface Feature #1811: implement the AJAX client driver
From Greg on November 8, 2013:
Feedback
This is very good. Some thoughts:
1. Change the "ws" package to "we...
Greg Shah
04:00 PM User Interface Feature #1811: implement the AJAX client driver
From Marius on November 8, 2013:
Release candidate after your feedback.
1.a The embedded server was renamed as ...
Greg Shah
03:58 PM User Interface Feature #1811: implement the AJAX client driver
From Greg on November 7, 2013:
Initial Feedback
I realize that this is a work in progress and an early version....
Greg Shah
03:57 PM User Interface Feature #1811: implement the AJAX client driver
From Marius on November 7, 2013:
Web Sockets support - the current design
Each client running on server has an ...
Greg Shah
03:56 PM User Interface Feature #1811: implement the AJAX client driver
From Marius on November 5, 2013:
Today I started to design and implement the AJAX Client Driver.
So far I designe...
Greg Shah
03:56 PM User Interface Feature #1811: implement the AJAX client driver
From Greg on November 4, 2013:
> Q: The "server jetty" is in fact the WebServer or another instance, a new design?...
Greg Shah
03:55 PM User Interface Feature #1811: implement the AJAX client driver
From Marius on November 4, 2013:
Regarding the implementation on P2J I read your specifications.
Here is what I u...
Greg Shah
03:42 PM User Interface Feature #1791: implement dynamic UI support
Vadim Gindin wrote:
> > # the pool behavior is not implemented - should be done for #2027; estimate is 20 hours for ...
Constantin Asofiei
03:15 PM User Interface Feature #1791: implement dynamic UI support
Constantin Asofiei wrote:
> What should #2027 "prelimiary runtime support" contain? Do you mean to avoid implementin...
Vadim Gindin
03:15 PM User Interface Feature #2200: enable a Jetty web server to be initialized and used within a client process
Unfortunately, I have just realized that all of these discussions have been going on in the wrong redmine task. Plea... Greg Shah
03:14 PM User Interface Feature #2200: enable a Jetty web server to be initialized and used within a client process
Before I review the code, I will provide some comments and answers to note 10.
> The ClientDriver is a remote clie...
Greg Shah
01:21 PM User Interface Feature #2200 (Review): enable a Jetty web server to be initialized and used within a client process
Marius Gligor
10:42 AM User Interface Feature #2200: enable a Jetty web server to be initialized and used within a client process
Today I did a lot of tests regarding the ClientDriver and ThinClient.
I'm able to starts and debug from my IDE both ...
Marius Gligor
02:22 PM User Interface Feature #1787: implement batch mode support
> For now I use this exception because the 4GL really stops the application when facing with i/o statements in batch ... Greg Shah
01:45 PM User Interface Feature #1787: implement batch mode support
> 2. What is the purpose of the BatchPrimitives.batchModeOn flag? It doesn't really seem to mean that we are in batch... Eugenie Lyzenko
12:40 PM User Interface Feature #1787: implement batch mode support
Code Review 1109a
1. I like the approach. Keep going with this.
2. What is the purpose of the BatchPrimitives....
Greg Shah
01:08 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
When you run code like @message my-var + " some text".@, the result will be a ? when my-var is the unknown value. In... Greg Shah
12:55 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
I've committed test cases. Rev #1065. See editing.p for issue 1. Recreation sequence is simple - run editing.p - and ... Vadim Gindin
11:18 AM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Please check your tests into the testcases/uast/ project. Make a testcases/uast/last_event/ subdirectory. I will ne... Greg Shah
02:30 AM Database Feature #2120: add runtime support for dynamically prepared queries
I've found a minor bug: @get-next@ returns @yes@ even if there are no more results. Testcase:... Stanislav Lomany

11/10/2013

05:54 PM User Interface Feature #1787: implement batch mode support
The further investigations and debugging shows the following requirements with the current approach:
1. The real b...
Eugenie Lyzenko
08:42 AM Database Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
> As the solution I will have to modify conversion for dynamic queries. Modifying AST after conversion or in some mid... Constantin Asofiei

11/09/2013

06:45 PM Database Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
FYI, the original version of dynamic queries do not work with dynamic buffers because of the following: consider the ... Stanislav Lomany
05:43 AM Database Bug #1914: database conversion requires Internet connectivity
Today hibernate site has gone to maintenance, so I did like Constantin suggested. Luckily I found hibernate-mapping-3... Stanislav Lomany

11/08/2013

05:27 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Behavior of other tests is identical.
About points 1 and 2 I just don't understand this logic.. May be we stay cur...
Vadim Gindin
05:15 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
The more I'm executing tests (source and converted) the more different I'm getting results.
The last actual result i...
Vadim Gindin
01:47 PM User Interface Feature #2200: enable a Jetty web server to be initialized and used within a client process
Feedback
This is very good. Some thoughts:
1. Change the "ws" package to "web". This will be the place for ge...
Greg Shah
12:10 PM User Interface Feature #2200: enable a Jetty web server to be initialized and used within a client process
Release candidate after your feedback.
1.a The embedded server was renamed as GenericeWebServer. This class could ...
Marius Gligor
12:58 PM Base Language Feature #1634: implement full native library (.so or DLL) support
The 64-bit Windows Openedge 11.3.1 installation has now been tested and it basically works as expected. The 64-bit c... Greg Shah
11:21 AM Base Language Feature #1634: implement full native library (.so or DLL) support
Function Pointer Lookup
Once the library is successfully loaded, a pointer to the function that is to be called must...
Greg Shah
05:44 AM Database Bug #1914: database conversion requires Internet connectivity
The root cause is the same: the Hibernate's DTD is needed to parse the @.hbm.xml@ files, but is not reachable. An ini... Constantin Asofiei
05:24 AM Database Bug #1914: database conversion requires Internet connectivity
Unlike the previous MAJIC conversion error this one occurs at runtime at test server startup when it is offline. The ... Stanislav Lomany

11/07/2013

06:37 PM User Interface Feature #2200: enable a Jetty web server to be initialized and used within a client process
Initial Feedback
I realize that this is a work in progress and an early version. Thank you for posting it and the...
Greg Shah
12:56 PM User Interface Feature #2200: enable a Jetty web server to be initialized and used within a client process
Web Sockets support - the current design
Each client running on server has an embedded jetty server which offer we...
Marius Gligor
05:21 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Greg Shah wrote:
> I assume that we also would support a scenario where someone has set a hint to denormalize an ext...
Eric Faulhaber
04:38 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Two thoughts:
> ...and in the event a hint specifies that the schedule table's daily-hours extent 5 field should b...
Greg Shah
04:19 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
I think the common case we will encounter will be statically indexed references to extent fields, which we can resolv... Eric Faulhaber
02:15 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
I think that in any case we need some way to enumerate elementary properties specified in hint in runtime to provide ... Vadim Nebogatov
01:20 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Help me understand why we would need a custom Hibernate type for every extent field in an application. We already hav... Eric Faulhaber
08:55 AM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
This interface is already used in DatetimeTzUserType. Vadim Nebogatov
08:48 AM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
I think we should generate class implementing CompositeUserType for each such property both for incremented names and... Vadim Nebogatov
04:30 PM Base Language Feature #1634: implement full native library (.so or DLL) support
Loading/Unloading Additional Findings
# On Windows, you can load using no path, relative path or an absolute path (s...
Greg Shah
11:08 AM Base Language Feature #1634: implement full native library (.so or DLL) support
I have now added many more tests. In addition, I have gotten all tests running in 32-bit OE 10.2B06 in both Windows ... Greg Shah
10:12 AM Database Feature #2024: implement runtime support for database triggers
Observations on schema triggers::
* checking the CRC box will force compile the trigger which mean the file must exi...
Ovidiu Maxiniuc
08:59 AM Database Feature #2024: implement runtime support for database triggers
> Indeed, for each table in the schema administration of data dictionary there are two flags: one is the overridable ... Greg Shah
02:01 AM Database Feature #2024: implement runtime support for database triggers
>Where does the overridable flag come?
>
>If it comes from the schema, let's read that flag at conversion time and ...
Ovidiu Maxiniuc
09:42 AM Database Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
Stanislav (from email):
> Heh, BUFFER:NAME is an attribute of a static or dynamic buffer. I don't mind to implement i...
Constantin Asofiei
09:09 AM Database Feature #2141: generate SQL Server schema
The update looks good.
Eric: the other change is in the schema/import_util.rules file (the @sqlserver2008@ dialec...
Constantin Asofiei
05:59 AM Database Feature #2141: generate SQL Server schema
I have attached corresponding update vmn_upd20131107a.zip with two changed files. Vadim Nebogatov
08:59 PM Database Feature #2141: generate SQL Server schema
No, the point of the previous entry was to indicate that @P2JH2Dialect.hasFullSequenceSupport@ should NOT be used to ... Eric Faulhaber
09:01 AM User Interface Feature #1522 (Closed): Jetty Upgrade
Greg Shah
09:01 AM User Interface Feature #1526 (Closed): integrate the new version into P2J
Committed to bzr revision 10410. Greg Shah

11/06/2013

05:10 PM User Interface Feature #1526: integrate the new version into P2J
> All that remain is to commit the changes on the bazaar repository and send an email to the team members to inform t... Greg Shah
11:18 AM User Interface Feature #1526 (Review): integrate the new version into P2J
Testing Admin Console on MAJIC server:
1. Create on your home directory the following structure:
~/testing
/ma...
Marius Gligor
04:42 PM Database Feature #2141: generate SQL Server schema
Is it ok if I change comment for P2JH2Dielect.hasFullSequenceSupport()... Vadim Nebogatov
04:12 PM Database Feature #2141: generate SQL Server schema
There is no plan currently to implement an @IdentityManager@ which does not rely on sequences. So far, SQL Server 200... Eric Faulhaber
03:29 PM Database Feature #2141: generate SQL Server schema
Vadim Nebogatov wrote:
> Should I run regression one more time nevertheless?
No, is not needed.
> I checked DDL...
Constantin Asofiei
12:39 PM Database Feature #2141: generate SQL Server schema
Constantin Asofiei wrote:
> I expect these to be false negatives, as there is nothing in MAJIC which uses legacy sequ...
Vadim Nebogatov
11:16 AM Database Feature #2141: generate SQL Server schema
Vadim Nebogatov wrote:
> Update vmn_upd20131104a.zip is attached containing P2JH2Dialect fix (method hasFullSequence...
Constantin Asofiei
07:25 AM Database Feature #2141: generate SQL Server schema
Update vmn_upd20131104a.zip is attached containing P2JH2Dialect fix (method hasFullSequenceSupport() returns true).
...
Vadim Nebogatov
02:16 PM Database Feature #2024: implement runtime support for database triggers
> the only issue here is that the trigger source file taken from P4GL do not contain the Overrideable attribute so t... Greg Shah
01:38 PM Database Feature #2024: implement runtime support for database triggers
> Consider that our current UI triggers work in this same way, and even have support for revert and so forth. Since t... Ovidiu Maxiniuc
12:15 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Here are some test results (I added EVENT-TYPE).
EVENT-TYPES
1. editing phrase - KEYPRESS
2. message .. view-as aler...
Vadim Gindin
10:01 AM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Vadim, what are you thinking in terms of how to deal with business logic that references former extent fields which h... Eric Faulhaber
08:09 AM Database Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
Constantin,
> Can you post (at the task) the rules you've found relating to how scoping works for dynamic buffers
...
Stanislav Lomany
03:46 AM Base Language Feature #1641: implement SAX XML support
> 2. Added special wrapper for File/Stream/memptr/longchar. In 4gl method @set-input-source@ is not important, first ... Constantin Asofiei
09:15 PM Base Language Feature #1641: implement SAX XML support
from note 55
1. Fixed
2. Added special wrapper for File/Stream/memptr/longchar. In 4gl method @set-input-source@ is...
Evgeny Kiselev

11/05/2013

04:52 PM User Interface Feature #1787: implement batch mode support
This is the current status update for what I'm working on for you to keep track.
The update includes prototype for...
Eugenie Lyzenko
01:20 PM User Interface Feature #2200: enable a Jetty web server to be initialized and used within a client process
Today I started to design and implement the AJAX Client Driver.
So far I designed the embedded jetty SSL server and ...
Marius Gligor
12:50 PM Database Feature #2024: implement runtime support for database triggers
> Because of these, I chosen to implement in TriggerManager a stack of 'Layers' that are automatically pushed/popped ... Greg Shah
12:15 PM Database Feature #2024: implement runtime support for database triggers
Here are a few things about triggers that are not implemented or need to be adjusted:
* there are two kinds of trigg...
Ovidiu Maxiniuc
12:02 PM User Interface Feature #1526: integrate the new version into P2J
Marius: if the failures are related to the false negatives described in the automated testing regression notes, then ... Constantin Asofiei
11:54 AM User Interface Feature #1526: integrate the new version into P2J
According to the regression tests reports attached the final result is PASSED.
Marius Gligor
11:05 AM User Interface Feature #1526: integrate the new version into P2J
> Please have a look over the attached log files and give me a hint.
Unfortunately, I don't have the time right no...
Greg Shah
10:47 AM User Interface Feature #1526: integrate the new version into P2J
1. Today I started a new regression test from the beginning, including conversion.
Unfortunately I got the same r...
Marius Gligor

11/04/2013

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

11/03/2013

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

11/02/2013

05:24 PM Base Language Bug #2183: fix resource save/restoration when used with string/handle functions
> > (1) "Zero" handles
>
> As a general rule, we always implement any language feature (documented or not) that ca...
Hynek Cihlar

11/01/2013

06:03 PM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Parsing result is field in TableHints
...
Vadim Nebogatov
04:38 PM User Interface Feature #1811: implement the AJAX client driver
In the following, the term AJAX is used as a shorthand for a javascript implementation that runs as a "web applicatio... Greg Shah
02:22 PM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
Here is a principled problem. The documentation says that the value of LAST-EVENT:LABEL depends on LAST-EVENT:EVENT-T... Vadim Gindin
01:03 PM User Interface Feature #1526: integrate the new version into P2J
Today I've finished to test the P2J integration of jetty 9.1 on my workstation.
Later I started to prepare the regre...
Marius Gligor
11:39 AM User Interface Feature #1526: integrate the new version into P2J
1. Jetty 9.1 indeed is not a stable release and could be changed until the final release.
Jetty 9.0.6 is the late...
Marius Gligor
09:07 AM User Interface Feature #1526: integrate the new version into P2J
Code Review 1101a
The update is pretty good.
1. 9.1 is still not listed as the latest "stable" release for Jett...
Greg Shah
08:33 AM User Interface Feature #1526: integrate the new version into P2J
This the archive containing my changes. Marius Gligor
08:25 AM User Interface Feature #1526: integrate the new version into P2J
Today I tested the P2J build having my changes.
First I tested from Eclipse IDE and I found to work properly.
Next I ...
Marius Gligor
09:46 AM User Interface Feature #2200: enable a Jetty web server to be initialized and used within a client process
This task is just for time tracking and project management. All task history should be placed in the parent task #1811. Greg Shah
09:42 AM User Interface Feature #2200 (Closed): enable a Jetty web server to be initialized and used within a client process
Greg Shah
09:12 AM User Interface Feature #1525 (Closed): submit patches upstream (if the patches are still needed)
This is no longer needed. Greg Shah
09:11 AM User Interface Feature #1524 (Closed): merge existing patches if necessary
HTTPS testing shows that we no longer need the patches after the upgrade. Greg Shah
07:32 AM Base Language Bug #2183: fix resource save/restoration when used with string/handle functions
> > (2) Resource ID deallocation
>
> Yes, we need to solve this for sure. Constantin is working on something rela...
Constantin Asofiei
07:06 AM Base Language Bug #2183: fix resource save/restoration when used with string/handle functions
Overall, this is very good work.
+Answers+
> (1) "Zero" handles
As a general rule, we always implement any l...
Greg Shah
09:54 PM Base Language Bug #2183 (Review): fix resource save/restoration when used with string/handle functions
Attached are the changes to review. The changes passed regression tests.
The source code includes several TODO comme...
Hynek Cihlar

10/31/2013

03:03 PM User Interface Feature #1787: implement batch mode support
> I assume that UI things like DISPLAY still work with redirected unnamed streams output. Is that correct?
Yes, th...
Eugenie Lyzenko
02:46 PM User Interface Feature #1787: implement batch mode support
Good, this helps to clarify things. Notice how only certain interactive cases cause errors and the rest of the I/O s... Greg Shah
02:31 PM User Interface Feature #1787: implement batch mode support
OK. The findings are:
1. 4GL behaves the same way in Linux and Windows. The difference is not related to the i/o o...
Eugenie Lyzenko
02:05 PM User Interface Feature #1526: integrate the new version into P2J
Today I managed to ran the AdminClient applet using the current P2J project.
Also I studied the server and client co...
Marius Gligor
11:20 AM User Interface Feature #1526: integrate the new version into P2J
I need to logon on the AdminConsole and I have to use an user id and a password.
1. It's OK to use the admin user ...
Marius Gligor
07:40 AM User Interface Feature #1526: integrate the new version into P2J
The AppletHandler works properly and the applet code embedded on the admin_login.html
after the placeholders are set...
Marius Gligor
04:25 AM User Interface Feature #1526: integrate the new version into P2J
I started the server using the following command line parameters:
net:connection:secure=true net:server:secure=3334
...
Marius Gligor
12:59 PM Database Bug #2199: ambiguity warnings too aggressively disabled
Because the ambiguity warning level is to low, P2J will force conversion of some pieces of code that that are not P4G... Ovidiu Maxiniuc
12:29 PM Database Bug #2199 (New): ambiguity warnings too aggressively disabled
Ovidiu Maxiniuc
12:25 PM Database Feature #2116: add runtime support for _user metadata table
This update is merged with latest sources from bzr (up to revision 10409) and also addresses the issue presented in n... Ovidiu Maxiniuc
05:49 AM Database Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
Issue status.
Found out and tested all places affecting custom extent conversion. Studied and tested hints generati...
Vadim Nebogatov
05:03 AM Database Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
I don't really like this, because a TEMP-TABLE resource in 4GL exists for both static and dynamic temp-tables. Althou... Constantin Asofiei
04:49 AM Database Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
Constantin, as you have noticed, @TableMapper@ impelementation depends on @getUniqueId()@ and @getPersistentClass().g... Stanislav Lomany
03:48 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
Greg Shah wrote:
> I suspect the buffer is actually referencing a record whose lock has been downgraded to share-loc...
Constantin Asofiei
03:39 AM Base Language Feature #1641: implement SAX XML support
# @handle.isHandleTypeOf@
- please do not use an existing class name for variables/parameters. It is confusing. I'm ...
Constantin Asofiei
10:01 PM Base Language Feature #1641 (WIP): implement SAX XML support
1) I have question about procedure handle:
- in handle I have @ExternalProgramWrapper@ where I can get real instance...
Evgeny Kiselev
02:45 AM Database Feature #2120: add runtime support for dynamically prepared queries
Eric Faulhaber wrote:
> OK, but tomorrow, please check in the version that already has passed regression testing bef...
Constantin Asofiei

10/30/2013

06:26 PM User Interface Feature #1787: implement batch mode support
I am talking about if the 4GL code is using both techniques at the same time. So a program started like this:
<pr...
Greg Shah
06:21 PM User Interface Feature #1787: implement batch mode support
> I am wondering what happens if you have the input and/or output of the process redirected from the command line and... Eugenie Lyzenko
06:04 PM User Interface Feature #1787: implement batch mode support
I am wondering what happens if you have the input and/or output of the process redirected from the command line and t... Greg Shah
05:54 PM User Interface Feature #1787: implement batch mode support
> This last point brings up another question: what happens if you run code in batch mode that redirects the unnamed s... Eugenie Lyzenko
05:16 PM User Interface Feature #1787: implement batch mode support
> We can declare using the batch mode either in client.xml file or command line with client starting script client.sh... Greg Shah
05:05 PM User Interface Feature #1787: implement batch mode support
So my suggestions at this time:
1. For bootstrap config. We can declare using the batch mode either in client.xml ...
Eugenie Lyzenko
01:52 PM Database Feature #2120: add runtime support for dynamically prepared queries
Constantin Asofiei wrote:
> I think we need a @QueryResource@ interface to be implemented only by the @QueryWrapper@...
Eric Faulhaber
01:46 PM Database Feature #2120: add runtime support for dynamically prepared queries
Constantin Asofiei wrote:
> > Some other issues, all minor:
> I'll fix these tomorrow (as I need to double-check no...
Eric Faulhaber
01:42 PM Database Feature #2120: add runtime support for dynamically prepared queries
Eric Faulhaber wrote:
> I'm wondering if it makes sense to refactor @P2JQuery@ and @AbstractQuery@, since so many of...
Constantin Asofiei
01:37 PM Database Feature #2120: add runtime support for dynamically prepared queries
Greg Shah wrote:
> Anything else?
The issues Constantin described in notes 63 & 66 above.
With regard to the @Ab...
Eric Faulhaber
01:31 PM Database Feature #2120: add runtime support for dynamically prepared queries
Eric Faulhaber wrote:
> ... due to the memory requirements of the pristineScope data in each SchemaDictionary insta...
Constantin Asofiei
01:06 PM Database Feature #2120: add runtime support for dynamically prepared queries
Let's create new tasks for the open issues:
* Conversion artifacts moved into and read from the application jar.
...
Greg Shah
12:50 PM Database Feature #2120: add runtime support for dynamically prepared queries
Code review 20131030a:
Wow, brilliant update! Looks really good, only one major concern: the approach of having a ...
Eric Faulhaber
12:12 PM Database Feature #2120: add runtime support for dynamically prepared queries
Constantin Asofiei wrote:
> the following files and folders must exist in the server/ folder (i.e. current folder whe...
Eric Faulhaber
11:22 AM Database Feature #2120: add runtime support for dynamically prepared queries
I missed something in the @QueryWrapper@ c'tor; I think this code:... Constantin Asofiei
09:52 AM Database Feature #2120 (Review): add runtime support for dynamically prepared queries
Attached 1030a.zip (replacement for 1029c.zip) and 1029a.zip have passed conversion and runtime testing. (1029c.zip h... Constantin Asofiei
12:41 PM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
> Thus, record locks do survive, and we can end up having access to buffer referencing an exclusively-locked record o... Greg Shah
12:35 PM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
Again, something else I've missed. I've been checking handles for static widgets which were only included in a FORM s... Constantin Asofiei
12:14 PM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
> 1. In the persistent procedure case, do 4GL transactions (and buffer scopes/record locks) end at the end of the ext... Constantin Asofiei
11:41 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
More questions:
1. In the persistent procedure case, do 4GL transactions (and buffer scopes/record locks) end at t...
Greg Shah
11:20 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
I missed a rule; the static resources also get deleted when the internal proc/function which created them ends (regar... Constantin Asofiei
09:59 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
Does this mean that we just need to defer the processing of TransactionManager.popScope() for external procedures tha... Greg Shah
08:39 AM Base Language Feature #2196: implement proper resource deletion of resources created in a procedure ran persistent
Notes about implicit deletion:
* from widget cases, only BUTTON, BROWSE and FILL-IN were tested, but the rules should...
Constantin Asofiei
12:26 PM Database Feature #2116: add runtime support for _user metadata table
I discovered that the buffer conflict was not correctly fixed. The name collision could occur also with buffers/table... Ovidiu Maxiniuc
12:04 PM User Interface Feature #1526: integrate the new version into P2J
This is a good opportunity for you to debug through the server startup to see why Jetty is not initialized. Greg Shah
11:46 AM User Interface Feature #1526: integrate the new version into P2J
I have the following settings in directory.xml file of simple server
<node class="container" name="server">
...
Marius Gligor
10:37 AM User Interface Feature #1526: integrate the new version into P2J
> The changes aren't committed yet to my local repository.
Good. If you commit to a bzr check-out of P2J, it will...
Greg Shah
04:03 AM User Interface Feature #1526: integrate the new version into P2J
I started to integrate the jetty 9.1 into the P2J project by replacing the old jetty 6.1.14 jars with the new jetty-a... Marius Gligor
10:17 AM User Interface Feature #1524: merge existing patches if necessary
If I recall correctly, the patch was to provide accessors so that we could set some of the SSL configuration via prog... Greg Shah
03:46 AM User Interface Feature #1524: merge existing patches if necessary
The SslSocketConnector.java file is no longer part of the project.
I searched the project for snippets of code like...
Marius Gligor
03:37 AM User Interface Feature #1524: merge existing patches if necessary
Building jetty 9.1
1. Install git and maven.
2. Checkout the jetty project from github branch release-9.1
3....
Marius Gligor
09:57 AM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
The CTRL-SHIFT-ALT-HELP-KEY may be a kind of "ANY" key that is reported from PAUSE. Greg Shah
09:40 AM User Interface Feature #1782: implement LAST-EVENT system handle and associated attributes
> 1. Readkey
OK
> 2. nested UI statements
I think you are right, and the following shows this without using ENDK...
Constantin Asofiei
 

Also available in: Atom