Re: Re: Building a repository front end with Royale

2017-12-03 Thread Dany Dhondt

Hi Piotr

Thx for the help. I'm looking forward to version 1.7.0.
Also, MS doesn't recongnize the Royale SDK as valid [1], so it can't activate 
code completion for as. Will this be fixed in the next version?

As for the examples, how can I build them in Moonshine? None of the examples 
has a mxml file in the src folder and Moonshine needs that. Do I have to build 
them first? And if so, how?

Should I rename this thread to 'Royale setup' or something similar?

thx,
Dany

[1] http://www.archemedia.eu/royale/img1.png



Op 3 dec 2017 om 11:37 uur uur schreef Piotr Zarzycki 
:

Hi Dany,

Thanks for trying Moonshine! We will release 1.7.0 version in the next week
or so. You will have many useful things. Examples should be available in
the downloaded royale-asjs package or on our github [1]. If you will have
any problem with recognizing downloaded SDK in Moonshine you can download
binary package from following links [2] (js only version) [3] (js and swf
version).

[1] https://github.com/apache/royale-asjs/tree/develop/examples/royale
[2]
http://apacheflexbuild.cloudapp.net:8080/job/royale-asjs-jsonly/lastSuccessfulBuild/artifact/out/
[3]
http://apacheflexbuild.cloudapp.net:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/

Thanks, Piotr


2017-12-03 10:33 GMT+01:00 Dany Dhondt :

Thanks Piotr, Harbs for your answers.

I decided to give it a shot during my spare time.
I updated / installed everything I should (maven, node, jdk, …) and
installed Moonshine IDE. I’ll try IntelliJ later because it’s more complex
to configure I guess.

Also I installed royale-compiler, ..asjs and …typedefs through npm.

Since Moonshine at this point will only be able to start from an existing
project, I’d like to know where to find ready-to-use example projects?

@harbs: it will be a multipage project! Does Royale support viewstacks? Or
how multiple pages would be managed?

thx,
Dany





Op 1 dec. 2017, om 12:47 heeft Piotr Zarzycki 

het volgende geschreven:


Hi Dany,

First of all this is wonderful news that you are considering Royale as

one

of the technology to build your application. Answering to your questions

(I

think others will shot you also with more thoughts)

*- will Royale be production ready by february/march?*
Apache Royale team is consist with volunteers which in most cases not
working as a full time developers on framework. In that case it is hard

to

answer whether we will be ready for the production. - I can say that in
some way we are now, but there are plenty of things to do to be more

robust

and easy to use as Flex framework was. The more people and projects will

be

built with Royale we will be better and better.
*- is it possible to easily integrate javascript only components into
Royale? Example: FullCalendar.js*
The answer is yes. As one of the bigger example is MaterialDesignLite [1]
module which is part of the Royale and this is actually integration of
existing MDL library. Additionally Harbs wrote awesome article how to use
existing JS library into the project [2]
-* could anyone provide an IntelliJ template to start with?*
I can provide you an old instruction how to use Intellij with FlexJS [3]

-

I think instruction wasn't check with Royale yet. I can only tell that

I'm

using intellij to develop Royale and previously use Intellij for
development of FlexJS applications itself. You can also work a bit IDE
agnostic using Maven to build your applications and Intellij can be used

as

code assistance only.
You have also two actively developed IDE which supports Royale VSCode
[4][6] and Moonshine [5][7].
*- I'll definitely need help during the development proces, will this be
available?*
I can say that definitely anyone who is active on that list and in this
project will give an hints and help in any kind of way!

Remember that development list is an public one, so avoid to share some
confident information here, but rather by sending them directly to anyone
interested.

Looking forward to more of your questions and answer from others! :)

[1]
https://github.com/apache/royale-asjs/tree/develop/frameworks/projects/

MaterialDesignLite

[2]
https://github.com/ok-at-github/flexjs-docs/wiki/

Adapting-HTML-CSS-JS-project

[3]
https://cwiki.apache.org/confluence/display/FLEX/Using+

FlexJS+with+IntelliJ+IDEA

