Project

General

Profile

Activity

From 06/23/2013 to 07/22/2013

07/22/2013

07:19 PM User Interface Feature #1898: write a replacement for the CHARVA libTerminal.so as an NCURSES-based Linux shared...
After rethink I would offer to rename:
- ncurses/NcursesDriver.java
to
- console/ConsoleDriver.java
and
- ncurse...
Eugenie Lyzenko
06:18 PM User Interface Feature #1898: write a replacement for the CHARVA libTerminal.so as an NCURSES-based Linux shared...
Another point to discuss is related to the terminal calls in Windows C code. I can see two options here:
1. Use Cons...
Eugenie Lyzenko
12:13 PM User Interface Feature #1898: write a replacement for the CHARVA libTerminal.so as an NCURSES-based Linux shared...
The implementation plan:
1. Create two new classes in com/goldencode/p2j/ui/client/chui/driver:
- ncurses/NcursesDriv...
Eugenie Lyzenko
10:18 AM Base Language Feature #1649: implement Windows environment/registry access
This is the drop merged with recent P2J codebase(10365). Do we need to run runtime-testing again? Or I can check it w... Eugenie Lyzenko
10:18 AM Database Feature #1588: add conversion and runtime support for embedded SQL
> Good. But hibernate-core-4.1.8.jar is file I received from Stas, I am not sure if he will commit (or already commit... Stanislav Lomany
10:05 AM Database Feature #1588: add conversion and runtime support for embedded SQL
Eric Faulhaber wrote:
> * Please put the Hibernate jar in a separate update and put it under the @lib@ directory ins...
Vadim Nebogatov
09:34 AM Database Feature #1588: add conversion and runtime support for embedded SQL
Eric Faulhaber wrote:
> * This version of database_general.rules is the same as the one currently checked into bzr. ...
Vadim Nebogatov
08:33 AM Base Language Feature #1640: implement DOM XML support
Yes, go ahead with this approach. Greg Shah
04:54 AM Base Language Feature #1640: implement DOM XML support
I have found that for most of the DOM methods and attributes exceptions doesn't set @error=true@.
I have tried to us...
Evgeny Kiselev

07/21/2013

06:02 PM Database Feature #1588: add conversion and runtime support for embedded SQL
Code review 20130719a:
* This version of database_general.rules is the same as the one currently checked into bzr....
Eric Faulhaber

07/20/2013

03:31 PM Base Language Feature #1649: implement Windows environment/registry access
Finally the update has passed all regression testing in devsrv01 except known TC-JOB-002(including CTRL-C 3-way tests... Eugenie Lyzenko
10:20 PM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
The om_upd20130716a.zip has been committed as bzr revision 10365.
The om_upd20130716b.zip has been committed as bz...
Greg Shah

07/19/2013

03:01 PM Database Feature #1588: add conversion and runtime support for embedded SQL
Savepoint based reversible actually could work for other operations, not only for @deleteAll@. I have attached update... Vadim Nebogatov
02:04 PM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
> I believe that it is best to check in now the changes as this is another big update and delaying this will need add... Greg Shah
01:58 PM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
Strange enough, my tc_job_002.txt has 58K and looks like a weekly table starting with current DoW (each of my previou... Ovidiu Maxiniuc
01:27 PM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
The tc_job_002 failure is at the expected step (report comparison). I think the unix2dos is only part of the problem... Greg Shah
01:16 PM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
> tc_job_clock_002: failure in step 20: 'timeout before the specific screen buffer became available (Mismatched data ... Eugenie Lyzenko
12:34 PM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
I ran the update against revision 10364 . The result changed a bit:
* tc_job_002: @failure in step 40: 'Unexpected E...
Ovidiu Maxiniuc
08:33 AM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
I just heard from Eric. He is getting on a plane right now and doesn't have the full answer on my question. But we ... Greg Shah
08:25 AM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
My recommendation was spurred by Ovidiu's deprecation of @Functions.getMTime()@ because the database server could pro... Eric Faulhaber
07:42 AM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
> The no-argument variant of the mtime() function in a where clause should not convert to a server-side function, but... Greg Shah
04:14 AM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
Code review 20130716a/b:
The database content of this update generally looks good, with a few issues:
* Use of ...
Eric Faulhaber
11:13 AM Runtime Infrastructure Feature #2158 (New): create a minimal jar file suitable for making a remote connection to a P2J s...
Greg Shah
07:53 AM Base Language Feature #1640: implement DOM XML support
2 thoughts:
1. Your test code needs a slight change. Unfortunately, when I pointed you to my memptr test code as e...
Greg Shah

07/18/2013

07:00 PM Base Language Feature #1640: implement DOM XML support
Greg Shah wrote:
> I don't understand. We don't yet have a GUI in P2J, do you mean the ChUI (character UI) in our S...
Evgeny Kiselev
02:37 PM Base Language Feature #1640: implement DOM XML support
> Because in my test hDoc:name="asd" no-error. and I used handle.readOnlyError and I expected do not see error in GUI... Greg Shah
06:17 PM Database Feature #1588: add conversion and runtime support for embedded SQL
I was mistaken, temporary table was created by DefaultDirtyShareManager for track changes Vadim Nebogatov
01:30 PM Base Language Feature #1649: implement Windows environment/registry access
Code Review 0718a
It looks good. Get it runtime regression tested on devsrv01.
Greg Shah
01:14 PM Base Language Feature #1649: implement Windows environment/registry access
OK. The changes for points 1-4 has been uploaded for review. NO-ERROR mode is also working for ErrorManager change. Eugenie Lyzenko
11:20 AM Base Language Feature #1649: implement Windows environment/registry access
Code Review 0717a
Each code review I look deeper in some areas and catch some things I didn't see before. We are ...
Greg Shah
08:16 PM Base Language Feature #1649: implement Windows environment/registry access
The update with removed TODO comments for implemented code. The testcases also refreshed.
The testcase env_test34....
Eugenie Lyzenko
01:09 AM Database Feature #1911: add runtime support for sequences
Code review 20130712a:
Generally looks good; nice work. Some comments below.
* Please add a WARNING to schema co...
Eric Faulhaber
12:23 AM Database Feature #1911: add runtime support for sequences
Ovidiu Maxiniuc wrote:
> +Note 26 continued+.
> ...
Greg: I need your input here.
Ovidiu: since this is an erro...
Eric Faulhaber

07/17/2013

07:56 PM Base Language Feature #1640: implement DOM XML support
May I change in method @handle.readOnlyError@ last line:
@ErrorManager.displayError(4052, err, false);@
to
@ErrorM...
Evgeny Kiselev
06:11 PM Database Feature #1588: add conversion and runtime support for embedded SQL
Savepoint seems more promising and common approach. I have attached very draft @deleteAll@ support based on Savepoin... Vadim Nebogatov
06:07 PM Base Language Feature #1649: implement Windows environment/registry access
> If your testing proves that the implementation is correct and complete, then please remove the TODOs. If something ... Eugenie Lyzenko
05:57 PM Base Language Feature #1649: implement Windows environment/registry access
> I've left them for possible changes reflecting to your notes. Do I need to remove them?
If your testing proves t...
Greg Shah
05:44 PM Base Language Feature #1649: implement Windows environment/registry access
> 1. Do LOAD/UNLOAD/USE really generate a STOP condition (like a CTRL-C) on non-Windows?
Yes, when error is enable...
Eugenie Lyzenko
05:24 PM Base Language Feature #1649: implement Windows environment/registry access
Code Review 0712c
1. Do LOAD/UNLOAD/USE really generate a STOP condition (like a CTRL-C) on non-Windows?
2. Nor...
Greg Shah
04:39 PM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
Code Review 0716b
I am fine with the changes, but Eric needs to review them since many affect the persistence laye...
Greg Shah
04:30 PM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
Code Review 0716a
I am OK with this code being checked in.
> tc_job_002: failure in step 40: 'Unexpected EOF ...
Greg Shah
01:24 PM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
This second update adds all new stuff about date/datetime/datetime-tz: class hierarchy, literals, new date API, pl, e... Ovidiu Maxiniuc
04:15 PM User Interface Feature #1898: write a replacement for the CHARVA libTerminal.so as an NCURSES-based Linux shared...
Some thoughts:
1. I don't see anything in addStringNative() that looks protectible. The entire function can be pu...
Greg Shah
12:22 PM User Interface Feature #1898: write a replacement for the CHARVA libTerminal.so as an NCURSES-based Linux shared...
Another word we can use readKey() untouched? May be removing try_again: label which is never used now. Eugenie Lyzenko
12:16 PM User Interface Feature #1898: write a replacement for the CHARVA libTerminal.so as an NCURSES-based Linux shared...
The code inside EVL<< .. EVL>> "braces" duplicates the original CHARVA source. The other code outside "braces" - GCD ... Eugenie Lyzenko
07:29 AM User Interface Feature #1898: write a replacement for the CHARVA libTerminal.so as an NCURSES-based Linux shared...
> 1. The calls detected as never used can be just ignored, we do not need to implement them in charva replacement, co... Greg Shah
01:05 PM Database Feature #1911: add runtime support for sequences
+Note 26 continued+.
From my quick tests, it seems that @message@ is more permissive about errors occurred while eva...
Ovidiu Maxiniuc
09:34 AM Database Feature #1655: add conversion and runtime support for certain dynamic database attributes and met...
All metadata from the _field, _file, _index, _index_field, _user, and _lock tables are being stored in an embedded H2... Eric Faulhaber
09:12 AM Database Feature #1652: add conversion and runtime support for dynamically prepared temp-tables
About field name validation for dynamic tables.
1. Basically you can create a field with any name, and this field ca...
Stanislav Lomany
08:52 AM Database Feature #1652: add conversion and runtime support for dynamically prepared temp-tables
Update - part 3 (Hibernate changes). Stanislav Lomany
04:07 AM Database Feature #1652: add conversion and runtime support for dynamically prepared temp-tables
Update - part 2. Stanislav Lomany

07/16/2013

06:07 PM User Interface Feature #1898: write a replacement for the CHARVA libTerminal.so as an NCURSES-based Linux shared...
The function list used in native NCURSES based code from charva.Toolkit.java(Java end, the JNI names to be implemente... Eugenie Lyzenko
02:30 PM Database Feature #1655: add conversion and runtime support for certain dynamic database attributes and met...
Did some research regarding these methods, focusing on @bufferField()@.
My first thought were to 'capture' the mis...
Ovidiu Maxiniuc
01:43 PM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
My previous update was too big to be manageable so I split it in two chuncks. The first one (attached) does not conta... Ovidiu Maxiniuc
11:14 AM Database Feature #1652: add conversion and runtime support for dynamically prepared temp-tables
Update for review. Allows potentially manipulate DMOs using P2J framework. I'll post remaining parts and make comment... Stanislav Lomany
10:24 AM Database Feature #1588: add conversion and runtime support for embedded SQL
The other option is to look at savepoints sooner rather than later, since this is probably the most correct/supported... Eric Faulhaber
09:50 AM Base Language Feature #1640: implement DOM XML support
What I mean by "compile time" is that it can only be fixed by changing the code and re-compiling.
Yes, this manife...
Greg Shah
09:04 AM Base Language Feature #1640: implement DOM XML support
Greg Shah wrote:
> > I don't like to add empty stub and just specify @readOnlyError@.
>
> The idea is that writi...
Constantin Asofiei
08:44 AM Base Language Feature #1640: implement DOM XML support
> I don't like to add empty stub and just specify @readOnlyError@.
The idea is that writing to such an attribute ...
Greg Shah
03:42 AM Base Language Feature #1640: implement DOM XML support
Evgeny, what rules have you tried and it didn't work? In 10364 rev, adding this rule to @methods_attributes.rules@ (u... Constantin Asofiei

07/15/2013

07:08 PM Base Language Feature #1640: implement DOM XML support
How I can make attribute readonly via rules. I have @kw_chld_num@ attribute, I have tried to find something in common... Evgeny Kiselev
06:33 PM Database Feature #1588: add conversion and runtime support for embedded SQL
Interesting idea.
Please detail your proposed design for bulk delete "undo"-ability (to use the Progress term) for...
Eric Faulhaber
05:24 PM Database Feature #1588: add conversion and runtime support for embedded SQL
Reversible operations for temporary tables are based on multiplex ID value and records are not actually deleted from ... Vadim Nebogatov
05:09 PM User Interface Feature #1898: write a replacement for the CHARVA libTerminal.so as an NCURSES-based Linux shared...
Attached are the versions of the Toolkit.c which are important to review (and the diffs between them).
Some import...
Greg Shah
02:19 PM Database Feature #1911: add runtime support for sequences
I discovered something strange with sequences.
If you define a sequence with negative increment Progress will automa...
Ovidiu Maxiniuc

07/12/2013

07:24 PM Base Language Feature #1649: implement Windows environment/registry access
This is the StanzaIni.java Javadoc adding for more descriptions and little syntax fix for Javadoc in Registry.java. Eugenie Lyzenko
05:36 PM Base Language Feature #1649: implement Windows environment/registry access
This is the final changes for registry access for you to review. Changes comparing to previous update:
1. The native ...
Eugenie Lyzenko
11:56 AM Base Language Feature #1649: implement Windows environment/registry access
The drop includes:
1. Disabling environment related calls and daemon starting for non-Windows environment.
2. Addin...
Eugenie Lyzenko
06:25 PM Database Feature #1588: add conversion and runtime support for embedded SQL
OK, this complicates the implementation.
Based on your findings so far, I think the way we need to handle this is to...
Eric Faulhaber
01:49 PM Database Feature #1588: add conversion and runtime support for embedded SQL
Example undo for DELETE FROM for subtransaction. It works: record exists after bulk delete and undo ... Vadim Nebogatov
02:15 PM Database Feature #1911: add runtime support for sequences
This update package contains a first stage of runtime implementation. Main points:
- fixed name issues (4GL-legacy ...
Ovidiu Maxiniuc
11:59 AM Database Feature #1911: add runtime support for sequences
I am having the following issue.... Ovidiu Maxiniuc

07/11/2013

07:39 PM Base Language Feature #1649: implement Windows environment/registry access
The second drop for today includes Java doc additions for Registry class. Please let me know if this level of details... Eugenie Lyzenko
01:33 PM Base Language Feature #1649: implement Windows environment/registry access
OK.
Greg Shah
12:02 PM Base Language Feature #1649: implement Windows environment/registry access
Finding news for handling registry in Windows 4GL in PUT/GET KEY-VALUE calls.
1. The CHUI and GUI interfaces works t...
Eugenie Lyzenko
08:55 AM Base Language Feature #1649: implement Windows environment/registry access
> 1, 2.
OK, agreed, we need more descriptions here. I'll add detailed javadocs in recent today drop.
> 3.
Th...
Eugenie Lyzenko
06:58 AM Base Language Feature #1649: implement Windows environment/registry access
Code Review 0710a
1. The Registry.java class javadoc needs significant enhancements. The native methods have only...
Greg Shah
08:51 PM Base Language Feature #1649: implement Windows environment/registry access
This drop includes JNI implementation for Windows registry access functions and minor change for JNI signature. Debug... Eugenie Lyzenko
07:14 PM Base Language Feature #1640: implement DOM XML support
Greg Shah wrote:
> > The error comes from method com.goldencode.p2j.util.BinaryData.setMethodSetup() there is a line...
Evgeny Kiselev
06:00 AM Base Language Feature #1640: implement DOM XML support
> The error comes from method com.goldencode.p2j.util.BinaryData.setMethodSetup() there is a line that check if (isAu... Greg Shah
02:40 AM Base Language Feature #1640: implement DOM XML support
Evgeny
> But I have next issue. I have a test:
> @
> set-size(m1) = 10001.
> set-size(m2) = 101.
> d...
Constantin Asofiei
02:37 AM Base Language Feature #1640: implement DOM XML support
Evgeny Kiselev wrote:
> I have one more issue: in the generated code I have: @unwrap(hRoot).readOnlyError("namespace...
Constantin Asofiei
04:58 PM Database Feature #1588: add conversion and runtime support for embedded SQL
Good question. I'm sure a DELETE FROM style bulk delete would be rolled back at a full transaction scope, but we nee... Eric Faulhaber
04:52 PM Database Feature #1588: add conversion and runtime support for embedded SQL
Are there sense of reversible bulk delete for persistent tables? Vadim Nebogatov
03:09 PM Database Feature #1588: add conversion and runtime support for embedded SQL
Vadim Nebogatov wrote:
> Additionally to note 29.
> I have tested @DELETE FOR@ with @WHERE@ clause. I understand i...
Eric Faulhaber
02:01 PM Database Feature #2080: add runtime support for database methods
OK, please check in and distribute this update. Eric Faulhaber
01:58 PM Database Feature #2080: add runtime support for database methods
Regression 20130711_075408 completed with the following results.
Only 2 tests failed: tc_job_002 as expected and ...
Vadim Nebogatov

07/10/2013

07:11 PM Base Language Feature #1640: implement DOM XML support
Greg Shah wrote:
> > It works fine in the 4GL, but in p2j I have next error: ** Can't PUT past the end of the MEMPTR...
Evgeny Kiselev
06:58 PM Base Language Feature #1640: implement DOM XML support
I have one more issue: in the generated code I have: @unwrap(hRoot).readOnlyError("namespace-prefix");@
but I'm expe...
Evgeny Kiselev
04:57 PM Base Language Feature #1640: implement DOM XML support
> It works fine in the 4GL, but in p2j I have next error: ** Can't PUT past the end of the MEMPTR. (4791)
Do you g...
Greg Shah
03:31 PM Base Language Feature #1640: implement DOM XML support
Thanks, it was issue from my side.
But I have next issue. I have a test:
@
set-size(m1) = 10001.
set-siz...
Evgeny Kiselev
02:30 PM Base Language Feature #1640: implement DOM XML support
> IS it issue with my environment ?
Possibly. The code being called is native (JNI) in src/native/memory.c:
JN...
Greg Shah
02:13 PM Base Language Feature #1640: implement DOM XML support
I have found next issue with memptr:
@Caused by: java.lang.NullPointerException
at com.sun.proxy.$Proxy3.is...
Evgeny Kiselev
04:15 AM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
0708b is committed to bzr revision 10363. Constantin Asofiei
09:28 PM Base Language Feature #1649: implement Windows environment/registry access
The special empty parameters cases:
GET-KEY-VALUE
section == "", key != "" -> getting the value for given value n...
Eugenie Lyzenko

07/09/2013

06:53 PM Base Language Feature #1649: implement Windows environment/registry access
This is the fix for issue in EnvironmentOps code for unwrapping character unknown variable. It is possible the code:
...
Eugenie Lyzenko
06:26 PM Base Language Feature #1649: implement Windows environment/registry access
Code Review 0708b
I am fine with the changes. One thing I see is that Javadoc which states @If the parameter is n...
Greg Shah
06:30 PM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
I am fine with the 0708b. You can check it in and distribute it. Greg Shah
05:56 AM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
There was a NPE at server startup fixed in this update. Runtime regression has passed, results are copied in the shar... Constantin Asofiei
06:09 PM Database Feature #2080: add runtime support for database methods
I looked over the test results.
One of the failures, tc_job_002, is expected, as described in Constantin's regress...
Eric Faulhaber
04:44 PM Database Feature #1588: add conversion and runtime support for embedded SQL
Additionally to note 29.
I have tested @DELETE FOR@ with @WHERE@ clause. I understand it is not require to support,...
Vadim Nebogatov
09:45 AM Database Feature #1588: add conversion and runtime support for embedded SQL
avg runtime works properly now Vadim Nebogatov
06:13 AM Database Feature #1588: add conversion and runtime support for embedded SQL
Update SqlGenerator. Stanislav Lomany
06:09 AM Database Feature #1588: add conversion and runtime support for embedded SQL
Fixes the problem with avg. Stanislav Lomany
01:45 PM Base Language Feature #2108: event model rationalization
> 1. What types of handle can be used there?
I found only these handles to be accepted by WAIT-FOR:
* active-window...
Constantin Asofiei
12:43 PM Database Feature #1911: add runtime support for sequences
Taking into consideration that some other data are also managed in P2J using the legacy-name (for example the second ... Ovidiu Maxiniuc
04:34 AM Database Feature #1911: add runtime support for sequences
The actual implementation of sequences does change their name to a SQL-legal name and the old "historical" name is te... Ovidiu Maxiniuc

07/08/2013

06:55 PM Base Language Feature #1649: implement Windows environment/registry access
This drop adds simulation for 4GL CHUI behavior for empty parameters handling. If the value is empty, the key=value p... Eugenie Lyzenko
04:20 PM Base Language Feature #1649: implement Windows environment/registry access
The drop includes a bug fix for section remove code and testcases to check. I had to simulate windowing interface whi... Eugenie Lyzenko
06:32 PM Base Language Feature #2108: event model rationalization
> when using the aforementioned events, the @<handle>@ in the @WAIT-FOR ... OF <handle>@. statement needs to be in a ... Greg Shah
04:23 PM Base Language Feature #2108 (WIP): event model rationalization
I've been looking for common points between the various non-UI events and my findings are these:
# events like @PROC...
Constantin Asofiei
06:31 PM Base Language Feature #1640: implement DOM XML support
1) all methods and attributes are supported now.
2) It's not final version. There is some TODOs and not final versi...
Evgeny Kiselev
02:16 PM Database Feature #1588: add conversion and runtime support for embedded SQL
*Testing @DELETE FROM@ in multi-user environment.*
The behavior does not depend on @SHARE-LOCK | EXCLUSIVE-LOCK | ...
Vadim Nebogatov
06:59 AM Database Feature #1588: add conversion and runtime support for embedded SQL
Stas,
I have attached update vmn_upd20130707a.zip merged to latest revision 10362.
I used example...
Vadim Nebogatov
06:29 AM Database Feature #1588: add conversion and runtime support for embedded SQL
Vadim, can you provide the failing code so I can try to fix Hibernate? Stanislav Lomany
06:25 AM Database Feature #1588: add conversion and runtime support for embedded SQL
I just ported the GCD changes for Hibernate 3.0.5 to Hibernate 4.1.8.
3.0.5 didn't have @functionType@ parameter so...
Stanislav Lomany
06:11 AM Database Feature #1588: add conversion and runtime support for embedded SQL
I have found the reason of NPE in @avg@ runtime support.
Problem is in patching @org.hibernate.hql.internal.ast.Sql...
Vadim Nebogatov
04:56 AM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
Address the problems at note 127. I have one ControlFlowOps fix here too (related to passing byte[] instances for me... Constantin Asofiei

07/07/2013

10:34 AM Database Feature #1652: add conversion and runtime support for dynamically prepared temp-tables
Update for review. Contains changes that allow to run conversion at run time and changes in Hibernate-related rules. Stanislav Lomany

07/06/2013

01:28 AM Database Feature #2080: add runtime support for database methods
Regression seems passed. There are 2-3 errors related with timeout and unexpected EOF. No 7345 errors ("Unable to CRE... Vadim Nebogatov

07/05/2013

06:36 PM Base Language Feature #1649: implement Windows environment/registry access
The next drop implements the empty or unknown values as parameters for USE, GET-KEY-VALUE and PUT-KEY-VALUE for you t... Eugenie Lyzenko
06:11 PM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
> Generally, the use of this success "flag" is a bit confusing. Even after reading your comment, it is not clear why... Constantin Asofiei
04:32 PM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
Code Review 0705b
Generally, I like the improvements and the approach. It seems a bit cleaner than the previous c...
Greg Shah
03:23 PM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
Redesign of the appserver launching. This can be done in several modes:
# via "-p appserver" argument specified at P...
Constantin Asofiei
05:04 PM Conversion Tools Feature #2001: reporting v2.5
The final update ges_upd20130221c.zip resolves issues related to unqualified constant names in TRPL rulesets. It is ... Greg Shah
04:32 PM Database Feature #1588: add conversion and runtime support for embedded SQL
Some intermediate ideas about avg() runtime bugs related with Hibernate.
The reason is not clear so far. I debugged ...
Vadim Nebogatov

07/04/2013

06:13 PM Database Feature #2080: add runtime support for database methods
4GL test results for buffer-delete() outside transaction.
For persistent tables - gives 7345 error ("Unable to CR...
Vadim Nebogatov
05:46 PM Base Language Feature #1649: implement Windows environment/registry access
More testcases have been added. Eugenie Lyzenko
03:43 PM Base Language Feature #1649: implement Windows environment/registry access
Another interesting finding. Consider the situation when there are two keys with same name and different values in on... Eugenie Lyzenko
08:06 PM Base Language Feature #1649: implement Windows environment/registry access
The next drop supports the section duplication. Also I have noted one thing. 4GL adds the new key in section after la... Eugenie Lyzenko
02:46 PM Database Feature #1580: upgrade Hibernate to latest level
I did not find sources. shared/projects does not contain hibernate subfoder...
I see only old shared/projects/p2j/hi...
Vadim Nebogatov
04:44 AM Database Feature #1580: upgrade Hibernate to latest level
OK, I did it. Stanislav Lomany
10:08 AM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
The problem is isolated to a sql like @select toInt(current_date);@. The root cause is related to the changes in @da... Constantin Asofiei
07:50 AM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
Ovidiu seems to have some LOCALE-related problems too, but they look different than Vadim's. All failed tests log an ... Constantin Asofiei

07/03/2013

05:09 PM Base Language Feature #1649: implement Windows environment/registry access
> I'm planning to handle this case as set of the ignored lines not belonging to any sections like comment in the head... Greg Shah
05:07 PM Base Language Feature #1649: implement Windows environment/registry access
> I think that loadIniFile() will need changes to process this properly.
>
> You may need to check if the duplicat...
Eugenie Lyzenko
02:38 PM Base Language Feature #1649: implement Windows environment/registry access
> 2. Have you checked to see what happens if the same key appears more than once in a single section?
>>
>> In this...
Greg Shah
01:24 PM Base Language Feature #1649: implement Windows environment/registry access
> 1. Please put a TODO into StanzaIni to implement the PrintWriter creation the using proper charset (not always just... Eugenie Lyzenko
12:54 PM Base Language Feature #1649: implement Windows environment/registry access
Code Review 0702a
The code looks good. Some comments:
1. Please put a TODO into StanzaIni to implement the Pri...
Greg Shah
08:01 PM Base Language Feature #1649: implement Windows environment/registry access
Additional findings for same section name in one file. Even we have the following:... Eugenie Lyzenko
03:45 PM Database Feature #1580: upgrade Hibernate to latest level
Stas: you must have a full version of the modified 4.1.8Final Hibernate source code on your system, from which you b... Eric Faulhaber
03:24 PM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
How I'm planning to launch appservers:
# in automatic mode, at server startup, it will pick up all appservers config...
Constantin Asofiei
02:01 PM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
Conversion was fine, there are a lot of changes but they were expected.
The runtime test has hung-up for unknown rea...
Ovidiu Maxiniuc
01:08 PM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
I am fine with the 0702a changes. How is testing going? Greg Shah

07/02/2013

07:30 PM Base Language Feature #1649: implement Windows environment/registry access
> 4. What happens if the same section name appears more than once (2, 3 or more times) in the same stanza INI file?
...
Eugenie Lyzenko
05:45 PM Base Language Feature #1649: implement Windows environment/registry access
The new drop contains reworked approach for storing key-value pair and ignored lines separately in the data section. ... Eugenie Lyzenko
10:57 AM Base Language Feature #1649: implement Windows environment/registry access
Yes. Greg Shah
10:56 AM Base Language Feature #1649: implement Windows environment/registry access
> 2. The algorithm for StanzaIni.getContent() is more complicated and slower than needed. Please add a HashMap<String... Eugenie Lyzenko
10:09 AM Base Language Feature #1649: implement Windows environment/registry access
Code Review 0701a
1. I would like some changes made to the Content class and its subsclasses.
* Do not store "n...
Greg Shah
04:00 PM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
Changes in this update:
- merged with latest (today) brz sources
- extra-generated constructor removed
- except...
Ovidiu Maxiniuc
08:35 PM Base Language Feature #1640: implement DOM XML support
1) It's not final version. There is some TODOs and not final version for save/load, i'm working on it now.
2) Also re...
Evgeny Kiselev

07/01/2013

07:02 PM Base Language Feature #1649: implement Windows environment/registry access
> ...That means we implement all the undocumented and crazy behavior.
OK. Understood.
The new drop has been upl...
Eugenie Lyzenko
09:04 AM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
Greg Shah wrote:
> I am fine with the 0701a code. Please check it in and distribute it.
Committed to revision 10362.
Constantin Asofiei
08:30 AM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
I am fine with the 0701a code. Please check it in and distribute it. Greg Shah
08:17 AM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
This is built on top of 28a.zip and fixes issue 1 in note 119 and two other problems (some state needs to be re-appli... Constantin Asofiei

06/30/2013

11:40 AM Base Language Feature #1649: implement Windows environment/registry access
Please implement this exactly like the 4GL actually works. It doesn't matter what the documentation says. We have t... Greg Shah

06/28/2013

06:46 PM Base Language Feature #1649: implement Windows environment/registry access
The investigation results:
> 1. Please do consider if it is possible to shift the EnvironmentAccessor to use String ...
Eugenie Lyzenko
11:38 AM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
I think I understand your point now. These changes don't affect the cleanup that happens during normal termination p... Greg Shah
10:16 AM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
> 1. SecurityManager.resetContext() should probably be only callable from selected portions of the P2J runtime (using... Constantin Asofiei
10:04 AM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
Code Review 0628a
Overall it looks very good. A couple of things:
1. SecurityManager.resetContext() should pro...
Greg Shah
08:19 AM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
Adds State-reset support plus a @TableResultSet.asResultSet@ API which returns a @java.sql.ResultSet@ proxy for the d... Constantin Asofiei

06/27/2013

06:22 PM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
The SharedVariableManager's ContextContainer instances will get cleaned up (i.e. removed) too during reset. What I wa... Constantin Asofiei
06:08 PM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
I don't have a problem with this, but how does the app-created stuff (e.g. shared vars) get cleaned up if we complete... Greg Shah
05:48 PM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
About State-reset: the good news is that 4GL doesn't save any state created by the connect or startup procedures, for... Constantin Asofiei
10:56 AM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
Greg Shah wrote:
> Great! Please distribute the changes and check it in.
Committed to bzr revision 10361.
Constantin Asofiei
10:17 AM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
> see the javadoc for AppServerTest.java class for details about connecting to the appserver from Java code. Please l... Greg Shah
10:04 AM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
Great! Please distribute the changes and check it in. Greg Shah
05:08 AM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
0626a.zip has passed regression testing. Constantin Asofiei
05:50 PM Database Feature #1588: add conversion and runtime support for embedded SQL
Yes, I am just doing this now Vadim Nebogatov
05:48 PM Database Feature #1588: add conversion and runtime support for embedded SQL
Vadim wrote (in email):
> select avg(...) is not logged because exception happens on statement creation time
You ...
Eric Faulhaber
10:15 AM Base Language Bug #2130: fix propath assignment
Fixed in appended update. Committed in bzr as 10360. Eugenie Lyzenko
09:13 AM Base Language Bug #2130: fix propath assignment
You can go ahead and fix the javadoc issue in that one file. Do NOT add a history entry for that change. Then you m... Greg Shah
08:00 PM Base Language Bug #2130: fix propath assignment
There is one javadoc issue found here which does not touch the functionality and does not require re-testing. The pro... Eugenie Lyzenko
10:01 AM Base Language Feature #1649: implement Windows environment/registry access
The code looks good. Some thoughts:
1. Please do consider if it is possible to shift the EnvironmentAccessor to u...
Greg Shah
07:55 AM Database Feature #2000: add conversion support for table and table handle parameters
Stanislav: this is from one of my tests, I think is safe to put it in your low priority queue, as it doesn't affect t... Constantin Asofiei
07:52 AM Database Feature #2000: add conversion support for table and table handle parameters
Constantin, I looked at it and have no quick idea how to fix it. It looks like TableParameters-related code just wasn... Stanislav Lomany

06/26/2013

07:52 PM Base Language Feature #1649: implement Windows environment/registry access
> Please note that the StanzaIni constructors need javadoc.
The new update uploaded. The javadoc missing entries w...
Eugenie Lyzenko
07:21 PM Base Language Feature #1649: implement Windows environment/registry access
> How much more effort do you expect is needed to complete your testcases and the implementation?
This is the seri...
Eugenie Lyzenko
05:08 PM Base Language Feature #1649: implement Windows environment/registry access
Code Review 0626a
I am fine with the code and approach in general. Please note that the StanzaIni constructors ne...
Greg Shah
02:49 PM Base Language Feature #1649: implement Windows environment/registry access
> Please make sure to test cases where "" (empty string) is passed for various parameters AND where unknown value is ... Eugenie Lyzenko
05:09 PM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
Greg Shah wrote:
> > 1. implement context-local reset (for State-reset mode). This is a little tricky, as I think we...
Constantin Asofiei
10:27 AM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
Code Review 0625b
I am fine with the proposed code. There a a couple of minor coding standard issues (explicit im...
Greg Shah
10:06 AM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
> 1. implement context-local reset (for State-reset mode). This is a little tricky, as I think we need to take a snap... Greg Shah
01:54 PM Database Feature #2000: add conversion support for table and table handle parameters
Stanislav, any idea why this code converts badly?... Constantin Asofiei
10:46 AM Database Feature #1588: add conversion and runtime support for embedded SQL
Vadim Nebogatov wrote:
> For change hibernate logging I need to create corresponding cfg/log4j.properties file. As I...
Eric Faulhaber
05:31 AM Database Feature #1588: add conversion and runtime support for embedded SQL
For change hibernate logging I need to create corresponding cfg/log4j.properties file. As I see in note 111 for issue... Vadim Nebogatov

06/25/2013

06:26 PM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
This adds MemoryBuffer support: instances of this class must be used by the Java client code, when performing appserv... Constantin Asofiei
04:46 PM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
I've found the Memptr.java javadoc on windev01 -devsrv01- and it states that "Represents the PROGRESS 4GL MEMPTR data... Constantin Asofiei
04:32 PM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
> BTW, any news on memptr about the "is it safe to store it on the Java heap" issue?
I thought my comments in note...
Greg Shah
04:19 PM Base Language Feature #1608: implement full appserver support (from 4GL clients only)
Eh, I was thinking if the user wanted to provide its own implementation of a ResultSet, but this is unlikely. My real... Constantin Asofiei
06:08 PM Database Feature #1588: add conversion and runtime support for embedded SQL
Eric Faulhaber wrote:
> Have you turned on logging in Hibernate to see what SQL is being generated from this?
Not ...
Vadim Nebogatov
12:20 PM Database Feature #1588: add conversion and runtime support for embedded SQL
Have you turned on logging in Hibernate to see what SQL is being generated from this? Have you debugged into Hiberna... Eric Faulhaber
04:27 PM Database Feature #1652: add conversion and runtime support for dynamically prepared temp-tables
> I have to take a deeper look and dig into the details, but so far, nice work getting this going at runtime! Have yo... Stanislav Lomany
03:12 PM Database Feature #1652: add conversion and runtime support for dynamically prepared temp-tables
I have to take a deeper look and dig into the details, but so far, nice work getting this going at runtime! Have you ... Eric Faulhaber
05:24 AM Database Feature #1652: add conversion and runtime support for dynamically prepared temp-tables
Test update that generates DMO classes (Java code) and mappings (hbm.xml) at server run time using conversion engine.... Stanislav Lomany
04:15 PM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
One minor issue exists in the generated code. Here is an example:... Greg Shah
01:31 PM Base Language Feature #1584: add conversion and runtime support for INT64 and DATETIME data types
I am putting this code through conversion and runtime regression testing right now. I had to modify the datetime cla... Greg Shah
10:10 AM Base Language Feature #1649: implement Windows environment/registry access
The code in 0621a is good. The findings are also interesting. Please make sure to test cases where "" (empty string... Greg Shah

06/24/2013

07:59 PM Base Language Feature #1649: implement Windows environment/registry access
More INI files interesting findings:
GET_KEY_VALUE for missing entry gives empty string, not error or NULL string.
...
Eugenie Lyzenko
 

Also available in: Atom