Re: (royale-asjs) branch develop updated: fix: use innerHTML instead of text in Jewel SearchFilterForList text doesn't render HTML, preventing styling with useDecoration. innerHTML enables proper CSS

2025-07-23 Thread Harbs
That sounds fine. > On Jul 23, 2025, at 10:20 AM, Maria José Esteve wrote: > > OK, for now, if no one objects, I’ll commit my latest proposal: sanitizing > textData and filterText. > > Hiedra > > -Mensaje original- > De: Harbs > Enviado el: miérc

Re: (royale-asjs) branch develop updated: fix: use innerHTML instead of text in Jewel SearchFilterForList text doesn't render HTML, preventing styling with useDecoration. innerHTML enables proper CSS

2025-07-22 Thread Harbs
n Jewel SearchFilterForList text doesn't render HTML, >> preventing styling with useDecoration. innerHTML enables proper CSS markup. >> >> Did you try calling sanitizeHTML() on your entire generated HTML? Or were >> you more specific? It seems to me that you should pa

Re: (royale-asjs) branch develop updated: fix: use innerHTML instead of text in Jewel SearchFilterForList text doesn't render HTML, preventing styling with useDecoration. innerHTML enables proper CSS

2025-07-22 Thread Harbs
Where is the contents of “txt” coming from. Is using innerHTML a security risk? > On Jul 22, 2025, at 5:35 AM, hie...@apache.org wrote: > > This is an automated email from the ASF dual-hosted git repository. > > hiedra pushed a commit to branch develop > in repository https://gitbox.apache.org/r

Re: New AS3 language feature: Arrow function syntax

2025-07-18 Thread Harbs
Awesome! :-) > On Jul 18, 2025, at 1:48 AM, Josh Tynjala wrote: > > Hey folks, > > I just wanted to highlight a new AS3 language feature that I have recently > implemented in the Royale compiler: arrow function expressions! > > If you're not familiar, these were added to JavaScript a while bac

Re: [JSIncludeScript], [JSIncludeCSS], and [JSIncludeAsset] compiler metadata

2025-06-05 Thread Gabe Harbs
ed some > other existing metadata that wasn't listed yet. > > -- > Josh Tynjala > Bowler Hat LLC > https://bowlerhat.dev/ > > > On Thu, May 29, 2025 at 4:47 AM Harbs wrote: > >> Amazing work! >> >> We should get this info added to the docs.

Re: [JSIncludeScript], [JSIncludeCSS], and [JSIncludeAsset] compiler metadata

2025-05-29 Thread Harbs
Amazing work! We should get this info added to the docs. I’m not sure where’s the best location. Maybe here? https://apache.github.io/royale-docs/features/as3/metadata > On May 29, 2025, at 1:01 AM, Josh Tynjala wrote: > > You may recall that I added some new options to Royale's compiler a co

Re: royale.apache.org website not loading fonts either

2025-04-05 Thread Harbs
I just asked on the infra channel… > On Mar 20, 2025, at 7:59 PM, Harbs wrote: > > To not load Google fonts? That seems very extreme... > >> On Mar 20, 2025, at 7:54 PM, Andrew Wetmore wrote: >> >> compliance with new regulations coming from Europe, I believe.

Re: royale.apache.org website not loading fonts either

2025-03-29 Thread Harbs
Yeah. That’s what infra told me. I asked about hosting Google fonts on Apache servers and it sounded like they might be open to it, but for now we need to host it on our project site... > On Mar 20, 2025, at 8:26 PM, Josh Tynjala wrote: > > I confirmed that other Apache projects have web fonts

Re: royale.apache.org website not loading fonts either

2025-03-20 Thread Harbs
To not load Google fonts? That seems very extreme... > On Mar 20, 2025, at 7:54 PM, Andrew Wetmore wrote: > > compliance with new regulations coming from Europe, I believe. > > On Thu, Mar 20, 2025 at 2:49 PM Harbs wrote: > >> What’s the reason for such strict securi

Re: royale.apache.org website not loading fonts either

2025-03-20 Thread Harbs
What’s the reason for such strict security rules? > On Mar 20, 2025, at 6:11 PM, Josh Tynjala wrote: > > I just loaded our main royale.apache.org website, and I observed that the > fonts were failing to load there too, just like Tour de Jewel. > > It's the same issue. The stricter security poli

Re: Change to MXML parsing?