[4] https://nextgenactionscript.com/
[5] http://moonshine-ide.com/
[6] https://github.com/apache/royale-asjs/wiki/Visual-Studio-Code
[7] https://github.com/apache/royale-asjs/wiki/Moonshine-IDE

Thanks, Piotr


2017-12-01 12:17 GMT+01:00 Dany Dhondt :


Hi all,

I'm working for the library department of a big University college in
Belgium (+13k students). We have spent a year on making a concept for an
institutional repository.
Now, we're in the phase of making a tender for the backbone software

which

will handle storage, DOI's etc. High on our list is figshare [1]. We

would

use figshare as a repository backbone and build our own front end using
figshare's api's.
It will be my responsibi

Re: Java Default Encoding and Royale Compiler

2017-12-03 Thread Alex Harui


On 12/3/17, 3:08 AM, "Yishay Weiss"  wrote:

>JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8
>
>Is there any reason not to hard code the file encoding in the compiler?
>
I don't know for sure, but the first question that comes to mind is why
Java itself hasn't bothered to default to a particular file encoding.

Also, especially for folks using Windows, what kinds of editors do you use
and what file encoding do those editors use?

My 2 cents,
-Alex



Re: PR18 - NOTICE file update

2017-12-03 Thread Justin Mclean
Hi,

BTW the principle at play here is that you need to propagate content from 
another projects NOTICE file if it’’s Apache licensed. [1]

There is also one other licensing issue that I’m aware of and that's regarding 
the bundling of FlatUI code. The FlatUI  project has recently added MIT license 
text and headers and we need to comply with the terms of that license by 
including them. If no one deals with this I will create a PR for it.

Thanks,
Justin

1. http://www.apache.org/dev/licensing-howto.html#bundle-asf-product

PR18 - NOTICE file update

2017-12-03 Thread Niclas Hedhman
Gang,
as you are nearing release (great!), perhaps it is time to take a look at
Pull Request 18[1], which to me seems accurate.


[1] https://github.com/apache/royale-asjs/pull/18

Cheers
-- 
Niclas Hedhman, Software Developer
http://polygene.apache.org - New Energy for Java


Re: [Royale - ASJS] PAYG list beads

2017-12-03 Thread Piotr Zarzycki
Hi Peter,

I'm working on small project and it look like I will need some of your
beads in MDL. I'm not sure whether you are aware but there is already bead
which is doing adding. You could rename it if that code is ok.

DynamicItemsRendererFactoryForArrayListData -> MDLDynamicTableExample

I will need also from your list
DataItemRendererFactoryForArrayListSupportsItemsRemoved
and one additional where we are handling "CollectionEvent.ITEM_UPDATED" (
DataItemRendererFactoryForArrayListSupportsItemsChanged - This bead will do
handle ITEM_UPDATED ? )

I would like to ask what is your progress on that task ? Are you going to
commit soon at least those beads ?

Thanks, Piotr


2017-12-03 8:24 GMT+01:00 Yishay Weiss :

> I may be missing something but it looks to me like we already have this
> separation.
>
>
>
> IItemRendererClassFactory is responsible for the item renderers, and
> IDataProviderItemRendererMapper listens to change events and
> inserts/removes the item renderer instances.
>
>
>
> 
> From: Peter Ent 
> Sent: Friday, December 1, 2017 6:23:41 PM
> To: dev@royale.apache.org
> Subject: Re: [Royale - ASJS] PAYG list beads
>
> Update (aka, Thinking Out Loud):
>
> I think the way to go here is to have new beads like ItemsAdded,
> ItemsRemoved, ItemsChanged, added to DataItemRendererFactoryForArrayList
> and that bead can delegate the updating of the DataGroup to those beads,
> if present. The default can be a bead that listens for
> "dataProviderChanged" and do the wholesale replace that the factory bead
> does now.
>
> The factory beads will need to have a change in their interfaces to
> support having their own beads and to be able to delegate to them.
>
> —peter
>
>
>
> On 12/1/17, 9:59 AM, "Peter Ent"  wrote:
>
> >Thanks for the reminder, Justin.
> >
> >I had thought about the Decorator pattern; after all, beads really should
> >be thought of as Decorators. When we add a password protection bead to the
> >TextInput component, it does not change what the TextInput component is,
> >it merely enhances it.
> >
> >The problem is that some things in Royale have wandered away from the
> >Decorator pattern. The DataItemRendererFactory* beads probably do too
> >much. For example, not only are they listening for a "dataProviderChanged"
> >event, they act on it by erasing the current itemRenderers and generating
> >new ones.
> >
> >To me, a Decorator version of the DataItemRendererFactory would simply
> >provide an itemRenderer from information passed to it (such as the class
> >to use). Responding to items being added, changed, or removed would not
> >fall to the factory but to something else that would call upon the factory
> >to create a new itemRenderer if needed.
> >
> >The question becomes, what part of a List (or DataContainer) is
> >responsible for driving the creation of itemRenderers and listening for
> >other changes? To make that a replaceable part, the DataContainer needs a
> >core engine that can delegate to its Decorators the responsibility of
> >modifying the visuals (itemRenderers) in various ways. That is, in one
> >case the addition of a datum to the model would cause a wholesale
> >replacement of all itemRenderers and in another case a single new
> >itemRenderer would be inserted into the display list.
> >
> >In either case, the layout beads would then need to know something has
> >changed (we do have an event for that) to process the children. Some
> >layouts would need to examine every child and move and/or resize it.
> >Another layout might cause a fluid effect of sliding some items down to
> >insert the new item - which means the item being inserted has to be
> >communicated to the layout in a PAYG fashion (meaning: many layouts won't
> >need this information but a few might).
> >
> >The PAYG world gives us lots of opportunities to craft this in different
> >ways. I will re-think this now that the Decorator pattern has been brought
> >up.
> >
> >Again, thanks for pointing this out.
> >‹peter
> >
> >On 11/30/17, 7:33 PM, "Justin Mclean"  wrote:
> >
> >>Hi,
> >>
> >>>  thinking that when you add DataProviderItemsChangeNotifier to a List
> >>>strand, you could also replace the itemRenderer factory that is more
> >>>"capable":
> >>>
> >>> DataItemRendererFactoryForArrayListSupportsItemsAdded
> >>> DataItemRendererFactoryForArrayListSupportsItemsRemoved
> >>> DataItemRendererFactoryForArrayListSupportsItemsAddedAndRemoved
> >>> DataItemRendererFactoryForArrayListSupportsItemsChanged
> >>> DataItemRendererFactoryForArrayListSupportsItemsAddedChangedAndRemoved
> >>
> >>A suggestion would be looking into using the decorator design pattern [1]
> >>that way you would only need three beads (and less code duplication).
> >>
> >>Thanks,
> >>Justin
> >>
> >>1.
> >>https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fsourcema
> >>k
> >>ing.com%2Fdesign_patterns%2Fdecorator&data=02%7C01%7Cpent%40adobe.com
> %7C9
> >>4
> >>dc46d35417405d838d08d5385323db%7Cf

[Royale] Folder "FlexJS" in binary distribution of Royale - is removed

2017-12-03 Thread Piotr Zarzycki
Hi Guys,

I have discovered folder "FlexJS
"
in binary distribution package [1]. It is under: frameworks\js\.

I have wiped out working space on jenkins for both JS only and SWF builds
and it helped. Anyone who is using packages before build #158 should
download the fresh one.

Folder contains the same swc as it is in frameworks\js\libs.

[1]
http://apacheflexbuild.cloudapp.net:8080/job/royale-asjs-jsonly/lastSuccessfulBuild/artifact/out/

Thanks,
-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: Repos and Releases

2017-12-03 Thread Piotr Zarzycki
In that place I think we should have Wiki page called: "How to download IDE
ready Royale framework" - or something similar. It should describe what
kind of package do we have and what people need to do in order to have SWF
output.

I don't think we should have in the title word "binary package" - It wasn't
mean to me anything when I come up to Apache Flex project. I believe there
could be more people like me.

