Commit Graph
86 Commits
Author SHA1 Message Date
Xavier Morel 4a6776d7a1 [FIX] update py.js, fixes tokenization of expressions with trailing whitespace
bzr revid: xmo@openerp.com-20120301111807-f3lthxw4zkytk42f
2012-03-01 12:18:07 +01:00
Xavier Morel e762aec5a1 [ADD] forgotten py.js license
bzr revid: xmo@openerp.com-20120229115456-5rp0iuv3sftujq6b
2012-02-29 12:54:56 +01:00
niv-openerp 436ed74729 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120229110935-y2omxvx7vhchsti5
2012-02-29 12:09:35 +01:00
niv-openerp 7eb12aee74 [imp] renammed render_element
bzr revid: nicolas.vanhoren@openerp.com-20120229110744-0m55gqlme6s225jv
2012-02-29 12:07:44 +01:00
niv-openerp 2da2983533 [imp] renammed tag_name
bzr revid: nicolas.vanhoren@openerp.com-20120229110428-es0fof2fxxa5qzd5
2012-02-29 12:04:28 +01:00
niv-openerp ff248a97cf [imp] modified on and off
bzr revid: nicolas.vanhoren@openerp.com-20120229110228-15fi6jyj8z51rtmr
2012-02-29 12:02:28 +01:00
niv-openerp 6dcc45a0bb [imp] changed get and set
bzr revid: nicolas.vanhoren@openerp.com-20120229102816-8wdpo4ybeq5zrsh7
2012-02-29 11:28:16 +01:00
niv-openerp 63edbe7359 [imp] removed some comments
bzr revid: nicolas.vanhoren@openerp.com-20120229102321-b61kqie9t3y6cyky
2012-02-29 11:23:21 +01:00
Xavier Morel 27ca901a92 [FIX] update py.js to correctly handle comparisons between strings and booleans
bzr revid: xmo@openerp.com-20120229085250-ihg2vgjrpl2eyd0i
2012-02-29 09:52:50 +01:00
niv-openerp f1280e67f2 [fix] context menu without .openerp class
bzr revid: nicolas.vanhoren@openerp.com-20120228143446-a5hf4po2dtxgskye
2012-02-28 15:34:46 +01:00
niv-openerp db64573a8d [imp] cosmetic change
bzr revid: nicolas.vanhoren@openerp.com-20120227162704-9f6piiywf7cz2rk8
2012-02-27 17:27:04 +01:00
niv-openerp d1498035f0 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120227132024-06p0skdlx1ixbi3g
2012-02-27 14:20:24 +01:00
Fabien Meghazi d4d05566cc [IMP] Upgrade to jQuery 1.7.2b1
bzr revid: fme@openerp.com-20120227124545-7qnpjp4uc02wg0h2
2012-02-27 13:45:45 +01:00
niv-openerp c0232fb748 [imp] clarification
bzr revid: nicolas.vanhoren@openerp.com-20120227105902-65c8b5q8ju6qqatq
2012-02-27 11:59:02 +01:00
niv-openerp 72bce79c86 [imp] cosmetic improvements
bzr revid: nicolas.vanhoren@openerp.com-20120227104418-70rfdvya0ni5aif8
2012-02-27 11:44:18 +01:00
niv-openerp 080c9ed7fd [imp] renammed niv to nova
bzr revid: nicolas.vanhoren@openerp.com-20120227103715-ez6m5bth0spbuupk
2012-02-27 11:37:15 +01:00
niv-openerp f23a5914ca [imp] cleaned initialization of mixins
bzr revid: nicolas.vanhoren@openerp.com-20120227093413-8qp1vo90500h9lrw
2012-02-27 10:34:13 +01:00
Xavier Morel 739f719ad6 [UP] py.parse 0.2 to py.js 0.4 ~
should probably go through a testing phase (checking its result
against that of eval_domain_and_context) for a while, but apart from
that it's supposed to work.

'stdlib' stuff (datetime.date.today, datetime.timedelta,
time.localtime, time.time, time.strftime) still need to be
written. Isn't there also a dateutil.relativedeleta somewhere?

