This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


    from 83e7f9cd3b Set up default protection ruleset for default and release 
branches (#481)
     add 083057a931 Preliminary changes to PythonScriptProvider to allow 
creating, renaming, and deleting libraries and macros.
     add 2fa24674f6 On Python, XInvocation.invoke() must return a tuple of 3 
values, the return value, the aOutParamIndex and the aOutParam.
     add 39f90afe1c Use the parent URI to dynamically derive ours, so renaming 
the parent doesn't break our URI.
     add d2f6c07679 Cleanups. Remove excess debug info. Log exceptions across 
the whole of invoke(), not just specific actions.
     add cfa9efbce1 Verify that params has a name for Creatable and Renamable 
actions in invoke().
     add 7686e66c7a PackageBrowseNode also needs to implement XPropertySet and 
XInvocation, otherwise the macro selector screen shows no macros!
     add 511d7659d6 Get Python file editing working.
     add 36f82a9eeb Cleanups. Save in UTF-8 format just in case.
     add d2cc3a1ab9 Make the edit dialog permanent.
     add 1b85a9366d Our PythonScriptProvider is now actively developed, not 
deprecated.
     add 1a9bb40f52 Forget Python modules from the cache after they are saved, 
so they get reloaded in the future. This is necessary as getModuleByUrl()'s 
self.sfa.getDateTimeModified() returns timestamps with all zeroes for documents 
(== ZIP files), breaking the test for whether the embedded Python file has been 
changed. Also even if it worked, the minimum granularity for timestamps in ZIP 
files is 2 seconds, which isn't good enough.
     add 8e23be7474 Use pop() instead of del to delete keys from the 
self.modules dictionary for Python scripts, so KeyError isn't thrown when the 
key is missing.
     add d7d7c2bb24 Remove a duplicate method.
     add a7a66e361b Use a fixed width font for the Python editor.
     new 4bb26738ff Merge branch 'python-editing-embedding' into trunk

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 main/scripting/README                        |   8 +-
 main/scripting/source/pyprov/pythonscript.py | 480 ++++++++++++++++++++++++---
 2 files changed, 432 insertions(+), 56 deletions(-)

Reply via email to