History log of /aoo42x/main/scripting/ (Results 1 - 25 of 86)
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)

4313305f16-Oct-2022 Damjan Jovanovic

Fix some errors in the scripting module's XInputStreamImpl:
- Check the loop termination in readBytes() properly: currently it increments
totalBytesRead while also decrementing nBytesToRead

Fix some errors in the scripting module's XInputStreamImpl:
- Check the loop termination in readBytes() properly: currently it increments
totalBytesRead while also decrementing nBytesToRead, so when compared to
each other, the loop terminates when the buffer is half full. Only check
for nBytesToRead instead.
- Deal with the possibility of available() returning 0 in readSomeBytes().

Patch by: me

(cherry picked from commit 7e29bacc90c4b1b9788c3b71dfacd17daecde7a7)

show more ...

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

All scripts must be subject to checks

(cherry picked from commit fb9ad7aa17549019ccdd2762a97d104449abf45d)

b6af824720-Feb-2022 mseidel

Updated icons

(cherry picked from commit ccd71dddfa2d42460ca5bb2e703a8d97f3e6f48a)

33ef102011-Feb-2022 Arrigo Marchiori

Add support for Azul and OpenJDK JDK's

(cherry picked from commit 6b9dcf425c98079ba3243c445033c03406aeb447)

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

Fixed typos (initalize -> initialize)

(cherry picked from commit 6e9cccf42f52eac53abb7399073134c0cb193d0e)

Revision tags: AOO4110-GA
657ff7db13-Mar-2021 mseidel

Fixed typo (retrive -> retrieve)

(cherry picked from commit 8cc42d09d618e539d9b7e6d3909e41c02dffea8f)

3187fb0409-Feb-2021 Jim Jagielski

some macOS changes:
o ensure current assembly of privateSnippetExecutor
o BigSur note
o Use vars to make it easier to change overall options
o Java8 compatibility

Revision tags: AOO419-GA
ecf1c5e922-Dec-2020 Jim Jagielski

Push latest updates: macOS, beanshell

Revision tags: 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)

d47d317b11-Jan-2020 mseidel

Fixed typos

(cherry picked from commit 7c5cbfde20e595d678c73935a8f75203773bea47)

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)

79bd3a3426-Apr-2019 Matthias Seidel

Merged r1858167 and r1858209 from trunk

- Fixed typo
- Updated graphic

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

Merged r1858167 and r1858209 from trunk

- Fixed typo
- Updated graphic

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

show more ...

Revision tags: AOO420-Dev-m1, AOO416
622f9d2507-Dec-2018 Matthias Seidel

Fixed typo, deleted whitespace

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

Revision tags: 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
f1d3244e09-Nov-2017 Damjan Jovanovic

#127044# - Defects in the code

Commit fixes for sub-issues 1, 2, 5, 9 and 10.

Found by: AppChecker <appchecker at cnpo.ru>
Patch by: me



git-svn-id: https://sv

#127044# - Defects in the code

Commit fixes for sub-issues 1, 2, 5, 9 and 10.

Found by: AppChecker <appchecker at cnpo.ru>
Patch by: me



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

show more ...

Revision tags: 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 ...

1234