Thanks, Piotr


2017-12-03 8:22 GMT+01:00 Alex Harui :

> I'm going to try to reply to everyone else in this one post...
>
> Today, for folks just wanting to write an app with Royale, the nightly for
> "JSOnly" has everything you need to create JS output, but not SWF output.
> The nightly for the "FlexJS" package does not (and can never) bundle the
> Adobe playerglobal and airglobal needed to generate SWF output.  The
> "FlexJS" nightly contains an Ant script to copy in the Adobe bits after
> you download them.
>
> And now, I am proposing to change this packaging so that the source zip
> will contain 3 folders representing the 3 repos (royals-compiler,
> royals-typedefs, royale-asjs) and without more fiddling, the JSOnly binary
> artifact will contain what is currently in the "JSOnly" nightly but in a
> royale-asjs folder and be otherwise ready to go for Flash Builder and
> other IDEs, and the "FlexJS" binary artifact will again require running an
> Ant script to position the Adobe bits.
>
> For these IDE users, SWF functionality is essentially something you choose
> early when deciding what package to download.  I'm not sure how, under
> Apache rules, to create a binary artifact that is an add-in of the
> SWF-only bits.  Binary artifacts are supposed to be the results of a
> compilation of a source package.  I suppose we could create some sort of
> script that overlays the SWF-only bits over a JSOnly binary.
>
> Meanwhile, to answer Carlos's question, I think for Maven users you choose
> to get SWF output merely by adding the Adobe airglobal/playerglobal
> dependencies to your POM.  These dependencies are in by default for the
> examples.  Although it occurs to me that MDLExample shouldn't have them,
> so maybe I'll double-check that when I have time tomorrow.
>
> I will have limited time to work on this until tomorrow night.
>
> HTH,
> -Alex
>
> On 12/2/17, 1:14 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala"
>  wrote:
>
> >On Dec 2, 2017 11:20 AM, "Piotr Zarzycki" 
> >wrote:
> >
> >As an application developer no. You are getting that package [1] and have
> >everything what you need to build app to swf an js.
> >
> >[1]
> >https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapacheflex
> >build.cloudapp.net%3A8080%2Fjob%2Froyale-&data=02%7C01%7Caharui%
> 40adobe.co
> >m%7Cacd29e28cb594f6788fd08d539c9a8ff%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C
> >0%7C0%7C636478460681913302&sdata=84IVbhNcVYNkti7qeE%
> 2B6VeEJ7E8uDM0y9NDychV
> >bYvc%3D&reserved=0
> >asjs/lastSuccessfulBuild/artifact/out/
> >
> >
> >That's good to know.  I should be able to use this in the npm package
> >right?
> >
> >Thanks,
> >Om
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >Thanks, Piotr
> >
> >On Sat, Dec 2, 2017, 19:33 OmPrakash Muppirala 
> >wrote:
> >
> >> On Dec 2, 2017 9:08 AM, "Piotr Zarzycki" 
> >> wrote:
> >>
> >> Hi Om,
> >>
> >> Not sure what do you mean? We have it. You are downloading one zip file
> >and
> >> using it in IDE.
> >>
> >>
> >>
> >> Are we not downloading falcon, gcc etc separately?
> >>
> >> Thanks,
> >> Om
> >>
> >>
> >>
> >> Piotr
> >>
> >> On Sat, Dec 2, 2017, 17:30 OmPrakash Muppirala 
> >> wrote:
> >>
> >> > With this setup, can we have the binary release package all the
> >> > dependencies in one zip file?
> >> >
> >> > Thanks,
> >> > Om
> >> >
> >> > On Dec 2, 2017 8:25 AM, "Harbs"  wrote:
> >> >
> >> > > I don’t have much to add. For me, the simpler, the better. The
> >> decisions
> >> > > should be to get the first release out as quickly as possible and
> >>make
> >> > our
> >> > > release process as easy as it can be so we can release often.
> >> > >
> >> > > > On Dec 2, 2017, at 2:00 PM, Piotr Zarzycki <
> >> piotrzarzyck...@gmail.com>
> >> > > wrote:
> >> > > >
> >> > > >  I would also see in the develop Harbs
> >> > > > changes with namespaces before release, after your merge.
> >> > >
> >> > > I’ll try to finish that up tomorrow.
> >> > >
> >> > >
> >> >
> >>
>
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Java Default Encoding and Royale Compiler

