Commit Graph

126 Commits

Author SHA1 Message Date
Launchpad Translations on behalf of openerp 57b2b97308 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120310052736-h7pcyns8m0yapx2r
bzr revid: launchpad_translations_on_behalf_of_openerp-20120311050705-4g6qxsmwzmefmekl
bzr revid: launchpad_translations_on_behalf_of_openerp-20120313053506-zeuvhbd8ml1rhmy8
bzr revid: launchpad_translations_on_behalf_of_openerp-20120314054433-q7eqdv6c3ise2wv1
2012-03-14 05:44:33 +00:00
Launchpad Translations on behalf of openerp ee40bd932c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120308052449-xr1pzp07rtg17k5j
bzr revid: launchpad_translations_on_behalf_of_openerp-20120308052456-0x4knc5exg2mm14n
2012-03-08 05:24:56 +00:00
Launchpad Translations on behalf of openerp f6c3cd9bb7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120306052805-zlaw3c4skc81oj8z
bzr revid: launchpad_translations_on_behalf_of_openerp-20120307060413-fvlney19la4wjhqn
bzr revid: launchpad_translations_on_behalf_of_openerp-20120307060421-haf4qy1x6vu5xdrx
2012-03-07 06:04:21 +00:00
Launchpad Translations on behalf of openerp 518735c78b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120306052918-hvjamh4ym691nfau
2012-03-06 05:29:18 +00:00
Fabien Meghazi d9a626a32c [EXT] Extract pot files
bzr revid: fme@openerp.com-20120305183853-kybvgxnlb9pg6iax
2012-03-05 19:38:53 +01:00
Xavier Morel fc887bfb2f [MERGE] new, shinier and better-working diagram view
bzr revid: xmo@openerp.com-20120305103353-w8r6fk9cv8wjklts
2012-03-05 11:33:53 +01:00
Xavier Morel df25517f09 [IMP] use deferred for node and edge destruction callbacks, so the node or edge is not removed if the unlink call fails
bzr revid: xmo@openerp.com-20120305102516-3u14hvxs81qzgxd8
2012-03-05 11:25:16 +01:00
Xavier Morel 6ffffdc4de [FIX] reload graph when hidden then showed so it can take account navigation done in other views and show the right 'current' diagram
bzr revid: xmo@openerp.com-20120305095848-6vy0ezahuxmkg7yk
2012-03-05 10:58:48 +01:00
Launchpad Translations on behalf of openerp 6468fc876a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120301051917-fmqwoejs3938qms6
bzr revid: launchpad_translations_on_behalf_of_openerp-20120302052441-nwqd0nqf2gjd8ucn
bzr revid: launchpad_translations_on_behalf_of_openerp-20120303055455-mns5t3fuy78a9r66
bzr revid: launchpad_translations_on_behalf_of_openerp-20120304052145-yqor18r71d7fqmar
bzr revid: launchpad_translations_on_behalf_of_openerp-20120305051123-0j4vr09l95yo2fj5
bzr revid: launchpad_translations_on_behalf_of_openerp-20120229053027-ifd6ef34ebmox67l
bzr revid: launchpad_translations_on_behalf_of_openerp-20120305051129-fcwena1g6pvrc9y5
2012-03-05 05:11:29 +00:00
Frédéric van der Essen 71a50a840c [FIX] Smart positioning of the close button on edge didn't always work, reverted to dumb position
bzr revid: fva@openerp.com-20120301170901-q6m7w0y273wt84e3
2012-03-01 18:09:01 +01:00
Frédéric van der Essen 62c0ddb369 [IMP] Diagram : Editor is now able to destroy edges and nodes
bzr revid: fva@openerp.com-20120301170116-34nzl3eq8jlhx8ex
2012-03-01 18:01:16 +01:00
Xavier Morel 056f987b0d [REM] hardcoded diagram id, use class instead
also fix class: add previx

