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

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 getters/setters

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): > >> (Int

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-royale-s

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
etter 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
for 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
; 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 wrote: >

TrustedHTML

2023-11-28 Thread Gabe Harbs
to 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
the 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

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

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

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

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

Re: Question about DropZone and FileReference

2023-07-11 Thread Harbs
ref.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; > dispatchEvent(n

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-24 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
ject.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 >> >>From: Alex Harui<mailto:aha...@adobe.com.INVALID&g

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 > ->

Re: Mac M2 performance

2023-05-07 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
a >>>>>>> Bowler Hat LLC <https://bowlerhat.dev> >>>>>>> >>>>>>> >>>>>>> On Sun, Apr 2, 2023 at 4:01 AM Yishay Weiss >> >>>>>>> wrote: >>>>>>> >>>&g

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
A 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
. The 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 push

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

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 "emulat

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++){

Re: Issue compiling Royale

2023-03-17 Thread Harbs
the 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
Does 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

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
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. Change “MyApp” to the name

Re: Right click bead for context menu

2023-01-11 Thread Harbs
ill put in the mailing list for all can see :) > > Harbs escreveu no dia quarta, 11/01/2023 à(s) 08:19: > >> As long as the view is separate from the core component, it should work >> for both. The view could use the native APIs if necessary, although I’ve >> never seen any

Re: Right click bead for context menu

2023-01-10 Thread Harbs
AL: Use caution when clicking on links or opening attachments. >> >> >> >> >> Seems that the way is to extend from List and implement from IBead. >> I managed to put the dataProvider working but for some reason not the >> itemRenderer. >> This need

Re: Right click bead for context menu

2023-01-08 Thread Harbs
No. My suggestion is that the ContextMenu should implement List (or subclass it if that makes sense). Something like this: Check All Uncheck All > On Jan 8, 2023, at 10:39 PM, Hugo Ferreira wrote: > > Hi Harbs, > > I hadn'

Re: Right click bead for context menu

2023-01-07 Thread Harbs
Yes. Thanks for working on this. :-) I’d suggest that a ContextMenu should be a kind of a List with a dataProvider and ItemRenderers. That would fit into the common Royale pattern and completely abstract the UI. > On Jan 8, 2023, at 9:05 AM, Yishay Weiss wrote: > > Nice. > > Did you

Re: Happy New Year team. 2023

2023-01-02 Thread Harbs
Happy New Year! > On Jan 1, 2023, at 2:37 PM, Maria Jose Esteve wrote: > > Happy New Year team. > Let's make 2023 the year of Apache Royale!!! > > Hiedra

Re: Drag multiple files from outside of the browser

2022-12-13 Thread Harbs
Well, the implementation is very simple, so that could just be copied. > On Dec 13, 2022, at 2:32 PM, Maria Jose Esteve wrote: > > Do you think it could be used with Jewel easily? > > Hiedra > > -Mensaje original- > De: Harbs > Enviado el: martes, 13

Re: Drag multiple files from outside of the browser

2022-12-13 Thread Harbs
Ha. I forgot we did that… ;-) > On Dec 13, 2022, at 10:40 AM, Maria Jose Esteve wrote: > > Have you looked at the Spectrum Dropzone component [1]? > > [1] > https://unhurdle.github.io/spectrum-royale/#!dropzone?colorstop=light=medium > > Mª José Esteve García > Dpto. Sistemas >

MouseEvent.clientX/Y

2022-12-11 Thread Harbs
Does anyone remember why were’s using clientX and clientY on the JS side of things? Isn’t pageX and pageY usually the more accurate of the two when there’s page scrolling? I’d think that the page values in JS corresponds to the client ones in Flash. unless I’m missing something… Harbs

Re: [royale-asjs] branch develop updated: Added taskToPromise and promiseToTask

2022-11-27 Thread Harbs
a promise from some code and want to use it with tasks (i.e. CompoundAsyncTask or similar): var task:PromiseTask = promiseToTask(promise); HTH, Harbs > On Nov 27, 2022, at 2:06 PM, ha...@apache.org wrote: > > This is an automated email from the ASF dual-hosted git repository. > &g

Re: Apache Royale showcase