2025-03-14 Thread Gabe Harbs
es are > specifically allowed in MXML strings, unlike other escape sequences like \n > and \t. > > -- > Josh Tynjala > Bowler Hat LLC > https://bowlerhat.dev/ > > > On Thu, Mar 13, 2025 at 1:00 AM Harbs wrote: > >> I have an attribute in MXML which looks like th

Re: js-include-script, js-include-css, and js-include-asset compiler options

2025-03-13 Thread Harbs
Ditto! Harbs > On Mar 13, 2025, at 1:58 AM, Greg Dove wrote: > > That sounds really cool, Josh, thanks for doing that. > > On Thu, Mar 13, 2025 at 11:15 AM Josh Tynjala > wrote: > >> Hi folks, >> >> I just wanted to highlight some new Royale co

Change to MXML parsing?

2025-03-13 Thread Harbs
I have an attribute in MXML which looks like this: suffix="\u00B0” This used to correctly set the “suffix” property to the specified unicode value. Currently it seems like it’s parsed as a \\u00B0 literal string. I’m not sure when this changed.

Re: jQuery

2025-03-12 Thread Harbs
lt;/a>;> > > I have not tried the JQuery component set built as > royale-asjs/frameworks/libs/JQuery.swc and > royale-asjs/frameworks/js/libs/JQueryJS.swc. I'm assuming that you weren't > trying to use those, but please correct me if I'm wrong. > > -- > Jo

Re: jQuery

2025-03-05 Thread Gabe Harbs
't it get compiled along with everything else in as-js ? > ____ > From: Gabe Harbs > Sent: Wednesday, March 5, 2025 8:53 AM > To: Apache Royale Development > Subject: jQuery > > Do we have tests that confirm that jQuery works? > > I don’t us

jQuery

2025-03-05 Thread Gabe Harbs
no longer works… Harbs

Re: Google no longer maintaining Closure Library

2025-02-22 Thread Harbs
An ECMA 2015 target sounds really good! Out of curiosity: Is dealing with circular dependencies any tricker with that target than goog.provide? Maybe we should coordinate the work on migrating events? > On Feb 21, 2025, at 6:48 PM, Josh Tynjala wrote: > > I'm currently working to implement a

Re: Google no longer maintaining Closure Library

2025-02-21 Thread Harbs
. Harbs > On Feb 21, 2025, at 7:03 AM, Greg Dove wrote: > > Thanks Josh, that's all helpful to know. > > iirc I think we are also currently blocked from updating our closure > compiler version because of some local subclasses or overrides where the > base classes or impleme

Re: Google no longer maintaining Closure Library

2025-02-21 Thread Harbs
Good to know that Starling has that code. It sounds like a good direction. > On Feb 21, 2025, at 10:01 AM, Harbs wrote: > > One of the things I’ve wanted to tackle for a long time is getting rid of the > dependency on goog events. > > There’s really no technical reason wh

Re: (royale-asjs) branch develop updated: Added parentApplication and mxmlDocument in UIBase and some other changes

2025-01-21 Thread Harbs
Thank you. Don’t get scared off from committing improvements, but discussing things is always a good idea. :-) Best, Harbs > On Jan 21, 2025, at 12:57 PM, Pashmina Kazi wrote: > > Hi Harbs and Greg, > > I don't know that my change will affect any third party's app

Re: (royale-asjs) branch develop updated: Added parentApplication and mxmlDocument in UIBase and some other changes

2025-01-20 Thread Harbs
this change. That’s not something we want to do lightly. Thanks, Harbs > On Jan 20, 2025, at 11:02 AM, Pashmina Kazi wrote: > > Hi Harbs, > > Sorry for the late reply and sorry for the change, > > We are porting Flex application in jewel so i need ParentApplication > pro

Re: (royale-asjs) branch develop updated: Added parentApplication and mxmlDocument in UIBase and some other changes

2025-01-19 Thread Harbs
Pashmina, Please respond to my questions. It’s important to understand if there was a good technical reason for this change. Thanks, Harbs > On Jan 17, 2025, at 3:46 PM, Harbs wrote: > > Also: > > Any breaking changes really should be discussed before committing. > >&g

Re: (royale-asjs) branch develop updated: Added parentApplication and mxmlDocument in UIBase and some other changes

2025-01-17 Thread Harbs
Also: Any breaking changes really should be discussed before committing. > On Jan 17, 2025, at 2:58 PM, Harbs wrote: > > I just noticed this: > >> mxmlDocument in UIBase > > > UIBase is not **supposed** to have mxmlDocument. > > Why was this done/changed? &

Re: (royale-asjs) branch develop updated: Added parentApplication and mxmlDocument in UIBase and some other changes