bzr revid: xmo@openerp.com-20120229104624-snt8j2kt2y3hp6h1
2012-02-29 11:46:24 +01:00
Xavier Morel be55c055b1 [IMP] reduce default height of diagram viewport to 500px since it's now resizable vertically
bzr revid: xmo@openerp.com-20120229103711-y1f8jofp0c0duq6h
2012-02-29 11:37:11 +01:00
Xavier Morel 086c40a956 [FIX] indentation, stray whitespace in diagram.js
bzr revid: xmo@openerp.com-20120229103651-6hztuizbii70pb36
2012-02-29 11:36:51 +01:00
Xavier Morel 86c115b83f [FIX] orthography in vec2.js
bzr revid: xmo@openerp.com-20120229103507-37n1otplmr2umt9j
2012-02-29 11:35:07 +01:00
Xavier Morel 8ec0fda0c3 [IMP] add diagram name (name_get) above 'new node' button, so user knows what he's looking at
bzr revid: xmo@openerp.com-20120229102948-jfl1pbbg3t1460il
2012-02-29 11:29:48 +01:00
Frédéric van der Essen 0e9333cb22 [FIX] Diagram: Resizing the viewport broke panning and scrolling
bzr revid: fva@openerp.com-20120229105846-y9dmhpfjjk1oii14
2012-02-29 11:58:46 +01:00
Frédéric van der Essen f3e2bd31ce [IMP] Diagram: Prevent panning and scrolling from hiding the graph
bzr revid: fva@openerp.com-20120229103741-l45e34cm8l3ioxfq
2012-02-29 11:37:41 +01:00
Frédéric van der Essen 3c8eaaaa99 [IMP] Diagram: Resizable viewport, viewport move cursor
bzr revid: fva@openerp.com-20120228103933-j92bexvam1hsfc7t
2012-02-28 11:39:33 +01:00
Frédéric van der Essen 55bc8d6a22 [IMP] Diagram styling
bzr revid: fva@openerp.com-20120224163605-mibez8k95343x7oz
2012-02-24 17:36:05 +01:00
Xavier Morel 2832fadd21 [REM] leftover logging
bzr revid: xmo@openerp.com-20120224155904-nz4mzhtkg9j9rexn
2012-02-24 16:59:04 +01:00
Xavier Morel af36854aa2 [FIX] set a single numeric id as the m2o value in the 'new node' popup to force a name_get resolution
with a pair, the field's textual value would get set to 'undefined' leading to inconsistent behavior depending on whether the field is visible or not

