[qooxdoo-devel] Organizing unit tests into a test suite

2016-04-28 Thread Dimitri
it :( In a few words, I need some initialization logic to be run (once) before any test case. How do I achieve that? Cheers, Dimitri -- Find and fix application performance issues faster with Applications Manager

Re: [qooxdoo-devel] qooxdoo events best practices

2016-04-26 Thread Dimitri
-handling-flow-in-qooxdoo Could you please take a look? > Hi Dimitri > > Please can you ask this on StackOverflow?  We want to improve the Q&A > and our SEO, and StackOverflow is a great way to do that. > > Make sure you use the “qooxdoo” tag on your question - I think I’ll >

[qooxdoo-devel] qooxdoo events best practices

2016-04-25 Thread Dimitri
hould I model the internals of Configuration class such a way that standard qx.core.Object#bind (delegating to qx.data.SingleValueBinding) would work? The second scenario would probably involve some generated classes (similar to what qx.data.marshal.Json#toClass does) to reflect key names with r

Re: [qooxdoo-devel] GUI Automated tests for Qooxdoo

2016-02-27 Thread Dimitri
ts control over repositories, all the changes will be merged upstream. Hopefully, the module will be also published in Maven Central. Cheers, Dimitri [1] https://github.com/cargosoft/qxwebdriver-java [2] https://github.com/elentirmo/qxwebdriver-java [3] http://qooxdoo.678.n2.nabble.com/An-issue-with-qx-

Re: [qooxdoo-devel] Supporting multiple plural forms in translations

2016-02-23 Thread Dimitri
: {   "cow": "korova",   "cows": [ "korova", "korovy", "korov" ]  } } I guess I now should fork https://github.com/johnspackman/qooxdoo/tree/ qxcompiler , make changes there and file a PR, right? Dimitri P.S. you can find me on #qxdev

Re: [qooxdoo-devel] QxCompiler - add ES6, faster compilation, and 100% Javascript API to building applications

2016-02-22 Thread Dimitri
HTTP servers under Grunt? You're guys are much more experienced in Grunt than me, so it will take significantly less time :) If it works, that would mean we already have a mechanism to run QxCompiler's continuous recompiler job with HTTP server in a single Grunt instance. Dimitri

Re: [qooxdoo-devel] Supporting multiple plural forms in translations

2016-02-22 Thread Dimitri
the qooxdoo side and you'll merge it into your branch, or we can temporarily stick to the following non-compatibility-breaking approach: translations: {  ...  "ru": {   "cow": "korova", // msgstr[0]   "cows":"korovy", // msgstr[1]   "cows@pl

Re: [qooxdoo-devel] QxCompiler - add ES6, faster compilation, and 100% Javascript API to building applications

2016-02-22 Thread Dimitri
Adrian, Sounds pretty cool! Unfortunately there's one missing link here - QxCompiler is not a Grunt task yet. BTW, is Grunt capable of running two or more background tasks simultaneously? eg. QxCompiler job + web server Or do we need to launch them in separate Grunt instances? Dimitri

Re: [qooxdoo-devel] Supporting multiple plural forms in translations

2016-02-22 Thread Dimitri
Thumbs up! "Make qooxdoo great again" ;) P.S. Could you please elaborate a bit on what projects you are using qooxdoo in? Ours is a communication application (think web-based Pidgin embeddable into virtually any website). > Dimitri, > > I think it is a good idea. > We h

Re: [qooxdoo-devel] QxCompiler - add ES6, faster compilation, and 100% Javascript API to building applications

2016-02-22 Thread Dimitri
the future, automatic application reloading could be implemented, something that is available now with generate.py watch + source-server-reload jobs. Dimitri > Hi all > > There is a first release of my QxCompiler that adds ES6 to Qooxdoo > applications and replaces the generate.py toolchai

[qooxdoo-devel] Supporting multiple plural forms in translations

2016-02-22 Thread Dimitri
breaking changes in framework, namely internal structure for translations, plural classifier in locales, translation logic in tr*() functions. Meanwhile, we could experiment with John Spackman's QxCompiler to introduce Plural-Form parsing##SELECTION_END##. As soon as POC is ready, it c

Re: [qooxdoo-devel] QxCompiler - add ES6, faster compilation, and 100% Javascript API to building applications

2016-02-21 Thread Dimitri
er) on how to attach metadata to scripts (external file or embedded @- annotations). Dimitri P.S. Have you heard of WildFly's Undertow.js project? It's not exactly what either you or me are looking for, but we can borrow some ideas from it. > > > > > > Slightly off

Re: [qooxdoo-devel] QxCompiler - add ES6, faster compilation, and 100% Javascript API to building applications