2025-01-17 Thread Harbs
I just noticed this: > mxmlDocument in UIBase UIBase is not **supposed** to have mxmlDocument. Why was this done/changed? > On Jan 13, 2025, at 10:58 PM, pushminak...@apache.org wrote: > > This is an automated email from the ASF dual-hosted git repository. > > pushminakazi pushed a commit to

Re: New compiler error

2024-12-12 Thread Harbs
I had GOOG_HOME set to a local directory when building Royale. I rebuilt without that var and it works correctly now. Thanks, Harbs > On Dec 12, 2024, at 2:16 PM, Harbs wrote: > > I just rebuilt Royale and I’m now getting the following error: > > > Internal error: java.lan

New compiler error

2024-12-12 Thread Harbs
I just rebuilt Royale and I’m now getting the following error: Internal error: java.lang.RuntimeException: Parameter 'closure-lib' not specified and closure resources not available in classpath. org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublis

Re: The instanceof operator is deprecated

2024-12-11 Thread Harbs
That would be me. Yes. It was on purpose, but it’s been so long ago that I don’t remember for sure why. Harbs > On Dec 11, 2024, at 12:18 AM, Josh Tynjala wrote: > > I don't know exactly why the developer who implemented the XML classes > chose instanceof instead of is, b

Re: Abstract methods no overridden

2024-12-03 Thread Harbs
I saw it in a class which subclasses AsyncTask. It seems to fail pretty consistently there... > On Dec 2, 2024, at 6:44 PM, Josh Tynjala wrote: > > Hey Harbs, > > I am unable to reproduce this issue. In my test project, if I comment out > the overridden method, i

Re: Parameters of type paramArray

2024-12-01 Thread Harbs
), that’s the same as calling: fn_fooBis(1,2,3) (thisArg can be the this context you want or null if you don’t care about the “this" context) Harbs > On Dec 1, 2024, at 4:56 PM, Maria Jose Esteve wrote: > > When I have to pass the "args" to a function without super, i

Abstract methods no overridden

2024-12-01 Thread Gabe Harbs
I’m pretty sure that abstract methods which are not overridden in subclasses used to cause a compiler error, but it looks like the compiler doesn’t complain (any more?).

Re: [DISCUSS} Release Apache Royale 0.9.12 RC2

2024-11-19 Thread Harbs
Great work! Thanks! FYI, I’m traveling for a few days. I’m not sure when I’ll have time to test. It might not be until next week. Harbs > On Nov 18, 2024, at 11:04 PM, Yishay Weiss wrote: > > This is the discussion thread. > > Thanks, > Yishay Weiss >

Re: Super method calls not currently checked for errors

2024-10-11 Thread Harbs
I’ll test this against my apps next week. I’m on the fence about whether we should push it into the current release. > On Oct 9, 2024, at 11:53 PM, Josh Tynjala wrote: > > I too tend to be extra wary to make changes close to a release. Sometimes, > even seemingly minor bug fixes can introduce u

Re: Super method calls not currently checked for errors

2024-10-11 Thread Harbs
If you’re only compiling for JS, using an “as” cast with ignoring coercions should work, although you’re actually lying about the type... > On Oct 10, 2024, at 11:02 PM, Piotr Zarzycki > wrote: > > Sounds like casting to that fail. After running application I'm getting: > > Uncaught TypeError

Re: Next Release 0.9.12 ?

2024-09-30 Thread Harbs
Agreed. Unless we want to jump to version 1.0. > On Sep 30, 2024, at 7:14 PM, Josh Tynjala wrote: > > Yeah, I’d say go for it. > > -- > Josh Tynjala > Bowler Hat LLC > > > On Sun, Sep 29, 2024 at 2:10 PM Yishay Weiss wrote: > >> Hi All >> >> Because npm version is o

Re: TIL about AbortController

2024-09-19 Thread Harbs
_source=link&utm_campaign=sig-email&utm_content=webmail> > Virus-free.www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > On T

TIL about AbortController

2024-09-19 Thread Harbs
https://kettanaito.com/blog/dont-sleep-on-abort-controller

Re: Debugging with source-maps

2024-09-08 Thread Harbs
on that. Thanks so much for working on this! Harbs > On Sep 7, 2024, at 12:22 AM, Josh Tynjala wrote: > > So I've kind of run into a brick wall with my attempts to get our source > maps to make JS debuggers display original AS3 field/property names instead > of the modi

Re: Jewel InputButtonSize and modifying the "royale_dynamic_css" stylesheet

2024-07-28 Thread Harbs
for **every** instance added. It would be much better to create one rule for each size, so if you have 100 instances that are all the same size, there would only be a single lookup. If you do that, you’re definitely better off leaving the rule. Thanks, Harbs > On Jul 28, 2024, at 2:08

Re: (royale-compiler) 01/03: compiler-jx: source map improvements

2024-07-26 Thread Harbs
Josh, it looks like you did some work on source map names. Is there something ready to test yet? Thanks, Harbs > On Jul 25, 2024, at 8:14 PM, joshtynj...@apache.org wrote: > > This is an automated email from the ASF dual-hosted git repository. > > joshtynjala pushed a commit to

Re: URLLoader - status of loading

2024-07-22 Thread Harbs
FWIW I always use URLBinaryLoader which handles all errors well. > On Jul 22, 2024, at 1:31 PM, Piotr Zarzycki wrote: > > in Q2 it suppose to be readyState == 4 - My mistake > > pon., 22 lip 2024 o 12:16 Piotr Zarzycki > napisał(a): > >> Hello, >> >> I have case in my application where I'm t

Re: Debugging with source-maps

2024-07-22 Thread Harbs
nd things). > > I can look into adding name mapping to our debug build source maps. > > -- > Josh Tynjala > Bowler Hat LLC <https://bowlerhat.dev> > > > On Sun, Jul 21, 2024 at 6:24 AM Gabe Harbs wrote: > >> I’ve never really tried debugging with

