Project

General

Profile

Activity

From 01/04/2019 to 02/02/2019

01/31/2019

03:52 PM Feature #3751: implement support for OO 4GL and structured error handling
Ovidiu, about rev 11329:
* there was a merge typo in ObjectOps - I've fixed it in 11330
* you can use @AtomicIntege...
Constantin Asofiei
10:41 AM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> The idea is the @? extends Bar@ - Java doesn't allow accessing a private method from a s...
Ovidiu Maxiniuc
08:55 AM Feature #3751: implement support for OO 4GL and structured error handling
Ovidiu Maxiniuc wrote:
> Constantin Asofiei wrote:
> > Does it compile if you edit the file to look like @((Bar) fo...
Constantin Asofiei
08:49 AM Feature #3751: implement support for OO 4GL and structured error handling
The same cast is currently generated for private methods. Ovidiu Maxiniuc
08:45 AM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> Does it compile if you edit the file to look like @((Bar) foo.ref()).myName.assign(p1);@...
Ovidiu Maxiniuc
08:14 AM Feature #3751: implement support for OO 4GL and structured error handling
Ovidiu Maxiniuc wrote:
> *2*. The destructors are not called for me because for me @ProcedureManager.getStackEntry(0...
Constantin Asofiei
07:15 AM Feature #3751: implement support for OO 4GL and structured error handling
Constantin,
Three notes after our last conversation:
*1*. I got what you meant. I will add the necessary support f...
Ovidiu Maxiniuc
06:26 AM Feature #3751: implement support for OO 4GL and structured error handling
I don't think counting these objects will be the problem. I think this can be easily done by a context-local integer ... Ovidiu Maxiniuc

01/30/2019

06:31 PM Feature #3751: implement support for OO 4GL and structured error handling
Eric Faulhaber wrote:
> Constantin Asofiei wrote:
> > One more thing to add: do not convert to bulk delete a @for ...
Constantin Asofiei
06:23 PM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> One more thing to add: do not convert to bulk delete a @for tt-buffer: delete tt-buffer...
Eric Faulhaber
05:59 PM Feature #3751: implement support for OO 4GL and structured error handling
Ovidiu Maxiniuc wrote:
> I committed some fixes and a solution for bulk delete. The update contains some optimisatio...
Constantin Asofiei
03:32 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> If you specify the @FOR@, then the name of the handle must be an existing variable in the externa...
Constantin Asofiei
03:29 PM Feature #3751: implement support for OO 4GL and structured error handling
What a ridiculous undocumented "feature". To be clear: when the @FOR handle@ is present, it seems to map the "proced... Greg Shah
12:48 PM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> The only way I can make it work is like this:
> [...]
> I think you are correct, the F...
Constantin Asofiei
12:42 PM Feature #3751: implement support for OO 4GL and structured error handling
The only way I can make it work is like this:... Constantin Asofiei
12:37 PM Feature #3751: implement support for OO 4GL and structured error handling
There is an undocumented "feature" that allows @TABLE-HANDLE FOR@ to be specified. It was seen in customer code and ... Greg Shah
12:27 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> Constantin: Can you think of any reason I should fix this instead of deleting it?
I think it was...
Constantin Asofiei
12:01 PM Feature #3751: implement support for OO 4GL and structured error handling
In @common-progress@ there is this function:... Greg Shah
01:45 AM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> Please focus on finding the hooks for field assignment and record deletion. I'll fix an...
Ovidiu Maxiniuc

01/29/2019

03:55 PM Feature #3751: implement support for OO 4GL and structured error handling
Ovidiu Maxiniuc wrote:
> Constantin Asofiei wrote:
> > The DESTRUCTOR is called when the object is explicitly delet...
Constantin Asofiei
10:25 AM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> The DESTRUCTOR is called when the object is explicitly deleted (via @DELETE OBJECT@) or ...
Ovidiu Maxiniuc
11:59 PM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> 3750b 11320 fixes a conversion problem.
It also converted and compiled fully with the P...
Constantin Asofiei

01/28/2019

05:37 PM Feature #3751: implement support for OO 4GL and structured error handling
3750b 11320 fixes a conversion problem. Constantin Asofiei
03:43 PM Feature #3751: implement support for OO 4GL and structured error handling
Eric Faulhaber wrote:
> Do we not know which class' objects will be stored in a field at conversion time, and whethe...
Constantin Asofiei
03:40 PM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> Let me rephrase this. We wouldn't 'bulk delete' a loop like this, right?
> [...]
Co...
Eric Faulhaber
03:35 PM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> Eric Faulhaber wrote:
> > I think we still could maintain the bulk operations by queryi...
Constantin Asofiei
03:25 PM Feature #3751: implement support for OO 4GL and structured error handling
Eric Faulhaber wrote:
> I think we still could maintain the bulk operations by querying the object references first,...
Constantin Asofiei
03:20 PM Feature #3751: implement support for OO 4GL and structured error handling
Exactly. This is what I meant in note 436. Ovidiu Maxiniuc
03:15 PM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> Eric Faulhaber wrote:
> > Take for example an EMPTY-TEMP-TABLE statement or a table goi...
Eric Faulhaber
03:02 PM Feature #3751: implement support for OO 4GL and structured error handling
Eric Faulhaber wrote:
> Take for example an EMPTY-TEMP-TABLE statement or a table going out of scope. We just do an ...
Constantin Asofiei
02:56 PM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> Eric Faulhaber wrote:
> > Are there side effects to an object being gc'd, such that the...
Eric Faulhaber
02:55 PM Feature #3751: implement support for OO 4GL and structured error handling
Ovidiu Maxiniuc wrote:
> I don't think that this is possible (as you noted also, the bulk delete is the main cause h...
Constantin Asofiei
02:41 PM Feature #3751: implement support for OO 4GL and structured error handling
Ovidiu Maxiniuc wrote:
> BTW, I see that the destructor is not yet called. Will it be called automatically when the ...
Constantin Asofiei
02:36 PM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> Good question. Yes, there is legacy @DESTRUCTOR@ code which needs to be executed on del...
Ovidiu Maxiniuc
02:30 PM Feature #3751: implement support for OO 4GL and structured error handling
Eric Faulhaber wrote:
> Are there side effects to an object being gc'd, such that the delete/gc has to happen at a v...
Constantin Asofiei
02:29 PM Feature #3751: implement support for OO 4GL and structured error handling
Eric Faulhaber wrote:
> How are you doing he reference counting for object references stored in temp-tables?
We are...
Ovidiu Maxiniuc
02:24 PM Feature #3751: implement support for OO 4GL and structured error handling
Are there side effects to an object being gc'd, such that the delete/gc has to happen at a very specific time/order, ... Eric Faulhaber
02:21 PM Feature #3751: implement support for OO 4GL and structured error handling
Eric Faulhaber wrote:
> How are you doing he reference counting for object references stored in temp-tables?
It doe...
Constantin Asofiei
02:20 PM Feature #3751: implement support for OO 4GL and structured error handling
Eric Faulhaber wrote:
> # It is much trickier to know when a record is deleted. We optimize many types of bulk dele...
Constantin Asofiei
02:18 PM Feature #3751: implement support for OO 4GL and structured error handling
Ovidiu Maxiniuc wrote:
> As far as I can tell, if an object is stored in a TEMP-TABLE, it is not automatically disca...
Eric Faulhaber
02:16 PM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> Eric, is there an easy way to track a DMO property setter (when is being invoked, knowin...
Eric Faulhaber
01:58 PM Feature #3751: implement support for OO 4GL and structured error handling
Simple tests with 3750b rev 11319 are working for static temp-tables, static class initialization, static and instanc... Constantin Asofiei
12:16 PM Feature #3751: implement support for OO 4GL and structured error handling
Sorry, my bad, the text capture was done with an object still referred by variable. I rerun the code and the destruct... Ovidiu Maxiniuc
12:05 PM Feature #3751: implement support for OO 4GL and structured error handling
Ovidiu Maxiniuc wrote:
> There are a few interesting notes:
> * the second object created (@C3758Bar_4309@) is drop...
Constantin Asofiei
11:54 AM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> Did you find way to track if a field is changed (to unknown or some other ref)?
I start...
Ovidiu Maxiniuc

01/24/2019

05:35 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> Why do you say "We may need to look here without the arguments"? Do you have reason to believe t...
Constantin Asofiei
04:27 PM Feature #3751: implement support for OO 4GL and structured error handling
> Are you planning to fix the method erasure where it can override only by parameter mode, not just type?
Yes.
Greg Shah
04:27 PM Feature #3751: implement support for OO 4GL and structured error handling
From #3751-353:
> What I think is missing is the parent lookup:
>
> * in ClassDefinition.exactMethodLookup - thi...
Greg Shah

01/23/2019

05:34 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> From #3751-346:
>
> > INPUT/OUTPUT/INPUT-OUPTUT for OO argument case.
>
> I assume this is ...
Constantin Asofiei
05:11 PM Feature #3751: implement support for OO 4GL and structured error handling
From #3751-346:
> INPUT/OUTPUT/INPUT-OUPTUT for OO argument case.
I assume this is the TODO in @fuzzyMethodLook...
Greg Shah
04:43 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> In @ClassDefinition.fuzzyMethodLookup()@ code starting at line 1548:
>
> * Shouldn't the code ...
Constantin Asofiei
04:28 PM Feature #3751: implement support for OO 4GL and structured error handling
In @ClassDefinition.fuzzyMethodLookup()@:... Greg Shah
04:04 PM Feature #3751: implement support for OO 4GL and structured error handling
Ovidiu Maxiniuc wrote:
> Think only in the case of bulk delete when the entire table content is dropped with
Is it...
Constantin Asofiei
02:45 PM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> Ovidiu, you can now look into the object reference tracking for the temp-table fields (w...
Ovidiu Maxiniuc
02:43 PM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> Greg, have you checked properties defined in an interface or an abstract property (in an...
Greg Shah
02:42 PM Feature #3751: implement support for OO 4GL and structured error handling
In @ClassDefinition.fuzzyMethodLookup()@ code starting at line 1548:
* Shouldn't the code at line 1563 be checking...
Greg Shah
01:56 PM Feature #3751: implement support for OO 4GL and structured error handling
Please don't use the builtin 4GL classes in FWD - these are not implemented yet.
Use an explicitly defined class, ...
Constantin Asofiei
01:53 PM Feature #3751: implement support for OO 4GL and structured error handling
... Ovidiu Maxiniuc
01:50 PM Feature #3751: implement support for OO 4GL and structured error handling
Ovidiu Maxiniuc wrote:
> Constantin,
>
> In @ObjectResource.delete()@, a new @ExternalProgramWrapper@ is used fo...
Constantin Asofiei
01:47 PM Feature #3751: implement support for OO 4GL and structured error handling
Constantin,
In @ObjectResource.delete()@, a new @ExternalProgramWrapper@ is used for some cleanup. I do not think...
Ovidiu Maxiniuc
01:14 PM Feature #3751: implement support for OO 4GL and structured error handling
3750b rev 11312 contains another batch of mostly conversion changes.
I've fixed review notes 1 to 3; 4 and 5 (comm...
Constantin Asofiei
12:44 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg, have you checked properties defined in an interface or an abstract property (in an abstract class)? These don'... Constantin Asofiei
10:57 AM Feature #3751: implement support for OO 4GL and structured error handling
Constantin: The changes are very good. I'm excited to see this coming together. Greg Shah
10:37 AM Feature #3751: implement support for OO 4GL and structured error handling
Code Review Task Branch 3750b Revision 11311
1. In @ArrayAssigner@, why is @ObjectOps.reRegister(array, copy);@ be...
Greg Shah

01/22/2019

04:53 PM Feature #3751: implement support for OO 4GL and structured error handling
3750b rev 11311 contains support for:
* NEW, DYNAMIC-NEW, VALID-OBJECT, CAST, DYNAMIC-CAST, TYPE-OF, DELETE
* DYNAM...
Constantin Asofiei
04:16 PM Feature #3751: implement support for OO 4GL and structured error handling
We can have 2 versions of @DYNAMIC-INVOKE@. One that is for a standalone expression and one that is known to be used... Greg Shah
03:50 PM Feature #3751: implement support for OO 4GL and structured error handling
For dynamic method invocation, there is a ERROR condition raised if the method returns void and that method is used i... Constantin Asofiei
03:15 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> > Maybe we should emit something like oo.Bar.__load__().xs.get()?
>
> Instead of emitting this...
Constantin Asofiei
03:00 PM Feature #3751: implement support for OO 4GL and structured error handling
> Maybe we should emit something like oo.Bar.__load__().xs.get()?
Instead of emitting this everywhere something st...
Greg Shah
02:57 PM Feature #3751: implement support for OO 4GL and structured error handling
I've confirmed that the customer code works properly with my recent context-local static data changes. I have been a... Greg Shah
12:18 PM Feature #3751: implement support for OO 4GL and structured error handling
Ovidiu Maxiniuc wrote:
> Constantin Asofiei wrote:
> > I don't think we can use the JAVA_OBJECT type. If we are st...
Constantin Asofiei
12:17 PM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> I don't think we can use the JAVA_OBJECT type. If we are storing an UUID, we can use VA...
Ovidiu Maxiniuc
10:37 AM Feature #3751: implement support for OO 4GL and structured error handling
Ovidiu Maxiniuc wrote:
> Constantin,
> I added the minimum necessary hibernate mappings so that the server that ru...
Constantin Asofiei
10:11 AM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> Ovidiu, please focus on making this test work:
> [...]
> The idea here is that the FWD...
Ovidiu Maxiniuc
09:34 AM Feature #3751: implement support for OO 4GL and structured error handling
The static c'tor needs to emulate an external procedure and all static member initialization (like opening temp-table... Constantin Asofiei
03:24 AM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> > I need a way to intercept in FWD that this is a class reference and force it to load the static...
Constantin Asofiei
11:01 PM Feature #3751: implement support for OO 4GL and structured error handling
> the get() call is missing, to retrieve the context-local
Fixed in revision 11306. This is only an issue with va...
Greg Shah
08:44 PM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> This method will be emitted as a prefix for any static call (method, property, var, etc)...
Constantin Asofiei
08:07 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg, I mean a simple static reference, outside of a 4GL object class, like:... Constantin Asofiei
07:52 PM Feature #3751: implement support for OO 4GL and structured error handling
Example:... Greg Shah

01/21/2019

06:22 PM Feature #3751: implement support for OO 4GL and structured error handling
Ovidiu, please focus on making this test work:... Constantin Asofiei
05:59 PM Feature #3751: implement support for OO 4GL and structured error handling
Eric, is there an easy way to track a DMO property setter (when is being invoked, knowing also the old value) and whe... Constantin Asofiei
04:13 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg, how does a simple static member reference get converted?
I ask because something as simple as @oo.Bar:e.@ wi...
Constantin Asofiei
04:02 PM Feature #3751: implement support for OO 4GL and structured error handling
In 3750b revision 11305, static variables, properties and events have their backing variable converted as a ContextLo... Greg Shah
12:13 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> I have noticed that when we create a default constructor, it is placed in a strange location in t...
Constantin Asofiei
11:42 AM Feature #3751: implement support for OO 4GL and structured error handling
I have noticed that when we create a default constructor, it is placed in a strange location in the AST:... Greg Shah
09:17 AM Feature #3751: implement support for OO 4GL and structured error handling
3750b rev 11302 has the fix for the static issue with events. It also fixes other latent problems with static proces... Greg Shah
07:40 AM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> BTW, this seems to be related to the use of @static@ for the @define event@. If not defined stat...
Constantin Asofiei

01/20/2019

03:06 PM Feature #3751: implement support for OO 4GL and structured error handling
BTW, this seems to be related to the use of @static@ for the @define event@. If not defined static then the unqualif... Greg Shah
03:01 PM Feature #3751: implement support for OO 4GL and structured error handling
It seems that our parsing of class event @subscribe()@ and @unsubscribe()@ does not work for the "simple" case of pas... Greg Shah

01/18/2019

06:51 PM Feature #3751: implement support for OO 4GL and structured error handling
FYI, the reference counting in the end depends on the variable scopes - a var going out of scope will decrement the c... Constantin Asofiei
11:22 AM Feature #3751: implement support for OO 4GL and structured error handling
> > I'm starting to work on the open issues related to methods (see #3751-360).
> I think we should fix the conversi...
Greg Shah
11:08 AM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> I'm starting to work on the open issues related to methods (see #3751-360).
I think we should fi...
Constantin Asofiei
11:02 AM Feature #3751: implement support for OO 4GL and structured error handling
I'm starting to work on the open issues related to methods (see #3751-360). Considering the interconnected nature of... Greg Shah
11:00 AM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> Constantin: What is the status of your current work?
I'm still working on the instantiation and ...
Constantin Asofiei
10:50 AM Feature #3751: implement support for OO 4GL and structured error handling
Constantin: What is the status of your current work? Greg Shah

01/17/2019

03:27 PM Feature #3855: implement equivalent support for REST (classic appserver, PASOE REST and WEB trans...
There are 2 ways to expose REST web services in the 4GL:
* Nasty Wizard Approach
** A development tool is used to...
Greg Shah

01/16/2019

07:42 PM Feature #3753: I18N additions
The @CURRENT-LANGUAGE@ implementation really should not be needed for the POC, since the default language's string co... Greg Shah

01/11/2019

12:04 PM Feature #3869: enhance JasperReports support with sub-reports and ProDataSets
For sub-reports see the discussion starting at #3342-77.
ProDataSet support seems like a natural enhancement. The...
Greg Shah
11:58 AM Feature #3869 (New): enhance JasperReports support with sub-reports and ProDataSets
Greg Shah
10:52 AM Feature #3868: customer servlet integration/support
A customer has multiple OpenEdge applications which have custom written servlets that use the Java open client to cal... Greg Shah
10:43 AM Feature #3868 (Closed): customer servlet integration/support
Greg Shah
10:29 AM Feature #3867: direct java class access from 4GL code
Does anyone see any additional problems or effort needed that I missed above? Greg Shah
10:28 AM Feature #3867: direct java class access from 4GL code
Once OO 4GL features are available, it is a natural extension to use the same syntax for Java class access. For exam... Greg Shah
10:14 AM Feature #3867 (Closed): direct java class access from 4GL code
Greg Shah

01/10/2019

10:26 AM Feature #3855 (New): implement equivalent support for REST (classic appserver, PASOE REST and WEB...
Greg Shah
09:51 AM Feature #3310: add support for the equivalent of the OpenEdge Web Services Adapter (and ProxyGen)...
We need to include the equivalent of SOAP transport for PASOE mode. I believe this is no different from the WSA in c... Greg Shah
09:43 AM Feature #2078 (Hold): provide support for malformed label names
Greg Shah
09:31 AM Feature #2078: provide support for malformed label names
The parser now handles a wide range of malformed symbols. These are marked with the "malformed" boolean annotation.
...
Greg Shah

01/09/2019

06:40 PM Feature #3854: update appserver support with PASOE features
PASOE is a Tomcat based alternative to appserver which is simplifies/improves the design.
Instead of the appserver...
Greg Shah
06:25 PM Feature #3854 (Closed): update appserver support with PASOE features
Greg Shah
06:22 PM Feature #3853: implement LOG-MANAGER runtime
Log Manager Usage
The base implementation is already handled at conversion and it is stubbed out in the runtime. ...
Greg Shah
06:13 PM Feature #3853 (WIP): implement LOG-MANAGER runtime
Greg Shah

01/07/2019

03:36 PM Feature #3751: implement support for OO 4GL and structured error handling
Code Review 3750a Revision 11444
I'm good with the changes.
Greg Shah
03:10 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> Are you asking if the @deleteScope()@ in this code should be moved to the exit action? I think t...
Constantin Asofiei
02:54 PM Feature #3751: implement support for OO 4GL and structured error handling
> shouldn't @pre_scan_class@ delete the class/iface scope after the rule has processed the class members?... Greg Shah
02:49 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg, let me rephrase this: shouldn't @pre_scan_class@ delete the class/iface scope after the rule has processed the ... Constantin Asofiei
02:00 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> @def_var_stmt@ doesn't support this today. It matches using @symbol@ which does not allow reserv...
Constantin Asofiei
01:56 PM Feature #3751: implement support for OO 4GL and structured error handling
All 4GL global var names can be used as class variables, properties and method names.
Only these global names can ...
Constantin Asofiei
01:56 PM Feature #3751: implement support for OO 4GL and structured error handling
@def_var_stmt@ doesn't support this today. It matches using @symbol@ which does not allow reserved keywords. If we ... Greg Shah
01:35 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg Shah wrote:
> I assume you are thinking about the unqualified reference inside the class hierarchy.
No, I'm th...
Constantin Asofiei
01:32 PM Feature #3751: implement support for OO 4GL and structured error handling
Constantin Asofiei wrote:
> Greg, @User@ is a builtin variable in 4GL (and reserved kw), UNLESS is used as a class m...
Greg Shah
01:19 PM Feature #3751: implement support for OO 4GL and structured error handling
Greg, @User@ is a builtin variable in 4GL (and reserved kw), UNLESS is used as a class member - can you recall me whe... Constantin Asofiei
 

Also available in: Atom