2022-11-18 Thread Harbs
{ // do something } loader.onError = function (l:URLBinaryLoader):void{ // do something } loader.load(request); The advantage of URLBinaryLoader is that you get much more information about the requests including header, etc. HTH, Harbs > On Nov 18, 2022, at 1:17 PM, Hugo Ferre

Re: Welcome Hugo Ferreira to Apache Royale's PMC

2022-10-27 Thread Harbs
Welcome Hugo! Great to have you as part of the team! Harbs > On Oct 27, 2022, at 4:22 PM, Yishay Weiss wrote: > > Hi All, > > It is with great pleasure that I announce that the Apache Royale PMC members > have voted in Hugo Ferreira to the PMC. Please join u

Re: HTML

2022-10-18 Thread Harbs
on slower machines. I have VS Code projects for the whole royale-asjs folder as well as each of the swc projects (i.e. Core, Basic, Network, XML etc.) As I’m working, I run ant on the specific swc I’m working on. For most swcs it takes a few seconds. HTH, Harbs > On Oct 19, 2022, at 12:01

Re: HTML

2022-10-18 Thread Harbs
and even so, > probably it's not finished yet ! > I hope next year, I update my MacBook :) > > Harbs escreveu no dia terça, 18/10/2022 à(s) 21:38: > >> Let’s see what others think, but in the meantime there’s no reason to not >> fix the bug. There are other h

Re: HTML

2022-10-18 Thread Harbs
Let’s see what others think, but in the meantime there’s no reason to not fix the bug. There are other html setters which already set innerHTML. Harbs > On Oct 18, 2022, at 11:29 PM, Hugo Ferreira wrote: > > Yes, I saw that helper (I searched for it name) :) > Yes, it's exactly

Re: HTML

2022-10-18 Thread Harbs
sn't have the same issue :) > > About the sanitize: > Should this be really a reponsibility of FormHeadingView !? > Shouldn't the responsibility on one of the edges (the limit of html > property core or on the end application) ? > In the middle, we could ending "sanitizing"

Re: HTML

2022-10-17 Thread Harbs
when applied. Harbs > On Oct 16, 2022, at 5:17 PM, Hugo Ferreira wrote: > > Hi, > > I'm using FormHeading when I have a lot of fields and want to create a > vertical separation (group of data). > It's OK, however I needed now to use in the FormHeading texto some HTML >

Re: [GitHub] [royale-asjs] yishayw commented on pull request #1147: Jewel: Cancel spinner auto increment/decrement when mousing away from buttons

2022-10-11 Thread Harbs
I have no idea why that error was happening, but I cleaned up the file. It should not have been using removeAllListeners either way. > On Oct 11, 2022, at 10:38 AM, GitBox wrote: > > > yishayw commented on PR #1147: > URL:

Re: Uncompress

2022-10-04 Thread Harbs
https://stackoverflow.com/questions/36185110/is-there-a-way-to-use-browsers-native-gzip-decompression-using-javascript tl;dr For full browser support use pako.

Re: Introducing asformat

2022-09-29 Thread Harbs
Yes. Most of us have similar stories. As long as you’re not afraid to start learning something new you will be surprised how much you can learn in small steps. Harbs > On Sep 29, 2022, at 12:02 AM, Josh Tynjala wrote: > > Around 2015 or so, I had never worked on a compiler,

Re: Introducing aslint, a linter for ActionScript and MXML

2022-09-28 Thread Harbs
just to enforce camel case. I should add the default regex > patterns to the docs. > > -- > Josh Tynjala > Bowler Hat LLC <https://bowlerhat.dev> > > > On Wed, Sep 28, 2022 at 12:25 PM Harbs wrote: > >> Also, the values for some of the options are not very c

Re: Introducing aslint, a linter for ActionScript and MXML

2022-09-28 Thread Harbs
> Ideally, I'd like to add deeper integration with vscode-as3mxml. Linter > issues should automatically show up in the Problems view as you type (or > maybe when you save a file). I haven't had time to dig into that yet. > > -- > Josh Tynjala > Bowler Hat LLC <https://bowler

Re: Introducing aslint, a linter for ActionScript and MXML