Re: Debugging with source-maps

2024-07-21 Thread Harbs
This looks similar to what would be needed? https://github.com/microsoft/vscode/issues/12066 > On Jul 21, 2024, at 4:24 PM, Gabe Harbs wrote: > > I’ve never really tried debugging with source-maps enabled. I figured I’d > give it a try and while cool, it doesn’t feel so us

Debugging with source-maps

2024-07-21 Thread Gabe Harbs
being mapped to “this”. Is there any way around this limitation? What do other frameworks do? Harbs

Re: [I] Binding with {} vs binding mxml (ConstantBinding) [royale-asjs]

2024-05-13 Thread Gabe Harbs
Try ContainerBinding. That should work with nested objects. > On May 13, 2024, at 11:30 AM, mjesteve (via GitHub) wrote: > > > mjesteve commented on issue #1244: > URL: https://github.com/apache/royale-asjs/issues/1244#issuecomment-2106961448 > > The name "gives us a clue", that's what it is

Re: Abstract getters and setters

2024-03-29 Thread Harbs
Thanks Josh, Is that something you can see yourself working on? Thanks, Harbs > On Mar 27, 2024, at 5:47 PM, Josh Tynjala wrote: > > I don't think this has been discussed before. I don't believe that there is > any technical issue preventing it. I suspect that getter

Abstract getters and setters

2024-03-27 Thread Gabe Harbs
I just noticed that getters and setters cannot be abstract. I don’t remember if this was discussed before. Is there an issue with adding that functionality? Thanks, Harbs

Re: HTMLX

2024-03-20 Thread Gabe Harbs
HTMX or HTMLX? I assume you mean the former. I wouldn’t really compare it to MXML and Royale. It really shines in multi-page applications which do rendering on the backend while not requiring full page refreshes. My $0.02, Harbs > On Mar 20, 2024, at 12:05 PM, Hugo Ferreira wrote: >

Re: I can't compile the all framework

2024-03-14 Thread Gabe Harbs
~/Apache/royale-asjs/frameworks/libs ) > On Mar 11, 2024, at 11:11 PM, Harbs wrote: > > Great! > >> On Mar 11, 2024, at 12:05 PM, Hugo Ferreira wrote: >> >> Thank you problem solved. >> >> Deleted all folders expect the source >> ant clean &

Re: I can't compile the all framework

