Re: [qooxdoo-devel] Preventing certain variables from being optimized

2012-05-31 Thread Fritz Zaucker
On Fri, 1 Jun 2012, Petr Kobalí?ek wrote: personally I don't understand why the private variables are renamed at all. Just to ensure privacy sounds like enough reason, don't you think? JS is usually packed by gzip so the optimization doesn't make a sense - it only causes traffic on mailing l

[qooxdoo-devel] Google Charts and Qooxdoo

2012-05-31 Thread murtaza52
Hi, I would like to use the google visualization api to create google charts in my qooxdoo desktop app. I would like to request data through the rpc mechanism, and then use the google api this data and other configurations. Hos do I do this? In general what is the strategy to interop with exter

Re: [qooxdoo-devel] Preventing certain variables from being optimized

2012-05-31 Thread Petr Kobalíček
Hi, personally I don't understand why the private variables are renamed at all. JS is usually packed by gzip so the optimization doesn't make a sense - it only causes traffic on mailing list;) Btw some research how much the optimization affects build (I mean performance, size of compressed js, ..

Re: [qooxdoo-devel] Memory leak detection

2012-05-31 Thread Martin Wittemann
Hey, Thanks for the pointers. I found “qx.util.DisposeUtil.disposeTriggeredBy” in the framework which solves my problem of leaking tooltips, fonts etcetera. Using the disposerDebug version I found many other things so my code is much better now! Sounds like a success, congratulation. :) While lo

[qooxdoo-devel] Preventing certain variables from being optimized

2012-05-31 Thread Derrell Lipman
I want to use full-optimization in the build version of my app, but I am injecting external code (not run through the generator) in one section, which must have access to variables in the main app. Those variables, therefore, must not be renamed by the optimizer. I believe I have seen a mechanism

Re: [qooxdoo-devel] iPad

2012-05-31 Thread slah
Hello, you can listen to "touch" event on desktop applications too. Regards CyberQX wrote > > I tried to make a qooxdoo test application for the iPad. Are there plans > to make a Grid and a Dock layout for qooxdoo mobile or was it only > designed for phones? Or is there another way to get such l

Re: [qooxdoo-devel] Memory leak detection

2012-05-31 Thread Jeroen Smit
Hi Martin, Thanks for the pointers. I found "qx.util.DisposeUtil.disposeTriggeredBy" in the framework which solves my problem of leaking tooltips, fonts etcetera. Using the disposerDebug version I found many other things so my code is much better now! While looking at objects not being disposed

Re: [qooxdoo-devel] Optimize options causes app to silently fail at startup

2012-05-31 Thread thron7
On 05/31/2012 05:09 PM, loremipsum wrote: > Hi folks, first of all thanks for you help and for the amazing framework > Qooxdoo is. > > I've tried to optimize the code generated by the build job, and if I put > something different than an empty array in the optimize options of my > config.json fil

[qooxdoo-devel] Optimize options causes app to silently fail at startup

2012-05-31 Thread loremipsum
Hi folks, first of all thanks for you help and for the amazing framework Qooxdoo is. I've tried to optimize the code generated by the build job, and if I put something different than an empty array in the optimize options of my config.json file (within the job override or within the let section),

Re: [qooxdoo-devel] How to create a real modal window?

2012-05-31 Thread Fritz Zaucker
On Thu, 31 May 2012, sts.wbs wrote: > I'm writing a "MessageBox" dialog for showing > information/warning/error/confirmation. We all know them from Windows. The > JavaScript alert/confirm box is deprecated and not very pretty and I > didn't find a replacement in qooxdoo. My MessageBox is complete,

Re: [qooxdoo-devel] How to create a real modal window?

2012-05-31 Thread sts.wbs
I'm writing a "MessageBox" dialog for showing information/warning/error/confirmation. We all know them from Windows. The JavaScript alert/confirm box is deprecated and not very pretty and I didn't find a replacement in qooxdoo. My MessageBox is complete, but just doesn't wait until the answer of th

Re: [qooxdoo-devel] How to create a real modal window?

2012-05-31 Thread Fritz Zaucker
The alert box is a browser or probably more exactly a JavaScript "control", as far as I understand. It is deprecated, I guess, because it conflicts with the event driven programming model of GUI applications. The modal window tries to force the user to some interaction, but it doesn't care about

Re: [qooxdoo-devel] How to create a real modal window?

2012-05-31 Thread sts.wbs
I mean a behavior like the deprecated alert box has. It shows a box and waits for a press on an button to close the box and continue operation. Maybe I could wait within a loop, but then I need a function to keep the browser alive. How does the alert box work inside? Thanks, sts -- View this m

Re: [qooxdoo-devel] How to create a real modal window?

2012-05-31 Thread Christopher Zündorf
You could install a listener on a event of the window. Maybe appear , beforeClose ? Greetz Christopher Am 31.05.2012 um 10:45 schrieb Mailinglist: Hello! Does anyone know how to create a REAL modal window/dialog? I'm extending qx.ui.window.Window and call: myDialog.setModal(true); myDialo

Re: [qooxdoo-devel] Google Charts and Qooxdoo

2012-05-31 Thread slah
Hello, the easy way is to include the google api js in your index.html (it's in the root of your app source dir). then build your charts in an html area for example. Regards murtaza52 wrote > > Hi, > > I would like to use the google visualization api to create google charts > in my qooxdoo des

[qooxdoo-devel] Prevent 'Tab' from focusing out of a TextArea

2012-05-31 Thread omrihar
Dear List, I have a qx.ui.form.TextArea widget in which a short Python code should be written by the user to later be executed on the server. I would like to be able to offer the user the option of using Tabs to create code blocks (replacing one Tab with four spaces) for easy programming. Is ther

[qooxdoo-devel] How to create a real modal window?

2012-05-31 Thread Mailinglist
Hello! Does anyone know how to create a REAL modal window/dialog? I'm extending qx.ui.window.Window and call: myDialog.setModal(true); myDialog.open(); The dialog comes up and the blocker prevents further access to the rest of the application, BUT THE PROCESSING DOESN'T STOP at the "open" ca