Commit Graph
33 Commits
Author SHA1 Message Date
niv-openerp 1e908843ee [IMP] Extended filters wip.
bzr revid: nicolas.vanhoren@openerp.com-20110328164945-xdsmfq233cxlxggy
2011-03-28 18:49:45 +02:00
Xavier Morel d4ee05255c [IMP] make qweb raise an error on template not found
bzr revid: xmo@openerp.com-20110324124221-jnnrznrg3a4w02rx
2011-03-24 13:42:21 +01:00
Antony Lesuisse a0e1cbd7e7 session management cleanups, clarification of start() semantics
bzr revid: al@openerp.com-20110320200117-q37q76y53sbmdfy3
2011-03-20 21:01:17 +01:00
Fabien Meghazi fea50595d6 [ADD] QWeb: changed behaviour of t-att
bzr revid: fme@openerp.com-20110316133110-s0wwdb4yrysxb6q7
2011-03-16 14:31:10 +01:00
Antony Lesuisse 099cbcb416 merge xmo testsuite and improvement for qweb
bzr revid: al@openerp.com-20110314104422-53gcaty2m9g2lhxu
2011-03-14 11:44:22 +01:00
Xavier Morel 31d6f99d21 Rename testrunner (it's the qweb test suite, not a qunit example)
bzr revid: xmo@openerp.com-20110310152629-graxr2mo1cz2p6sw
2011-03-10 16:26:29 +01:00
Xavier Morel 93598c0df5 [TEST] add a bunch of tests for foreach
bzr revid: xmo@openerp.com-20110310152536-w1idaxbl3piyoa31
2011-03-10 16:25:36 +01:00
Xavier Morel d8008cd04f [TEST] add tests for trim, two trims are broken, not sure how they're supposed to work to leaving that for when fme is back
bzr revid: xmo@openerp.com-20110310150235-9z9ihmg1vurboser
2011-03-10 16:02:35 +01:00
Xavier Morel b599eb8669 [TEST] add tests for t-call
bzr revid: xmo@openerp.com-20110310141229-m3v4s57llzj9mje6
2011-03-10 15:12:29 +01:00
Xavier Morel 12e140872c [TEST] attribute-addition features
bzr revid: xmo@openerp.com-20110310121827-im1lnvwor0x97ear
2011-03-10 13:18:27 +01:00
Xavier Morel 5489bb8ebb [IMP] use boolean coertion in eval_bool instead of a ternary operator
bzr revid: xmo@openerp.com-20110310113257-07jom2dpt0t9uvs4
2011-03-10 12:32:57 +01:00
Xavier Morel deec9d4548 [TEST] add a few more tests for conditionals in test directive
bzr revid: xmo@openerp.com-20110310113216-h9h2exqup49001nm
2011-03-10 12:32:16 +01:00
Xavier Morel 6f48b2a3cc [TEST] add a bunch of tests for conditional expressions, fix definition of the 'or' operator
bzr revid: xmo@openerp.com-20110310111925-u3wgbmlz0tgcfwrv
2011-03-10 12:19:25 +01:00
Xavier Morel 3d442a1119 Add tests for t-set
bzr revid: xmo@openerp.com-20110310095334-d4u4esyo0d9hrcyk
2011-03-10 10:53:34 +01:00
Xavier Morel ef4d1e470a [FIX] qunit's assertion format is actually (actual, expected) not (expected, actual). Fix to get correct failure messages
bzr revid: xmo@openerp.com-20110310092828-j3be503khvjcwqkl
2011-03-10 10:28:28 +01:00
Xavier Morel 84b0da12ae [TEST] add tests for t-raw and t-rawf, fix rawf which has apparently been broken since forever ago
bzr revid: xmo@openerp.com-20110310092356-xgfyjpdct2afotbv
2011-03-10 10:23:56 +01:00
Xavier Morel fdda52a3a4 [IMP] rename qweb test template file: each 'task' will be in its own template file, first is the output. Also add some description in the template file (though maybe it should be in the test file instead?)
bzr revid: xmo@openerp.com-20110310091856-rohvl52loilwosxw
2011-03-10 10:18:56 +01:00
Xavier Morel 3b60a6df06 [IMP] replace \W's for word boundaries by \b (actually about word boundaries), replace String.match to literal regexes by RegExp.test (if result is used in test only) or RegExp.exec
bzr revid: xmo@openerp.com-20110310091010-5odm0fp0383yev3t
2011-03-10 10:10:10 +01:00
Xavier Morel 07d4e22551 [ADD] some more escf tests
bzr revid: xmo@openerp.com-20110310085836-prkhe118n27n1xcz
2011-03-10 09:58:36 +01:00
Xavier Morel 952d6395ae [FIX] test and fix escf: turns out it never worked
bzr revid: xmo@openerp.com-20110310085138-o1fpyef7eq7byza5
2011-03-10 09:51:38 +01:00
Xavier Morel e312689221 [ADD] qunit test for qweb
bzr revid: xmo@openerp.com-20110309221205-sjdh5rdbjqzy1ntn
2011-03-09 23:12:05 +01:00
Xavier Morel 7c72a27d11 [IMP] try adding some doc to qweb foreach
bzr revid: xmo@openerp.com-20110309115746-4hkmq0oziwoi4jfs
2011-03-09 12:57:46 +01:00
Xavier Morel 9b56599bb6 [IMP] muck around with vars and returns to simplify flows in qweb, extract xhr generation in its own function
bzr revid: xmo@openerp.com-20110309111307-rpaueaqjdzg1dkgj
2011-03-09 12:13:07 +01:00
Xavier Morel e94c8e810b [IMP] use switch/case in QWeb.trim, remove default case (as it's already handled by conditional at function top)
bzr revid: xmo@openerp.com-20110309104800-tdbzuqtg9lpardhr
2011-03-09 11:48:00 +01:00
Xavier Morel c7cfccf678 [REM] broken QWeb.dump() and QWeb.debug() functions ('s' unknown and undeclared in dump), broken qweb demo HTML file
bzr revid: xmo@openerp.com-20110309104358-ndorl9ijp1perixs
2011-03-09 11:43:58 +01:00
Xavier Morel 6bf2a9efd6 [FIX] deduplicate local variable declaration
bzr revid: xmo@openerp.com-20110309104058-oicx8oz67wq0cdq4
2011-03-09 11:40:58 +01:00
Xavier Morel adf7654683 [IMP] quiet down pycharm's type-inference/verif again
bzr revid: xmo@openerp.com-20110309104008-9g3efgflpz4j8am8
2011-03-09 11:40:08 +01:00
Xavier Morel 59a28e24ce [FIX] don't leak out variables as globals
bzr revid: xmo@openerp.com-20110309103930-0q0bnv4l6d8bb9tf
2011-03-09 11:39:30 +01:00
Xavier Morel 5e6bff90ca [FIX] QWeb.reg is a regex, don't init to a string (or pycharm's type-inference whines)
bzr revid: xmo@openerp.com-20110309103634-eqxuczw0g0kilhcy
2011-03-09 11:36:34 +01:00
Xavier Morel 31845dbf61 [IMP] terminate all JS statements in qweb
bzr revid: xmo@openerp.com-20110309103529-adjvos1r0s073fz9
2011-03-09 11:35:29 +01:00
Xavier Morel a99603920c [IMP] reindent qweb
bzr revid: xmo@openerp.com-20110309103436-a3v9bh4f87ddnutj
2011-03-09 11:34:36 +01:00
Fabien Meghazi a8394573ca Qweb: added trim support
bzr revid: fme@openerp.com-20110307135515-0vkl56xc7pxtlive
2011-03-07 14:55:15 +01:00
Antony Lesuisse 4be2aab0f6 more comment
bzr revid: al@openerp.com-20110303000835-6fc9p8vgqy2884m0
2011-03-03 01:08:35 +01:00