summaryrefslogtreecommitdiff
path: root/wizards
AgeCommit message (Collapse)AuthorFilesLines
2020-11-18ScriptForge - Fix script invocation when scope is not in lower caseJean-Pierre Ledure1-2/+2
The scope can be expressed as "document" or "application" but also as "Document" or "DOCUMENT" Change-Id: Id70407cc1167cfcac727d63f1ab29fbba4fc6645 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106054 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2020-11-16ScriptForge: (dialog) Better manage default values of serviceJean-Pierre Ledure1-1/+2
When an argument is absent in a varying list of arguments, it is not missing, it is EMPTY Change-Id: Ib46a692292886739e69f38a9a12c6ea4a9922a41 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105948 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2020-11-16ScriptForge: (dialog) fix when argument is ThisComponentJean-Pierre Ledure1-1/+2
Avoid "Object variable not set" Basic runtime error on line Set oLibraries = oComp.DialogLibraries when pvArgs(0) is a XComponent object Change-Id: Id35a492905c47d81ef02d433c98d83b4c81eafeb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105921 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2020-11-09copy_paste_error data1 looks like a copy-paste errorCaolán McNamara1-1/+1
Change-Id: I937743f8d1789c68ed960c6a5aede0508dfa7bcd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105282 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-11-08Fix typosAndrea Gelmini1-1/+1
Change-Id: I79d8cd8f66ee83c2af42a828596e852248d51138 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105439 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-11-07ScriptForge - Fix typosJean-Pierre Ledure2-3/+3
Change-Id: Idc0bbdd37023f010c8fdb70356f9b55c132e4065 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105433 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2020-11-07Fix typosAndrea Gelmini5-25/+25
Change-Id: I7ba612d8880833057269290212bcd9d864bb7395 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105399 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-11-07ScriptForge - Update build filesJean-Pierre Ledure3-0/+12
modified: Repository.mk modified: desktop/CppunitTest_desktop_lib.mk modified: scp2/source/ooo/directory_ooo.scp modified: wizards/Module_wizards.mk modified: wizards/source/configshare/dialog.xlc modified: wizards/source/configshare/script.xlc Change-Id: Ia2c905179f3c1784a1bd31fcca7340e65c5ce27a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105410 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2020-11-06Fix typosAndrea Gelmini6-26/+26
Change-Id: Ied10667ec70293267b6a7010f0e40ed345b6cb9f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105400 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-11-06Fix typoAndrea Gelmini1-2/+2
Change-Id: I2647dc84fe4618cf5b1ba1d443e850b4a3ea6de9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105403 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-11-06Fix typosAndrea Gelmini6-13/+13
Change-Id: Ibed7535391d5e0c23530b47a232a95f0ad15ee53 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105401 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-11-06Fix typosAndrea Gelmini6-15/+15
Change-Id: Ie7b8ca46092cc151ee2ec50bfd00a7ad9930f783 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105402 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-11-06Fix typo in codeAndrea Gelmini1-3/+3
Change-Id: I84f0b51b6fa2c4635623b8dd8387721732834dc0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105398 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2020-11-05ScriptForge - Package_xxx.mk filesJean-Pierre Ledure4-0/+148
new file: wizards/Package_scriptforge.mk new file: wizards/Package_sfdatabases.mk new file: wizards/Package_sfdialogs.mk new file: wizards/Package_sfdocuments.mk Change-Id: I9438faa914bb6e95cbdb60bb066c851ddd63b2da
2020-11-05ScriptForge - Language filesJean-Pierre Ledure2-0/+1602
Change-Id: Ie93d71c99b54f3374d7825fb703bd1d13f50a319
2020-11-05ScriptForge - python helper functionsJean-Pierre Ledure1-0/+291
Change-Id: Id12a40afcba8034ed85218d78cb832a87c0d6af7
2020-11-05ScriptForge - SFDocuments libraryJean-Pierre Ledure7-0/+4553
Additional "LibreOffice Macros & Dialogs" library Change-Id: I1eadae02d2bbd5d549d9a5bbcec2b83682c7c2ab
2020-11-05ScriptForge - SFDialogs libraryJean-Pierre Ledure6-0/+2156
Additional "LibreOffice Macros & Dialogs" library Change-Id: I0bce9d8a19025e4184e847941a3c79f4a210b1ae
2020-11-05ScriptForge - SFDatabases libraryJean-Pierre Ledure5-0/+1073
Additional "LibreOffice Macros & Dialogs" library Change-Id: I4424e37b4d2b8bc68cf2eeb49c767de2ca60030d
2020-11-05ScriptForge - core libraryJean-Pierre Ledure21-0/+16362
Additional "LibreOffice Macros & Dialogs" library Change-Id: I7380cf3f9ee56b73cfcf7b9e33d0cf50ecb40429
2020-09-29More “e-mail” → “email”Adolfo Jayme Barrientos1-1/+1
Follow-up for commits 8b57d07a64e03db32b5383f58a40c1509392cd24 and 5f665a855ef26faea4dfa2ac427685b60545e8b8 Change-Id: I8f0f9a7a81636623df766f9d4ea414bde9d408bc
2020-09-26Fix typo in codeAndrea Gelmini1-2/+2
It passed "make check" on Linux Change-Id: I66b0ea493386cb93780d52b76d5f035ecf7c6541 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103451 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-09-24Fix typo in codeAndrea Gelmini1-4/+4
It passed "make check" on Linux Change-Id: I860ce01077f1b71fa87eb6616cca676ef21af1a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103307 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-09-21Access2Base - access2base.py, remove compatibility importJean-Pierre Ledure1-2/+0
Change-Id: I0f390758e17c09c3cec8a86c22cdfc3a8d39cc17
2020-09-01Access2Base - Upgrade version numberJean-Pierre Ledure2-2/+4
Change-Id: I64b83fb50284fcd3455136158000114d992c3370
2020-09-01Access2Base - Remove workaround on Firebird product nameJean-Pierre Ledure1-7/+2
Bug 118809 has been fixed. Workaround may be removed without regression Change-Id: I8716fa75a6d98b7e15752692e5275dbcb81e7efb
2020-09-01Fix typo in codeAndrea Gelmini1-4/+4
It passed "make check" on Linux Change-Id: I937be6f80272db668fff7fb77e5f7f2dd402c23e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101780 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-08-26Access2Base - tdf#136063 Workaround Basic missing argument handling (2)Jean-Pierre Ledure8-32/+68
Complementary modifs where behaviour described in bug report could happen in the same way. Root cause IMHO is due to Basic error reported in bug#136143 Change-Id: Ib275f74a0c28995e6b05af31a1fd53b6ae069691
2020-08-24Access2Base - tdf#136063 Workaround Basic missing argument handlingJean-Pierre Ledure1-1/+1
When an argument is missing in a call to a Basic function the IsMissing() function applied on the argument should respond True. However sometimes(?) the argument contains instead "Error 448" making IsMissing responding False. This commit puts an explicit argument in the function call avoiding the different behaviour of the Basic interpreter in LO 7.0 vs. previous releases. Change-Id: Ic90fb7ec9b6e520cc762a441ca383b54c5d4db16
2020-08-23Fix typosAndrea Gelmini1-1/+1
Change-Id: I6e3e5df63adc7acdac7f41adc1988a734580b084 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101219 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-08-21Fix typo in codeAndrea Gelmini2-2/+2
Change-Id: Ic3dd9e648d8006c68eb31f9577ad74e6dcbb1b1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101102 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-08-18Fix typosAndrea Gelmini1-2/+2
Change-Id: I85a91d24943430b42217ac91611f182059d8ec69 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100919 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-08-12imp is deprecated since Python v.3.4Mike Kaganski5-10/+50
This avoid Python warnings about this during checks Change-Id: I6647d9c93f3c2fbc1af475f8bc45e03300ee8b79 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100518 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-05-08pyflakes3: fix some reports on wizardsJulien Nabet8-20/+19
Change-Id: I0fef17ccc8f110d1d8bf629737807f1bcc618b76 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93685 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-06pyflakes3: replace IllegalArgumentException by Exception (wizards)Julien Nabet5-5/+5
IllegalArgumentException doesn't exist Change-Id: Ifea6f56d19fb58136ac5d992107ab7179ac943b8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93524 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2020-05-06Move all public Java classes to libreoffice.jarSamuel Mehrbrodt6-12/+6
This moves the classes from juh.jar and ridl.jar to libreoffice.jar The goal is to have one single jar (and Java module, will be added later) which developers can include to work with LO. juh.jar and ridl.jar are kept as basically empty jars with libreoffice.jar on its classpath to keep backwards compatibility. This is a continuation of ae855bf48163ff64d94cfc34aff8e37abdb5518d and a preparation to have Java 9 module support. Change-Id: Ifbbfb97f60373d14256e62ae3122913bd17d5bbb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91930 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-05-06Access2Base - Version number 7.0Jean-Pierre Ledure3-2/+4
Change-Id: Ia75b4e02bd6def84d66ae89c1c4a688e8a027c23
2020-05-06pyflakes3: fix undefined name 'self' (wizards/access2base)Julien Nabet1-1/+1
Change-Id: I12083c0e85d9e9a63843b26648c4b5c8580efc7b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93523 Tested-by: Jenkins Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2020-04-09pyuno,*: kill Python 2 support with fireMichael Stahl1-2/+0
Python 2 support was retained for use with --enable-python=system on RHEL7 and SLES. The time has arrived to remove it. Some .py files that were imported from third parties are not changed to enable easier replacement with updated versions if necessary. solenv/gdb should continue to support Python 2. bin/get-bugzilla-attachments-by-mimetype requires Python 2 to access Launchpad. Change-Id: I26414ae8e9f8402c90336af82020135685694217 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91697 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-03-30Related: tdf#131576 overlapping windows, move bottom one down a littleCaolán McNamara1-1/+1
Change-Id: I28c890740a92f183db72ab997627d564cba49ec0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91361 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-03-28tdf#131576: fix "Field information" in table wizard, step 2Julien Nabet1-1/+1
Change-Id: I8a0dfa9f483f32bc5858e628ff4bb9cb79c9c6a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91236 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-02-16GBUILD_TRACE, support for finding out where the build time is spentLuboš Luňák2-0/+4
See instructions in solenv/gbuild/Trace.mk . This generates a file than can be viewed e.g. in the Chromium tracing view. Change-Id: I5f90647c58ca729375525b6daed2d4918adc8188 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88754 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-02-09Fix typoAndrea Gelmini1-1/+1
Change-Id: I0f58bc3253cbd5d7341eddf9be7bda3d6c245f9c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88326 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-02-04tdf#117331 Merge jurt and unoil into ridlSamuel Mehrbrodt6-12/+0
jurt.jar and unoil.jar are kept as effectively empty jars, each with a Class-Path: ridl.jar in their meta-inf/manifest.mf, so that 3rd-party code loading them (with or without also loading ridl.jar) will still have access to their content. Conceptually, the UNOIDL entities in unoil.jar (corresponding to module offapi) are not part of the URE, but are now made available by URE's ridl.jar. This should probably not cause problems in practice. At least for now, we seal exactly those packages in ridl.jar that were originally sealed in jurt.jar. Ideally, all of ridl.jar could be sealed now, but that would be mildly incompatible, as it would prevent 3rd-party code from introducing additional UNOIDL entities in the relevant namespaces (even if that is something we do not want 3rd-party code to do anyway). However, some JunitTest_jurt_* define classes in those sealed packages. In the past they got away with that by using gb_JunitTest_use_jar_classset,*,jurt. Instead they now need to gb_JunitTest_use_jar_classset,*,ridl and drop the gb_JunitTest_use_jar,*,ridl. But the former only makes available the classes that are specified in ridljar/Jar_ridl.mk with gb_Jar_add_sourcefiles, not the UNOIDL entities specified via gb_Jar_add_packagedirs. But the tests need the udkapi UNOIDL entities, so introduce gb_JunitTest_add_classpath to let the tests get them explicitly. (Curiously, JunitTest_jurt_uno and JnitTest_jurt_util use gb_JunitTest_use_jar_classset,*,jurt but don't seem to acutally need it; lets leave that for a follow-up clean up.) As a follow-up clean up, relevant files could be moved from jurt/ to ridljar/. Change-Id: I836f4e7bb47fb41f1306e3f223da90dba988eb9a Co-authored-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/84946 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-12-11Fix typoAndrea Gelmini1-2/+2
Change-Id: Ia35bd38c40ec65025ab4f43bea71745f15a548c8 Reviewed-on: https://gerrit.libreoffice.org/84915 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-11-18Fix 'is' operator for comparisonJens Carl1-1/+1
The 'is' operator should not be used for comparison on some types of literals. In CPython this works by accident and CPython 3.8 introduced a SyntaxWarning (see https://bugs.python.org/issue34850). Change-Id: Ifabe22e4ae3b9e1d3bfd5a663f39500e381cfa6e Reviewed-on: https://gerrit.libreoffice.org/83034 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2019-10-10Access2Base - CurrentUser based in PathSubstitutionJean-Pierre Ledure1-10/+5
com.sun.star.util.PathSubstitution service provides a "$(username)" variable since LO 5.2 This technique replaces the use of environment variables Change-Id: Icca82d88a123312031874d355655d26718fb215b
2019-10-09Access2Base - Support dialogs owned by non-Base docsJean-Pierre Ledure1-3/+8
So far, AllDialogs found only dialogs stored in Base (.odb) documents. From now on, dialogs in ThisComponent atr considered as well. Change-Id: I4977b09140c673ad7aca379c1a67a2d731384782
2019-09-27tdf#50846 - Wrong type of function GetLastUsedRowAndreas Heinisch2-6/+6
Changed the type of the function GetLastUsedRow from int to long in order to avoid overflows. Change-Id: Ia0d789611f732eecdfdbe557b751dbead5748c45 Reviewed-on: https://gerrit.libreoffice.org/79586 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-09-10Fix typosAndrea Gelmini1-2/+2
Change-Id: Id62178a1a8b2e05d13c47f1ac4798578f140dbae Reviewed-on: https://gerrit.libreoffice.org/78794 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins