summaryrefslogtreecommitdiff
path: root/scripting/source
AgeCommit message (Collapse)AuthorFilesLines
2012-12-12officehelper.py: fix obvious Python 3 issuesMichael Stahl2-20/+20
Change-Id: I40691cd6b1a0a6777e6469bf242fb41dac423587 (cherry picked from commit 37c6cfde4db921699a1b2660beeb581a9e963630)
2012-12-11mailmerge.py: fix obvious Python 3 issuesMichael Stahl2-59/+59
Change-Id: I796696fbfe1756d625dcabc56c8769bed3d5dbc1 (cherry picked from commit 2462391f4cc2ffad4fb218afe83ce0ed38f45207)
2012-12-10Python: fix deprecated + "== None" instead of "is None"Julien Nabet1-2/+2
Change-Id: Ic19c2ac5817cf5f6359bccda14795ec4f17aad7e Reviewed-on: https://gerrit.libreoffice.org/1275 Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz> Tested-by: Tomáš Chvátal <tchvatal@suse.cz>
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens13-27/+0
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30Turn Python Scripting Provider from bundled extension to plain codeStephan Bergmann5-76/+9
To avoid unnecessary confusion between the newly plain code and any instance of the old extension still installed (per-user or shared), I renamed the UNO implementation identifier org.openoffice.pyuno.LanguageScriptProviderForPython to org.libreoffice.pyuno.LanguageScriptProviderForPython. Also, existing installations of the extension are explicitly not migrated to new user profiles. Change-Id: Id3dd66ba5e52e0962f7ad0ccb5e4ad5b0bec97fa
2012-11-28OUString::concat() does not modify in-placeTor Lillqvist2-3/+3
Change-Id: I298f33a23e44146d7ce5fbf72d176020804e03d6
2012-11-28fdo#46808, Adapt reflection::ProxyFactory UNO service to new styleNoel Grandin1-6/+3
The service is deprecated, but we still have a handful of in-tree users, and converting it lets me thread XComponentContext through a bunch of classes. Change-Id: Iffdfe537ada6b9e4a89f9b3c8dd82ca85f4bfaba
2012-11-25scripting: pythonscript.py: adapt to Python 3Michael Stahl1-27/+48
- "unicode" compatiblity - convert "exec", "print" statements - exception syntax - use "ast" module instead of deprecated "compiler" Change-Id: I2995b79d8854433824fdfafe8314ee5c7a3eacf6
2012-11-22AllSettings with LanguageTagEike Rathke1-1/+1
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-16targetted cleanup of misc. vba pieces.Noel Power1-3/+3
2012-11-15fdo#46808, use service constructor for ucb::SimpleFileAccessNoel Grandin7-27/+20
I upgraded the service to return XSimpleFileAccess3, since it already implemented that interface, and it's backwards compatible. Change-Id: I40001a46048bd21a23b6a2f58a95376f06fc634b
2012-11-08scripting: warning C4804 usafe use of type boolMichael Stahl1-1/+1
Change-Id: I2db644a3c18658b07834fe6653b17713fd8201a7
2012-11-03basic: String -> OUString in basicmanagerNorbert Thiebaud1-15/+25
Change-Id: I6607bfe8b6bf4d29ffd01cd88a19af5e53d616b5
2012-10-30squeeze all Exceptions through RuntimeException for exception sigCaolán McNamara1-1/+1
Change-Id: I50377a12c2baadf48767e1d4c265417d3c8ab765
2012-10-24fdo#46808, Adapt awt::Toolkit UNO service to new styleNoel Grandin1-4/+3
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
2012-10-23gbuild: let ExtensionTarget expect manifest below META-INFMichael Stahl1-0/+0
Change-Id: Ia07d3fd856578ab6976c02f8a0ec96273db19a2c
2012-10-23fdo#46808, use service constructor for beans::IntrospectionNoel Grandin2-56/+30
Change-Id: Ieb49277020d31779979d8eb508391d6f8b97bf94
2012-10-23fdo#46808, use service constructor for uri::UriReferenceFactoryNoel Grandin5-90/+36
Change-Id: I4e72bf5880fa28cb96d93ede7730a63220af7fa6
2012-10-04sal_Bool->bool in scriptingNoel Grandin3-5/+5
Change-Id: Ibb61dc696c4341a0b58d8fd7c2fdfb4c5b991596
2012-10-03Dead codeStephan Bergmann12-1783/+0
Change-Id: Id851bacb21bbe289cebd635853f4d2028aed9f78
2012-10-02Use prefixTor Lillqvist11-11/+11
Change-Id: I0323e3eb9446c4f2b18f84f5ed33909a877163c8
2012-09-29Use comphelper::getComponentContextStephan Bergmann2-15/+6
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud1-4/+4
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann1-2/+2
* 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
2012-09-12targetted VBA re-work.Noel Power2-144/+11
2012-08-27fdo#46808, Adapt TempFile UNO service to new styleNoel Grandin1-15/+10
Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
2012-08-27fdo#46808, Use factory methods for frame::DispatchHelper instancesNoel Grandin1-19/+15
Change-Id: I7bdf16fc6d042e5ecd404c604a8b7c31c1ac7bc1
2012-08-11Remove unused local varsJulien Nabet1-1/+0
Change-Id: I80bd0329e15cb365091ea6f5c7e1ef3559d681fc
2012-08-06There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET1-1/+1
a literal within a OUString. Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
2012-07-16There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET2-2/+2
a literal within a OUString. Change-Id: I01ca30c68228f81b3d313dfca5b975448f3c4fc7
2012-07-15Prefer prefix ++/-- operators for non-primitive typesJulien Nabet1-13/+13
Change-Id: Iedb58cade2bc7cdbce2e8d40b0e3502bf3df4fa9
2012-07-14Revert "Some cppcheck cleaning"Bjoern Michaelsen1-13/+13
This reverts commit b21661ce4200fd8040a213770a3f9e63a4b9f137. this breaks with ../framework/source/lomenubar/MenuItemInfo.hxx:49:12: error: expected ‘;’ at end of member declaration
2012-07-09targetted rename xcr -> xmlscript to match includes and module nameMichael Meeks1-1/+1
2012-07-06re-base on ALv2 code. Includes:Michael Meeks56-1051/+833
remove onlineregistration with dependencies Patch contributed by Juergen Schmidt http://svn.apache.org/viewvc?view=revision&revision=1249245
2012-07-06os141: add missing componentOcke.Janssen2-1/+4
Conflicts: scripting/source/dlgprov/dlgprov.cxx
2012-07-02removed unnecessary forward declarations of classTakeshi Abe2-2/+0
this also moved necessary ones to right headers Change-Id: Idda93aeaa1fdfeda602b14e3b233ffd1cf27c0cf
2012-06-29Resolves: fdo#38713 fix multiple recipients in mailmergeCaolán McNamara1-6/+6
It appears I don't know the correct syntax for concatenating tuples Change-Id: I32756caeaabfcc52e521108da917aeadf8256caa
2012-06-22.xml files don't need executable bitsMichael Stahl8-0/+0
Change-Id: I399d086181a9f513cd95157e815551f0be9b9e95
2012-06-22re-base on ALv2 code.Michael Meeks2-46/+28
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-21re-base on ALv2 code.Michael Meeks10-233/+143
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks3-73/+46
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-09Remove superfluous empty lines on topThomas Arnhold1-2/+0
More than two lines are removed for readability. Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-06fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin8-55/+34
Update calls to factories to use new SimpleFileAccess::create method Change-Id: Ie5b0696fe2228a9033b19969245a53c21a61aa14 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-02targeted string re-workNorbert Thiebaud16-277/+264
Change-Id: I37e225902bf7f3a6e007e7641b2b9898b044a45b
2012-05-29targetted SAL_N_ELEMENTS reversion.Michael Meeks1-1/+1
Change-Id: I30be93ccaeb1f9fd17cbe9e3ed3165e094810b2e
2012-05-17removed unused const rtl::OUStringTakeshi Abe1-1/+0
Change-Id: I7c3409ac39e690fcf2f7e4085bf6857e6bd182fb
2012-04-26Bump extension version after changing to passive registrationStephan Bergmann1-1/+1
...otherwise, if it is bundled, its per-user data is not regenerated, leading to inconsistencies.
2012-04-21Replace css macro with namespace for nicer namespacingThomas Arnhold14-29/+28
2012-04-18Fix another extra parenthesisJulien Nabet1-1/+1
2012-04-08Replaced a few equal calls with ==Szabolcs Dezsi3-5/+5