2016-02-21 Thread Dimitri
. 6.4M Compressed script (QxCompiler): 1.4M vs. 1.9M Compressed script (generate.py): 700K vs. 1M Definitely there is some room for optimization :) John, sorry for delay in conversation. I'll be answering you on server- side JS soon. Dimitri > Hi Fritz >   > In that case that's easy ;) b

Re: [qooxdoo-devel] QxCompiler - add ES6, faster compilation, and 100% Javascript API to building applications

2016-02-18 Thread Dimitri
plications. It would be nice if some verbose output (with timings) was produced by QxCompiler, as a poor man's profiling facility :) Dimitri P.S. Sorry for "practise" instead of "practice", I usually don't do such stupid mistakes. I even looked it up in the dictio

Re: [qooxdoo-devel] momentum

2016-02-18 Thread Dimitri
Guys, how about integrating John's strict mode patches? QxCompiler is nearing its production state, but compiling against a qooxdoo fork is a bit of PITA. Thx! > Hi Tobi > > This is really good news, well done and thank you for making this > happen :)  You’ve obviously had a busy morning becaus

Re: [qooxdoo-devel] QxCompiler - add ES6, faster compilation, and 100% Javascript API to building applications

2016-02-18 Thread Dimitri
to ask you (and everyone else here) to let me know if you're interested. Dimitri > Hi Dimitri > > Well done for finding that, what a nightmare.  I think I’ve found how > to disable the .babelrc, but I think the real issue is a bug in Babel > with presets; whatever, th

Re: [qooxdoo-devel] QxCompiler - add ES6, faster compilation, and 100% Javascript API to building applications

2016-02-18 Thread Dimitri
mdisk and is cleared at each boot. Dimitri > Hi all > > There is a first release of my QxCompiler that adds ES6 to Qooxdoo > applications and replaces the generate.py toolchain with a faster, > 100% Javascript tool that is easily extensible. > > You can find the first rel

Re: [qooxdoo-devel] QxCompiler - add ES6, faster compilation, and 100% Javascript API to building applications

2016-02-18 Thread Dimitri
in the app could be done based on dynamic, computed values. I think that as soon as the remaining issues are fixed, QxCompiler can be considered fairly stable. I'm already integrating it into our build process. Cheers! Dimitri > Hi Dimitri > > Sorry I realise now that was a r

Re: [qooxdoo-devel] QxCompiler - add ES6, faster compilation, and 100% Javascript API to building applications

2016-02-17 Thread Dimitri
[mitya@localhost qxcompiler]$ ./test/compile-app-demo.js Error: Error: ENOENT: no such file or directory, open '../testdata/qxt/Manifest.json' > Hmm - what happens if you change directory to the root of the > QxCompiler repo and run ./test/compile-app-demo.js? > > Fro

Re: [qooxdoo-devel] QxCompiler - add ES6, faster compilation, and 100% Javascript API to building applications

2016-02-17 Thread Dimitri
for dinner and then saw your email so switched > back. > > I’ve done the #! entries too > > I’ve pushed a new release, give it a go :) > > John > > From: Dimitri > Reply-To: qooxdoo Development > Date: Wednesday, 17 February 2016 at 19:33 > To: > Subject:

Re: [qooxdoo-devel] QxCompiler - add ES6, faster compilation, and 100% Javascript API to building applications

2016-02-17 Thread Dimitri
require babel-polyfill. (Mention in the docs? Integrate polyfill into build?) Dimitri > Hi John, > > That pace you're keeping, it's incredible :) Glad to hear > translations finally landed! > > Unfortunately, I couldn't make them work :( > > [mitya@localhost tes

Re: [qooxdoo-devel] QxCompiler - add ES6, faster compilation, and 100% Javascript API to building applications