bzr revid: xmo@openerp.com-20120224155741-o43tndbmxfsmcub7
2012-02-24 16:57:41 +01:00
Xavier Morel 2adcdd3aad [FIX] warnings (implicit globals, missing semicolons, unused variables)
bzr revid: xmo@openerp.com-20120224154825-gzimhyqcozbisbwm
2012-02-24 16:48:25 +01:00
Frédéric van der Essen 6c3311cd9a [IMP] removing css expermiments for diagram implementation
bzr revid: fva@openerp.com-20120224150417-89cq4v6ovpffwb8e
2012-02-24 16:04:17 +01:00
Frédéric van der Essen d099b4b1bf [IMP] Cleanup : removing unnecessary files, moving libs to /lib
bzr revid: fva@openerp.com-20120224150011-v64qda7lfknso6cb
2012-02-24 16:00:11 +01:00
Frédéric van der Essen 4c5a4a4230 diagram : removing dracula
bzr revid: fva@openerp.com-20120224145026-3drv72cejyej8ub6
2012-02-24 15:50:26 +01:00
Frédéric van der Essen 49d9226a44 new viewport integration
bzr revid: fva@openerp.com-20120224144803-c7iiafllsjnuwkkv
2012-02-24 15:48:03 +01:00
Frédéric van der Essen 3d19a013e7 diagram viewport scrolling now works on all elements
bzr revid: fva@openerp.com-20120224132506-ujvbwj0jj8a26zhp
2012-02-24 14:25:06 +01:00
Frédéric van der Essen ca974ab6c2 dummy edges are destroyed on cancel
bzr revid: fva@openerp.com-20120224130007-9cdj749bpfrdc0ix
2012-02-24 14:00:07 +01:00
Frédéric van der Essen 87f65775e0 Correct viewport integration, cosmetic changes, node loops
bzr revid: fva@openerp.com-20120224095310-r3bdlx09n5eaxrvk
2012-02-24 10:53:10 +01:00
Frédéric van der Essen 041ed706a5 Edge loops are now supported
bzr revid: fva@openerp.com-20120222171210-lr1me6hsedl0tsoo
2012-02-22 18:12:10 +01:00
Frédéric van der Essen 9af0dcc56d Dropped the _new in vector lib, Node and edge creation/modification hookup with openerp
bzr revid: fva@openerp.com-20120222140047-oqpj2axm35wswyei
2012-02-22 15:00:47 +01:00
Frédéric van der Essen a444a588cd removing useless console.log
bzr revid: fva@openerp.com-20120222095632-i9m16yrrrci71km3
2012-02-22 10:56:32 +01:00
Frédéric van der Essen 26fd73e419 Beginning the integration of the new diagram library
bzr revid: fva@openerp.com-20120222092320-j05aesaglaglnovz
2012-02-22 10:23:20 +01:00
Launchpad Translations on behalf of openerp f95d98807c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120218071814-qv5c1xw4260ns8r8
2012-02-18 07:18:14 +00:00
Xavier Morel bd8f8c9be3 [FIX] handling of fields back to the diagram's main model while creating and editing nodes
lp bug: https://launchpad.net/bugs/932773 fixed
lp bug: https://launchpad.net/bugs/932805 fixed

bzr revid: xmo@openerp.com-20120216150434-bnrku6qj8r10sltj
2012-02-16 16:04:34 +01:00
Launchpad Translations on behalf of openerp 2094148de5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120216050419-fgzhvlogc71u42qe
bzr revid: launchpad_translations_on_behalf_of_openerp-20120216050718-lf9hgvr1p33jpm2h
bzr revid: launchpad_translations_on_behalf_of_openerp-20120216052148-ta5bwtqg3bzmvp3i
2012-02-16 05:21:48 +00:00
Launchpad Translations on behalf of openerp 74b3b0bc69 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120214054303-2gawtr1s4zulhhhs
bzr revid: launchpad_translations_on_behalf_of_openerp-20120214054630-925y7kotw7axa7z4
bzr revid: launchpad_translations_on_behalf_of_openerp-20120214061906-2g5kxwe0xle5u54c
2012-02-14 06:19:06 +00:00
Launchpad Translations on behalf of openerp d970294f61 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120211054143-ombd21qpgp6dwowo
bzr revid: launchpad_translations_on_behalf_of_openerp-20120212050000-l6kpoprwuejqy53f
bzr revid: launchpad_translations_on_behalf_of_openerp-20120213050809-dfeuvbboy9mk6ox5
2012-02-13 05:08:09 +00:00
Xavier Morel af8864d571 [FIX] imports to handle conflicts with e.g. web.py in embedded mode
bzr revid: xmo@openerp.com-20120210103426-b20ass3mwx2ay9c4
2012-02-10 11:34:26 +01:00
Launchpad Translations on behalf of openerp e260cfa286 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120210050948-enku822yz6xip51k
2012-02-10 05:09:48 +00:00
Launchpad Translations on behalf of openerp 0e2e9ddd78 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120209055558-qfwy9bg1km791dys
bzr revid: launchpad_translations_on_behalf_of_openerp-20120209071015-0jykfhbo8iamzpzk
bzr revid: launchpad_translations_on_behalf_of_openerp-20120209072746-stmwycdircyzrxn4
2012-02-09 07:27:46 +00:00
Carlos Vásquez bad6cde80e [ADD] es_CR.po: in all modules
bzr revid: carlos.vasquez@clearcorp.co.cr-20120208083551-nev12pk8a4jnrou4
2012-02-08 02:35:51 -06:00
Launchpad Translations on behalf of openerp 320b2d2e2e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120208060921-wir47e717rh04xxn
bzr revid: launchpad_translations_on_behalf_of_openerp-20120208063913-vg9qdu30tx09ojrl
2012-02-08 06:39:13 +00:00
Launchpad Translations on behalf of openerp 35601a346f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120207045344-l7gkplf7icv5djit
bzr revid: launchpad_translations_on_behalf_of_openerp-20120207045952-t6bedpten4ms5hx4
2012-02-07 04:59:52 +00:00
Xavier Morel 42f7f57f33 [EXP] export translatable strings to templates
bzr revid: xmo@openerp.com-20120206163406-vf12k01nxqbhnt3q
2012-02-06 17:34:06 +01:00
Olivier Dony 7ebc5bdba3 [IMP] refactored translation system to merge web translations with addons translations
- Moved the web *.po files to /i18n to be consistent
  with the addons convention. Using /po was considered
  for a while because it played better with LP's auto-
  detection of PO Templates, but that is not necessary
  anymore, we now have full control on LP templates.