2017-12-03 Thread Yishay Weiss
Hi,

We ran into a problem with this type of code:

s = 
s.replace(/\^e/g,"\u2026");//Ellipsis

Royale compiler replaces u2026 with the mapped value which depends on file 
encoding. I’m not sure what my default encoding was, but our app wouldn’t build 
for release unless I set the following env var:

JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8

Is there any reason not to hard code the file encoding in the compiler?




Re: Building a repository front end with Royale

2017-12-03 Thread Piotr Zarzycki
Hi Dany,

Thanks for trying Moonshine! We will release 1.7.0 version in the next week
or so. You will have many useful things. Examples should be available in
the downloaded royale-asjs package or on our github [1]. If you will have
any problem with recognizing downloaded SDK in Moonshine you can download
binary package from following links [2] (js only version) [3] (js and swf
version).

[1] https://github.com/apache/royale-asjs/tree/develop/examples/royale
[2]
http://apacheflexbuild.cloudapp.net:8080/job/royale-asjs-jsonly/lastSuccessfulBuild/artifact/out/
[3]
http://apacheflexbuild.cloudapp.net:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/

Thanks, Piotr


2017-12-03 10:33 GMT+01:00 Dany Dhondt :

> Thanks Piotr, Harbs for your answers.
>
> I decided to give it a shot during my spare time.
> I updated / installed everything I should (maven, node, jdk, …) and
> installed Moonshine IDE. I’ll try IntelliJ later because it’s more complex
> to configure I guess.
>
> Also I installed royale-compiler, ..asjs and …typedefs through npm.
>
> Since Moonshine at this point will only be able to start from an existing
> project, I’d like to know where to find ready-to-use example projects?
>
> @harbs: it will be a multipage project! Does Royale support viewstacks? Or
> how multiple pages would be managed?
>
> thx,
> Dany
>
>
>
>
> > Op 1 dec. 2017, om 12:47 heeft Piotr Zarzycki 
> het volgende geschreven:
> >
> > Hi Dany,
> >
> > First of all this is wonderful news that you are considering Royale as
> one
> > of the technology to build your application. Answering to your questions
> (I
> > think others will shot you also with more thoughts)
> >
> > *- will Royale be production ready by february/march?*
> > Apache Royale team is consist with volunteers which in most cases not
> > working as a full time developers on framework. In that case it is hard
> to
> > answer whether we will be ready for the production. - I can say that in
> > some way we are now, but there are plenty of things to do to be more
> robust
> > and easy to use as Flex framework was. The more people and projects will
> be
> > built with Royale we will be better and better.
> > *- is it possible to easily integrate javascript only components into
> > Royale? Example: FullCalendar.js*
> > The answer is yes. As one of the bigger example is MaterialDesignLite [1]
> > module which is part of the Royale and this is actually integration of
> > existing MDL library. Additionally Harbs wrote awesome article how to use
> > existing JS library into the project [2]
> > -* could anyone provide an IntelliJ template to start with?*
> > I can provide you an old instruction how to use Intellij with FlexJS [3]
> -
> > I think instruction wasn't check with Royale yet. I can only tell that
> I'm
> > using intellij to develop Royale and previously use Intellij for
> > development of FlexJS applications itself. You can also work a bit IDE
> > agnostic using Maven to build your applications and Intellij can be used
> as
> > code assistance only.
> > You have also two actively developed IDE which supports Royale VSCode
> > [4][6] and Moonshine [5][7].
> > *- I'll definitely need help during the development proces, will this be
> > available?*
> > I can say that definitely anyone who is active on that list and in this
> > project will give an hints and help in any kind of way!
> >
> > Remember that development list is an public one, so avoid to share some
> > confident information here, but rather by sending them directly to anyone
> > interested.
> >
> > Looking forward to more of your questions and answer from others! :)
> >
> > [1]
> > https://github.com/apache/royale-asjs/tree/develop/frameworks/projects/
> MaterialDesignLite
> > [2]
> > https://github.com/ok-at-github/flexjs-docs/wiki/
> Adapting-HTML-CSS-JS-project
> > [3]
> > https://cwiki.apache.org/confluence/display/FLEX/Using+
> FlexJS+with+IntelliJ+IDEA
> > [4] https://nextgenactionscript.com/
> > [5] http://moonshine-ide.com/
> > [6] https://github.com/apache/royale-asjs/wiki/Visual-Studio-Code
> > [7] https://github.com/apache/royale-asjs/wiki/Moonshine-IDE
> >
> > Thanks, Piotr
> >
> >
> > 2017-12-01 12:17 GMT+01:00 Dany Dhondt :
> >
> >> Hi all,
> >>
> >> I'm working for the library department of a big University college in
> >> Belgium (+13k students). We have spent a year on making a concept for an
> >> institutional repository.
> >> Now, we're in the phase of making a tender for the backbone software
> which
> >> will handle storage, DOI's etc. High on our list is figshare [1]. We
> would
> >> use figshare as a repository backbone and build our own front end using
> >> figshare's api's.
> >> It will be my responsibility to develop, implement and maintain this
> front
> >> end. I  think development will start around february/march 2018 and it
> will
> >> be up to me to choose a front end technology. So far, choices are
> Angular,
> >> React or Vue. Since I have quite some experience with Flex, I w

