summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/ace
AgeCommit message (Collapse)Author
2019-02-05[IMP] web: add JS-related lib files for ace editorAndrea Ulliana
In task handled in https://github.com/odoo/odoo/pull/29999, we will need support for javascript files in ace editor. This commit adds the related lib files. See https://ace.c9.io/#extending-highlighters: https://github.com/ajaxorg/ace/tree/master/lib/ace/mode 1. https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/doc_comment_highlight_rules.js 2. https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/javascript_highlight_rules.js 3. https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/javascript.js task-1919350
2018-04-18[REF] web, web_editor, website: convert LESS editor to SCSS editorqsm-odoo
2018-03-21[MERGE] forward port branch saas-11.2 up to 500e3f49705Christophe Simonis
2018-03-20[FIX] web: ace: no duplicated char with composition (html/css editor)Christophe Matthieu
Before this commit, there was an issue with input method using composition in which typed characters were duplicated. This was occuring until the composition ended. This is a bug specific to Google Chrome v53+. It has been fixed in the most recent version of ace.js [1], and we just port the fix into our custom code. Note that we do not simply import ace.js as a whole, because we must update lots of custom code at the same time. We plan to do so in the future. Fixes #23629 [1] https://github.com/ajaxorg/ace/pull/3116
2018-03-14[IMP] update ace editor to v1.3.1Géry Debongnie
Note that we do not do a custom build anymore, since we lazyload the files anyway. A custom build will save a few kb, but will not do any meaningful change to the user experience. However, it dies impact negatively our ease of maintenance, so standard build it is.
2017-08-31[IMP] web: lazy load nvd3, ace and fullCalendar lib to reduce asset sizeChristophe Matthieu
2017-02-14[ADD] web_editor, website, web: new LESS editorqsm-odoo
The old "HTML" editor now handles LESS edition. The editor has now a button to switch between XML and LESS edition. By default, it only displays the odoo files which only appear in the assets_frontend bundle and in debug mode, it allows to see all the files that influenced the page design. The new editor has a new set of options which allows to use it as a xml editor only or a less editor only if needed. Also: make the "include bundles" option appear only in debug mode. Technical details: - When saving a modified LESS file, an attachment is created with the full modified content and an extension view xpaths the bundle where the original file was added to link this attachment instead. This relies on the fact that qweb, when generating assets bundle, replaces missing files by the "datas" contents of the ir.attachment's which have an "url" field equal to the urls it is searching. - If a LESS error is introduced, the recent changes in assets bundle generation (see c248674a5c615c9db113357eec9d9adaf50b888e) will not break the design but only open a dialog on page loading, with the LESS error. The user can then go to the LESS editor and reset its changes. This feature code has been started with original work of @pga-odoo
2016-08-24[FIX] web: ace: implement scrollIntoViewIfNeeded for firefoxChristophe Matthieu
When we use firefox top or bottom arrow the ace container does not scroll automatically if the cursor is not visible.
2016-08-23[IMP] web: use not minified version of ace libChristophe Matthieu
2016-08-23[IMP] web: add ace editor for xml and python editionChristophe Matthieu
* display all lines and don't display the scroll bar into ace editor * lazy read ace lib and add missing lib file * use not minified version of ace lib * Move ace lib from website to web * Added ace widget for webclient * XML mode for view text box * Python mode for server action text box * Removed web_ace_editor.xml, instead added template in base.xml itself * Added widget=ace_editor in compute field of ir.model.fields