2024-03-11 Thread Harbs
Great! > On Mar 11, 2024, at 12:05 PM, Hugo Ferreira wrote: > > Thank you problem solved. > > Deleted all folders expect the source > ant clean > all all > > Build successfull. > > Harbs escreveu (sábado, 9/03/2024 à(s) 21:30): > >> (Interse

Re: I can't compile the all framework

2024-03-09 Thread Harbs
(IntersectionObserver is a web api which needs the current typedefs to recognize) > On Mar 9, 2024, at 11:28 PM, Harbs wrote: > > Make sure your royale-typedefs repo is up to date. > > Harbs > >> On Mar 9, 2024, at 10:42 PM, Hugo Ferreira wrote: >> >>

Re: I can't compile the all framework

2024-03-09 Thread Harbs
Make sure your royale-typedefs repo is up to date. Harbs > On Mar 9, 2024, at 10:42 PM, Hugo Ferreira wrote: > > Hi, > > For months that I can't build the all framework with ant -all > I get the following error: > > [java] > /Volumes/Data/SDK/apache-roy

Re: Minimum Java version 11 for Royale Compiler

2024-02-15 Thread Harbs
I think it’s fine to drop support for Java 8. Java 11 is a very reasonable minimum requirement. Harbs > On Feb 15, 2024, at 7:19 PM, Josh Tynjala wrote: > > Hey folks, > > A user recently reported an issue building royale-compiler with Maven and a > newer version of Java

Re: (royale-asjs) branch develop updated: Added factory for reusing data item renderers

2023-12-21 Thread Harbs
r for forcing specific types because those calls are optimized out in the release builds. HTH, Harbs > On Dec 21, 2023, at 11:14 AM, Maria Jose Esteve wrote: > > Harb, can you explain to me the importance/need for @royaleignorecoercion? > > Hiedra > > -Mensaje original---

Re: (royale-asjs) branch develop updated: Added factory for reusing data item renderers

2023-12-20 Thread Harbs
getting the depth of nodes which is very expensive in the built-in method. Harbs > On Dec 21, 2023, at 1:31 AM, ha...@apache.org wrote: > > This is an automated email from the ASF dual-hosted git repository. > > harbs pushed a commit to branch develop > in repository https:/

Re: TrustedHTML

2023-11-28 Thread Harbs
We found a work-around for the current issue for now. That being said, it’s probably a good idea to look into upgrading when we’re under less pressure. Harbs > On Nov 28, 2023, at 7:35 PM, Greg Dove wrote: > > I might be wrong, but I think from memory, there were some issues

Re: TrustedHTML

2023-11-28 Thread Gabe Harbs
gt; might just need to try using an updated Closure Library and test if it > works with the version of Closure Compiler that we're bundling. > > -- > Josh Tynjala > Bowler Hat LLC <https://bowlerhat.dev> > > > On Tue, Nov 28, 2023 at 8:34 AM Gabe Harbs wr

TrustedHTML

2023-11-28 Thread Gabe Harbs
support TrustedHTML. https://github.com/google/closure-library/blob/7818ff7dc0b53555a7fb3c3427e6761e88bde3a2/closure/goog/base.js#L2996 Is there an issue with just swapping the closure-library version? Harbs

Mac Studio performance

2023-11-06 Thread Harbs
framework code without the compiler) took 5 minutes 18 seconds ant -Dskip-tests=true (just framework no tests) took 2 minutes 37 seconds! B-) Harbs

Re: Tree

2023-11-02 Thread Harbs
ira wrote: > > For a simple use case, it seems very good. > I liked it. > > But for a more demanding job (drag-and-drop, right-click for adding/removing > nodes) I guess that is not implemented, correct ? > > Harbs mailto:harbs.li...@gmail.com>> escreveu no di

Re: Tree

2023-11-02 Thread Harbs
Here’s what I use: https://unhurdle.github.io/spectrum-royale/#!tree_view > On Nov 2, 2023, at 5:11 PM, Hugo Ferreira wrote: > > Hi, > > Soon, I will need a Tree with at least these features (drag and drop, right > click to context menu for actions like create sub-item). > A long time about I

Re: Build with ANT is crashing

2023-10-28 Thread Harbs
Make sure your typedefs repo is up to date. IntersectionObserver is a web API which was added to typedefs relatively recently. > On Oct 28, 2023, at 3:06 PM, Hugo Ferreira wrote: > > Hi, > > I don't build Apache Royale framework for a very long time (many months) > and I tried to build today (

Re: Function to refresh a VirtualList

2023-10-23 Thread Harbs
Check out SmoothDataLoader and InfiniteScroller. Those two together have solved my performance issues. You can probably avoid VirualList. > On Oct 23, 2023, at 10:28 PM, Hugo Ferreira wrote: > > Hi Maria, > > I'm very busy right now. > As soon as I manage time, I will check and let you know.

Re: Royale AS3 with Starling Framework

2023-09-25 Thread Harbs
Very nice! > On Sep 25, 2023, at 10:49 PM, Josh Tynjala wrote: > > Hi Royale community, > > As you may know, I'm a big fan of finding ways for Royale's AS3 to JS > compiler to work with emulated Flash APIs. Today, I'm sharing a little > project created by Fancy2209 that uses AS3/Royale to build

