summaryrefslogtreecommitdiffstats
path: root/scripting
Commit message (Collapse)AuthorAgeFilesLines
* add python ver to debugging infoCaolán McNamara2013-06-181-0/+1
| | | | Change-Id: Idd2130a0f8c0190ab075f5e80021aa99a57939e8
* Resolves: fdo#55411 python 2 vs 3 str/bytes encoding issuesCaolán McNamara2013-06-171-4/+7
| | | | Change-Id: Ic1aac1609f3a1fcbd0af9a1c9ecc07a735c8785a
* re-base on ALv2 code. Includes:Michael Meeks2013-06-037-0/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1397337 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 Patches contributed by Andre Fischer Fixed getcsym.awk to handle #-comments that contain special regexp chars. http://svn.apache.org/viewvc?view=revision&revision=1230971 118778: Added ADDITIONAL_REPOSITORIES environment variable and its automatic setup in configure. http://svn.apache.org/viewvc?view=revision&revision=1232004 118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Herbert Duerr #i119168# use generic LICENSE file for langpacks and sdks http://svn.apache.org/viewvc?view=revision&revision=1310178 macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars http://svn.apache.org/viewvc?view=revision&revision=1183367 allow gbuild with empty sysroot on linux http://svn.apache.org/viewvc?view=revision&revision=1179186 Patches contributed by Ingo Schmidt native373: #164472# improvements for msi database http://svn.apache.org/viewvc?view=revision&revision=1167540 http://svn.apache.org/viewvc?view=revision&revision=1167539 Patches contributed by Jurgen Schmidt adapt setup package scripts to handle special DS_Store file for developer snapshot builds http://svn.apache.org/viewvc?view=revision&revision=1232430 imported patch extensions_i117681.patch http://svn.apache.org/viewvc?view=revision&revision=1172102 Patches contributed by Michael Stahl gbuild: RepositoryFixes.mk should be optional http://svn.apache.org/viewvc?view=revision&revision=1166123 xslt filter: remove the FLA horror wordml import filter: replace FLA usage with plain XSLT http://svn.apache.org/viewvc?view=revision&revision=1363727 Patch contributed by Oliver-Rainer Wittmann i#88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 Remove lots of OS2 conditionals, re-extract Rhino Java, unwind cppunit pieces, cleanup Mac image bits, remove coin-mp and re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand MPLv2 subset checking. Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
* fdo#46808, Convert awt::UnoControlDialog to new styleNoel Grandin2013-05-282-56/+47
| | | | Change-Id: I9a5256c8dbacda60167403b4e26900588943a9b2
* Revert "fdo#46808, Convert awt::UnoControlDialogModel to new style"Stephan Bergmann2013-05-254-65/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6c61b20a8d4a6dcac28801cde82a211fb7e30654. As discussed at <http://lists.freedesktop.org/archives/libreoffice/2013-May/052449.html> "Re: fdo#46808, Convert awt::UnoControlDialogModel to new style problem" why the odd change in 2e2a4827ce6708f0e8677dba9cc92e1479a44086 "scripting: get CreateUnoDialog() work again" appears to fix things again: The problem is that the implementation of the css.awt.UnoControlDialogModel involves UNO aggregation (IMPL_CREATE_INSTANCE_WITH_GEOMETRY(UnoControlDialogModel) in toolkit/soruce/helper/registerservices.cxx creating a OGeometryControlModel<UnoControlDialogModel> instance that aggregates a UnoControlDialogModel instance). That means that queryInterface can return a reference to something that is technically a different object, and that's what's happening here, and explains why calling setPropertyValue in two different ways on what logically appears to be a single object can end up calling two different implementations (of two different physical objects). (UNO aggregation is known to be broken and should not be used. Nevertheless, there's still code that does---code that is a horrible mess and hard to clean up.) That all this worked as intended in the past is just sheer luck, but any way of substantially touching it is asking for trouble. I'm going to revert 6c61b20a8d4a6dcac28801cde82a211fb7e30654 again. I wasn't able to revert without also reverting be50ad28f5bbdaeff527f646481ce263843c2401 "fdo#46808, Convert awt::XUnoControlDialog to new style," as the two were tightly dependant. Also reverts all the follow-up fixes cb4b6dde8fda2a5848e11063028bf44d72f85431 "-Werror,-Wuninitialized" (sans the const-ness fix in UpdateHandler::insertControlModel), 697a007c61b9cabceb9767fad87cd5822b300452 "Fix exception specifications," 2ce6828bbbf6ba181bb2276adeec279e74151ef6 "fix awt::UnoControlModelDialog crash," and 2e2a4827ce6708f0e8677dba9cc92e1479a44086 "scripting: get CreateUnoDialog() work again." Conflicts: basctl/source/dlged/dlged.cxx filter/source/t602/t602filter.cxx xmlscript/test/imexp.cxx Change-Id: I5d133468062f3ca36300db52fbd699be1ac72998
* Resolves: #i55055# Simplify pythonscript.py codePedro Giffuni2013-05-241-41/+41
| | | | | | | | | | author: hanya (cherry picked from commit e945b49105bab50700274f797e41d1446a70641d) Conflicts: scripting/source/pyprov/pythonscript.py Change-Id: Ia019a737c5f80d3af9fc50aefcda6f5b00987513
* scripting: get CreateUnoDialog() work againMiklos Vajna2013-05-241-1/+2
| | | | | | | | | | | | | | | | | Trivial reproducer: Dim Dlg As Object DialogLibraries.LoadLibrary("Standard") Dlg = CreateUnoDialog(DialogLibraries.Standard.Dialog1) Dlg.Execute() Dlg.dispose() Regression from 6c61b20a8d4a6dcac28801cde82a211fb7e30654. Change-Id: Ia62778c6d94f54e6097a307701e5c81be847665d Reviewed-on: https://gerrit.libreoffice.org/4023 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
* fix awt::UnoControlModelDialog crashNoel Grandin2013-05-231-1/+5
| | | | | | | | | | | | | | | | ...in commit 6c61b20a8d4a6dcac28801cde82a211fb7e30654, "Convert awt::UnoControlDialogModel to new style" I added an attribute "ResourceResolver" because some of the client code was setting it using the property interface. It turns out that this was a bad idea because the "ResourceResolver" property is doing some very interesting stuff, so revert that part of the change. Change-Id: I62b890e60164e005867ced49c3e407a49ed09441 Reviewed-on: https://gerrit.libreoffice.org/4013 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
* Use the new type-checking Reference constructor to reduce code noiseNoel Grandin2013-05-223-7/+5
| | | | | | | | | | Also create a Clang compiler plugin to detect such cases. Change-Id: I61ad1a1d6b1c017eeb51f226d2dde0e9bb7f1752 Reviewed-on: https://gerrit.libreoffice.org/4001 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* fdo#46808, Convert awt::XUnoControlDialog to new styleNoel Grandin2013-05-212-42/+33
| | | | Change-Id: I40d2e2ddd92186a2ba22ebfbdda8367391e8d355
* fdo#46808, Convert awt::UnoControlDialogModel to new styleNoel Grandin2013-05-214-49/+33
| | | | Change-Id: I4b912034ef3f4855b87d6d6f18ff13bd1ecc8f72
* Resolves: #ii118478# Implement getInvocationContext in PyUNO ScriptContextAriel Constenla-Haile2013-05-111-5/+51
| | | | | | | | Original author: Tsutomu Uchino <hanya.runo at gmail.com> (cherry picked from commit 5de5fd495d7cdad852d1631941ae03ec213f93b7) Change-Id: Iaa0aa8b1dd6a326cd738f2e296a1b5ecdc379c65
* More gb_PROGRAMDIRNAME clean upStephan Bergmann2013-05-101-2/+2
| | | | Change-Id: I5af86e15bcb8958a680e7309f13d7a865f29d7a9
* fix memory leak with orphaned controls created on the flyNoel Power2013-05-091-5/+33
|
* handle various ReturnXXXX types for formsNoel Power2013-05-091-8/+5
| | | | Change-Id: Idcbfbebafb02c734b42428c5b1d6df8d0d4a23d6
* cleanup whitespaces due to RTL_CONSTASCII_USTRINGPARAM removalPhilipp Riemer2013-05-061-4/+2
| | | | | In e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 the method was removed automatically leaving several line breaks etc. as visual noise.
* remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák2013-05-061-9/+9
| | | | | | | Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
* Java cleanup, close file handles when done with themNoel Grandin2013-05-064-41/+40
| | | | Change-Id: I79e6e0b8f53ae6f232c34aa8e833853d2ec24cf0
* Java cleanup, delete some dead codeNoel Grandin2013-05-062-41/+15
| | | | Change-Id: I4423cc7ec49769e256f73d9b7fba7b78f84f932f
* Java cleanup, convert Hashtable to HashMapNoel Grandin2013-05-062-3/+2
| | | | Change-Id: If8a9c0c3a4b357fb9c0ff096f44ed1b44ebbcef4
* Java cleanup, convert more Vector to ArrayListNoel Grandin2013-05-062-8/+8
| | | | Change-Id: Icb807382eaf50f515f2c9dfada0c061414baed33
* Java cleanup, Convert Vector to ArrayListNoel Grandin2013-05-0614-117/+119
| | | | Change-Id: I323a6625f93347e69f3114fc10cb04dc759a539f
* fix typoNoel Grandin2013-05-061-1/+1
| | | | Change-Id: I228a93e2b701fa787fc6d7d721acaf1f6e010b89
* install python scripting provider using filelistDavid Tardon2013-05-041-2/+4
| | | | Change-Id: I9db93fd588f1cca9ce071d4ff14d5c9c699748a0
* install example java scripts using filelistDavid Tardon2013-04-304-51/+43
| | | | Change-Id: I3f5df5be726fe0788a17d632fe1021ccaf4c1951
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-3021-484/+84
|
* Java cleanup, access static methods using correct syntaxNoel Grandin2013-04-2610-18/+18
| | | | Change-Id: I8443aef43d82de33ac7cb47d40cc5b544f7c9c87
* From the context of the code, this field should not be staticNoel Grandin2013-04-261-1/+1
| | | | Change-Id: Idf092b0edf2c538d21b189cd742407bf2fd39fa7
* Java cleanup, use generic containers where possibleNoel Grandin2013-04-243-3/+3
| | | | | | | Change-Id: Icd830004de3e121f5b96393e7d7b447775833419 Reviewed-on: https://gerrit.libreoffice.org/3569 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* fix typoDavid Tardon2013-04-211-1/+1
| | | | Change-Id: Iaf1875bd7223743aa4309c970601fca3417afe17
* Remove any remaining remnants of unused component_canUnload featureStephan Bergmann2013-04-191-2/+0
| | | | Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
* Java cleanup, remove the rest of the unnecessary castsNoel Grandin2013-04-1919-82/+62
| | | | | | | Change-Id: Ia61d250f6b3711abc29569c5ece38a6f87e38daa Reviewed-on: https://gerrit.libreoffice.org/3432 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* fdo#63197: convert 3 out 4 from scripting partJulien Nabet2013-04-195-12/+20
| | | | | | | Change-Id: Ie359d0ef00f62dd3c2d1f1dfd86e115409438e76 Reviewed-on: https://gerrit.libreoffice.org/3470 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* date/time IDL datatypes incompatible changeLionel Elie Mamane2013-04-181-1/+1
| | | | | | | | | | - nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
* Missing includeStephan Bergmann2013-04-161-1/+1
| | | | Change-Id: I1be082b7db5592ad5090cf3ffaafe708bb1d9be4
* fdo#60724 correct spellingThomas Arnhold2013-04-151-1/+1
| | | | Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
* install Pyuno using PackageDavid Tardon2013-04-131-1/+1
| | | | Change-Id: Iabc029091096c82ff2dc79f0fad8f2bf9ee89514
* remove needless forward rtl::OUString declarationsLuboš Luňák2013-04-071-4/+0
| | | | Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0739-886/+885
| | | | | | | | Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
* new module i18nlangtagEike Rathke2013-04-051-1/+1
| | | | | | | | | | | Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
* -Wunused-macrosStephan Bergmann2013-03-271-2/+0
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-191-4/+2
| | | | | | | | | s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann2013-03-191-2/+2
| | | | Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-193-11/+6
| | | | | | | | | | | Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-2/+0
|
* fdo#46808, Convert singleton theMasterScriptProviderFactoryNoel Grandin2013-03-075-44/+25
| | | | Change-Id: I647a02e552acdd354463fc46c13c5a73b1c90d09
* doubled namespacesThomas Arnhold2013-03-041-1/+0
| | | | Change-Id: I0f6a34a459c1492a69afa3ef6bcbaa8ed7639a22
* doubled includesThomas Arnhold2013-03-042-5/+0
| | | | Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
* Related to fdo#60724: correct spellingThomas Arnhold2013-03-031-1/+1
| | | | | | | | Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
* loplugin: improve indentationThomas Arnhold2013-03-031-8/+9
| | | | Change-Id: If0ddaa8fd7cfaf4df8589422cb50ce37f1be2ad1