Anyway that needs to be done and the various evaluation contexts need
to be defined, but the valuator itself should mostly work.

bzr revid: xmo@openerp.com-20120227073721-nkgeiqacbzch8xev
2012-02-27 08:37:21 +01:00
niv-openerp b6f93c8fa6 [fix] some bugs providing the web client to work
bzr revid: nicolas.vanhoren@openerp.com-20120224135859-w937wgm51328dbk1
2012-02-24 14:58:59 +01:00
niv-openerp 8a8da7973a [imp] added some tests, debugged some bugs
bzr revid: nicolas.vanhoren@openerp.com-20120224135027-axsjx7x0ajlzvolh
2012-02-24 14:50:27 +01:00
niv-openerp e7f06acb84 [imp] added widget
bzr revid: nicolas.vanhoren@openerp.com-20120224124031-l31832108z69od4i
2012-02-24 13:40:31 +01:00
niv-openerp a9368e6eec [imp] added GetterSetterMixin
bzr revid: nicolas.vanhoren@openerp.com-20120224123151-fmkh3fonswkhtu36
2012-02-24 13:31:51 +01:00
niv-openerp 56b07a90cd [imp] small messages
bzr revid: nicolas.vanhoren@openerp.com-20120223175419-0rjeodw3q8zqeelv
2012-02-23 18:54:19 +01:00
niv-openerp 334d3f5875 [imp] added most methods for EventDispatcherMixin
bzr revid: nicolas.vanhoren@openerp.com-20120223173959-di5xl97uci1pnz6x
2012-02-23 18:39:59 +01:00
niv-openerp 0246ffeee0 [imp] added event dispatcher mixin
bzr revid: nicolas.vanhoren@openerp.com-20120223171840-mege8l7aopnbkck2
2012-02-23 18:18:40 +01:00
niv-openerp c14a9ca58c [imp] added events + some tests
bzr revid: nicolas.vanhoren@openerp.com-20120223162955-ffs5mun7w8400m4o
2012-02-23 17:29:55 +01:00
niv-openerp 8b0380b318 [imp] added destroyable mixin
bzr revid: nicolas.vanhoren@openerp.com-20120223161336-ea4xbup4teyvereu
2012-02-23 17:13:36 +01:00
niv-openerp fa510462f4 [imp] switched to nivjs
bzr revid: nicolas.vanhoren@openerp.com-20120223161041-mymbna11fsp3bo9m
2012-02-23 17:10:41 +01:00
niv-openerp 2b73fb4a6a [imp] restored nivjs
bzr revid: nicolas.vanhoren@openerp.com-20120223102323-1sa7s7sieicgprfp
2012-02-23 11:23:23 +01:00
niv-openerp 6539674437 [imp] removed future lib
bzr revid: nicolas.vanhoren@openerp.com-20120221163730-8cx3tlcik2ym6u5x
2012-02-21 17:37:30 +01:00
niv-openerp a7386b589a [imp] extracted parenting into a mixin
bzr revid: nicolas.vanhoren@openerp.com-20120221163547-i1ii1frqj9b6ddtp
2012-02-21 17:35:47 +01:00
niv-openerp 4ee34acbbe [imp] cosmetic changes
bzr revid: nicolas.vanhoren@openerp.com-20120221155806-e6efydx5k7qtppdn
2012-02-21 16:58:06 +01:00
niv-openerp cdd8489e4c [imp] further refactoring of parents
bzr revid: nicolas.vanhoren@openerp.com-20120221154458-imbqiywuj91mds9c
2012-02-21 16:44:58 +01:00
niv-openerp a6f6b7fd9d [imp] added setParent
bzr revid: nicolas.vanhoren@openerp.com-20120221152212-yr6iaa2znq37mcsz
2012-02-21 16:22:12 +01:00
niv-openerp 156a893ae7 [imp] added nivjs
bzr revid: nicolas.vanhoren@openerp.com-20120221144258-bird80qxxho1flbc
2012-02-21 15:42:58 +01:00
Fabien Meghazi 1ead58101f [FIX] Datetime widget buggy since jquery.ui upgrade
lp bug: https://launchpad.net/bugs/928918 fixed