Re: Building a repository front end with Royale

2017-12-03 Thread Harbs
Yes. There are viewstacks which can swap the view.

What we don’t have is URL routing. i.e. mycoolapp.com/home 
, mycoolapp.com/login , 
etc.

We don’t yet have a standard way to load apps in a certain state and/or change 
state using URL routing.

I don’t think it’s theoretically something which cannot be supported, but it 
has not yet been done.

Harbs

> On Dec 3, 2017, at 11:33 AM, Dany Dhondt  wrote:
> 
> @harbs: it will be a multipage project! Does Royale support viewstacks? Or 
> how multiple pages would be managed?



Re: Building a repository front end with Royale

2017-12-03 Thread Dany Dhondt
Thanks Piotr, Harbs for your answers.

I decided to give it a shot during my spare time.
I updated / installed everything I should (maven, node, jdk, …) and installed 
Moonshine IDE. I’ll try IntelliJ later because it’s more complex to configure I 
guess.

Also I installed royale-compiler, ..asjs and …typedefs through npm.

Since Moonshine at this point will only be able to start from an existing 
project, I’d like to know where to find ready-to-use example projects?

@harbs: it will be a multipage project! Does Royale support viewstacks? Or how 
multiple pages would be managed?

thx,
Dany




> Op 1 dec. 2017, om 12:47 heeft Piotr Zarzycki  het 
> volgende geschreven:
> 
> Hi Dany,
> 
> First of all this is wonderful news that you are considering Royale as one
> of the technology to build your application. Answering to your questions (I
> think others will shot you also with more thoughts)
> 
> *- will Royale be production ready by february/march?*
> Apache Royale team is consist with volunteers which in most cases not
> working as a full time developers on framework. In that case it is hard to
> answer whether we will be ready for the production. - I can say that in
> some way we are now, but there are plenty of things to do to be more robust
> and easy to use as Flex framework was. The more people and projects will be
> built with Royale we will be better and better.
> *- is it possible to easily integrate javascript only components into
> Royale? Example: FullCalendar.js*
> The answer is yes. As one of the bigger example is MaterialDesignLite [1]
> module which is part of the Royale and this is actually integration of
> existing MDL library. Additionally Harbs wrote awesome article how to use
> existing JS library into the project [2]
> -* could anyone provide an IntelliJ template to start with?*
> I can provide you an old instruction how to use Intellij with FlexJS [3] -
> I think instruction wasn't check with Royale yet. I can only tell that I'm
> using intellij to develop Royale and previously use Intellij for
> development of FlexJS applications itself. You can also work a bit IDE
> agnostic using Maven to build your applications and Intellij can be used as
> code assistance only.
> You have also two actively developed IDE which supports Royale VSCode
> [4][6] and Moonshine [5][7].
> *- I'll definitely need help during the development proces, will this be
> available?*
> I can say that definitely anyone who is active on that list and in this
> project will give an hints and help in any kind of way!
> 
> Remember that development list is an public one, so avoid to share some
> confident information here, but rather by sending them directly to anyone
> interested.
> 
> Looking forward to more of your questions and answer from others! :)
> 
> [1]
> https://github.com/apache/royale-asjs/tree/develop/frameworks/projects/MaterialDesignLite
> [2]
> https://github.com/ok-at-github/flexjs-docs/wiki/Adapting-HTML-CSS-JS-project
> [3]
> https://cwiki.apache.org/confluence/display/FLEX/Using+FlexJS+with+IntelliJ+IDEA
> [4] https://nextgenactionscript.com/
> [5] http://moonshine-ide.com/
> [6] https://github.com/apache/royale-asjs/wiki/Visual-Studio-Code
> [7] https://github.com/apache/royale-asjs/wiki/Moonshine-IDE
> 
> Thanks, Piotr
> 
> 
> 2017-12-01 12:17 GMT+01:00 Dany Dhondt :
> 
>> Hi all,
>> 
>> I'm working for the library department of a big University college in
>> Belgium (+13k students). We have spent a year on making a concept for an
>> institutional repository.
>> Now, we're in the phase of making a tender for the backbone software which
>> will handle storage, DOI's etc. High on our list is figshare [1]. We would
>> use figshare as a repository backbone and build our own front end using
>> figshare's api's.
>> It will be my responsibility to develop, implement and maintain this front
>> end. I  think development will start around february/march 2018 and it will
>> be up to me to choose a front end technology. So far, choices are Angular,
>> React or Vue. Since I have quite some experience with Flex, I would like to
>> add Royale to this list.
>> I have been following the Flex/Royale dev lists very closely and I'm
>> convinced of the quality of the product but:
>> 
>> - will Royale be production ready by february/march?
>> - is it possible to easily integrate javascript only components into
>> Royale? Example: FullCalendar.js [2]
>> - could anyone provide an IntelliJ template to start with?
>> - I'll definitely need help during the development proces, will this be
>> available?
>> - and last but not least: is Royale the right choice?
>> 
>> If it is convenient, I can provide a full front end wireframe (built in
>> Adobe XD CC) although that should be treated as highly confidential
>> 
>> There is much at stake here so please advise...
>> 
>> thanks in advance
>> 
>> Dany
>> 
>> [1] https://figshare.com/services/institutions
>> [2] https://fullcalendar.io
>> 
> 
> 
> 
> -- 
> 
> Piotr Zarzycki
> 
>

