History log of /aoo42x/main/scripting/source/ (Results 1 - 25 of 47)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: AOO420-Dev5-m5, AOO4115-GA
470c0b0b28-Jan-2023 Arrigo Marchiori

Add a "referer" property to SfxObjectShell::CallXScript() and trust macros explicitly requested by the user

(cherry picked from commit 9112548547be8d3a47281bcef5925a60e1435527)

3ec0f84928-Jan-2023 Arrigo Marchiori

Scripts check their "Referer". Menu choices always set a trusted "Referer".

(cherry picked from commit 98c68b91f53a89d44b8d4d563791eeb186d6d605)

Revision tags: AOO4114-GA, AOO420-Dev4-m4
4ec7525e10-Nov-2022 Bidouille

Fix for Issue 114497 (#151)

(cherry picked from commit 6e1ccbb0a46802bbc00c0f3874f189d876a1790c)

Revision tags: AOO4113-GA, AOO4112-GA
2545873619-Oct-2021 Arrigo Marchiori

All scripts must be subject to checks

(cherry picked from commit fb9ad7aa17549019ccdd2762a97d104449abf45d)

Revision tags: AOO4111-GA, AOO420-Dev3-m3
437a659426-Apr-2021 mseidel

Fixed typos (initalize -> initialize)

(cherry picked from commit 6e9cccf42f52eac53abb7399073134c0cb193d0e)

Revision tags: AOO4110-GA, AOO419-GA, AOO418-GA
4277327025-Jul-2020 Damjan Jovanovic

Improve parsing of script URLs and detection of in-document
macros therein, as per the excellent sample code in
main/dbaccess/source/ext/macromigration/migrationengine.cxx
method Migratio

Improve parsing of script URLs and detection of in-document
macros therein, as per the excellent sample code in
main/dbaccess/source/ext/macromigration/migrationengine.cxx
method MigrationEngine_Impl::impl_adjustScriptLibrary_nothrow().

Patch by: me

(cherry picked from commit 15daf3925bdc140e28ef7cd246a147feaed4ea47)

show more ...

7110543d25-Jul-2020 Damjan Jovanovic

Update com.sun.star.comp.ScriptProtocolHandler to use XComponentContext.

As per https://wiki.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Component_Context
XMultiServiceFactory is d

Update com.sun.star.comp.ScriptProtocolHandler to use XComponentContext.

As per https://wiki.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Component_Context
XMultiServiceFactory is deprecated, we use XComponentContext now. Also
use the cppuhelper factory wrappers instead of custom code.

Patch by: me

(cherry picked from commit 02463baf75258a73e9b3f81ff773a0a77b4fb7a4)

show more ...

26cf26dd10-Jul-2020 mseidel

Fixed typos (contex -> context)

(cherry picked from commit 6f247e9c8aac1895f310561142b0e64ebdd27411)

fb0b81f514-Jun-2020 mseidel

Fixed typos (the the -> the) and some more

(cherry picked from commit 7950f2af818787db817abe90d4dbb3d6d8409899)

Revision tags: 420-Dev2-m2
b4375c2018-Jan-2020 Damjan Jovanovic

scripting: add Python 3 support to the Python provider

Patch by: me

(cherry picked from commit 4f686187ecfc86b8d293f1b6c9a49fee4b0bf393)

4861d9f016-Dec-2019 mseidel

Fixed typos (SMPT -> SMTP)

(cherry picked from commit a5dab537a9f6443f9c9a2964a4f6f88d5a64b5a0)

e2306ba302-Oct-2019 Don Lewis

Delete leftover debug code.

Revision tags: AOO417
da7d08a919-Aug-2019 mseidel

Patch by: Damjan

(cherry picked from commit 5168e59c15cb9af435bdca9b78b99d1abe16c58e)

Revision tags: AOO420-Dev-m1, AOO416, AOO416-RC1
4078a61118-Aug-2018 Don Lewis

Arrays allocated with new [] should be freed using delete[].



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1838312 13f79535-47bb-0310-9956-ffa450edef68

Revision tags: AOO415, AOO414, AOO413
2624692c16-Oct-2016 damjan

#i127165# Clicking "No" in Java dialog causes abnormal exit on FreeBSD

XSingleComponentFactory::createInstanceWithArgumentsAndContext()
throws an Exception, not a RuntimeException. This

#i127165# Clicking "No" in Java dialog causes abnormal exit on FreeBSD

XSingleComponentFactory::createInstanceWithArgumentsAndContext()
throws an Exception, not a RuntimeException. This was causing
an abort on FreeBSD when "No" is clicked in the Java dialog,
as JavaComponentLoader::activate() throws a
CannotActivateFactoryException which is a subclass of Exception
but not RuntimeException, and the scripting ProviderCache wrongly
catches only RuntimeException. The missed CannotActivateFactoryException
was going to unexpected(), which calls abort()...

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1765170 13f79535-47bb-0310-9956-ffa450edef68

show more ...

Revision tags: AOO4121
30acf5e822-May-2016 pfg

Spelling, spelling ...

Why worry about some sprinkled German when we haven't yet learned English.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1745006 13f79535

Spelling, spelling ...

Why worry about some sprinkled German when we haven't yet learned English.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1745006 13f79535-47bb-0310-9956-ffa450edef68

show more ...

Revision tags: AOO412, SNAPSHOT, AOO411
718aea4817-May-2014 Tsutomu Uchino

#i113481# query script invocation from the current frame when the controller is not yet attached

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1595439 13f79535-47bb-0310-9956

#i113481# query script invocation from the current frame when the controller is not yet attached

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1595439 13f79535-47bb-0310-9956-ffa450edef68

show more ...

86e1cf3429-Apr-2014 Pedro Giffuni

Many spelling fixes: directories r* - z*.

Attempt to clean up most but certainly not all the spelling
mistakes that found home in OpenOffice through decades. We
could probably blame

Many spelling fixes: directories r* - z*.

Attempt to clean up most but certainly not all the spelling
mistakes that found home in OpenOffice through decades. We
could probably blame the international nature of the code but
it is somewhat shameful that this wasn't done before.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1591062 13f79535-47bb-0310-9956-ffa450edef68

show more ...

Revision tags: AOO410, AOO410_Beta, AOO401, AOO400
b5f289e312-Jul-2013 Herbert Dürr

#i120083# make python loglevel and log output changeable through environment vars

Set the log level with the environment variable "PYSCRIPT_LOG_LEVEL"
"DEBUG" (for debugging)

#i120083# make python loglevel and log output changeable through environment vars

Set the log level with the environment variable "PYSCRIPT_LOG_LEVEL"
"DEBUG" (for debugging)
"ERROR" (show errors only)
"NONE" (or anything else) (for production) is the default
and the log output type with the enviroment variable "PYSCRIPT_LOG_STDOUT"
"0" (log output to user/Scripts/python/log.txt)
"1" (or anything else) (log output to stdout)

Patch by: Tsutomu Uchino <hanya.runo@gmail.com>
Review by: Herbert Durr <hdu@apache.org>

Note: Commit message edited by ASF infra team to work around a known issue with the
ASF svn install (not an issue with svn) and UTF-8 handling. This is a temporary
issue that we hope to resolve soon.

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1502482 13f79535-47bb-0310-9956-ffa450edef68

show more ...

910823ae18-Apr-2013 Jürgen Schmidt

#121996# integrate first part to remove 3layer office

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1469276 13f79535-47bb-0310-9956-ffa450edef68

bc42e70b13-Jan-2013 Ariel Constenla-Haile

i121612 - Fix broken python mail component

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1432668 13f79535-47bb-0310-9956-ffa450edef68

7d9fa7c318-Dec-2012 Pedro Giffuni

#i121496# - [PyUNO] Python3 support

Add initial python 3 compatibility to native scripts now that
pyuno supports python3.

This is the result of running the python 2to3 script wi

#i121496# - [PyUNO] Python3 support

Add initial python 3 compatibility to native scripts now that
pyuno supports python3.

This is the result of running the python 2to3 script with
conservative settings.

Still more porting work may be required and any regression
with the default Python 2.7.3 should be considered a bug.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1423676 13f79535-47bb-0310-9956-ffa450edef68

show more ...

1574514710-Dec-2012 Pedro Giffuni

Python3: Add some more python 2to3 compatibility and cleanups.

Partially inspired by hanya's work.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1419529 13f7953

Python3: Add some more python 2to3 compatibility and cleanups.

Partially inspired by hanya's work.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1419529 13f79535-47bb-0310-9956-ffa450edef68

show more ...

Revision tags: AOO340
735dd73b29-Jul-2012 Pedro Giffuni

#i55055# Simplify pythonscript.py code

author: hanya


git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1366950 13f79535-47bb-0310-9956-ffa450edef68

13cfd8df27-Jul-2012 Pedro Giffuni

i119384 - Python: replace deprecated compiler module with ast

The "compiler" module is deprecated on Python 2.6 and was
removed on 3.x so it's a good time to replace it. The
ast modu

i119384 - Python: replace deprecated compiler module with ast

The "compiler" module is deprecated on Python 2.6 and was
removed on 3.x so it's a good time to replace it. The
ast module was introduced in Python 2.5 so this will cause
trouble if using very old versions of system python.

While here run the python reindent tool on the adjacent
files.

Author: hanya


git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1366506 13f79535-47bb-0310-9956-ffa450edef68

show more ...

12