Project

General

Profile

Activity

From 11/12/2018 to 12/11/2018

12/12/2018

10:52 PM Feature #3751: implement support for OO 4GL and structured error handling
3750a rev 11313 provides support for variables as data members in classes or interfaces. Greg Shah

12/11/2018

04:21 PM Feature #3751: implement support for OO 4GL and structured error handling
I'm working on getting data members to emit properly. Then I am going to take method definitions.
Constantin: Aft...
Greg Shah
04:18 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> > Is anyone working on the conversion of FIELD_CLASS right now?
>
> I'm not.
>
> Constantin...
Constantin Asofiei
04:16 PM Feature #3751: implement support for OO 4GL and structured error handling
> Is anyone working on the conversion of FIELD_CLASS right now?
I'm not.
Constantin ?
Greg Shah
04:14 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> * Is there any reason to believe that the OO 4GL object instances are a kind of handle (other tha...
Constantin Asofiei
04:07 PM Feature #3751: implement support for OO 4GL and structured error handling
3750a rev 11312 provides variable and parameter definition support for AS CLASS, LIKE VAR_CLASS and LIKE FIELD_CLASS.... Greg Shah
03:25 PM Feature #3751: implement support for OO 4GL and structured error handling
I'm working on var/parm defs right now. I've just checked in 3750a rev 11311 which is an early version of the @objec... Greg Shah
02:28 PM Feature #3751: implement support for OO 4GL and structured error handling
Eric suggests using @object@ instead of @ObjectRef@. It is shorter and is in the same kind of lowercase format as th... Greg Shah
11:55 AM Feature #3751: implement support for OO 4GL and structured error handling
I've been writing some testcases to explore unknown value, assignment and undo. In all of these areas, the behavior ... Greg Shah

12/10/2018

05:00 PM Feature #3751: implement support for OO 4GL and structured error handling
The 4GL documentation for FIELD_CLASS states that it is only possible to make it @Progress.Lang.Object@. It turns ou... Greg Shah
10:04 AM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> I'm talking about the creation of the widget pool itself, not the registration of handle resource...
Constantin Asofiei
09:36 AM Feature #3751: implement support for OO 4GL and structured error handling
>> For the instance case, we can create it in the "constructor worker" method. For the class case, in a static intial... Greg Shah

12/09/2018

05:47 PM Feature #3751: implement support for OO 4GL and structured error handling
3750a revision 11307 adds support for @IMPLEMENTS@. Greg Shah
01:56 PM Feature #3751: implement support for OO 4GL and structured error handling
3750a revision 11306 is the first phase of conversion support for OO 4GL. This revision can properly convert empty c... Greg Shah

12/08/2018

02:54 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> Is there a different widget pool for each instance or is there a single widget pool for the class...
Constantin Asofiei
12:36 PM Feature #3751: implement support for OO 4GL and structured error handling
> Same, I think this is some compile-time augmentation for CREATE statements using static members.
Is there a dif...
Greg Shah

12/07/2018

06:22 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> > And @USE-WIDGET-POOL@ - is this currently used?
>
> Sorry, it took some time to run the sear...
Constantin Asofiei
04:46 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> * I assume that statics are not affected, only instance members. The 4GL doesn't allow accessing...
Constantin Asofiei
04:28 PM Feature #3751: implement support for OO 4GL and structured error handling
> Greg, we need to determine how we handle the same stuff with unknown object references, for normal var case. 4GL gi... Greg Shah
03:45 PM Feature #3751: implement support for OO 4GL and structured error handling
> And @USE-WIDGET-POOL@ - is this currently used?
Sorry, it took some time to run the search across both projects....
Greg Shah
03:29 PM Feature #3751: implement support for OO 4GL and structured error handling
Direct field reference like @where tt.obj = ?@ or @where tt.obj <> ?@ does work.
But there is something interestin...
Constantin Asofiei
02:55 PM Feature #3751: implement support for OO 4GL and structured error handling
Eric Faulhaber wrote:
> If so, how is tt.obj.foo dereferenced? Is this the equivalent of a user-defined function, wh...
Constantin Asofiei
02:18 PM Feature #3751: implement support for OO 4GL and structured error handling
Constantin, are there any limitations as to how a field of data type @class@ can be used in a WHERE clause? For insta... Eric Faulhaber
02:10 PM Feature #3751: implement support for OO 4GL and structured error handling
Something about widget definitions in a class (like @DEF BUTTON btn@) - in documentation there is a statement like 'C... Constantin Asofiei

12/06/2018

02:33 PM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> * how do you plan to emit the 4GL c'tors? As a Java constructor, right?
And I just real...
Constantin Asofiei
02:28 PM Feature #3751: implement support for OO 4GL and structured error handling
About constructors and destructors:
* how do you plan to emit the 4GL c'tors? As a Java constructor, right?
* destr...
Constantin Asofiei
01:06 PM Feature #3751: implement support for OO 4GL and structured error handling
I think we can calculate this if I just add the fully qualified OO name to the @class-mapping@ node as an @ooname@ at... Greg Shah
12:41 PM Feature #3751: implement support for OO 4GL and structured error handling
I've been assuming that we will need the conversion name mapping anyway for things like @DYNAMIC-NEW@. I was thinkin... Greg Shah
12:34 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> My idea is that at parsing time, we have resolved the 4GL fully qualified names to some actual un...
Constantin Asofiei
10:36 AM Feature #3751: implement support for OO 4GL and structured error handling
I'm working on the resolution of the converted Java class name information (simple class name, package name and fully... Greg Shah
10:00 AM Feature #3751: implement support for OO 4GL and structured error handling
Branch 3750a revision 11302 includes these changes:
* Added reports for constructors, destructors and duplicate fu...
Greg Shah

12/05/2018

06:03 PM Feature #3751: implement support for OO 4GL and structured error handling
Good results so far. Please check in your testcases to @testcases/uast/oo/@.
Next questions:
5. Please conside...
Greg Shah
05:15 PM Feature #3751: implement support for OO 4GL and structured error handling
Leaving duck typing aside, and looking through the JVM specs, I can't find other issues at this time.
This comment...
Constantin Asofiei
03:58 PM Feature #3751: implement support for OO 4GL and structured error handling
> JVM specs don't guarantee which tread will execute the finalize() method - and if the DESTRUCTOR contains 4GL logic... Greg Shah
03:39 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> I think so. You aren't supposed to be able to execute it directly and it only gets executed when...
Constantin Asofiei
03:33 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> > in Java you can't hide an instance method via a static method, but you can in 4GL.
>
> Did y...
Constantin Asofiei
03:32 PM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> Another issue with using Java inheritance: in Java, you can't reduce the visibility of a...
Constantin Asofiei
03:29 PM Feature #3751: implement support for OO 4GL and structured error handling
> You mean without using a dynamic proxy? The problem I can think of is the EXTENT parameters - there is some validat... Greg Shah
03:26 PM Feature #3751: implement support for OO 4GL and structured error handling
> in Java you can't hide an instance method via a static method, but you can in 4GL.
Did you find this via testing...
Greg Shah
03:26 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> Is there any reason that a method call with non-POLY arguments can't be directly dispatched?
You...
Constantin Asofiei
03:20 PM Feature #3751: implement support for OO 4GL and structured error handling
And there is this "gem" (from the 4GL docs):
"On a state-reset AppServer, a given AppServer agent begins a fresh A...
Greg Shah
03:01 PM Feature #3751: implement support for OO 4GL and structured error handling
Also in Java you can't hide an instance method via a static method, but you can in 4GL.
LE: this was tested incorr...
Constantin Asofiei
02:55 PM Feature #3751: implement support for OO 4GL and structured error handling
Another issue with using Java inheritance: in Java, you can't reduce the visibility of a member, just upgrade it. In... Constantin Asofiei
02:42 PM Feature #3751: implement support for OO 4GL and structured error handling
> I was thinking we could do a mode where, if a project is not using duck-typing, we rely on Java inheritance for con... Greg Shah
02:31 PM Feature #3751: implement support for OO 4GL and structured error handling
I was thinking we could do a mode where, if a project is not using duck-typing, we rely on Java inheritance for conve... Constantin Asofiei
01:58 PM Feature #3751: implement support for OO 4GL and structured error handling
Use @string(THIS-OBJECT)@ (or @string(ooVar)@) to determine the handle ID (this is suffixed to the class name, like @... Constantin Asofiei
01:41 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> > the limitations introduced by duck typing I think will not allow us to use Java inheritance, wh...
Constantin Asofiei
01:36 PM Feature #3751: implement support for OO 4GL and structured error handling
> the limitations introduced by duck typing I think will not allow us to use Java inheritance, when emulating the 4GL... Greg Shah
01:24 PM Feature #3751: implement support for OO 4GL and structured error handling
4. About @static@ constructors. 4GL states:
> STATIC specifies a static constructor that executes exactly once in an...
Constantin Asofiei
01:17 PM Feature #3751: implement support for OO 4GL and structured error handling
I'm posting our duck typing example here so that readers can see the full context of the discussion.
@duck_typing....
Greg Shah

12/04/2018

05:12 PM Feature #3755 (Closed): DEBUGGER system handle stubs
Code Review Task Branch 3750a Revision 11300
I'm good with the changes.
In the future, I would like to avoid th...
Greg Shah
01:51 PM Feature #3755 (Review): DEBUGGER system handle stubs
Constantin Asofiei
01:51 PM Feature #3755 (WIP): DEBUGGER system handle stubs
DEBUGGER support - full conversion and stubbed runtime - is in 3750a rev 11294. Constantin Asofiei
03:13 PM Feature #3753: I18N additions
A note to check: editor with LONGCHAR value, having a non-default codepage. Constantin Asofiei
02:35 PM Feature #3753: I18N additions
The conversion issues for this task (phase 1) are solved in 3750a rev 11297. Constantin Asofiei
02:07 PM Feature #3756 (WIP): minor modifications for SESSION system handle support
The conversion problems in this task are solved in 3750a rev 11295: adds SESSION:V6DISPLAY conversion and get/set run... Constantin Asofiei

12/03/2018

09:08 AM Feature #3752 (Closed): CLIENT-PRINCIPAL resource and other security features
The remainder of the CLIENT-PRINCIPAL support will be implemented in #3810. Greg Shah
08:53 AM Feature #3752: CLIENT-PRINCIPAL resource and other security features
3752a was merged to trunk rev 11293 and archived.
> Added runtime/conversion support for SET-DB-CLIENT, GET-DB-CLI...
Constantin Asofiei

12/01/2018

07:50 AM Feature #3752: CLIENT-PRINCIPAL resource and other security features
Please merge to trunk. Greg Shah

11/30/2018

04:23 PM Feature #3752: CLIENT-PRINCIPAL resource and other security features
Conversion testing of 3752a rev 11297 passed. Constantin Asofiei
02:05 PM Feature #3752: CLIENT-PRINCIPAL resource and other security features
3752a rev 11297 fixes the review issues.
I'm doing conversion testing next.
Constantin Asofiei
01:49 PM Feature #3752: CLIENT-PRINCIPAL resource and other security features
Greg Shah wrote:
> > If the name is invalid, I'll throw an exception, as we can't use the default DB.
>
> OK, as ...
Constantin Asofiei
01:45 PM Feature #3752: CLIENT-PRINCIPAL resource and other security features
> If the name is invalid, I'll throw an exception, as we can't use the default DB.
OK, as long as the NPE does not...
Greg Shah
01:43 PM Feature #3752: CLIENT-PRINCIPAL resource and other security features
Greg Shah wrote:
> 1. In @ConnectionManager.getDbClient()/setDbClient()@, the use of @cm.getLDBName(dbName).toLowerC...
Constantin Asofiei
11:15 AM Feature #3752: CLIENT-PRINCIPAL resource and other security features
I don't think this needs runtime testing. If it passes conversion testing for ChUI, it can be merged to trunk. Greg Shah
11:14 AM Feature #3752: CLIENT-PRINCIPAL resource and other security features
Code Review Task Branch 3752a Revision 11295
The result is very good. I've only found some minor issues:
1. In...
Greg Shah

11/29/2018

02:36 PM Feature #3753 (WIP): I18N additions
Constantin Asofiei

11/28/2018

12:46 PM Feature #3752: CLIENT-PRINCIPAL resource and other security features
Please review 3752a rev 11295 - it contains the changes required for the current POC. Constantin Asofiei

11/26/2018

12:58 PM Feature #3817: create resource bundles from string literals and implement optional support for se...
This is meant to be a Java-native replacement for the ability to swap translated string literals at runtime.
+Back...
Greg Shah
12:21 PM Feature #3817 (Closed): create resource bundles from string literals and implement optional suppo...
Greg Shah

11/25/2018

11:05 AM Feature #3753: I18N additions
Implement these for Phase 2 (main project):
* generalized CONVERT option support (e.g. not just INPUT but also use...
Greg Shah
10:36 AM Feature #2135: implement COPY-LOB language statement
As phase 3 of development, the following will all be needed:... Greg Shah
09:23 AM Feature #3812: additions to SESSION system-handle
+Attributes+
* CURRENT-REQUEST-INFO
* LOCAL-VERSION-INFO
* SERVER-CONNECTION-BOUND-REQUEST
* ICFPARAMETER
* CO...
Greg Shah
09:19 AM Feature #3812 (Closed): additions to SESSION system-handle
Greg Shah
08:21 AM Feature #3810: SECURITY-POLICY and other security features
Implement support for the following:
+SECURITY-POLICY resource+
* SECURITY-POLICY system handle
* attributes
...
Greg Shah
07:41 AM Feature #3810 (Closed): SECURITY-POLICY and other security features
Greg Shah

11/19/2018

03:01 PM Feature #3752: CLIENT-PRINCIPAL resource and other security features
Something else: the @_oeusertable@ and any other domain type allows any user ID to be specified, even if it does not ... Constantin Asofiei
01:05 PM Feature #3752: CLIENT-PRINCIPAL resource and other security features
Greg Shah wrote:
> Is the @_oslocal@ approach using something like PAM or does it just rely upon the user being alre...
Constantin Asofiei
01:02 PM Feature #3752: CLIENT-PRINCIPAL resource and other security features
Is the @_oslocal@ approach using something like PAM or does it just rely upon the user being already logged in? Greg Shah
12:50 PM Feature #3752: CLIENT-PRINCIPAL resource and other security features
These metadata tables define the domains and the domain types:... Constantin Asofiei

11/15/2018

01:27 PM Feature #3751: implement support for OO 4GL and structured error handling
+Class Members Access Summary+
|_. Resource |_. Data Member |_. Default Access Mode |_. PUBLIC |_. PROTECTED |_. P...
Greg Shah

11/14/2018

04:02 PM Feature #3751: implement support for OO 4GL and structured error handling
Comments from a customer 4GL developer:
* ABL garbage collection is based on reference counting.
* The ABL (at le...
Greg Shah
03:49 PM Feature #3751: implement support for OO 4GL and structured error handling
Some of the built-in classes provided by OpenEdge are not documented in the 4GL reference PDF. This online doc is a ... Greg Shah

11/13/2018

04:22 PM Feature #3754 (Closed): TRANSACTION resource support
Greg Shah
04:13 PM Feature #3754: TRANSACTION resource support
Branch 3754a was merged to trunk rev 11291 and archived. Constantin Asofiei
04:08 PM Feature #3754: TRANSACTION resource support
Eric Faulhaber wrote:
> ETF runtime testing passed (full search and dev tests).
Great! I'll release it shortly.
...
Constantin Asofiei
04:00 PM Feature #3754: TRANSACTION resource support
Constantin Asofiei wrote:
> Eric: please help me with runtime testing - I don't think full runtime is required, just...
Eric Faulhaber
03:40 PM Feature #3754: TRANSACTION resource support
If Eric's tests pass please merge to trunk. Greg Shah
03:40 PM Feature #3754: TRANSACTION resource support
Code Review Task Branch 3754a Revision 11293
The changes are good.
Greg Shah
02:43 PM Feature #3754: TRANSACTION resource support
Greg Shah wrote:
> Do we have sufficient checks to ensure this same limitation is forced?
Now we do - see 3754a rev...
Constantin Asofiei
02:01 PM Feature #3754: TRANSACTION resource support
> there is no way for TRANSACTION-MODE AUTOMATIC or TRANS-INIT-PROCEDURE invoked entries to automatically start a fu... Greg Shah
01:53 PM Feature #3754: TRANSACTION resource support
Greg Shah wrote:
> The part I don't understand is how this is supposed to act when it is called while a full transac...
Constantin Asofiei
11:34 PM Feature #3754: TRANSACTION resource support
Code Review Task Branch 3754a Revision 11292
I've reviewed everything, it is very good.
The part I don't unders...
Greg Shah
03:48 PM Feature #3752: CLIENT-PRINCIPAL resource and other security features
All of these are classified as "global builtin variables" since they don't take parenthesis. Even though the 4GL doc... Greg Shah
03:28 PM Feature #3752: CLIENT-PRINCIPAL resource and other security features
Greg, why are these marked as VAR_RAW (and registered as global variables) instead of builtin functions, in progress.... Constantin Asofiei
02:55 PM Feature #3752: CLIENT-PRINCIPAL resource and other security features
Greg Shah wrote:
> * ENCRYPT
> * DECRYPT
> * GENERATE-RANDOM-KEY()
These are dependent on @SECURITY-POLICY:SYMMET...
Constantin Asofiei
07:13 PM Feature #3752: CLIENT-PRINCIPAL resource and other security features
> @EXPORT/IMPORT-PRINCIPAL@ creates a byte representation of the @CLIENT-PRINCIPAL@ resource, returned as a @raw@ ins... Greg Shah

11/12/2018

05:06 PM Feature #3752: CLIENT-PRINCIPAL resource and other security features
@EXPORT/IMPORT-PRINCIPAL@ creates a byte representation of the @CLIENT-PRINCIPAL@ resource, returned as a @raw@ insta... Constantin Asofiei
05:01 PM Feature #3752 (WIP): CLIENT-PRINCIPAL resource and other security features
Constantin Asofiei
04:47 PM Feature #3754: TRANSACTION resource support
Greg, 3754a rev 11292 adds:
* full conversion support
* runtime is almost done, I need to do some more manual testi...
Constantin Asofiei
 

Also available in: Atom