Age | Commit message (Collapse) | Author |
|
|
|
I upgraded the service to return XSimpleFileAccess3, since it
already implemented that interface, and it's backwards
compatible.
Change-Id: I40001a46048bd21a23b6a2f58a95376f06fc634b
|
|
Change-Id: I2db644a3c18658b07834fe6653b17713fd8201a7
|
|
Change-Id: I6607bfe8b6bf4d29ffd01cd88a19af5e53d616b5
|
|
Change-Id: I50377a12c2baadf48767e1d4c265417d3c8ab765
|
|
This reverts commit dd6c4f4db1d62268d73e09ae52d23f760a967dcc "fdo#46102: Load
Java scripts with class loaders that actually find them." That commit broke
support for macros embedded in documents (as
new java.net.URL("vnd.sun.star.tdoc:...") throws a MalformedURLExcetpion), and
it looks like that commit was not necessary after all -- or rather that what it
tried to work around must have been some other problem that has been fixed
meanwhile. "It is unclear to me how the Java script provider shall ever have
found the script jars in the past" indicates that something must have been
fishy, and what I failed to notice back then is that createURL creates
java.net.URL instances with a UCBStreamHandler that does allow to obtain content
from weird-looking URLs.
Anyway, with that reverted, all three following scenarios work on both current
master (towards LO 3.7) and libreoffice-3-6 (towards LO 3.6.4); I haven't yet
come around to test on libreoffice-3-5:
1 Stock macros, "Tools - Macros - Run Macro... - LibreOffice Macros -
HelloWorld", running all of the four "helloworld.bsh", "helloworld.js",
"HelloWorldPyhton", and
"org.libreoffice.example.java_scripts.HelloWorld.printHW".
2 Per-document macros, loading test.odt attached to fdo#49517, then "Tools -
Macros - Run Macro... - test.odt - HelloWorld", running
"org.libreoffice.example.java_scripts.HelloWorld.printHW".
3 Extension macros, installing ScriptDispatch.oxt attached to fdo#46012 as
shared extension, then loading StartScriptDispatch.odt attached to fdo#46012 and
pressing the "Start Java via ScriptProvider" button.
Change-Id: I31cd16b3720ffeb1058722d4d1fdffb773f8a067
|
|
Create a merged XToolkit2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.
Also mark sub-interfaces as non-optional.
Change-Id: I278d0288e92be277033013302267cf93f7d70480
|
|
Change-Id: Ia07d3fd856578ab6976c02f8a0ec96273db19a2c
|
|
Change-Id: Ieb49277020d31779979d8eb508391d6f8b97bf94
|
|
Change-Id: I4e72bf5880fa28cb96d93ede7730a63220af7fa6
|
|
Change-Id: I313afb391562adae4f91c55480a036c228e0b540
|
|
One of the javascript examples parcel-descriptor.xml ended up with a c++
comment instead of a xml comment
Change-Id: Ie63a30e19de2caae08e9a489b6592e1046037416
|
|
Change-Id: Ibb61dc696c4341a0b58d8fd7c2fdfb4c5b991596
|
|
Change-Id: Id851bacb21bbe289cebd635853f4d2028aed9f78
|
|
Change-Id: I0323e3eb9446c4f2b18f84f5ed33909a877163c8
|
|
...and some further clean up.
Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
|
|
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.
Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
|
|
... new gb_LinkTarget_add_standard_system_libs
Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
|
|
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
|
|
This patch remove some '@author' for Java souce files, and removes some commented code founded
when removing the '@author'.
Change-Id: I7bff1507212e967069f3d18e6c1040f69501694a
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
|
|
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
|
* As UCB is only ever initialized with "Local"/"Office", remove this
configuration vector completely. The "create" ctor creates an instance
internally initialized with those "Local"/"Office" keys. Special (test) code
can still instantiate an uninitialized one via plain createInstance. And for
backwards compatilibity process startup still ensures to create an initialized
instance early, in case there is still code out there (in extensions) that
later calls plain createInstance and expects to get the already-initialized
(single) instance.
* XInitialization is an "implementation detail" of the UniversalContentBroker
service, do not expose in XUniversalContentBroker.
* ucbhelper/configurationkeys.hxx is no longer needed and is removed.
* ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that
requires ucbhelper::Content constructors to take explicit XComponentContext
arguments now.
* The only remaining code in ucbhelper/source/client/contentbroker.cxx is
Android-only InitUCBHelper. Is that relevant still?
Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
|
|
|
|
Change-Id: Ic668b46872ee0bfd259ca335aed9d68fb545c3a4
|
|
I guess I missed some last time :-)
Change-Id: I164a8baa07850f783b8cdf2e7f3eeaac53a3d29b
|
|
Change-Id: I6cf6fa8e55005ffdc1d173aeee1e374efbb214fd
|
|
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
|
|
Change-Id: Ia16a54432291935125d53de9d7cc010917b8373d
|
|
Change-Id: I2620ccf17a24572b4bd6a79f2410c4b746164b9a
|
|
Note that the code doesn't compile after this change, it is still
very out of date with respect to changes in the UNO framework
Change-Id: I5a001002a3fcf20496bba4367b9f2da4ceba9f88
|
|
Change-Id: I83a51dc7a68413d9fea16c8cafdb82e665940775
|
|
Change-Id: I7eb24b2d552ec5da752b58ba790ed58fb88728b0
|
|
Change-Id: I20a79d3d8f71dc48fc2662563f9c890dd3d94aac
|
|
Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
|
|
Change-Id: I7bdf16fc6d042e5ecd404c604a8b7c31c1ac7bc1
|
|
Change-Id: I039e51958865a7ea000034e7bf765f64d49689cd
|
|
Along the way, remove some javadoc comments that are completely incorrect.
Change-Id: I02f96b6cbe665d2c10bd6ee245a7d8e2eef0f755
|
|
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
|
|
With gb_Jar_add_jar and gb_Jar_add_system_jar adding to the manifest
classpath automatically it is no longer necessary to call
gb_Jar_set_jarclasspath manually except for the URE jars, which
are apparently not supposed to be added automatically.
Change-Id: I1e743e7ecb9cb5651e02005aa09e127bea1b0a29
|
|
Change-Id: I80bd0329e15cb365091ea6f5c7e1ef3559d681fc
|
|
Change-Id: I8a44de06f9a16308a5ff82ad77d059e5dde544f9
|
|
Change-Id: I2789153ee35f4ec10e760f9412eb7d379de031bf
|
|
a literal within a OUString.
Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
|
|
Change-Id: I7d875dd74f8eff05f7a291100841779abbf5fd1c
|
|
a literal within a OUString.
Change-Id: I01ca30c68228f81b3d313dfca5b975448f3c4fc7
|
|
Change-Id: Iedb58cade2bc7cdbce2e8d40b0e3502bf3df4fa9
|
|
This reverts commit b21661ce4200fd8040a213770a3f9e63a4b9f137.
this breaks with ../framework/source/lomenubar/MenuItemInfo.hxx:49:12: error: expected ‘;’ at end of member declaration
|
|
|
|
remove onlineregistration with dependencies
Patch contributed by Juergen Schmidt
http://svn.apache.org/viewvc?view=revision&revision=1249245
|
|
Conflicts:
scripting/source/dlgprov/dlgprov.cxx
|