[JBoss JIRA] (JBIDE-19824) HTML5 Palette: Add JS/CSS libs to project via Bower
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19824?page=com.atlassian.jira.plugi... ]
Alexey Kazakov updated JBIDE-19824:
-----------------------------------
Fix Version/s: 4.3.0.Beta2
(was: 4.3.0.Beta1)
> HTML5 Palette: Add JS/CSS libs to project via Bower
> ---------------------------------------------------
>
> Key: JBIDE-19824
> URL: https://issues.jboss.org/browse/JBIDE-19824
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: jsp/jsf/xml/html source editing
> Reporter: Alexey Kazakov
> Assignee: Viacheslav Kabanovich
> Labels: new_and_noteworthy
> Fix For: 4.3.0.Beta2
>
>
> If you insert an html5 component (html5 core, ionic, jQueryMobile) from our HTML5 Palette then the corresponding JS/CSS links are inserted (if needed) to the page too. But currently we insert direct links to remote JSs/CSSs.
> As soon as JBIDE-19795 is done we can use the Bower tooling to install the needed libs.
> It may be a checkbox in the wizard which will tell us to use Bower when inserting the JS/CSS.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 10 months
[JBoss JIRA] (JBIDE-19573) Improve test coverage for CDI 1.1/1.2 Annotated beans
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19573?page=com.atlassian.jira.plugi... ]
Alexey Kazakov updated JBIDE-19573:
-----------------------------------
Fix Version/s: 4.3.0.Beta2
(was: 4.3.0.Beta1)
> Improve test coverage for CDI 1.1/1.2 Annotated beans
> -----------------------------------------------------
>
> Key: JBIDE-19573
> URL: https://issues.jboss.org/browse/JBIDE-19573
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: cdi
> Affects Versions: 4.3.0.Alpha1
> Reporter: Alexey Kazakov
> Assignee: Viacheslav Kabanovich
> Fix For: 4.3.0.Beta2
>
>
> Currently we test CDI 1.1/1.2 annotated beans only for CDI as-you-type model. (CDI model snapshots for files which are being edited). We should test it for regular CDI projects/models which are built by CDI builder.
> I see it in CDI11AnnotatedTest. Maybe more tests effected.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 10 months
[JBoss JIRA] (JBIDE-17727) CSS content assist for class attribute in custom HTML tags
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17727?page=com.atlassian.jira.plugi... ]
Alexey Kazakov reassigned JBIDE-17727:
--------------------------------------
Assignee: Alexey Kazakov (was: Victor Rubezhny)
> CSS content assist for class attribute in custom HTML tags
> ----------------------------------------------------------
>
> Key: JBIDE-17727
> URL: https://issues.jboss.org/browse/JBIDE-17727
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: jsp/jsf/xml/html source editing
> Affects Versions: 4.2.0.Beta2
> Reporter: Alexey Kazakov
> Assignee: Alexey Kazakov
> Fix For: 4.3.0.Beta2
>
>
> Right now, content assist for CSS classes works only for standart HTML tags. But some frameworks use custom html tags (AngularJS and its extensions like ionic framework for example). It would be useful if our CSS content assist also worked for such tags.
> For example:
> {code}
> <ion-tabs class="tabs-positive tabs-icon-only">
> <ion-tab title="Home" icon-on="ion-ios7-filing" icon-off="ion-ios7-filing-outline">
> </ion-tab>
> </ion-tabs>
> {code}
> Currently the content assis works only if you change <ion-tabs> to <div> or any other standart HTML tags.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 10 months
[JBoss JIRA] (JBIDE-17727) CSS content assist for class attribute in custom HTML tags
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17727?page=com.atlassian.jira.plugi... ]
Alexey Kazakov updated JBIDE-17727:
-----------------------------------
Fix Version/s: 4.3.0.Beta2
(was: 4.3.0.Beta1)
> CSS content assist for class attribute in custom HTML tags
> ----------------------------------------------------------
>
> Key: JBIDE-17727
> URL: https://issues.jboss.org/browse/JBIDE-17727
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: jsp/jsf/xml/html source editing
> Affects Versions: 4.2.0.Beta2
> Reporter: Alexey Kazakov
> Assignee: Alexey Kazakov
> Fix For: 4.3.0.Beta2
>
>
> Right now, content assist for CSS classes works only for standart HTML tags. But some frameworks use custom html tags (AngularJS and its extensions like ionic framework for example). It would be useful if our CSS content assist also worked for such tags.
> For example:
> {code}
> <ion-tabs class="tabs-positive tabs-icon-only">
> <ion-tab title="Home" icon-on="ion-ios7-filing" icon-off="ion-ios7-filing-outline">
> </ion-tab>
> </ion-tabs>
> {code}
> Currently the content assis works only if you change <ion-tabs> to <div> or any other standart HTML tags.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 10 months
[JBoss JIRA] (JBIDE-18113) Wrong 'dirty regions' values passed to the 'as-you-type' validator
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18113?page=com.atlassian.jira.plugi... ]
Alexey Kazakov updated JBIDE-18113:
-----------------------------------
Fix Version/s: 4.3.x
4.4.x
(was: 4.3.0.Beta1)
> Wrong 'dirty regions' values passed to the 'as-you-type' validator
> ------------------------------------------------------------------
>
> Key: JBIDE-18113
> URL: https://issues.jboss.org/browse/JBIDE-18113
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: common/jst/core
> Affects Versions: 4.2.0.Beta3
> Reporter: Xavier Coulon
> Assignee: Victor Rubezhny
> Fix For: 4.3.x, 4.4.x
>
>
> The as-you-type validator received an array of dirty regions that can be wrong when the region contains a String.
> Steps to reproduce:
> - grab the latest changes in jbosstools-webservices repo
> - start a runtime workbench
> - create a new dynamic web project targeting Wildfly 8.x (the example below uses JAX-RS 2.0 APIs)
> - add support for JAX-RS
> - create a class with the following content:
> {code}
> package jaxrs;
> import java.io.IOException;
> import javax.ws.rs.GET;
> import javax.ws.rs.Path;
> import javax.ws.rs.PathParam;
> import javax.ws.rs.container.ContainerRequestContext;
> import javax.ws.rs.container.ContainerResponseContext;
> import javax.ws.rs.container.ContainerResponseFilter;
> import javax.ws.rs.core.Response;
> import javax.ws.rs.ext.Provider;
> @Path("/")
> public class RestService {
>
> @GET
> @Path("/{ide}")
> public Response get(@PathParam("ide") String id) {
> System.out.println("Just passed in method");
> return Response.ok().build();
> }
>
> @Provider
> public static class AuthorizedResponseFilter implements ContainerResponseFilter {
> @Override
> public void filter(ContainerRequestContext arg0,
> ContainerResponseContext arg1) throws IOException {
> System.out.println("Just passed in filter");
> }
> }
> }
> {code}
> - In your development workspace, open {{org.jboss.tools.ws.jaxrs.ui.internal.validation.JaxrsMetamodelValidator}} and put a breakpoint on line 441
> - Back in the runtime workspace, remove the @Provider annotation and see the value for 'dirtyRegion'. In my last test, this one alone looked good (offset=559)
> - DO NOT SAVE THE FILE
> - remove the @Path("/") annotation on the RestService type, this time you should have *4* dirty regions, with unexpected values (ie, pointing at other locations in the document).
> As [~akazakov] commented in a private mail:
> {quote}
> JaxrsMetamodelValidator implements IJavaElementValidator and IStringValidator.
> When you remove @Provider then you get the region with offset of the removed JavaElement because you validator implements IJavaElementValidator.
> This interface tells our validation manager that the validator is interested in validating of changes in java elements.
> When you remove @Path("/") you also remove a string ("/") and since your validator implements IStringValidator this validator is notified and you got a list of the regions of all the strings of the file: 4 regions in your case.
> The problem is that you also should have been notified about removed java element because this annotation is not just a String. It's also a java element. That looks like a bug for me.
> So if you remove any code with a string inside then you will get a list of strings of the file (but only if you implements IStringValidator).
> If you don't implement IStringValidator and remove any java element which contains a string you won't be notified at all. This is a bug.
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 10 months
[JBoss JIRA] (JBIDE-19446) Completion proposal computers implementations should check content type before doing other computations
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19446?page=com.atlassian.jira.plugi... ]
Alexey Kazakov updated JBIDE-19446:
-----------------------------------
Fix Version/s: 4.3.x
(was: 4.3.0.Beta1)
> Completion proposal computers implementations should check content type before doing other computations
> -------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-19446
> URL: https://issues.jboss.org/browse/JBIDE-19446
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: batch, cdi
> Affects Versions: 4.3.0.Alpha1
> Reporter: Viacheslav Kabanovich
> Assignee: Viacheslav Kabanovich
> Fix For: 4.3.x
>
>
> BeansXmlCompletionProposalComputer should do computations only for beans.xml.
> BatchJobCompletionProposalComputer should do computations only for batch job xml.
> These computers are registered for different content types because Eclipse may bind any matching content type to file, including any xml content type. Implementation should start with the check if current xml file is relevant.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 10 months
[JBoss JIRA] (JBIDE-19332) batch editor seems slow even on small file
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19332?page=com.atlassian.jira.plugi... ]
Alexey Kazakov commented on JBIDE-19332:
----------------------------------------
We have to investigate this and report (and provide a patch if possible) to Sapphire.
> batch editor seems slow even on small file
> ------------------------------------------
>
> Key: JBIDE-19332
> URL: https://issues.jboss.org/browse/JBIDE-19332
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: batch, upstream
> Affects Versions: 4.3.0.Alpha1
> Reporter: Max Rydahl Andersen
> Assignee: Viacheslav Kabanovich
> Fix For: 4.3.0.Beta2
>
>
> I created a file and named it job.xml with the following content:
> {code}
> <job id="loadRealmAuctionFileJob" xmlns="http://xmlns.jcp.org/xml/ns/javaee" version="1.0">
> <step id="loadRealmAuctionFileStep">
> <batchlet ref="loadAuctionFilesBatchlet">
> <properties>
> <property name="region" value="#{partitionPlan['region']}"/>
> <property name="target" value="#{partitionPlan['target']}"/>
> </properties>
> </batchlet>
> <partition>
> <plan partitions="2">
> <properties partition="0">
> <property name="region" value="US"/>
> <property name="target" value="http://us.battle.net/api/wow/auction/data/"/>
> </properties>
> <properties partition="1">
> <property name="region" value="EU"/>
> <property name="target" value="http://eu.battle.net/api/wow/auction/data/"/>
> </properties>
> </plan>
> </partition>
> </step>
> </job>
> {code}
> Small file, shouldn't be slow but when I click and/or scroll up/down in the UI it seem to be doing "something" and it feels sluggish.
> Here is a recording of me scrolling up and down with keyboard. https://v.usetapes.com/PoUrCOUNty
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 10 months
[JBoss JIRA] (JBIDE-19332) batch editor seems slow even on small file
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19332?page=com.atlassian.jira.plugi... ]
Alexey Kazakov updated JBIDE-19332:
-----------------------------------
Component/s: upstream
> batch editor seems slow even on small file
> ------------------------------------------
>
> Key: JBIDE-19332
> URL: https://issues.jboss.org/browse/JBIDE-19332
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: batch, upstream
> Affects Versions: 4.3.0.Alpha1
> Reporter: Max Rydahl Andersen
> Assignee: Viacheslav Kabanovich
> Fix For: 4.3.0.Beta2
>
>
> I created a file and named it job.xml with the following content:
> {code}
> <job id="loadRealmAuctionFileJob" xmlns="http://xmlns.jcp.org/xml/ns/javaee" version="1.0">
> <step id="loadRealmAuctionFileStep">
> <batchlet ref="loadAuctionFilesBatchlet">
> <properties>
> <property name="region" value="#{partitionPlan['region']}"/>
> <property name="target" value="#{partitionPlan['target']}"/>
> </properties>
> </batchlet>
> <partition>
> <plan partitions="2">
> <properties partition="0">
> <property name="region" value="US"/>
> <property name="target" value="http://us.battle.net/api/wow/auction/data/"/>
> </properties>
> <properties partition="1">
> <property name="region" value="EU"/>
> <property name="target" value="http://eu.battle.net/api/wow/auction/data/"/>
> </properties>
> </plan>
> </partition>
> </step>
> </job>
> {code}
> Small file, shouldn't be slow but when I click and/or scroll up/down in the UI it seem to be doing "something" and it feels sluggish.
> Here is a recording of me scrolling up and down with keyboard. https://v.usetapes.com/PoUrCOUNty
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 10 months
[JBoss JIRA] (JBIDE-19332) batch editor seems slow even on small file
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19332?page=com.atlassian.jira.plugi... ]
Alexey Kazakov updated JBIDE-19332:
-----------------------------------
Fix Version/s: 4.3.0.Beta2
(was: 4.3.0.Beta1)
> batch editor seems slow even on small file
> ------------------------------------------
>
> Key: JBIDE-19332
> URL: https://issues.jboss.org/browse/JBIDE-19332
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: batch, upstream
> Affects Versions: 4.3.0.Alpha1
> Reporter: Max Rydahl Andersen
> Assignee: Viacheslav Kabanovich
> Fix For: 4.3.0.Beta2
>
>
> I created a file and named it job.xml with the following content:
> {code}
> <job id="loadRealmAuctionFileJob" xmlns="http://xmlns.jcp.org/xml/ns/javaee" version="1.0">
> <step id="loadRealmAuctionFileStep">
> <batchlet ref="loadAuctionFilesBatchlet">
> <properties>
> <property name="region" value="#{partitionPlan['region']}"/>
> <property name="target" value="#{partitionPlan['target']}"/>
> </properties>
> </batchlet>
> <partition>
> <plan partitions="2">
> <properties partition="0">
> <property name="region" value="US"/>
> <property name="target" value="http://us.battle.net/api/wow/auction/data/"/>
> </properties>
> <properties partition="1">
> <property name="region" value="EU"/>
> <property name="target" value="http://eu.battle.net/api/wow/auction/data/"/>
> </properties>
> </plan>
> </partition>
> </step>
> </job>
> {code}
> Small file, shouldn't be slow but when I click and/or scroll up/down in the UI it seem to be doing "something" and it feels sluggish.
> Here is a recording of me scrolling up and down with keyboard. https://v.usetapes.com/PoUrCOUNty
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 10 months