2022-09-28 Thread Harbs
Also, the values for some of the options are not very clear. How do we discover possible values? > On Sep 28, 2022, at 10:18 PM, Harbs wrote: > > Do you have instructions on how to integrate the linter into VS Code? > >> On Sep 28, 2022, at 12:14 AM, Josh Tynjala wrote

Re: Introducing aslint, a linter for ActionScript and MXML

2022-09-28 Thread Harbs
Do you have instructions on how to integrate the linter into VS Code? > On Sep 28, 2022, at 12:14 AM, Josh Tynjala wrote: > > Hey folks, > > I recently committed a new tool to the royale-compiler repository. It's > called aslint, and it is a linter to find common issues in .as and .mxml >

Re: Introducing asformat

2022-09-28 Thread Harbs
Yep. We’re using it too! > On Sep 28, 2022, at 9:16 PM, Yishay Weiss wrote: > > The –watch option is already being used and is a big productivity boost.

Re: Introducing asformat

2022-09-28 Thread Harbs
Yishay, I can work on it with you after Sukkot. Harbs > On Sep 28, 2022, at 9:16 PM, Yishay Weiss wrote: > > It’s great to see this progress. I expect to see as-linter replacing > SonarQube in our current project. Do you think it would be hard to integrate > it with

Re: Introducing asformat

2022-09-28 Thread Harbs
That’s great! This is a good reason to get another release out… :-) Harbs > On Sep 28, 2022, at 12:24 AM, Josh Tynjala wrote: > > I just wanted to follow up by mentioning that I recently added the ability > for the formatter load configuration files, in addition to the existin

Re: [royale-asjs] branch develop updated: Basic: Fix issue where in scenario of providing object in dataProvider contains fields either null or undefined causes display [object Object] instead of empt

2022-08-24 Thread Harbs
Great. Thanks for letting me know. > On Aug 24, 2022, at 1:19 PM, Piotr Zarzycki wrote: > > Hi Harbs, > > Everything is working fine. I have tested with our application. Thanks for > your help and advice. > > Thanks, > Piotr > > pt., 19 sie 2022

Re: [royale-asjs] branch develop updated: Basic: Fix issue where in scenario of providing object in dataProvider contains fields either null or undefined causes display [object Object] instead of empt

2022-08-19 Thread Harbs
Did you double check what I did? I’d feel more comfortable if you did... > On Aug 14, 2022, at 4:10 PM, Harbs wrote: > > I just committed what I think will work better. > > Please double check what I did... > >> On Aug 14, 2022, at 12:51 PM, Piotr Zarzycki >&g

Re: The build is failing (even without changes on my side)

2022-08-19 Thread Harbs
It looks like flexUnitTests.xml.XMLTesterGeneralTest is failing. What’s the error? > On Aug 19, 2022, at 4:58 PM, Hugo Ferreira wrote: > > Hi, > > > A simple build without change, fail: > > > check-royaleunit-browser: > > > test: > >[mkdir] Created dir: >

Re: [royale-asjs] branch develop updated: Basic: Fix issue where in scenario of providing object in dataProvider contains fields either null or undefined causes display [object Object] instead of empt

2022-08-14 Thread Harbs
I just committed what I think will work better. Please double check what I did... > On Aug 14, 2022, at 12:51 PM, Piotr Zarzycki > wrote: > > No. In fields there is null or undefined - what do you suggest ? > > pt., 12 sie 2022 o 14:38 Gabe Harbs napisał(a): > &

Re: [royale-asjs] branch develop updated: Basic: Fix issue where in scenario of providing object in dataProvider contains fields either null or undefined causes display [object Object] instead of empt

2022-08-12 Thread Gabe Harbs
No. That’s probably not what you want. If there’s an empty string that should be used. > On 12 Aug 2022, at 13:57, Piotr Zarzycki wrote: > > So maybe it's enough if I just made: > > If (data[(obj as IHasLabelField).labelField]) ? > > pt., 12 sie 2022 o 12:4

Re: [royale-asjs] branch develop updated: Basic: Fix issue where in scenario of providing object in dataProvider contains fields either null or undefined causes display [object Object] instead of empt

