Project

General

Profile

Activity

From 10/19/2019 to 11/17/2019

11/15/2019

02:06 PM Feature #3908 (Closed): implement browse column VIEW-AS COMBO-BOX
Greg Shah
01:53 PM Feature #3908: implement browse column VIEW-AS COMBO-BOX
Gaps were updated in 3809e rev 11383. Quirks are documented in #4075. Stanislav Lomany
12:39 PM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
Doing tests for ImageList OCX widget conversion I found another interesting case:... Marius Gligor

11/14/2019

03:56 PM Bug #4416: scrollbar issues
The list of open issues:
# Scrolling by pressing an area between thumb and a scroll arrow (page down/up) doesn't wo...
Greg Shah
03:55 PM Bug #4416 (New): scrollbar issues
Greg Shah
12:58 PM Feature #3908 (WIP): implement browse column VIEW-AS COMBO-BOX
Greg Shah
12:57 PM Feature #3908: implement browse column VIEW-AS COMBO-BOX
Stanislav Lomany wrote:
> Missing conversion:
> @[ MAX-CHARS characters ] [ AUTO-COMPLETION [ UNIQUE-MATCH ] ]@
> ...
Greg Shah
12:54 PM Bug #4415: combo-box item selection via screen-value assignment has deviations
A regular combo in FWD with decimals should round decimals according to the format prescision before cmparision. E.g.... Greg Shah
12:54 PM Bug #4415 (New): combo-box item selection via screen-value assignment has deviations
Greg Shah
10:30 AM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
Unfortunately, after many attempts, I concluded that using existing conversion rules from section @4@ in @ocx_convers... Marius Gligor
07:17 AM Bug #4126 (Closed): Discrepancy in FWD runtime data
Greg Shah

11/13/2019

12:25 PM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
> Is .ast file the input and after conversion the output as well?
Yes. It is read as the input to create the AST...
Greg Shah
11:43 AM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
Hynek Cihlar wrote:
> Marius Gligor wrote:
> > 1. The output of conversion is in the @.ast@ file. As I understood w...
Marius Gligor
11:35 AM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
Marius Gligor wrote:
> 1. The output of conversion is in the @.ast@ file. As I understood we have 2 trees, @main@ an...
Hynek Cihlar
11:17 AM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
For @chControlFrame:ImageList:ListImages:ADD(chControlFrame:ImageList:ListImages:COUNT + 1, "2", 99).@ expression, do... Marius Gligor
12:07 PM Bug #3597: fix direct manipulation problems related to MOVABLE, SELECTED, SELECTABLE and misc wid...
The changes from 3782a are in trunk (12 months ago). The rest of the work remains open. Greg Shah

11/12/2019