Re: Rich media in Royale

2023-09-22 Thread Harbs
have any built in components that encapsulate this, but it should be pretty easy to code it directly. HTH, Harbs > On Sep 22, 2023, at 3:03 PM, Hugo Ferreira wrote: > > The option 2, will be a faster way to solve the problem but the option 1 > will fill the gap between Flex and Roy

Re: [royale-typedefs] branch develop updated: Add intersection_observer to pom

2023-08-27 Thread Harbs
I think I got it... > On Aug 27, 2023, at 8:51 PM, Harbs wrote: > > This didn’t fix the build on ci-builds. > > Any pointers on what I need to do to get the typedefs working in Maven? > >> On Aug 27, 2023, at 8:28 PM, ha...@apache.org wrote: >> >> This is

Re: [royale-typedefs] branch develop updated: Add intersection_observer to pom

2023-08-27 Thread Harbs
This didn’t fix the build on ci-builds. Any pointers on what I need to do to get the typedefs working in Maven? > On Aug 27, 2023, at 8:28 PM, ha...@apache.org wrote: > > This is an automated email from the ASF dual-hosted git repository. > > harbs pushed a commit to bran

Re: My recent SaaS project: MailSortify

2023-08-23 Thread Harbs
Cool. Good luck! Harbs > On Aug 23, 2023, at 10:42 PM, Hugo Ferreira wrote: > > Hi, > > Just to share with the community my recent project: > MailSortify: https://www.mailsortify.com > > After a year and a half rewriting my Flex application in Royale, I decided &

Re: [royale-asjs] branch develop updated: Added execute method for HttpRequestTask

2023-08-13 Thread Harbs
completed stuff with task.httpResult } else { //handle error } },HTTPConstants.POST,json,HTTPHeader.APPLICATION_JSON); HTH, Harbs > On Aug 13, 2023, at 11:00 AM, ha...@apache.org wrote: > > This is an automated email from the ASF dual-hosted git repository. > > harbs pus

Re: UIBase has mouse events but not keyboard events?

2023-07-13 Thread Harbs
I tried looking through the code, but I couldn’t find anywhere that’s handled. I assume it works correctly? But I have no idea how... > On Jul 13, 2023, at 9:38 AM, Greg Dove wrote: > > I think we already do similar for mouseDown vs mousedown > etc in UIBase?

Re: UIBase has mouse events but not keyboard events?

2023-07-12 Thread Harbs
Also: with modern apps that might have touch events, keydown and keyup are less useful than they used to be. Handling all the input-related events by default is likely a bit much. > On Jul 13, 2023, at 8:40 AM, Harbs wrote: > > I don’t have any objections on principle, but there is

Re: UIBase has mouse events but not keyboard events?

2023-07-12 Thread Harbs
I don’t have any objections on principle, but there is something which might be a technical challenge: In swf it’s “keyDown” and “keyUp”, but in JS it’s “keydown” and “keyup”. I’m not sure how to handle that with metadata and MXML. > On Jul 13, 2023, at 1:20 AM, Josh Tynjala wrote: > > I'm tr

Re: Question about DropZone and FileReference

2023-07-11 Thread Harbs
upload(url); } > On Jul 11, 2023, at 7:46 PM, Harbs wrote: > > Something like this? > > private function dropped(ev:DragEvent):void{ > ev.preventDefault(); > var fileList:FileList = ev.dataTransfer.files; > dispatchEv

Re: Question about DropZone and FileReference

2023-07-11 Thread Harbs
Something like this? private function dropped(ev:DragEvent):void{ ev.preventDefault(); var fileList:FileList = ev.dataTransfer.files; dispatchEvent(new ValueEvent("filesAvailable",fileList)); } The code from FileLoader is relevant

Re: New (optional) AS3 compiler feature: Type inference

2023-06-20 Thread Harbs
Nice. I personally like explicit types because it’s more human readable. How feasable would it be to automatically add types to the code based on type inference. So var s = “hello” could be transformed to var s:String = “hello”. Do you need to assign the variable when it’s declared for this to

Re: Apache Royale App also on iOS and macOS Stores

2023-05-23 Thread Harbs
Cool! > On May 24, 2023, at 2:47 AM, Hugo Ferreira wrote: > > Hi, > > I tried to publish my Royale App (PWA App) in simultaneos for Apple iOS > Store and Apple macOS Store even Apple could reject my App for be a Web App. > In the past they reject all Web Apps, however nowadays they analize the

Re: NPM Credentials Problem Blocking Release

2023-05-23 Thread Harbs
I sent the code to Yishay via Slack. Does that work? > On May 23, 2023, at 5:22 PM, Harbs wrote: > > I’m getting the moderation emails with the code. Will that help? > >> On May 23, 2023, at 5:13 PM, Piotr Zarzycki >> wrote: >> >> Hi Guys, >> &

Re: NPM Credentials Problem Blocking Release

2023-05-23 Thread Harbs
\node_modules\request\request.js:1076:12) >> [exec] at Object.onceWrapper (events.js:421:28) >> [exec] at IncomingMessage.emit (events.js:327:22) >> >>BUILD FAILED >>C:\dev\release_royale\releasecandidate.xml:1363: exec returned: 1 >>

