summaryrefslogtreecommitdiff
path: root/scripting
AgeCommit message (Collapse)Author
2013-04-07remove needless forward rtl::OUString declarationsLuboš Luňák
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
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
2013-04-05new module i18nlangtagEike Rathke
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
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold
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>
2013-03-19Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
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>
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks
2013-03-07fdo#46808, Convert singleton theMasterScriptProviderFactoryNoel Grandin
Change-Id: I647a02e552acdd354463fc46c13c5a73b1c90d09
2013-03-04doubled namespacesThomas Arnhold
Change-Id: I0f6a34a459c1492a69afa3ef6bcbaa8ed7639a22
2013-03-04doubled includesThomas Arnhold
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-03-03loplugin: improve indentationThomas Arnhold
Change-Id: If0ddaa8fd7cfaf4df8589422cb50ce37f1be2ad1
2013-02-28remove all d.lstMichael Stahl
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-25loplugin: unused variablesThomas Arnhold
Change-Id: I63553a09eec81e5ae28aa79ee1d3281053b23d06
2013-02-24move loop variables into least scope posCaolán McNamara
Change-Id: I8e69e92bbfee2bf20918d041ecc6b7a3f7729fbd
2013-02-24coverity#704434 Non-array delete for scalarsJulien Nabet
Change-Id: Ie92de56ead7988d951fe44cf63b4e72214b1e22f Reviewed-on: https://gerrit.libreoffice.org/2358 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-02-24loplugin: unused variablesThomas Arnhold
Change-Id: I7fc203900256839e679bf73b717d121fedc42087
2013-02-23Fix typo accessable/accessibleJulien Nabet
Change-Id: I2f6d00a6361243a52a593acaaf2bf624d8a2730e
2013-02-22[Uu]sefull -> [Uu]sefulJulien Nabet
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-22s/the the/the/Tor Lillqvist
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22scripting: s/pathes/paths and s/Pathes/PathsMiklos Vajna
Change-Id: I58d8e8dc9c6a6864206d923165d075114368c866
2013-02-20fix build breakage: ENABLE_SCRIPTING_PYTHON was already removedDavid Ostrovsky
Change-Id: I22cfcb848fbf7e9568fd4e2a43994ed361a8e1a7
2013-02-19fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan
- replaced osl_trace with sal_info - added new log areas to log-area.dox Change-Id: Ib47c4b4c9604bca1f8a635dd01bb89702b47b591 Reviewed-on: https://gerrit.libreoffice.org/2010 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-02-18Fix typoJulien Nabet
Change-Id: Id5aff315b1d52ac5a869a17b3a654c2d1e670b08
2013-02-17fdo#60670: Create a new document in case there's noneXisco Fauli
Change-Id: I7e03481beb1d4e60601fd93d787bc7354495e41f
2013-02-11fdo#46808, convert io::TextOutputStream service to new-styleNoel Grandin
Change-Id: I12af47afc21c2b646197893a77698f4e0818f94f
2013-02-11fdo#46808, convert io::TextInputStream service to new styleNoel Grandin
Change-Id: Ida4abdd6587399aa8ade88af672bcb23ab7ea0f1
2013-02-11fdo#46808, Use singleton util::theMacroExpander new-style constructorNoel Grandin
And deprecate the old-style service util::MacroExpander Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
2013-01-30Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-15make emailmerge work with python3 and python2 at the same timeCaolán McNamara
Change-Id: I6289b522513a2fc86e261c85a04ca9c89fd55b63
2013-01-15tidy mailmerge debuging messagesCaolán McNamara
Change-Id: Ibca2af0efa448ed4c2c5b7ad73febf16cbf03480
2013-01-15make emailmerge work for me with python3Caolán McNamara
Change-Id: I4f79aa69b39d2be8fcceacc90b858f116f875385
2013-01-15i118814 - Allow set connection timeout in Mail APIAriel Constenla-Haile
Conflicts: scripting/source/pyprov/mailmerge.py Change-Id: I7a3eb3b29f41eed154abd45e1aa5be824983f5de
2013-01-15i118791 - Encode ReadableName in UTF-8 only when necessaryAriel Constenla-Haile
Conflicts: scripting/source/pyprov/mailmerge.py Change-Id: I5275bdbbc21f422248a32b824ea6de965c23abd0
2013-01-15i118736 - i118787 : fix XMailMessage implementation in mailmerge.pyAriel Constenla-Haile
(cherry picked from commit 4166969f3b8ed05e91c10a724ce7bd39074012a1) Conflicts: scripting/source/pyprov/mailmerge.py Change-Id: I794735f02db1efe04b323fed9db5458242e5c16a
2013-01-14mailmerge.py: fix the debug strings againMichael Stahl
Change-Id: Iceac0952b6fc9765cb12f6694260070c1c17296b
2013-01-14fdo#59249: mailmerge.py: adapt to changes in smtplib:Michael Stahl
Apparently the login() method in Python 3.3 expects str arguments for user and password, since it calls encode on them, but for Python 2.6 the "encode" calls were explicitly added in the caller since login() does not encode itself; add an ugly version check for that. Change-Id: Iebfce44073a837e9cb845855ba448d5b6a2ebd11
2013-01-14Revert "fdo#59249: mailmerge.py: some more bytes vs. str mangling"Michael Stahl
This reverts commit 9dec0c79011a0c09068d86fba9387c67da84a39b. Was nonsense because login method actually expects "str" arguments.
2013-01-11fdo#59249: mailmerge.py: some more bytes vs. str manglingMichael Stahl
Obvious problems are in debug code only. Change-Id: I45aafb4f194a5a020bb95bd96c2d92ca7ee578f8
2013-01-11Can't convert 'Enum' resp. 'bytes' object to str implicitlyStephan Bergmann
...when you set dbg = True Change-Id: Ifc170e9336a662dce2ae59227baf3bea692eedac
2013-01-11fdo#59249: String literal needs a "b" prefix in Pyhton 3Stephan Bergmann
as the corresponding test is otherwise seen to fail, with user being b, but I have no idea if this is the most Python-3-ish approach to fix that, or whether more code needs to be fixed, too. Change-Id: Ia7fbcbca3cf578ffe1bd5ce3c7c5b709cc77317e
2013-01-07Fix type SMPT->SMTPJulien Nabet
Change-Id: I09dfd8c2385e6257248b6a43ee4e2ce97ee6bdfc
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-12officehelper.py: fix obvious Python 3 issuesMichael Stahl
Change-Id: I40691cd6b1a0a6777e6469bf242fb41dac423587
2012-12-12Remove xml2cmp leftoversStephan Bergmann
Change-Id: I7c0ba8b653b8e0534ae17bd879b93b75c6554893
2012-12-11mailmerge.py: fix obvious Python 3 issuesMichael Stahl
Change-Id: I796696fbfe1756d625dcabc56c8769bed3d5dbc1
2012-12-09Python: fix deprecated + "== None" instead of "is None"Julien Nabet
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-12-04clean up more sbxToUnoValue declarationsMichael Stahl
Change-Id: Ieff54baaff53031712f737dab84f840adb3bb09a