2022-08-12 Thread Gabe Harbs
FWIW: undefined == null is true. You don’t need to test for both null and undefined. > On 12 Aug 2022, at 12:56, pio...@apache.org wrote: > > This is an automated email from the ASF dual-hosted git repository. > > piotrz pushed a commit to branch develop > in repository

Re: how to get url ?

2022-08-09 Thread Harbs
Just remember: When all is said and done it’s all just plain old javascript... > On Aug 9, 2022, at 6:46 PM, Harbs wrote: > > http://ns.adobe.com/mxml/2009; > xmlns:j="library://ns.apache.org/royale/jewel" > xmlns:js="library://ns.apache.org/ro

Re: how to get url ?

2022-08-09 Thread Harbs
is my code : > > http://ns.adobe.com/mxml/2009; > xmlns:j="library://ns.apache.org/royale/jewel" > xmlns:js="library://ns.apache.org/royale/basic" > initialize="initialize()" > > > > >

Re: how to get url ?

2022-08-09 Thread Harbs
just use “window.location”. Make sure to use a JS block if you’re compiling to something other than JS too... > On Aug 9, 2022, at 5:31 PM, cont...@cristallium.com wrote: > > Hi all, > > I'm struggle on getting browser full url. (sdk 0.9.10) > > I tried this : > > var browserUrl:String =

Re: Using Playwright for RoyaleUnit JS testing

2022-08-02 Thread Harbs
Cool. I was wondering what those references to Playwright were. A couple of questions: Does this bring any performance improvements? Does this make UI testing easier? > On Aug 2, 2022, at 8:50 PM, Josh Tynjala wrote: > > Hey all, > > Recently, I committed some changes to the RoyaleUnit Ant

Re: Software Bill of Materials

2022-08-02 Thread Harbs
The lack of a supply chain for Royale is probably a good selling point… ;-) > On Aug 2, 2022, at 4:26 PM, Andrew Wetmore wrote: > > Hi, all. > > I was reading today about SBOM [1] ('a kind of nutrition label to reduce > software supply chain risk') and wondered whether it would be very >

Re: Asterisk (*) spoil Report Engine Text style

2022-07-28 Thread Harbs
> sintaxe. > > Harbs escreveu no dia quinta, 28/07/2022 à(s) 13:56: > >> You don’t need to delete it. You can copy the theme css file and modify it. >> >>> On Jul 28, 2022, at 3:50 PM, Hugo Ferreira >> wrote: >>> >>> I can't delete the default theme because everything was built on top of >>> that >> >>

Re: Asterisk (*) spoil Report Engine Text style

2022-07-28 Thread Harbs
You don’t need to delete it. You can copy the theme css file and modify it. > On Jul 28, 2022, at 3:50 PM, Hugo Ferreira wrote: > > I can't delete the default theme because everything was built on top of > that

Re: Asterisk (*) spoil Report Engine Text style

2022-07-28 Thread Harbs
That’s coming from one of the Royale themes. Try specifying a theme argument pointing to your own css file. In asconfij.json that would be inside compilerOptions: "theme": "src/main.css" HTH, Harbs > On Jul 28, 2022, at 11:08 AM, Hugo Ferreira wrote: > > Hi,

Re: Deploy new Royale static site as-is?

2022-07-19 Thread Harbs
+1 from me. Thanks for getting this working!!! Harbs > On Jul 19, 2022, at 12:54 AM, Josh Tynjala wrote: > > Hi all, > > I just created a new 11ty branch in the apache/royale-website repo, and I > added the source files for the static site that I built with Eleventy. >

Re: XML.conversion

2022-07-11 Thread Harbs
GeneralTest.as#L420 > > As a quick follow-on, Harbs, in terms of the equality behavior: > re: "That also depends on the targetObject and targetProperty values. > It’s only undefined if there’s no targetObject OR there IS a > targetProperty." > > Do you have some t

Re: XML.conversion

2022-07-04 Thread Harbs
It looks like BinaryOperatorEmitter is supposed to be emitting .plus(), but it doesn’t seem to be doing so… Harbs > On Jul 4, 2022, at 6:32 PM, Harbs wrote: > > The logic should be something like this in pseudocode: > > if(isPlus && (isXMLish(righthand) || isXMLi

  1   2   3   4   5   6   7   8   9   10   >