Re: [DISCUSS] Release Apache Royale 0.9.10 RC4

2023-05-23 Thread Harbs
I believe we are good with this release ? Is there something which has to >> be done more ? >> >> śr., 17 maj 2023 o 12:16 Yishay Weiss napisał(a): >> >>> What java version are you using? Try jdk 17/11/8. >>> >>>

Re: [DISCUSS] Release Apache Royale 0.9.10 RC4

2023-05-17 Thread Harbs
I tried running this on my new computer and I’m getting errors with Maven: [INFO] Reactor Summary for Apache Royale: Compiler: Parent 0.9.10: [INFO] [INFO] Apache Royale: Compiler: Parent SUCCESS [ 27.630 s] [INFO] Apache Royale: Compiler: Compiler-Common ... SUCCESS

Re: [DISCUSS] Release Apache Royale 0.9.10 RC4

2023-05-15 Thread Harbs
Yes. That is somewhat concerning. Are you using Spark anywhere in your application? > On May 15, 2023, at 3:13 PM, Piotr Zarzycki wrote: > > Hi Guys, > > I have voted +1, but I have found one issue which concerns me a little bit. > I have need of usage in my application > -> org.apache.royale.

Re: Mac M2 performance

2023-05-06 Thread Harbs
I do the same. I open the individual folders and run “ant” to build. Basic takes 20 seconds on my new computer. Core takes 6 seconds. etc. I have a Project Manager “Project” seed for each one of the secs in VS Code that I use when working on frameworks. Harbs > On May 7, 2023, at 9:20

Re: Performance issue with Datagrid / last build download issue

2023-05-06 Thread Gabe Harbs
have getMoreData() make an API call to get paged data if there’s more data pending. SmoothDataLoader is complementary in that it’s useful for loading large amounts of data in a way that doesn’t freeze the UI. HTH, Harbs > On May 6, 2023, at 11:27 AM, Hugo Ferreira wrote: > > I did

Re: 0.9.10 Release

2023-05-04 Thread Gabe Harbs
;>>>>> >>>>>>> -- >>>>>>> Josh Tynjala >>>>>>> Bowler Hat LLC <https://bowlerhat.dev> >>>>>>> >>>>>>> >>>>>>> On Sun, Apr 2, 2023 at 4:01 AM Yishay W

Re: Player Global

2023-05-04 Thread Gabe Harbs
This went over my head a bit. Currently, when I build Royale (withs wf support), I rsync a “player” folder which has playerglobal.swc into frameworks/libs to allow it to be used for compiling applications. I’m looking to get rid of that step and I’m not sure how we can facilitate that. Harbs

Re: Mac M2 performance

2023-05-04 Thread Gabe Harbs
And the frameworks without tests (i.e. ant -Dskip-tests=true) took: Total time: 3 minutes 1 second > On May 4, 2023, at 10:53 AM, Gabe Harbs wrote: > > My Intel laptop fell and my screen broke. That was my impetus to buy a new > MacBook Pro. I just bought an M2 MacBook Pro and I

Mac M2 performance

2023-05-04 Thread Gabe Harbs
compile of all the frameworks (i.e. ant) took: Total time: 6 minutes 7 seconds Harbs

Player Global

2023-05-04 Thread Gabe Harbs
What’s the status to compiling player global? I remember Josh doing work on creating our own version of player global so we wouldn’t have to rely on the downloads from Adobe. It does not seem to be added as part of the build process. Is there a reason why not? Thanks, Harbs

Re: Performance issue with Datagrid / last build download issue