bzr revid: fme@openerp.com-20120214105145-pat0srumt8m7nq38
2012-02-14 11:51:45 +01:00
Fabien Meghazi f12e598b59 [FIX] QWeb2: Array-like character access in String is not supported in IE<8
bzr revid: fme@openerp.com-20120213144234-dtdw5e8ho4x85frj
2012-02-13 15:42:34 +01:00
Fabien Meghazi af15e1d83e [ADD] Added tipsy.clear()
bzr revid: fme@openerp.com-20120209135939-pcnmoswvnqjjb6ik
2012-02-09 14:59:39 +01:00
Fabien Meghazi 0d7ff5dec8 [FIX] Fix some tipsy stuff
Autobound on 'n' fails with absolute positioned elements.

Make tipsy checks that it's element is still attached to another element

bzr revid: fme@openerp.com-20120209105401-1jl11sy9z1qdwu3t
2012-02-09 11:54:01 +01:00
Fabien Meghazi ce65bc3ac3 [IMP] Add QWeb preprocess_node callback. Translate @label, @title and @alt attributes in web client
bzr revid: fme@openerp.com-20120207132901-ifwnfj6c4mp451tl
2012-02-07 14:29:01 +01:00
Xavier Morel 7b25f9d4c7 [UP] update underscore
bzr revid: xmo@openerp.com-20120206101215-yutyc4dv2p1qgxtu
2012-02-06 11:12:15 +01:00
Fabien Meghazi eddfc1a56a [IMP] Upgraded jQuery UI from 1.8.9 to 1.8.17
lp bug: https://launchpad.net/bugs/916342 fixed

bzr revid: fme@openerp.com-20120201163312-htze3vpzb3opgnoy
2012-02-01 17:33:12 +01:00
Fabien Meghazi 8abe9402e2 [REM] QWeb: removed xpath support
bzr revid: fme@openerp.com-20120201132217-h2i9a3g082i9ui9y
2012-02-01 14:22:17 +01:00
Fabien Meghazi ab447a4f13 [FIX] Use childnodes and not the whole extend node
bzr revid: fme@openerp.com-20120201124822-xo1msj0ou09o73uh
2012-02-01 13:48:22 +01:00
Fabien Meghazi 0839b0e4ee [FIX] QWeb template inheritance done right
bzr revid: fme@openerp.com-20120201122926-poh3q2157ra9tzjd
2012-02-01 13:29:26 +01:00
Fabien Meghazi 06061d4872 [FIX] Changed tooltip plugin that caused problems under firefox
bzr revid: fme@openerp.com-20120126132441-wxg1gumrq9uetd70
2012-01-26 14:24:41 +01:00
Xavier Morel a4a8e0eee1 [IMP] avoid losing error message when DOM parser fails to initialize in MSIE
bzr revid: xmo@openerp.com-20120125160949-5pr4h7aquohykdn2
2012-01-25 17:09:49 +01:00
Xavier Morel 4bfd2047aa [FIX] template rendering issues in IE8
bzr revid: xmo@openerp.com-20120124101155-b52f8b3jd6otn7j9
2012-01-24 11:11:55 +01:00
Xavier Morel 86b15b7e9d [FIX] error reporting in _.sprintf
bzr revid: xmo@openerp.com-20120120145925-jko6qqombu3fxpoj
2012-01-20 15:59:25 +01:00
Xavier Morel 31e8d0f843 [FIX] if a text node is composed only of whitespace, IE<=8 just throws the fucking thing out. Add @xml:space to "fix".
It does not just collapse the whitespace, it does not even insert the
node into its XML DOM unless said node is within the scope of an
@xml:space="preserve" (which mandates that the parser leaves all text
unmolested).

Added that in the foreach test case (which makes use of significant
whitespace), but we may have to add it to templates as well in some
cases (since whitespace is significant in HTML)..

bzr revid: xmo@openerp.com-20120118112538-ju4kxfz154qm8yny
2012-01-18 12:25:38 +01:00