Harry (Open ERP)
d8ce3f1e2a
[FIX] replaced <TAB> with four white space.
...
bzr revid: hmo@tinyerp.com-20091124144405-9mzd91chohvf0uu7
2009-11-24 20:14:05 +05:30
xrg
dad1ff955b
[merge] merge from lp:~xrg/openobject-server/optimize-5.0 and removed some confilts
...
bzr revid: hmo@tinyerp.com-20091120143104-tb6136unkdw7yfy9
2009-11-20 20:01:04 +05:30
pap(openerp)
251b6720ca
Changed encoding to coding ref: PEP: 0263
...
bzr revid: hda@tinyerp.com-20091020105223-2o94yr2iv2v10axr
2009-10-20 16:22:23 +05:30
PSO(OpenERP)
4d7134cd99
Changed licencing
...
bzr revid: hda@tinyerp.com-20091014123215-nuyqs18090whzt5o
2009-10-14 18:02:15 +05:30
P. Christeas
8558374c2b
Merge branch 'xrg' into optimize
...
Conflicts:
bin/osv/orm.py
bzr revid: p_christ@hol.gr-20090828143403-c48ylvbkzgnimvhr
2009-08-28 17:34:03 +03:00
P. Christeas
e571324ab3
Introduce 'debug2' loglevel, use it for SQL
...
Sometimes we want to debug SQL, not always though.
bzr revid: p_christ@hol.gr-20090814160111-fhw1j4jmx94t2hjv
2009-08-14 19:01:11 +03:00
P. Christeas
400ee151f8
Mark some points where SQL calls need optimize.
...
In particular, calls to ir.translate are done in Python loops. This is
slow.
bzr revid: p_christ@hol.gr-20090726075504-v6qgdyyg9vyaazfr
2009-07-26 10:55:04 +03:00
P. Christeas
0da6edfdf1
Merge commit 'origin/master' into mdv-gpl3-py26
...
Conflicts:
bin/addons/base/res/__init__.py
setup.py
bzr revid: p_christ@hol.gr-20090521212526-1p9xohdfw2p7v9o6
2009-05-22 00:25:26 +03:00
Christophe Simonis
82d17ed77b
[FIX] bug 375361: ensure the db transaction is closed when closing the cursor
...
lp bug: https://launchpad.net/bugs/375361 fixed
bzr revid: christophe@tinyerp.com-20090520150238-w18k3aitqzpmw5nm
2009-05-20 17:02:38 +02:00
P. Christeas
3814e4dc73
Merge commit 'origin/master' into mdv-gpl3-py26
...
Conflicts:
bin/report/interface.py
bin/report/printscreen/ps_list.py
bin/report/render/__init__.py
bin/report/render/rml.py
bin/report/render/rml2pdf/trml2pdf.py
bin/sql_db.py
bzr revid: p_christ@hol.gr-20090506201813-qb71ec85xr08obb1
2009-05-06 23:18:13 +03:00
Jay (Open ERP)
b313d793bc
[FIX] Corrected arguement passed to cursor's execute method(when params=[]
...
bzr revid: jvo@tinyerp.com-20090501120909-4nyzibm3fapkv1rq
2009-05-01 17:39:09 +05:30
Christophe Simonis
82b0474328
[FIX] do not relay on _obj to know if the cursor has been closed
...
lp bug: https://launchpad.net/bugs/330999 fixed
bzr revid: christophe@tinyerp.com-20090428141007-td39oa95wk5h5dt7
2009-04-28 16:10:07 +02:00
P. Christeas
e0da6e16d1
Rewrite previous patch, sane cursor close checks.
...
bzr revid: p_christ@hol.gr-20090420183755-epdfdf6pgd6vc88m
2009-04-20 21:37:55 +03:00
P. Christeas
79d6288671
Major fix for Python 2.6: fix db cursor speed like 2.5
...
In python 2.6, the hasattr() will undergo subclass checks. So, it is
unwise to call it for the "object". That subclass check would overflow
the recursion limit, on each cursor delete operation, which ends up in
wasted CPU (and slow OpenObject responsiveness).
Now, hopefully, OpenObject will run in 2.6 as fast as it ran in 2.5 .
bzr revid: p_christ@hol.gr-20090420172016-1dgiys0cj90efh34
2009-04-20 20:20:16 +03:00
P. Christeas
bba009f639
Merge commit 'origin/master' into mdv-gpl3-py26
...
Conflicts:
bin/netsvc.py
bin/sql_db.py
bin/tools/translate.py
bzr revid: p_christ@hol.gr-20090208175840-xmy5c53ijl3rs1l5
2009-02-08 19:58:40 +02:00
Christophe Simonis
a55983a936
[IMP] bad queries are logged in debug mode (log also the exception)
...
bzr revid: christophe@tinyerp.com-20090204110144-jjbt9a4itmt2vwi5
2009-02-04 12:01:44 +01:00
P. Christeas
1d4bc47020
Merge commit 'origin/master' into mdv-gpl3-py26
...
Conflicts:
bin/addons/__init__.py
bzr revid: p_christ@hol.gr-20090201163859-3b46agdb2wcoe37g
2009-02-01 18:38:59 +02:00
Christophe Simonis
9c721d3090
[FIX] database connections aren't serialized by default
...
lp bug: https://launchpad.net/bugs/314449 fixed
bzr revid: christophe@taupe-20090131183618-pglu86hzq3ewsfxi
2009-01-31 19:36:18 +01:00
Stephane Wirtel
90dea28166
[REV] Revert code for the hostname and the dump
...
bzr revid: stephane@tinyerp.com-20090129133946-l05fi1j8rou9tqyn
2009-01-29 14:39:46 +01:00
Stephane Wirtel
e76c454794
[FIX] Don't use the hostname if it is in ('127.0.0.1', 'localhost')
...
lp bug: https://launchpad.net/bugs/319190 fixed
bzr revid: stephane@tinyerp.com-20090129002310-75wuum4qpx5s8ac4
2009-01-29 01:23:10 +01:00
P. Christeas
1f6278b32c
Merge branch 'master' of openobject-server into mdv-gpl3-py26
...
Conflicts:
bin/addons/base/ir/ir.xml
bin/osv/orm.py
bin/sql_db.py
bin/tools/config.py
bzr revid: p_christ@hol.gr-20090122175910-4apjfo1p7iokatm6
2009-01-22 19:59:10 +02:00
Christophe Simonis
2b6c38d36f
[IMP] log queries that fail
...
bzr revid: christophe@tinyerp.com-20090122161549-oo1boehunmtdiw7k
2009-01-22 17:15:49 +01:00
Stephane Wirtel
a875a71408
[IMP] Improve the speed - Use the inspect module only if we specify the debug log level
...
bzr revid: stephane@tinyerp.com-20090119224840-j0yqyaw30tzfrc78
2009-01-19 23:48:40 +01:00
P. Christeas
b8d5eac277
Merge branch 'master' of /home/panos/tmp/tinyerp/openobject-server/ into mdv-gpl3-py26
...
Conflicts:
bin/tools/translate.py
bzr revid: p_christ@hol.gr-20090114075916-feh0125soh9euu1h
2009-01-14 09:59:16 +02:00
Stephane Wirtel
976adfa665
[IMP] Remove print statement
...
bzr revid: stephane@tinyerp.com-20090113010107-wdev3dd4qftoafj3
2009-01-13 02:01:07 +01:00
Christophe Simonis
9aa2c5fb5c
[FIX] delete the connection pool to template1 when finished
...
[IMP] sql_db.db_connect does not take the 'serialize' parameter anymore
lp bug: https://launchpad.net/bugs/314973 fixed
bzr revid: christophe@tinyerp.com-20090112094020-6l1hdgp5oflengl6
2009-01-12 10:40:20 +01:00
P. Christeas
3487f659ec
Always print SQL counters.
...
bzr revid: p_christ@hol.gr-20090106131746-mwdgfx2l1z9hd02b
2009-01-06 15:17:46 +02:00
P. Christeas
1435d6d064
Merge branch 'master' of /home/panos/tmp/tinyerp/openobject-server/ into mdv-gpl3
...
bzr revid: p_christ@hol.gr-20090106094017-i26aufnjth5am64m
2009-01-06 11:40:17 +02:00
Christophe Simonis
5a20219f9b
[IMP] improve cache system
...
[FIX] cache now take in account default parameters
[IMP] new way to clear the cache
[FIX] clearing the cache is now made by database
bzr revid: christophe@tinyerp.com-20090105211746-o1fapuu319ozi7nv
2009-01-05 22:17:46 +01:00
Stephane Wirtel
9d293d1f00
[IMP] Update the copyright to 2009
...
bzr revid: stephane@tinyerp.com-20090104221329-rem11cbgwu30xnji
2009-01-04 23:13:29 +01:00
P. Christeas
cb42fd7a59
Merge branch 'master' of /home/panos/tmp/tinyerp/openobject-server/ into mdv-gpl3
...
Conflicts:
bin/addons/base/ir/ir_actions.py
bin/report/interface.py
bin/tools/config.py
bzr revid: p_christ@hol.gr-20081228102522-po9ix8j0l6f5akxp
2008-12-28 12:25:22 +02:00
Christophe Simonis
3c16899b99
[IMP] PoolManager: use class methods instead of static methods
...
bzr revid: christophe@taupe-20081226101741-noqnp5agvi0nxsu1
2008-12-26 11:17:41 +01:00
Christophe Simonis
ca93318a77
[FIX] restarting a non started pool does not crash anymore
...
[FIX] when creating a database, the pool is restarted
[FIX] when dropping a database, the caches are cleaned
[IMP] add an option to specify the default cache timeout
lp bug: https://launchpad.net/bugs/310986 fixed
bzr revid: christophe@taupe-20081224002418-7pf9ctdzcl8ygvs7
2008-12-24 01:24:18 +01:00
P. Christeas
a8229141bc
Merge branch 'master' of openobject-server into mdv-gpl3-fwd
...
Conflicts:
bin/netsvc.py
bin/sql_db.py
bin/ssl/SecureXMLRPCServer.py (note: fixes are lost now)
bzr revid: p_christ@hol.gr-20081223154608-fs0830k7vyo81m5u
2008-12-23 17:46:08 +02:00
Stephane Wirtel
d6ee7843dc
[REF] Move the drop_view_if_exists
...
bzr revid: stephane@tinyerp.com-20081222084150-b0xeatlbnmpyhwkr
2008-12-22 09:41:50 +01:00
Christophe Simonis
f16bd3f97e
[MERGE]
...
bzr revid: christophe@cobalt-20081219194725-43cy82scvaiwbnbo
2008-12-19 20:47:25 +01:00
Fabien Pinckaers
395071a27e
improvement
...
bzr revid: fp@tinyerp.com-20081219192528-qwx4qwgfu1fab10c
2008-12-19 20:25:28 +01:00
Christophe Simonis
654f03f72a
[IMP] Track where a cursor is created when this cursor is not closed explicitly
...
[IMP] do not reformat the parameters, allowing to pass dict as parameters
bzr revid: christophe@cobalt-20081219192149-pzg3xaygvbhc111x
2008-12-19 20:21:49 +01:00
P. Christeas
18b1a8a843
Merge commit 'origin/master' into mdv-gpl3-fwd
...
Conflicts:
bin/addons/base/ir/ir_actions.py
bin/netsvc.py
bin/report/report_sxw.py
bin/tools/translate.py
bzr revid: p_christ@hol.gr-20081218164925-uarehzvo3ocu0x2w
2008-12-18 18:49:25 +02:00
Stephane Wirtel
d8727111a6
[IMP] Use the Cursor from sql_db
...
bzr revid: stephane@tinyerp.com-20081218161319-bo4jn6ouum0qy32y
2008-12-18 17:13:19 +01:00
Stephane Wirtel
f510071f6b
[IMP] Add the drop_view_if_exists method
...
lp bug: https://launchpad.net/bugs/309331 fixed
bzr revid: stephane@tinyerp.com-20081218140232-828mryrisecwxs3v
2008-12-18 15:02:32 +01:00
Stephane Wirtel
3fb0723abd
[FIX]
...
bzr revid: stephane@tinyerp.com-20081218091342-ye0b53mnykogrzz9
2008-12-18 10:13:42 +01:00
Christophe Simonis
b53c23bce0
[FIX] fix python2.4 compatibility
...
bzr revid: christophe@cobalt-20081218090701-n7acd0nmsilygkjy
2008-12-18 10:07:01 +01:00
Jay Vora
985b7f8c1d
Bugfix:Drop DB
...
bzr revid: jvo@tinyerp.com-20081217062007-ic0cbclkn602ewtt
2008-12-17 11:50:07 +05:30
Christophe Simonis
63f6d4e24e
[IMP] downgrade the logging level to ERROR when the server cannot connect to the database
...
bzr revid: christophe@cobalt-20081216111636-ahigto4u7l2kueeo
2008-12-16 12:16:36 +01:00
P. Christeas
08615bbbc1
If some SQL query fails, log the whole query.
...
bzr revid: p_christ@hol.gr-20081215220606-l9mncs9qnyy0v7tv
2008-12-16 00:06:06 +02:00
Christophe Simonis
be2a0a76bb
[FIX] the database connectin pool generate at least one connection to ensure earliest that the database is reachable
...
bzr revid: christophe@cobalt-20081215153616-dyb7xj771tzj5de1
2008-12-15 16:36:16 +01:00
Christophe Simonis
85c8b304bf
[FIX] fix a stupid bug in database closing method
...
lp bug: https://launchpad.net/bugs/308084 fixed
bzr revid: christophe@cobalt-20081215150835-d4rkvaf35m1gbyj6
2008-12-15 16:08:35 +01:00
Mantavya Gajjar
c0e1fc3452
merginf from the trunk
...
bzr revid: mga@tinyerp.com-20081215123034-1gnqhxeteza8e183
2008-12-15 18:00:34 +05:30
Fabien Pinckaers
8cb88b6054
improvements_bugfixes
...
bzr revid: fp@tinyerp.com-20081214164647-hku6dlqkd65fe8ry
2008-12-14 17:46:47 +01:00