2016-02-17 Thread Dimitri
ed into QxCompiler? Minor issue: test/*.js scripts could have a shebang string (#!/usr/bin/node) and +x mode so that they could be run directly, without typing "node ..." each time. Cheers! Dimitri > Hi again > > There’s a new release which includes support for translati

Re: [qooxdoo-devel] QxCompiler - add ES6, faster compilation, and 100% Javascript API to building applications

2016-02-16 Thread Dimitri
Hi everyone, I second every word: there's too much invested. After all, qooxdoo is too cool to let it become abandonware :) Be it 2nd or 3rd road, I'm in. Dimitri В Вт, 16/02/2016 в 16:21 +0100, d...@cost-savers.net пишет: > Hi, > > > > > But I’d be interested t

Re: [qooxdoo-devel] QxCompiler - add ES6, faster compilation, and 100% Javascript API to building applications

2016-02-16 Thread Dimitri
and generating *.po files. I consider the latter to be of much lower priority, since it's usually done once. Just wanted to make sure that you don't focus on a low-priority task due to some misunderstanding :) Dimitri > Hi Dimitri > > So further to this – I’ve made a lot of prog

Re: [qooxdoo-devel] QxCompiler - add ES6, faster compilation, and 100% Javascript API to building applications

2016-02-16 Thread Dimitri
the only module that is required by the driver script; the rest is successfully pulled from QxCompiler directory. Cheers, and keep going! QxCompiler is definitely the coolest thing that happened to qooxdoo in last months and maybe years :) Dimitri > Hi Dimitri > > So it sounds like resourc

Re: [qooxdoo-devel] QxCompiler - add ES6, faster compilation, and 100% Javascript API to building applications

2016-02-15 Thread Dimitri
m -g and use linklocal ? Ideally, I'd like some practice that wouldn't change when we finally have a NPM distro of QxCompiler. 3. It's worth mentioning in the docs that ImageMagick is required (due to "identify" binary being used in qxcompiler/ResourceManager.js). Cheers,

Re: [qooxdoo-devel] QxCompiler - add ES6, faster compilation, and 100% Javascript API to building applications

2016-02-14 Thread Dimitri
ay :) Tomorrow I'll try to figure out the cause of another failure that prevents our app from starting up. It's something related to JSON unmarshalling; the data is unmarshalled as auto-generated class (qx.data.model.prop1"prop2"prop3[123-0]), while it should be an application class res

Re: [qooxdoo-devel] QxCompiler - add ES6, faster compilation, and 100% Javascript API to building applications

2016-02-13 Thread Dimitri
John, congratulations with the long awaited release! :) qooxdoo guys, do you think that project like this could at some moment land in qooxdoo and get official support? What about qooxdoo patches (mostly strict mode compatibility related, AFAIK) - could they be merged upstream? This would reduce m

Re: [qooxdoo-devel] How to make parts independent

2016-02-11 Thread Dimitri
John, Thank you for you efforts, and please be sure you've got another beta- tester and probably contributor(s). Some background first. We are developing a massive qooxdoo Desktop application. When we were about to roll integration tests, it turned out that our app doesn't run in PhantomJS - beca

Re: [qooxdoo-devel] Text selection and mouse events in Chrome

2015-10-15 Thread Dimitri
Andreas, thanks for filing the bug, I was about to do the same. John, thanks a lot for your detailed explanation. I think we should continue in Bugzilla. There are some interesting observations I have made and going to share. See you there! Dimitri Andreas Ecker wrote: > Dimitri, J

[qooxdoo-devel] Text selection and mouse events in Chrome

2015-10-14 Thread Dimitri
re application/document. With all the above - is it a qooxdoo or a Chrome bug? If latter, we should be able to concoct a plain non-qooxdoo MWE that Chrome guys would probably expect from us. So here I'm kindly asking your assistance in isolating (and, hopefully, fixing) this pesky bug.

[qooxdoo-devel] Singleton getInstance with parameters

2011-01-05 Thread dimitri
Hello, I'm french so sorry for my english ! I would like to create a singleton class with parameters. For example : general.Form1.getInstance(param1, param2); In the constructor of Form1 i have : construct : function(param1, param2) { this.base(arguments, param1, param

[qooxdoo-devel] help understanding data binding

2009-12-03 Thread Dimitri Henning
;array[0]", textField, "value"); ? Are different valuation functions for the controller possible? Would be appreciate each tip. Code is welcomed =) -- Mit freundlichen Grüßen Dimitri Henning -- Join

Re: [qooxdoo-devel] Expected token/RP but found token/COMMA: ', ' Error?

2009-11-24 Thread Dimitri Henning
Ok, its not even arguments.item, is just "item" in all my cases. Crazy stuff happens in your head sometimes after fighting with bugs. Am 24.11.2009 14:54, schrieb Ilkka Oksanen: Hi, Should "arguments,item" be "arguments.item" -ilkka On Tue, Nov 24, 20

Re: [qooxdoo-devel] Expected token/RP but found token/COMMA: ', ' Error?

2009-11-24 Thread Dimitri Henning
Am 24.11.2009 14:54, schrieb Ilkka Oksanen: Hi, Should "arguments,item" be "arguments.item" -ilkka You Win! Thanks alot. On Tue, Nov 24, 2009 at 3:42 PM, Dimitri Henning mailto:dimitri.henn...@charite.de>> wrote: On following lines while "gene

[qooxdoo-devel] Expected token/RP but found token/COMMA: ', ' Error?

2009-11-24 Thread Dimitri Henning
quot;); switch (arguments,TabName) {...} I just dont get it, code runs. -- -- Mit freundlichen Grüßen Dimitri Henning _ Charité - Universitätsmedizin Berlin _ Dimitri Henning i.A. Geschäftsbereich Info

[qooxdoo-devel] setSelection with information from tabView.getChildren?

2009-09-23 Thread Dimitri Henning
setSelection i do need the pageobject name. Is there any way to use the informations from getChildren with setSelection? Any other ideas? Store the Information in a array and work somehow that way? MFG Dimitri Henning

Re: [qooxdoo-devel] Tabview, activate/disable tabs and set active tab possible?

2009-09-11 Thread Dimitri Henning
, worked for me:-) > > Greetings, > Stefan > > PS it always pays to browse through the api viewer; I got it there in 30 > secs of searching > > -- Mit freundlichen Grüßen Dimitri Henning -- Let Crystal Repo

Re: [qooxdoo-devel] Tabview, activate/disable tabs and set active tab possible?

2009-09-11 Thread Dimitri Henning
o thron7 or whoever wrote that) > > HTH, > > greetings, > Stefan > > Dimitri Henning wrote: > >> Hey guys, >> i am writing a kind of modular formluar assistent and have the following >> problem: >> >> *screnario:* 1tab, 1button (forward) the b

[qooxdoo-devel] Tabview, activate/disable tabs and set active tab possible?

2009-09-11 Thread Dimitri Henning
Hey guys, i am writing a kind of modular formluar assistent and have the following problem: *screnario:* 1tab, 1button (forward) the button adds a tab to the tabview, BUT i can set the new tab as the active one. Is there a way? *2nd question: *Is there a way to set tabs to be disabled?(not clic

Re: [qooxdoo-devel] problem with tcm.setDataCellRenderer(3, new qx.ui.table.cellrenderer.Boolean());

2009-08-21 Thread Dimitri Henning
Thanks for you time, its solved. (see othe message) Gene Amtower schrieb: > Dimitri, > > The column indexes are 0-based. Did you really mean column 3 in the > comment, as you've used a column index of 3 in the setDataCellRenderer > method, or did you just mean the column

Re: [qooxdoo-devel] problem with tcm.setDataCellRenderer(3, new qx.ui.table.cellrenderer.Boolean());

2009-08-21 Thread Dimitri Henning
Oh i got my mistake. No value in cell = no checkbox, wasnt aware of this, no idea why. Thanks you alot =) Stefan Volbers schrieb: > Hi Dimitri, > > you should keep in mind that the boolean cell renderer does only render > boolean values. > > Try the following in pla

[qooxdoo-devel] problem with tcm.setDataCellRenderer(3, new qx.ui.table.cellrenderer.Boolean());

2009-08-21 Thread Dimitri Henning
qx.ui.table.headerrenderer.Icon("bla.png", "A date")); does work! No errors, nothing. Ive attached the code. Maybe someone can help. -- Mit freundlichen Grüßen Dimitri Henning Application.js Descriptio

Re: [qooxdoo-devel] qx.ui.tree.tree help!

2007-06-25 Thread dimitri van der veken
Hi, I would keep a reference to the tree in an instance variable: this.myTree = new qx.ui.tree.Tree("Contacts"); Somewhere else in code you would try to reach this reference: ... myOtherWindow.myTree.setHtmlProperty("id","list"); ... greetings, Dimitri

Re: [qooxdoo-devel] Tables and ListViews

2007-06-22 Thread dimitri van der veken
this.table.getTableModel().setData(this._fetchDataWith_2_columns()); this.table.getTableModel().setColumns([ "ID", "number" ]); greetings, Dimitri Leander Hanwald wrote: > > Hi all, > > is there any way to add, remove, rename and move columns tables and > listvi

Re: [qooxdoo-devel] Change data of ListView

2007-06-22 Thread dimitri van der veken
array tableModel.setData(rowData); this.table = new qx.ui.table.Table(tableModel); // change the data: this.table.getTableModel().setData(alteredRowData); You can find sample code in the demo showcase application. greetings, dimitri mrtn wrote: > > Hello everyone, > > I

Re: [qooxdoo-devel] Aptana JSEditor and the new OO syntax in qooxdoo 0.7

2007-06-19 Thread dimitri van der veken
After you edited and saved the file, you have to restart eclipse. The outline should now outline the object literal that defines the qooxdoo class. Dimitri -- View this message in context: http://www.nabble.com/Aptana-JSEditor-and-the-new-OO-synt