2023-05-03 Thread Harbs
InfiniteScroller also does not handle adding a progress indicator to the end of the list. If desired, that would need to be handled separately. HTH, Harbs > On May 1, 2023, at 7:14 PM, Harbs wrote: > > I added InfiniteScroller. > > You can use it like this: > > > >

Re: Performance issue with Datagrid / last build download issue

2023-05-01 Thread Harbs
I added InfiniteScroller. You can use it like this: If the scroll container is not the actual list, you should use it like this: I’ll try to add the other bead tomorrow… Harbs > On Apr 26, 2023, at 12:46 PM, Hugo Ferreira wrote: > > I'm sold :) > > When you

Re: Performance issue with Datagrid / last build download issue

2023-04-26 Thread Harbs
aGrid and Jewel VirtualDataGrid @Hugo? > > Hiedra > > -Mensaje original- > De: Harbs > Enviado el: miércoles, 26 de abril de 2023 11:42 > Para: Apache Royale Development > Asunto: Re: Performance issue with Datagrid / last build download issue > > If you us

Re: Performance issue with Datagrid / last build download issue

2023-04-26 Thread Harbs
If you use IntersectionObservers, the callback is only invoked when the observed element comes into view. The beauty of the IntersectionObservers is that it doesn’t matter how the element comes into view. It can be by any kind of scrolling, window resize, or even by changing the visibility of it

Re: Performance issue with Datagrid / last build download issue

2023-04-26 Thread Harbs
> That means, that I could use a normal DataGrid and "emulated" the infinite > behaviour ? Yes. > On Apr 26, 2023, at 12:32 PM, Hugo Ferreira wrote: > > Hi Harbs, > > That's fantastic ! > That means, that I could use a normal DataGrid and "e

Re: Performance issue with Datagrid / last build download issue

2023-04-26 Thread Harbs
The way I handle performance in my app is with requestAnimationFrame. Stash an array of your data providers and add them i.e. 20 at a time: private function handleScrollEnd():void{ for(var i:int=0;i<20;i++){ if(pendingTags.le

Re: Issue compiling Royale

2023-03-17 Thread Harbs
repos to my user folder. Thanks! Harbs > On Mar 16, 2023, at 10:33 PM, Josh Tynjala wrote: > > /System/Volumes/Data/Apache/royale-asjs vs /Users/harbs/ > > What if you checked it out somewhere inside /Users/harbs/ instead? I don't > know why that would matter, but you never know.

Re: Issue compiling Royale

2023-03-16 Thread Harbs
/frameworks/projects/Network/src/test/royale] already available in local trust file at [/Users/harbs/Library/Preferences/Macromedia/Flash Player/#Security/FlashPlayerTrust/royaleUnit.cfg]. [royaleunit] Setting up server process ... [royaleunit] Starting server ... [royaleunit] Executing 'open&

Re: Issue compiling Royale

2023-03-16 Thread Harbs
es RoyaleUnit use a socket or access a server? What version of Java and > Ant are you using? > > On 3/16/23, 9:58 AM, "Harbs" <mailto:harbs.li...@gmail.com>> wrote: > > > EXTERNAL: Use caution when clicking on links or opening attachments. > > >

Re: Issue compiling Royale

2023-03-16 Thread Harbs
.apache.org/thread/wxkvx2c00fjdktdd3ot55wfn04nfz463 > > -- > Josh Tynjala > Bowler Hat LLC <https://bowlerhat.dev> > > > On Thu, Mar 16, 2023 at 5:19 AM Harbs wrote: > >> I recently upgraded my MacBook Pro to Ventura. >> >> When trying to compile Royale, I’m getting the fol

Issue compiling Royale

2023-03-16 Thread Harbs
I recently upgraded my MacBook Pro to Ventura. When trying to compile Royale, I’m getting the following error. Any ideas what to do? /System/Volumes/Data/Apache/royale-asjs/frameworks/projects/Basic/src/test/royale/build.xml:102: java.util.concurrent.ExecutionException: command [] not understo

Re: Clear the cache strategy

2023-03-09 Thread Harbs
gt; > OK, after you build-release you run a script that does exactly that. > > Harbs escreveu no dia quinta, 9/03/2023 à(s) 21:37: > >> I have a bash script to stage my app that looks like this: >> >> version=$(cat $DIR/releases.json | jq '.version&#

Re: Clear the cache strategy

2023-03-09 Thread Harbs
ases.json has the version and the build number is updated by this script. The template html has this: The HTML file on the server has a very short TTL. The rest of the files have a much longer TTL. The build script busts the cache when it’s deployed

  1   2   3   4   5   6   7   8   9   10   >