As3Vanilla - added caching and Enum support - #8
Conversation
Upgraded as3commons-lang and as3commons-reflect. Upgraded FlexUnit version.
…interface. Fixed a couple of bugs, and refactored some code.
Added InjectionCaching support. Added related unit-tests to Caching classes.
Refactored a bit and removed some unused code. Added furter unit-tests.
|
Hi, Jonny! I fixed a couple of errors etc. that popped up during daily use of your As3Vanilla project. |
|
How to use this? |
|
Take a look at the docs at: |
|
nice, thx Matej Šimunić On 4 July 2014 00:58, natami notifications@github.com wrote:
|
There was a problem hiding this comment.
Please remove and add to .gitignore
There was a problem hiding this comment.
Still need to git rm this file.
Removed authorship comment. Added indent to IEnum.as
|
Fixed :) |
|
Sorry for not getting back to you sooner natami - it's been quite a crazy year so far, new house and my wife has just had our first child; things are only starting to settle down now :) Thanks for the PR; you've put a lot of work in here! Could you please revisit the formatting and ensure that you use the same style as the original code, this will make it much easier to review. Thanks again |
|
Hi, Jonny! That’s quite all right - other stuff is just more important than keeping a project in sync on Github ;) I’ll adjust the formatting in Intellij, so i can follow your style. And congrats on the house and family ;) Regards, On 06 Jul 2014, at 21:29, John Reeves notifications@github.com wrote:
|
|
Ok, fixed the remaining formatting issues. |
There was a problem hiding this comment.
Fix tabbing here (2 tabs, not 1).
|
Hey @natami, sorry to be a pain, but could you use tabs, not spaces? |
|
Quite allright. Always used intelliJ defaults. Should be fixed now. |
There was a problem hiding this comment.
Why do we need getMethodNames and getNames? Oh I see, you're removing the duplication between these methods - fair enough.
There was a problem hiding this comment.
Hey John, as a maintainer of public repo, you can get a free copy of the
IntelliJ. Maybe you qualify. It is a great IDE
Matej Šimunić
On 6 July 2014 23:27, John Reeves notifications@github.com wrote:
In src/org/osflash/vanilla/InjectionMap.as:
public function getMethodsNames() : Array {
const result : Array = [];for (var methodName : String in _methods) {result.push(methodName);}return result;return getNames(_methods);Why do we need getMethodNames and getNames?
—
Reply to this email directly or view it on GitHub
https://github.com/jonnyreeves/as3-vanilla/pull/8/files#r14577706.
|
Thanks @natami, there's still a great deal of change; I'm guessing you re-formatted the code based on your IDE's formatting rules? It makes it really hard to diff. I'm not actually working with flash anymore and don't really plan to add more features to vanilla (and provide support fro them) - do you have any thoughts on taking ownership / maintaining your own fork of this project to provide that support. |
|
Hi, thanks for sharing! |
|
Hi, Smival! Try changeing the array to a vector.<> type... Should solve your issue.
|
|
Hi, Jonny! Sorry for not getting back to you with a timely answer - work has been crazy over the summer. As things are settling down and i'm getting a bit more time for personal projects, and i am interested in possibly taking ownership/support over the project - if that is okay with you? Regards |
Moved test-sources to src/test/as3
Hi, Jonny!
I previously asked, if you could add Enum support to our As3Vanilla project - knowing you are probably very busy, I added support for Java style Enums and implemented InjectionMap caching support.
Hope you can find the time to merge my changes into your project.
Regards,
Soren Jepsen