- 01 Jun, 2020 27 commits
-
-
Jérome Perrin authored
the "failIf..." naming scheme is deprecated in unittest, we should at least have new-style named methods
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
When using checkPythonSourceCode integrated in the source code editor, for a scenario where developer edit a component and save we can benefit from caching the check message for the source code content, because the same check that the one happening in the editor will happen when the component is saved. This cache varies on: - "component_packages" cache cookie which is reset every time some component code is edited. - zope startup time to take into account editions of file system code. This assumes that after reseting file system code zope will be restarted. - portal_type, because the checks performed by this function also depend on portal type.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
this makes completions works when using Ctrl+space
-
Jérome Perrin authored
This makes "Format Document" / "Format Selection" work.
-
Jérome Perrin authored
because pylint is a bit slow on large components, debounce every 2 seconds. TODO: this is too slow.
-
Jérome Perrin authored
For now this is just the portal_url, but I'm thinking it could be a proper tool.
-
Jérome Perrin authored
-
Jérome Perrin authored
IIRC the only thing needed is that ERP5TypeTestCase.getPortal is an ERP5Site
-
Jérome Perrin authored
-
Jérome Perrin authored
on very large python files (>1000 lines) sometimes they queue up and we have to wait for all requests that were queued by zope. XXX maybe this does not happen when accessing through haproxy/apache, I am observing this when hitting zope directly
-
Jérome Perrin authored
because title is acquire from id, we want to edit title first for the case where we change ID, otherwise saving would save the old ID as title.
-
Jérome Perrin authored
* don't set "hide rows on no search criterion", this should not display too much and search is broken. * use preference to get number of lines
-
Jérome Perrin authored
-
Jérome Perrin authored
In monaco 0.20.0 "peek references" is not properly displayed when automaticLayout is true. This is fixed on master branch so next release should be OK. For now, use a resize event handler to re-layout the editor when size change, then we don't need the automaticLayout.
-
Jérome Perrin authored
document.body is accessed very early in scripts loading, in https://github.com/microsoft/vscode/blob/c6e3a94892eaccbce9995ee02a06febec5492fec/src/vs/editor/contrib/suggest/suggestRangeHighlighter.ts#L106 if we leave body after head, for some reason document.body is null here and loading fail, which leaves an editor where things like Ctrl+Space does not trigger completions Moving body before head is just a workaround, but that was code was removed in https://github.com/microsoft/vscode/commit/f913854bd66362a1350ea43c305ad92c151796bf hopefully when we update to monaco > 0.20.0 that won't be needed again.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
- Promise signature is different, we have canceller - delay was missing - Queue.push signature was incorrect
-
Jérome Perrin authored
Using https://lab.nexedi.com/jerome/monaco-editor-erp5/ at revision f59a79d15b7cfbb2f76d53fc01d2aab8e9316d40 and running: npm install npm run deploy -- --url=http://host:port/erp5/portal_skins/erp5_monaco_editor/monaco-editor --username=user --password=password then use ERP5Site_setSkinCache to set cache
-
Jérome Perrin authored
-
- 29 May, 2020 4 commits
-
-
Sven Franck authored
erp5_corporate_identity: only images with alt attribute specified will be added to the table with images
-
Georgios Dagkakis authored
-
Georgios Dagkakis authored
-
Jérome Perrin authored
Since commit d2b20acd004441d1cb8d36f33ed7ca112dff0d17 on slapos.git we are using gcc 8.2 which seem to generate slightly faster code, so we adjust the min time because tests were failing because we are now too fast.
-
- 28 May, 2020 2 commits
-
-
Arnaud Fontaine authored
-
Xiaowu Zhang authored
-
- 27 May, 2020 7 commits
-
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Sven Franck authored
erp5_corporate_identity: improve slideshow rendering including displaying legacy presentation as slideshow
-
Sven Franck authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
ERP5: Remove *Capacity and ImmobilisationMovement Documents never used since their introduction many years ago.
-