Christophe Simonis
63e4d9b572
[IMP] sed -i '' -e 's/connection/session/g'
...
bzr revid: chs@openerp.com-20120814152900-8r84kyz0qy1hwkvz
2012-08-14 17:29:00 +02:00
niv-openerp
2c57c15491
[IMP] Mass rename \t to 4 spaces
...
bzr revid: nicolas.vanhoren@openerp.com-20120802144623-ykl5te005ytnv584
2012-08-02 16:46:23 +02:00
Xavier Morel
f1b6bc35d6
[FIX] add current_date to JS evaluation context
...
bzr revid: xmo@openerp.com-20120801144435-h0643av6ju9ncdpx
2012-08-01 16:44:35 +02:00
Antony Lesuisse
574f3891a5
[MERGE] trunk
...
bzr revid: al@openerp.com-20120801104657-cinfl0svpnc8njs5
2012-08-01 12:46:57 +02:00
Xavier Morel
5fe4ff9c49
[FIX] move setElement init call from WidgetMixin to Widget
...
Widget is the one providing both setElement and _make_descriptive...
bzr revid: xmo@openerp.com-20120726145704-uzg7ufntvf24gnyd
2012-07-26 16:57:04 +02:00
Xavier Morel
5c0324f321
[IMP] Widget#setElement from init to reinstate $element always being there
...
That makes precious little sense, but a bunch of widgets actually
expect $element to exist before start() has been called.
Also extract creating a node from the widget's node description into a
private method, use that where possible.
bzr revid: xmo@openerp.com-20120726144817-20caa8jkvg39ycho
2012-07-26 16:48:17 +02:00
Xavier Morel
d304f9fbb7
[CHG] rename this. to this.
...
because why make things simple when you can make them fucked up
bzr revid: xmo@openerp.com-20120726075359-b0uvuuagrfsf7nhb
2012-07-26 09:53:59 +02:00
niv-openerp
31621f412a
wip
...
bzr revid: nicolas.vanhoren@openerp.com-20120725141333-ueaj3e0i8imlwvre
2012-07-25 16:13:33 +02:00
Xavier Morel
9cc2f4fb25
[IMP] extract 'set element as new widget root and replace old one in DOM' in its own method
...
also fix OldWidget to use it, as it had not been fixed when #replaceWith was extracted out of setElement
bzr revid: xmo@openerp.com-20120725091916-g9t5qmaeeqcceuk1
2012-07-25 11:19:16 +02:00
Antony Lesuisse
974d4f4f10
rename widget event namespace
...
bzr revid: al@openerp.com-20120725082446-eahrub8qigektert
2012-07-25 10:24:46 +02:00
Antony Lesuisse
a6e85cfd5a
[REM] setValue, event namespacing
...
bzr revid: al@openerp.com-20120721201253-z35xjhao0r1mv6l1
2012-07-21 22:12:53 +02:00
Antony Lesuisse
3611d585b3
[MERGE] trunk
...
bzr revid: al@openerp.com-20120721201123-3824izt73xvmk9vl
2012-07-21 22:11:23 +02:00
Xavier Morel
43fb6b3ee3
[CHG] require that Widget#attributes be an object if present, not a function
...
bzr revid: xmo@openerp.com-20120711152558-9jm096g7mowgfvf5
2012-07-11 17:25:58 +02:00
Xavier Morel
f0ad5fedac
[IMP] move .replaceWith() back into renderElement
...
* Better formalizes repeated calls to renderElement
* Makes setElement cleaner and less surprising to call
bzr revid: xmo@openerp.com-20120612132120-egsg4kr5n2riv4zk
2012-06-12 15:21:20 +02:00
Xavier Morel
d6f3764645
[REM] declarative elements binding, not sure there's much point and can add later
...
bzr revid: xmo@openerp.com-20120611144108-pw8pz5p06prsikxe
2012-06-11 16:41:08 +02:00
Xavier Morel
a0c5057dba
[TEST] Widget#renderElement with no template specified, fix Widget#make's handling of attributes
...
bzr revid: xmo@openerp.com-20120611113238-wz516g9tl0xp1igd
2012-06-11 13:32:38 +02:00
Xavier Morel
26ec50e060
[FIX] bug in new 'proxy' implementation revealed by searchview tests
...
bzr revid: xmo@openerp.com-20120611091803-kzo5j5t8p82gwr6i
2012-06-11 11:18:03 +02:00
Xavier Morel
0fee0cea00
[ADD] backbone-ification of Widgets API
...
bzr revid: xmo@openerp.com-20120611064523-gczdqmfes5f1g9kj
2012-06-11 08:45:23 +02:00
Christophe Simonis
e1ce5f1539
[FIX] correct jsonp. backport of revid:chs@openerp.com-20120531132020-ccagkni2dqu6i75u from 6.1 branch
...
bzr revid: chs@openerp.com-20120703151401-tmb3puk00cigfdpl
2012-07-03 17:14:01 +02:00
Xavier Morel
54a8f9e193
[MERGE] 6.1 changes and trunk
...
bzr revid: xmo@openerp.com-20120625135215-az1927llmk0vw655
2012-06-25 15:52:15 +02:00
Fabien Meghazi
3dc215b157
[IMP] corelib events: on() should throw error when func is not a Function
...
bzr revid: fme@openerp.com-20120524155015-avjc79bqcet8xnb6
2012-05-24 17:50:15 +02:00
Frédéric van der Essen
64240e7b0a
[FIX] corelib: JsonRPC was missing a get_url() method
...
bzr revid: fva@openerp.com-20120522155903-i2oz7qkmn8i4vtt8
2012-05-22 17:59:03 +02:00
Antony Lesuisse
ca6283de8e
[IMP] Widget.$ shortcut
...
bzr revid: al@openerp.com-20120521153530-g3anzkkkhs75psk5
2012-05-21 17:35:30 +02:00
Xavier Morel
a4ad6f8657
[FIX] add session context to contexts being evaluated in context tester
...
bzr revid: xmo@openerp.com-20120507144739-72simuyd5glz233l
2012-05-07 16:47:39 +02:00
Antony Lesuisse
cf322b0064
[IMP] move openerp session into coresetup
...
bzr revid: al@openerp.com-20120430150244-wh38i70f6pweu4yy
2012-04-30 17:02:44 +02:00
Antony Lesuisse
f7e3de5483
fix rename bind into setup to avoid collision with events
...
bzr revid: al@openerp.com-20120426222928-vmzv2jcmaiic3ll4
2012-04-27 00:29:28 +02:00
Antony Lesuisse
fb83a403c4
rename Connection into Session, now that we use instance
...
bzr revid: al@openerp.com-20120426222552-rqm974o8c9v1s4lk
2012-04-27 00:25:52 +02:00
Antony Lesuisse
3bf883c95e
[FIX] cleanup remove some useless chspaghetti
...
bzr revid: al@openerp.com-20120426221732-qh642zduso1kl8fl
2012-04-27 00:17:32 +02:00
Antony Lesuisse
4ea7057b5d
[FIX] rename intro JsonRPC and session_id cleanup
...
bzr revid: al@openerp.com-20120426220818-yvsr4zwlj824ql1q
2012-04-27 00:08:18 +02:00
Stephane Wirtel
a8fe471b36
[IMP] corelib.js: Create a new object "BaseConnection", this object
...
does not handle the session. It's the job of the Connection object.
bzr revid: stw@openerp.com-20120426152441-0laj03nnl67jvj68
2012-04-26 17:24:41 +02:00
niv-openerp
9ca448c1e8
[imp] Changed some names to improve framework comprehension
...
bzr revid: nicolas.vanhoren@openerp.com-20120419134341-b6rcx58lghgvayia
2012-04-19 15:43:41 +02:00
Xavier Morel
e7ab44929f
[MERGE] from trunk
...
bzr revid: xmo@openerp.com-20120419081213-m3fhofkgydj6gp1m
2012-04-19 10:12:13 +02:00
niv-openerp
1d488be821
[imp] refactored corelib.js
...
bzr revid: nicolas.vanhoren@openerp.com-20120417115247-an5dj09s7k1a2su0
2012-04-17 13:52:47 +02:00
Antony Lesuisse
b4157132e0
sidebar refactoring attachements broken
...
bzr revid: al@openerp.com-20120409131438-9nmd5192z2oahjt6
2012-04-09 15:14:38 +02:00
Antony Lesuisse
64974e24e6
viewmanager refactor part1
...
bzr revid: al@openerp.com-20120409103708-fu62p9wxdcjzzl5m
2012-04-09 12:37:08 +02:00
Antony Lesuisse
e376323c8f
coresetup cleanups
...
bzr revid: al@openerp.com-20120409012416-xbmp95uf5xh7dlsz
2012-04-09 03:24:16 +02:00
Antony Lesuisse
b9ac674743
backward compatible callbacks
...
bzr revid: al@openerp.com-20120409011814-j02nf75dbrgx04l4
2012-04-09 03:18:14 +02:00
Antony Lesuisse
7b158acee5
core refactoring, split core into corelib.js and coresetup.js
...
bzr revid: al@openerp.com-20120409003901-uo5wn6lj27yb6w7x
2012-04-09 02:39:01 +02:00