Re: Repos and Releases

2017-12-03 Thread Niclas Hedhman
Generally speaking; Required binary artifacts are typically handled as
"System Requirements", and you may have scripting support to set that up if
you like. If the binary is commercial (even if free of charge), there might
be additional redistribution licensing that may prohibit such automated
downloads.

HTH
Niclas

On Sun, Dec 3, 2017 at 3:22 PM, Alex Harui  wrote:

> I'm going to try to reply to everyone else in this one post...
>
> Today, for folks just wanting to write an app with Royale, the nightly for
> "JSOnly" has everything you need to create JS output, but not SWF output.
> The nightly for the "FlexJS" package does not (and can never) bundle the
> Adobe playerglobal and airglobal needed to generate SWF output.  The
> "FlexJS" nightly contains an Ant script to copy in the Adobe bits after
> you download them.
>
> And now, I am proposing to change this packaging so that the source zip
> will contain 3 folders representing the 3 repos (royals-compiler,
> royals-typedefs, royale-asjs) and without more fiddling, the JSOnly binary
> artifact will contain what is currently in the "JSOnly" nightly but in a
> royale-asjs folder and be otherwise ready to go for Flash Builder and
> other IDEs, and the "FlexJS" binary artifact will again require running an
> Ant script to position the Adobe bits.
>
> For these IDE users, SWF functionality is essentially something you choose
> early when deciding what package to download.  I'm not sure how, under
> Apache rules, to create a binary artifact that is an add-in of the
> SWF-only bits.  Binary artifacts are supposed to be the results of a
> compilation of a source package.  I suppose we could create some sort of
> script that overlays the SWF-only bits over a JSOnly binary.
>
> Meanwhile, to answer Carlos's question, I think for Maven users you choose
> to get SWF output merely by adding the Adobe airglobal/playerglobal
> dependencies to your POM.  These dependencies are in by default for the
> examples.  Although it occurs to me that MDLExample shouldn't have them,
> so maybe I'll double-check that when I have time tomorrow.
>
> I will have limited time to work on this until tomorrow night.
>
> HTH,
> -Alex
>
> On 12/2/17, 1:14 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala"
>  wrote:
>
> >On Dec 2, 2017 11:20 AM, "Piotr Zarzycki" 
> >wrote:
> >
> >As an application developer no. You are getting that package [1] and have
> >everything what you need to build app to swf an js.
> >
> >[1]
> >https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapacheflex
> >build.cloudapp.net%3A8080%2Fjob%2Froyale-&data=02%7C01%7Caharui%
> 40adobe.co
> >m%7Cacd29e28cb594f6788fd08d539c9a8ff%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C
> >0%7C0%7C636478460681913302&sdata=84IVbhNcVYNkti7qeE%
> 2B6VeEJ7E8uDM0y9NDychV
> >bYvc%3D&reserved=0
> >asjs/lastSuccessfulBuild/artifact/out/
> >
> >
> >That's good to know.  I should be able to use this in the npm package
> >right?
> >
> >Thanks,
> >Om
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >Thanks, Piotr
> >
> >On Sat, Dec 2, 2017, 19:33 OmPrakash Muppirala 
> >wrote:
> >
> >> On Dec 2, 2017 9:08 AM, "Piotr Zarzycki" 
> >> wrote:
> >>
> >> Hi Om,
> >>
> >> Not sure what do you mean? We have it. You are downloading one zip file
> >and
> >> using it in IDE.
> >>
> >>
> >>
> >> Are we not downloading falcon, gcc etc separately?
> >>
> >> Thanks,
> >> Om
> >>
> >>
> >>
> >> Piotr
> >>
> >> On Sat, Dec 2, 2017, 17:30 OmPrakash Muppirala 
> >> wrote:
> >>
> >> > With this setup, can we have the binary release package all the
> >> > dependencies in one zip file?
> >> >
> >> > Thanks,
> >> > Om
> >> >
> >> > On Dec 2, 2017 8:25 AM, "Harbs"  wrote:
> >> >
> >> > > I don’t have much to add. For me, the simpler, the better. The
> >> decisions
> >> > > should be to get the first release out as quickly as possible and
> >>make
> >> > our
> >> > > release process as easy as it can be so we can release often.
> >> > >
> >> > > > On Dec 2, 2017, at 2:00 PM, Piotr Zarzycki <
> >> piotrzarzyck...@gmail.com>
> >> > > wrote:
> >> > > >
> >> > > >  I would also see in the develop Harbs
> >> > > > changes with namespaces before release, after your merge.
> >> > >
> >> > > I’ll try to finish that up tomorrow.
> >> > >
> >> > >
> >> >
> >>
>
>


-- 
Niclas Hedhman, Software Developer
http://polygene.apache.org - New Energy for Java


GraphicShape

2017-12-03 Thread Harbs
I’m trying to fix some SVG issues and I’m confused by the resize method of 
GraphicShape.

Why are we calling getBBox at all? If the width/height is not set by the 
client, then I don’t see any reason to set it explicitly. Why are we doing so?

FWIW, the current code does not seem to be EVER setting the width and height 
correctly, because it’s setting the properties as numbers rather than strings.

Can anyone shed some light on the subject?

Harbs