History log of /trunk/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
9112548528-Jan-2023 Arrigo Marchiori

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

98c68b9128-Jan-2023 Arrigo Marchiori

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

Revision tags: AOO4114-GA, AOO420-Dev4-m4
6e1ccbb010-Nov-2022 Bidouille

Fix for Issue 114497 (#151)

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

All scripts must be subject to checks

Revision tags: AOO4111-GA, AOO420-Dev3-m3
6e9cccf426-Apr-2021 mseidel

Fixed typos (initalize -> initialize)

Revision tags: AOO4110-GA, AOO419-GA, AOO418-GA
15daf39225-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

show more ...

02463baf25-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

show more ...

6f247e9c10-Jul-2020 mseidel

Fixed typos (contex -> context)

7950f2af14-Jun-2020 mseidel

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

Revision tags: 420-Dev2-m2
4f68618718-Jan-2020 Damjan Jovanovic

scripting: add Python 3 support to the Python provider

Patch by: me

a5dab53716-Dec-2019 mseidel

Fixed typos (SMPT -> SMTP)

7ad89c3202-Oct-2019 Don Lewis

Delete leftover debug code.

Revision tags: AOO417
5168e59c19-Aug-2019 mseidel

Patch by: Damjan

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