summaryrefslogtreecommitdiff
path: root/wizards
AgeCommit message (Collapse)AuthorFilesLines
2015-10-15cid#1327023 to cid#1327077 SIC: Inner class could be made staticNoel Grandin2-3/+2
Change-Id: I41f89c4feefe4e012d72c663ebb9bbcb4aa7f163
2015-10-14java:remove unused importsNoel Grandin2-2/+0
Change-Id: I9529bf81dcfcd6761485af5d66789c1a9a83eeec
2015-10-14coverity#1327211 UwF: Unwritten fieldCaolán McNamara1-12/+0
Change-Id: Id210a19ea068aadcf1316a1c184769ba75e1cf70
2015-10-14coverity#1327212 UwF: Unwritten fieldCaolán McNamara1-4/+1
Change-Id: Id5ba80b5f2b9d4d201dce57ba165e1a70dc1ba3d
2015-10-14cid#1326683 DLS: Dead local storeNoel Grandin1-9/+0
Change-Id: I797faf679ec5c6a27570d1dd5ac0aa2c480cf56d
2015-10-14cid#1326682 DLS: Dead local storeNoel Grandin1-3/+0
Change-Id: I9dba5d1eb710ab21258ca19789274ca1b75e53ca
2015-10-14cid#1326681 DLS: Dead local storeNoel Grandin2-30/+6
and clean up the return value, no need to return a TypeInfo when all we need is a boolean Change-Id: I0909c2b96762870d753c22ab5056e718af56d75b
2015-10-14cid#1326680 DLS: Dead local storeNoel Grandin1-3/+1
Change-Id: I8e1ffdfe4d20664b7c97eb2a33b570aea9b19ccf
2015-10-14cid#1326131 'Constant' variable guards dead codeNoel Grandin1-12/+6
Change-Id: I832b2fc243404a6ae9796ad994e901880d3b9260
2015-10-09Related tdf#94557: Combo box entries are case-sensitive (sometimes)Julien Nabet1-1/+1
Revert partly http://cgit.freedesktop.org/libreoffice/core/commit/?id=76f33f10309b0ee384a75a7a854858b068d60495 author Julien Nabet <serval2412@yahoo.fr> 2015-03-16 21:31:23 (GMT) committer Caolán McNamara <caolanm@redhat.com> 2015-03-26 14:14:44 (GMT) commit 76f33f10309b0ee384a75a7a854858b068d60495 (patch) tree e12e3b6f2ca46cb9998b93b5c1bb3406408ad3cb parent 6c4100cf81e1678ff386549c0cdaa2f73a154ddc (diff) tdf#67990: Management of case in combobox See comments of tdf#94557 for more information Change-Id: I0432db0c3f76c20e55d8fecb69734952dc0cf53b Reviewed-on: https://gerrit.libreoffice.org/19260 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-10-04tdf#94743: Web Wizard: Cannot export in ftpJulien Nabet4-7/+7
1) Fix value of constants RES_OK, RES_CANCEL and RES_HELP http://opengrok.libreoffice.org/xref/core/offapi/com/sun/star/awt/PushButtonType.idl#29 2) self.updatePublishUI was wrong because FTP appears in second but there are 2 elements for each module (local dir, zip, ftp) in pubAware vector comment was wrong: - local takes elements 0 and 1 - zip takes elements 2 and 3 - ftp takes elements 4 (that's why "4" is the right value) and 5 see http://opengrok.libreoffice.org/xref/core/wizards/com/sun/star/wizards/web/WWD_Startup.py#509 So fix value passed to self.updatePublishUI + comment Just a bit of history: before fix of tdf#92934: Web Wizard: Cannot Export Zip archive (http://cgit.freedesktop.org/libreoffice/core/commit/?id=e72a4a3c2e1608e301daef0b6e87cc70d814e736), the order seemed to be this one for pubAware: local, ftp, zip (whereas UI order was already local, zip and ftp) Perhaps the fix was wrong since there was a similar pb for tdf#94421: Web Wizard, option shift when loading saved session Anyway now the pubAware order is the same as UI order, it may help for readability. minor a) increase space for lblStatus (there weren't enough room for some locales, eg French) b) replace use of copy3 (deprecated) by copy2 Change-Id: I27d3c2dd699fbe2d51a63e462c7b39e78895d1be Reviewed-on: https://gerrit.libreoffice.org/19115 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-10-03Web Wizard, ftp part: fix logic for dialogJulien Nabet1-1/+1
Comment indicated "If one of these fields is empty, the button is disabled", let's stick to this. Change-Id: I99dd23339d888c33e7706935842a91f5da681ade
2015-10-03Access2Base - new HtmlEncode property of Application objectJean-Pierre Ledure1-0/+34
Change-Id: I6eb68f78d32b1d73969d37f6991ff0ef3e795606
2015-10-01tdf#92553: Web Wizard: Not open FTP Configure on Web Wizard Preview SettingJulien Nabet2-15/+11
Inherit from WizardDialog instead of object Define required constants for buttons Remove or tweak calls to super methods Fix call setDialogProperties which was wrong since unification of this method See ee122cfd36b3af030520f26a6a313bc7cd3156fd With the patch, FTP dialog opens, we can also connect successfully to an ftp server Still there are bugs to fix then, first of them directory selection Change-Id: I86c3c9638114216627d92832c26ad780c12860b4 Reviewed-on: https://gerrit.libreoffice.org/18831 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-29Fix typosAndrea Gelmini5-6/+6
Change-Id: I4525b43fa823d743b86bf4136c56af35274085e6 Reviewed-on: https://gerrit.libreoffice.org/18995 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
2015-09-23tdf#94451: Agenda: Not enough space for date in step 5 (French UI)Julien Nabet1-2/+2
Adjust some values for make room (ok with French, German and English UI) Change-Id: I7600acae64f5ae1110c07798cc950ec73a48deab Reviewed-on: https://gerrit.libreoffice.org/18787 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-09-23tdf#94450: Web Wizard: Not enough space for date in step 6Julien Nabet1-2/+2
Value of 60 allows to display the selected dates + let a margin if year is in 4 numbers one day. Change-Id: I3d7db50dd318897b0b7a515f9428401c53218c08 Reviewed-on: https://gerrit.libreoffice.org/18786 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-09-22tdf#94421: Web Wizard, option shift when loading saved sessionJulien Nabet1-2/+2
Just use the right order LOCAL_PUBLISHER first, ZIP_PUBLISHER second, FTP_PUBLISHER third and last one Change-Id: I23ff96785910d62bbb2c221932d0ad2a2e755b3c Reviewed-on: https://gerrit.libreoffice.org/18755 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-09-21Typo: automaticcally->automaticallyJulien Nabet1-1/+1
Change-Id: I0422965071f3828938b1b1a535f1eb4f2de481f2
2015-09-21tdf#94351: Web Wizard multiselection doesn't workJulien Nabet3-24/+8
Call getSelectedFiles instead of getFiles+adapt behavior so it deals with an array of files with their full path Change-Id: I21b6c32dea85460461925a9b44dac195d79b7eac Reviewed-on: https://gerrit.libreoffice.org/18714 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-19tdf#92934: Web Wizard: Cannot Export Zip archiveJulien Nabet1-1/+1
pubAware_ adds 2 elements for each of these: LOCAL_PUBLISHER, ZIP_PUBLISHER, FTP_PUBLISHER and since ZIP_PUBLISHER is added in second positon, the right index is 2 not 4 Change-Id: I0a533fd0cefcbbfca0e95628f64fac6258019600 Reviewed-on: https://gerrit.libreoffice.org/18715 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-09-01tdf#91022: Incorrect Dates in Report created with legacy report wizardJulien Nabet1-2/+4
Regression from http://cgit.freedesktop.org/libreoffice/core/commit/?id=5d8ecad569fd7a254902da154ed8057ec61f3a83 Thank you Matthew Francis for having found the root cause! Change-Id: I4128368a5f5df6a9fc5f7668fb1f8f330b5795b9 Reviewed-on: https://gerrit.libreoffice.org/18210 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-30Access2Base - UTF-8 encoding and %-encodingJean-Pierre Ledure2-10/+108
Application to SendMailWithoutAttachment => "mailto: ... " uri Change-Id: I53aa0325c048dca678ff134908d448afab08933d
2015-08-29Access2Base - NewLine distinction Windows - Linux+Jean-Pierre Ledure4-6/+13
Change-Id: I09be5a10ae301b42daf446852e6cf8ba3ed2e51e
2015-08-04tdf#76845: wizards: fix Web wizard XSLT deadlock on WindowsMichael Stahl1-1/+1
The web wizard runs some XSLT over the exported file. It registers a handler that is called when the output stream is closed, and this Process.streamClosedHandler() calls terminate(), which causes the deadlock, because it wants to join() the extra XSLT thread but the handler is actually called from the XSLT thread itself. Fix that by moving the terminate() to another function that runs in the main thread. It does not deadlock on Unixes because osl_joinWithThread() actually detects an attempt to join the calling thread and returns early. Change-Id: Ia176562fa28b97c7e8956c1e8975c9aa6ee23236
2015-08-04wizards: text.TextDocument.getPageCount called as class method onlyMichael Stahl1-0/+1
Change-Id: I9888f8ab7bccdd2902d619487279999f2ff9ab13
2015-08-04wizards: FileAccess.getURL1 is unusedMichael Stahl1-4/+0
Change-Id: I3afde8e7f8b0b88e8f1a5d1ad71429c2aa7d7a94
2015-08-04wizards: FileAccess.getURL does not work on WindowsMichael Stahl1-4/+6
The hard-coded "/" separator causes getFileURLFromSystemPath to fail, and it's not obvious why the URL is being converted to a system path in the first place. Change-Id: I06ebe6d92954c4f3c884ae6f0b327ea8a36c10a4
2015-07-26Access2Base - Return value of Execute method in CommandBarControlJean-Pierre Ledure1-4/+5
Method always returned False. Should return True when successful. Change-Id: I82c8a6e425409032ccf5217b940ec81b277a6313
2015-07-25Access2Base - Correct CommandBarControls collectionJean-Pierre Ledure3-2/+3
Make the Item property of the CommandBarControls collection work correctly thanks to a complete initialization of the object. Change-Id: I714d1034d69be197f68702b0e2d7b21ff64ffff8
2015-07-21Miscellaneous typosAdolfo Jayme Barrientos2-6/+6
Change-Id: I5187364d420ab78c36a91632efab9c32951d867a
2015-07-19Fix typosAndrea Gelmini2-3/+3
Change-Id: I52cbaad71560d73f5e24f3de3cd62b00d678dd6c Reviewed-on: https://gerrit.libreoffice.org/17187 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-14tdf#92404: Web Wizard - no result / crashJulien Nabet1-2/+2
Fixes Traceback (most recent call last): File "/home/laci/m/bibisect/lo-linux-dbgutil-daily/opt/program/wizards/web/WWD_Events.py", line 249, in addDocument oLoadDocs = self.LoadDocs(self.xMSF, self.xUnoDialog, files, self) TypeError: __init__() missing 1 required positional argument: 'parent_' and: Traceback (most recent call last): File "/home/julien/compile-libreoffice/libreoffice/instdir/program/wizards/web/WWD_Events.py", line 252, in addDocument oLoadDocs.loadDocuments() File "/home/julien/compile-libreoffice/libreoffice/instdir/program/wizards/web/WWD_Events.py", line 934, in loadDocuments doc.cp_URL = FileAccess.connectURLs(files[0], self.files[i]) NameError: global name 'files' is not defined Change-Id: I737117a6981e541f12453bb9d9b2680f5fb79142 Reviewed-on: https://gerrit.libreoffice.org/16756 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-07-08Fix typosAndrea Gelmini2-4/+4
Change-Id: I020c7ce4d9aa93cb0292378a410cdb9f7788e920 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-07-07Fix some misspellingsTor Lillqvist1-1/+1
Change-Id: I564b4df26c45c035f455ecf6db573b25c5eb4699
2015-07-03Fix typosAndrea Gelmini10-14/+14
Change-Id: I98b4dfb0f72f315065693335e2f882bb2eed3afe Reviewed-on: https://gerrit.libreoffice.org/16713 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-07-03typo: therfore -> thereforeAndras Timar1-1/+1
Change-Id: I9dcc0ce882dfd533d98a4f71625bb85e44084283
2015-06-30Fix typosAndrea Gelmini1-2/+2
Change-Id: I1c5e4970d4e90bdea68a901294594104de5e189e Reviewed-on: https://gerrit.libreoffice.org/16582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-06-28Fix typosAndrea Gelmini1-1/+1
Change-Id: I80995af6459af9f647e66d1c85da2eedad2647b9 Reviewed-on: https://gerrit.libreoffice.org/16523 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-28Fix typosAndrea Gelmini1-2/+2
Change-Id: Ifd126a535f18db79a18aaec61b76cdf26ab33dff Reviewed-on: https://gerrit.libreoffice.org/16522 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-22Fix typosAndrea Gelmini2-2/+2
Change-Id: I60ed5eb658d50cbc7dc572facb5463b7527b4d9b Reviewed-on: https://gerrit.libreoffice.org/16408 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-15java: 'final static' to 'static final'Noel Grandin9-33/+33
this is the canonical order, and it makes the code easier to read Change-Id: I272e7f1e140296e582702b6dbf77a03eefb65470 Reviewed-on: https://gerrit.libreoffice.org/16242 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-06-13TyposJulien Nabet1-1/+1
Change-Id: I0e74d800593245fa00013035c9498b77988b072b
2015-06-13Fix typosAndrea Gelmini1-1/+1
Change-Id: Ifaa52b49b717d893846fc1e7ae4ac50735f824ac Reviewed-on: https://gerrit.libreoffice.org/16260 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-06-13TyposJulien Nabet2-2/+2
Change-Id: I21c352a63d668c174eef212dbfbe6346c678ce4d
2015-06-11java:regulatize the order of 'final' and public/privateNoel Grandin1-2/+2
Make the order be 'public static' or 'private static' Just makes the code nicer to read. Change-Id: I182424bda45a2d68642e5d04c6091d268ace1fe2 Reviewed-on: https://gerrit.libreoffice.org/16202 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-06Access2Base - Correct behaviour of MoveNext, MovePreviousJean-Pierre Ledure1-12/+9
Bug in MoveNext and MovePrevious methods of Recordset class module Reported in https://forum.openoffice.org/en/forum/viewtopic.php?f=47&t=76640 Change-Id: Ib094eb61dbb3c6b8656a098c7de41da40cc20648
2015-05-27wrong comparison in letter wizardCaolán McNamara1-4/+4
the file name widget is empty when it shouldn't be. the other wizards get this right Change-Id: Icdb629e676a73fcf8d8be4352818abbef455bbaf
2015-04-20java: remove some unused codeNoel Grandin2-42/+0
Change-Id: If1cdc67535b11d9309503b14ffad2aa3718661c6
2015-04-20java: some random small cleanupsNoel Grandin2-7/+0
Change-Id: I22a5b9fa29d465a21e682279e6e88d37bd8adf93