- In order to support addons that contain translations
  for both the web addon and the regular addon part,
  both kinds of translations are now merged in a single
  addon/i18n/addon.pot file. Terms that are used by
  the web part are now marked with a PO annotation:
     #. openerp-web
  so the web client can recognize them and only load
  the relevant translations in the browser memory.
  This is important because a complete PO file can
  be rather large, e.g. account/i18n/de.po = 400KB.

- The web translation export scripts were updated to
  behave properly for addons that have a non-web
  part, and will merge the web translation in the
  original POT file, annotating the web translations
  as needed. These scripts are Unix-only and meant
  to be used by OpenERP packagers when needed.

- The GetText spec says that PO auto-comments indicating
  the source location have this form:
   #: /path/to/file:lineno
  However OpenERP's POT export system defaults to a modified
  version of this format with an extra 'type' field:
   #: type:/path/to/file:lineno
  The babel extractors we use have the GetText format 
  hardcoded so a small patch is needed on the server
  to make it more lenient and accept the standard
  source annotation, defaulting to 'code' type.
  This does not matter for openerp-web, but makes sure
  the server will not fail to load the new PO files 
  that contain openerp-web translations with standard
  annotations.
  The patch for making the server more lenient was
  checked in trunk at revision 4002 
  rev-id odo@openerp.com-20120202143210-05p1w24t6u77cyv8

- The existing translation sync and export wizards for
  regular addons have not been updated to consider
  web addons, so for the time being we will have
  to export regular addons terms first, and run the
  web export script (gen_translations.sh) on the
  addons directory afterwards. This could be improved
  later.

As soon as this change is merged we will have to
perform a full update of addons translation
templates in order to include the web terms as well.

bzr revid: odo@openerp.com-20120202145603-ffo0il0qnfp3r6gt
2012-02-02 15:56:03 +01:00
Launchpad Translations on behalf of openerp 7e2bb94661 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120202055911-xdbu6vwggylcbpq1
bzr revid: launchpad_translations_on_behalf_of_openerp-20120202061434-l5xlutw7q5besmme
2012-02-02 06:14:34 +00:00
Launchpad Translations on behalf of openerp a6be92b62b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120201045611-6pg23l4ipzfnlpme
bzr revid: launchpad_translations_on_behalf_of_openerp-20120201051211-pvfvh4f562tv94rj
2012-02-01 05:12:11 +00:00
Launchpad Translations on behalf of openerp 69910d967c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120131050031-o00wn1tnzbkgjt6j
bzr revid: launchpad_translations_on_behalf_of_openerp-20120131050331-w0omtl1lmfqzciwq
bzr revid: launchpad_translations_on_behalf_of_openerp-20120131052309-jtfsc2m4h3liyzb5
2012-01-31 05:23:09 +00:00