03:05 PM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
Hynek Cihlar wrote:
> Marius Gligor wrote:
> > What I don't understand is how we have to deal with @ImageList@ nod...
Hynek Cihlar
02:59 PM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
Marius Gligor wrote:
> What I don't understand is how we have to deal with @ImageList@ node. So far I ignored that ...
Hynek Cihlar
01:34 PM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
Ovidiu Maxiniuc wrote:
> The @chain@ is used (or should be used) only when the first "link" (in this case @hImageLis...
Marius Gligor
01:22 PM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
Marius Gligor wrote:
> Hynek Cihlar wrote:
> > Marius Gligor wrote:
> > > Unfortunately the following generated Ja...
Marius Gligor
01:15 PM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
The @chain@ is used (or should be used) only when the first "link" (in this case @hImageList@) is a @comhandle@. Some... Ovidiu Maxiniuc
11:13 AM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
Hynek Cihlar wrote:
> Marius Gligor wrote:
> > Unfortunately the following generated Java code is not a valid code ...
Marius Gligor
10:08 AM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
Marius Gligor wrote:
> I did a simple test using a simple walk rule:
>
> [...]
>
> and I've got:
> [...]
>
...
Hynek Cihlar
10:04 AM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
Marius Gligor wrote:
> Unfortunately the following generated Java code is not a valid code because @hImageList@ ia a...
Hynek Cihlar
09:29 AM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
I did a simple test using a simple walk rule:... Marius Gligor
08:05 AM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
I'm working to define conversion rules for OCX statements which combine @handle@ calls with @com-handle@ calls.
So f...
Marius Gligor

11/11/2019

09:16 AM Feature #4113 (WIP): enable upload of files from the browser (in the web clients) using SYSTEM-DI...
Hynek Cihlar

11/08/2019

04:26 PM Feature #4394: add some frame options and attributes
Add support for:
* @FRAME-NAME@ attribute (this is actually a generic widget attribute but it will need to be impl...
Greg Shah
04:23 PM Feature #4394 (Closed): add some frame options and attributes
Greg Shah
04:05 PM Feature #4393: add TITLE-DCOLOR attribute support
Implement @TITLE-DCOLOR@ support (and also @TITLE-FGCOLOR@ and @TITLE-BGCOLOR@) also make sense to implement at this ... Greg Shah
04:01 PM Feature #4393 (Closed): add TITLE-DCOLOR attribute support
Greg Shah

11/07/2019

09:27 AM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
Hynek Cihlar wrote:
> Do you refer to functionality used in a GUI app?
So far I worked only in p2j project.
Marius Gligor
09:21 AM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
Marius Gligor wrote:
> Hynek, please let me know:
> Is this enough to use ImageList with TreeView?
AFAIK this i...
Hynek Cihlar
09:16 AM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
1. Looking over initial ImageList OCX replacement implementation I found:
- @ImageListWidget@ is implemented as a wi...
Marius Gligor
04:12 AM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
Hynek Cihlar wrote:
> The idea was to have the imagelist ocx converted as a regular legacy widget/resource, so that ...
Hynek Cihlar
03:54 AM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
Marius Gligor wrote:
> The question is, should we add a new rule to evaluate this kind of expression or we can chang...
Hynek Cihlar
04:17 AM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
Code review 4077a revisions 11342 and 11341. The changes are good. My only concern is #4077-24, which still remains. Hynek Cihlar
03:22 AM Bug #4135: high dpi screens display in low dpi
4135a was updated up to rev. 11344 over trunc rev 11338. Sergey Ivanovskiy
02:15 AM Bug #4135: high dpi screens display in low dpi
Planning to rebase now. The attached png files have comments so that DPR2 in their names means device pixel ratio 2 a... Sergey Ivanovskiy

11/06/2019

02:22 PM Bug #4135: high dpi screens display in low dpi
Which one is with normal DPI? Also, please rebase 4135a when you can. Constantin Asofiei
07:28 AM Bug #4135: high dpi screens display in low dpi
Please look at these 3 pictures. Two of them were done with Print Screen key and the last one was done with @Take a S... Sergey Ivanovskiy
06:33 AM Bug #4135: high dpi screens display in low dpi
Constantin Asofiei wrote:
> Related to your current scaling approach: the issue in #4135-30, is it related to drawin...
Sergey Ivanovskiy
06:19 AM Bug #4135: high dpi screens display in low dpi
Can you post an image with e.g. Hotel GUI on a normal screen and on a HDPI screen?
Related to your current scaling...
Constantin Asofiei
04:49 AM Bug #4135: high dpi screens display in low dpi
The correct way to draw on the high resolution screen is to draw scaled drawings on the java side.
The java script c...
Sergey Ivanovskiy
09:44 AM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
1. Today I tried to convert some UAST tests for IMAGELIST OCX component and I found an expression like:... Marius Gligor
09:07 AM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
At this time, please minimize the work on this to only those features needed for the application being converted. I ... Greg Shah
08:37 AM Feature #3858: implement a widget that replaces the Microsoft ProgressBar OCX (VB 6.0 common cont...
Hynek: Please do a code review. Greg Shah

11/05/2019

02:11 PM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
While checking the diff I found missed changes in @progress.g@ due to renaming. So the committed rev 11342 (4077a) lo... Sergey Ivanovskiy
02:03 PM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
Sergey Ivanovskiy wrote:
> Hynek Cihlar wrote:
> > Sergey Ivanovskiy wrote:
> > > Yes, @uri.normalize()@ should do...
Hynek Cihlar
02:02 PM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
Hynek Cihlar wrote:
> Sergey Ivanovskiy wrote:
> > Yes, @uri.normalize()@ should do it.
>
> So @toASCIIString()@...
Sergey Ivanovskiy
01:58 PM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
Sergey Ivanovskiy wrote:
> Yes, @uri.normalize()@ should do it.
So @toASCIIString()@ is not needed, correct?
Hynek Cihlar
01:55 PM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
Yes, @uri.normalize()@ should do it.
Please review the committed revision 11341 that fixed the rest of the found i...
Sergey Ivanovskiy
12:36 PM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
Sergey Ivanovskiy wrote:
> This change @from urlString to uri.normalize().toASCIIString()@ is needed because @uri@ c...
Hynek Cihlar
11:56 AM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
This change @from urlString to uri.normalize().toASCIIString()@ is needed because @uri@ can point to the temporary fi... Sergey Ivanovskiy
11:34 AM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
Hynek, it looks like you examined the old code because I did this change in rev 11340 - changed this constant @file:@... Sergey Ivanovskiy
11:28 AM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
Sergey Ivanovskiy wrote:
> Hynek Cihlar wrote:
> >I don't think we need to fallback in a ~/fwd dir for a temp locat...
Hynek Cihlar
10:48 AM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
Hynek Cihlar wrote:
>I don't think we need to fallback in a ~/fwd dir for a temp location. The Java runtime uses jav...
Sergey Ivanovskiy

11/04/2019

05:20 PM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
Code review 4077a.
@KW_NOT_EMBEDDED@ should be shortened to 11 chars.
coping => copying
Does it make sense t...
Hynek Cihlar
01:16 PM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
Hynek Cihlar wrote:
> The correct spelling should be NOT-EMBEDDED-CONTENT.
Please review the committed revision 113...
Sergey Ivanovskiy
11:29 AM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
Hynek Cihlar wrote:
> Sergey Ivanovskiy wrote:
> > Is there a way to get rid of coping the target file content into...
Sergey Ivanovskiy
10:59 AM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
Sergey Ivanovskiy wrote:
> NOT-EMBEDED-CONTENT represents that the given resource is not embedded into template ...
Hynek Cihlar
10:59 AM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
Sergey Ivanovskiy wrote:
> Is there a way to get rid of coping the target file content into a temporary file?
Can...
Hynek Cihlar
08:00 AM Feature #4077 (Review): add option to OPEN-MIME-RESOURCE to delete the original source file when ...
Please review the committed revision 11339 (4077a). Now @OPEN-MIME-RESOURCE@ is defined by... Sergey Ivanovskiy
03:28 AM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
For the web client we copy the file and then deliver its copied content. This temporary file is deleted only after it... Sergey Ivanovskiy

11/01/2019

06:23 PM Feature #3858: implement a widget that replaces the Microsoft ProgressBar OCX (VB 6.0 common cont...
Marius, note that @drop-procedure@ is no longer part of the conversion logic. Removing the init method was problemati... Hynek Cihlar
06:01 PM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
Sergey Ivanovskiy wrote:
> However, for Linux we can use @lsof | grep "absolute file path"@ in order to check if thi...
Hynek Cihlar
05:53 PM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
Prepared this diff for the commit candidate. Sergey Ivanovskiy
05:02 PM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
However, for Linux we can use @lsof | grep "absolute file path"@ in order to check if this file is opened. Another wa... Sergey Ivanovskiy
05:29 AM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
For the swing client we open the target file by external programs which don't send us notifications that the target f... Sergey Ivanovskiy
12:09 PM Feature #3856: implement a widget that replaces the Microsoft ImageList OCX (VB 6.0 common control)
h2. ImageList OCX details
Unfortunately we cannot use the commons controls from @mscomctl.ocx@ to create OE uast t...
Marius Gligor

10/31/2019

10:50 AM Feature #4077: add option to OPEN-MIME-RESOURCE to delete the original source file when the send ...
The current implementation uses @WebBrowserManager.openMimeResource@ to generate java code for @OPEN-MIME-RESOURCE@. ... Sergey Ivanovskiy
10:38 AM Feature #3858: implement a widget that replaces the Microsoft ProgressBar OCX (VB 6.0 common cont...
1. I've finished to write the PROGRESS-BAR widget documentation
("Progress Indicator Widget and OCX Replacement":/p...
Marius Gligor
05:46 AM Bug #4377: Custom widget font does not influence the widget size and doesn't propagate from frame...
Layout calculation of some widgets depends on the set font, but only font number is considered, not the custom font. ... Hynek Cihlar
05:40 AM Bug #4377: Custom widget font does not influence the widget size and doesn't propagate from frame...
When font number is assigned to a widget, the widget size is adapted to accommodate the assigned font size. This does... Hynek Cihlar
05:38 AM Bug #4377 (New): Custom widget font does not influence the widget size and doesn't propagate from...
Hynek Cihlar

10/30/2019

10:18 AM Feature #4077 (WIP): add option to OPEN-MIME-RESOURCE to delete the original source file when the...
Sergey Ivanovskiy

10/29/2019

05:29 PM Bug #4135: high dpi screens display in low dpi
Committed revision 11343 (4135a) tried to fix the drawing issue from #4135-25. The root cause seems to be related to ... Sergey Ivanovskiy
05:21 PM Bug #4135 (Review): high dpi screens display in low dpi
Sergey Ivanovskiy
11:25 AM Feature #3858: implement a widget that replaces the Microsoft ProgressBar OCX (VB 6.0 common cont...
Some thoughts regarding @PROGRESS-BAR@ implementation.
@PROGRESS-BAR@ widget is designed to replace the Microsoft ...
Marius Gligor

10/28/2019

09:29 AM Bug #4135: high dpi screens display in low dpi
OK. Please look at this screen shot.
!DemoWidgets1.png!
Sergey Ivanovskiy
09:06 AM Bug #4135: high dpi screens display in low dpi
> If I understand correctly we developed sub pixel conception for these half integers
No. The reason for the shif...
Greg Shah

10/27/2019

01:00 PM Feature #3858: implement a widget that replaces the Microsoft ProgressBar OCX (VB 6.0 common cont...
There might be issues in Hotel GUI, this is meant (for now) to work with 4069a. Constantin Asofiei
07:28 AM Bug #4135: high dpi screens display in low dpi
I checked a similar approach in which the offscreen canvas remains unscaled and when it is drawn onto the screen canv... Sergey Ivanovskiy

10/25/2019

11:25 AM Feature #3858: implement a widget that replaces the Microsoft ProgressBar OCX (VB 6.0 common cont...
Hynek Cihlar wrote:
> Marius Gligor wrote:
> > It's possible to insert an AST node before another node, when both a...
Marius Gligor
10:06 AM Feature #3858: implement a widget that replaces the Microsoft ProgressBar OCX (VB 6.0 common cont...
Marius Gligor wrote:
> It's possible to insert an AST node before another node, when both are siblings nodes?
You...
Hynek Cihlar
09:42 AM Feature #3858: implement a widget that replaces the Microsoft ProgressBar OCX (VB 6.0 common cont...
I'm struggle to convert my uast test with Hotel GUI application but did not work. Doing many tests and conversions fi... Marius Gligor
05:05 AM Bug #4135: high dpi screens display in low dpi
In this article another method to scale images is described. https://phoboslab.org/log/2012/09/drawing-pixels-is-hard Sergey Ivanovskiy

10/24/2019

12:38 PM Bug #4135: high dpi screens display in low dpi
Committed revision 11338 (4135a) has dirty changes that show the kind of changes that should be done. If we uncomment... Sergey Ivanovskiy
09:56 AM Bug #4135: high dpi screens display in low dpi
Now debugging this way to scale the given image on the javascript client, but as an alternative solution we can scale... Sergey Ivanovskiy
09:44 AM Bug #4135: high dpi screens display in low dpi
> I suspect that this approach can be slower than if the client gets an original image of proper quality. The other s... Greg Shah
05:46 AM Bug #4135: high dpi screens display in low dpi
Sergey Ivanovskiy wrote:
> Greg Shah wrote:
> > Can you just scale the smaller images into larger ones on the Javas...
Sergey Ivanovskiy
05:23 AM Bug #4135: high dpi screens display in low dpi
Greg Shah wrote:
> Can you just scale the smaller images into larger ones on the Javascript side? It seems useless ...
Sergey Ivanovskiy

10/23/2019

05:21 PM Bug #4135: high dpi screens display in low dpi
Can you just scale the smaller images into larger ones on the Javascript side? It seems useless to have Java send mo... Greg Shah
04:51 PM Bug #4135: high dpi screens display in low dpi
Created a new task branch 4135a for these changes. It needs to add new functionality to the java client that should s... Sergey Ivanovskiy

10/21/2019

06:43 PM Bug #4135: high dpi screens display in low dpi
I fixed coordinates for drawing primitives and realized that for this task we need to support icons and images that a... Sergey Ivanovskiy
11:35 AM Bug #4135: high dpi screens display in low dpi
This approach should work properly but following his way I got drawing issues. Then I tested it via this standalone t... Sergey Ivanovskiy
11:18 AM Feature #3858: implement a widget that replaces the Microsoft ProgressBar OCX (VB 6.0 common cont...
@IVBDataObject@ and @IVBDataObjectFiles@ are COM interfaces used to implement Drag & Drop.
1. On server side I imp...
Marius Gligor

10/20/2019

11:28 AM Bug #4135: high dpi screens display in low dpi
I suppose to detect high resolution screens by this media query and use it to define scaling factor 2.... Sergey Ivanovskiy
11:08 AM Bug #4135: high dpi screens display in low dpi
Sergey Ivanovskiy wrote:
> It seems that for high resolution screens we should follow this example from https://deve...
Sergey Ivanovskiy
 

Also available in: Atom