summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/db
AgeCommit message (Collapse)AuthorFilesLines
2013-08-02fdo#64117 *always* set the filter name to the correct nameLionel Elie Mamane1-2/+1
the removed test made absolutely no sense: aliasName is a fully-qualified name, but columns is indexed by column name. That is, schemaName.tableName.columnName as opposed to only columnName. Change-Id: I9066b5183298e3e6ab63c367594f92bb3e00979d
2013-07-03handle non-wrapped SQLExceptionLionel Elie Mamane1-2/+3
This happens e.g. when the user types a forbidden name for the query (e.g. containing '/' Also uniformise Logger usage instead of exception.printStackTrace Change-Id: I29b14b65dae487e0eb61b90ceba968142981e755
2013-06-30robustifyLionel Elie Mamane1-2/+6
- Survive case where direction not given - make ascending default in stronger way Change-Id: I41ab2fd683ea71ea668e3ca3ee4a9618d67c0107
2013-06-30fdo#64985 try harder to populate m_sCommandName::m_sCommandNameLionel Elie Mamane1-0/+10
Change-Id: Ibef643498903c82eee5533d387a33ca26a77d496
2013-05-19DB wizards (java): use system locale, not UI language, for parsing mattersLionel Elie Mamane1-2/+2
Change-Id: Ieb00ef3b16cd6213c11298040b789444b3ee3a31
2013-05-06Java cleanup, convert more Vector to ArrayListNoel Grandin1-21/+21
Change-Id: Icb807382eaf50f515f2c9dfada0c061414baed33
2013-03-04remove trailing whitespacesThomas Arnhold2-2/+2
Change-Id: Ib6684fe00e063e150af30477fd704d9b3f029282
2012-11-20fdo#51304: Remove @author annotationJosé Guilherme Vanz1-1/+0
This commit removes some @author annotations and some cleanup. Change-Id: Iaf2c4465825dc73af6c1d7377ae847262721c22b Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1122 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-01fdo#51304: Java author and commented code removal.José Guilherme Vanz2-6/+0
This patch removes '@author' annotation, code in comments and adjust some empty catches. It's cleanup patch Change-Id: Ia0e61765dd06a61bae5419e5f723232f7711044c
2012-08-28Java cleanup - remove unused importsNoel Grandin1-2/+0
Change-Id: I7eb24b2d552ec5da752b58ba790ed58fb88728b0
2012-08-02handle "no schema" caseLionel Elie Mamane1-2/+9
This is especially the case when the source is a (saved) query. Fixes: Report Builder wizard "Finish" button does nothing -> cannot create report through wizard Change-Id: I266772035435a7c623beb0c0f66fc88e6316be8e
2012-07-18re-base on ALv2 code. Includes:Michael Meeks1-2/+15
118568: switch to using ucpp Patch contributed by Juergen Schmidt http://svn.apache.org/viewvc?view=revision&revision=1209396
2012-07-18fs34b: #i117472# fix color calculation from style stringFrank Schoenheit [fs]1-0/+83
2012-07-16reuse computed curFieldNameLionel Elie Mamane1-1/+1
Change-Id: I4ca9942b3abd343b75336e68bfe669ce5d3a38de
2012-07-13java: printStackTrace always to stderrThomas Arnhold10-61/+61
like 3d3b3f656f92790225b89aa31ee61163fb2fc7e5 Change-Id: I6e80717de009e8a3a89ffc80cb945cc832917f8c
2012-07-12errors to stderrLionel Elie Mamane1-5/+5
Change-Id: I01756622dd7700d3918d156f118cd69c8a15879a
2012-07-12fdo#50800 populate composedCommandNames ASAP, not at call of getFromClauseLionel Elie Mamane1-9/+24
In particular com/sun/star/wizards/ui/FilterComponent calls getSelectClause before calling getFromClause, and then all hell breaks loose: composedCommandNames is empty, thus cannot find the proper Alias column name, thus the column names in the select list were not properly escaped, ... We have just made getFromClause quadratic instead of linear, but: 1) I do not think this would be a problem (small datastructures) 2) If it is, rather use a hashmap or something like that, wich will also make getSelectClause faster Also make the fallback case of "unknown table" more robust: escape the table name (if any) and column name! Change-Id: I474adc51fc6378d836bd5865d9eb9505983dcbc5
2012-06-29Java cleanup - remove unnecessary castsNoel Grandin1-1/+1
Change-Id: I9fc995d9b3f971b9b8869cb3f21ddf69b4f90e08
2012-06-29Java cleanup - fix javadoc comments and invalid tagsNoel Grandin2-4/+4
Change-Id: Id1bb14458203393a2f40e0333afc62416719b1a0
2012-06-29Java5 update - convert collections classes to use genericsNoel Grandin6-29/+28
Change-Id: Ia2e92ea7c5da3ef6e7235b724a82d28d0e562541
2012-06-29Updating to Java5 - convert Vector to ArrayListNoel Grandin4-58/+57
Change-Id: I585312848dacf5128a64469874a1c65452a2b5c8
2012-06-29re-base on ALv2 code.Michael Meeks1-23/+14
2012-06-21re-base on ALv2 code.Michael Meeks1-23/+14
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks10-230/+140
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-18fdo#43967 legacy report designer wizard formats dates improperlyLionel Elie Mamane1-8/+8
1) Set FormatsSupplier property only if underlying object has one. Else, exception is thrown and the format is not set 2) getTyperelatedFieldData uses the format keys, so initialize them before call, not after. Change-Id: I68c4c96a9da9a6afdc3ab8964e973588f53ee814
2012-06-06SQLQueryComposer allow setQueryCommand with prependSorting instead of appendLionel Elie Mamane1-1/+13
Change-Id: Ia06794537ea4d0f6f069c83709792ebbcc084804
2012-06-06db.SQLQueryComposer allow prependSortingCriteria call with addAliasFieldNamesLionel Elie Mamane1-1/+6
Change-Id: I05889ccac213743a55c302bd7249b30f817c0428
2012-06-06cleanupLionel Elie Mamane1-1/+0
Change-Id: I1ce4279d434ffa58328e17863b2e68af1e813a99
2011-08-21Merge branch 'master' into feature/gsoc2011_wizardsXisco Fauli1-1/+1
Conflicts: automation/source/inc/cmdbasestream.hxx automation/source/server/cmdbasestream.cxx automation/source/server/retstrm.hxx automation/source/testtool/cmdstrm.cxx automation/source/testtool/cmdstrm.hxx automation/source/testtool/tcommuni.cxx basctl/prj/d.lst basctl/uiconfig/basicide/toolbar/findbar.xml cui/source/dialogs/about.cxx cui/source/dialogs/about.src cui/source/inc/about.hxx extensions/source/abpilot/abpservices.cxx extensions/source/dbpilots/dbpservices.cxx extensions/source/propctrlr/pcrservices.cxx extensions/source/svg/makefile.mk forms/Library_frm.mk lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx lingucomponent/source/spellcheck/spell/sspellimp.cxx package/prj/d.lst package/source/zipapi/XMemoryStream.cxx package/source/zipapi/XMemoryStream.hxx setup_native/prj/d.lst setup_native/source/win32/customactions/relnotes/makefile.mk tools/test/export.map wizards/com/sun/star/wizards/common/ConfigGroup.py wizards/com/sun/star/wizards/common/ConfigNode.py wizards/com/sun/star/wizards/common/Configuration.py wizards/com/sun/star/wizards/common/Desktop.py wizards/com/sun/star/wizards/common/FileAccess.py wizards/com/sun/star/wizards/common/Helper.py wizards/com/sun/star/wizards/common/SystemDialog.py wizards/com/sun/star/wizards/document/OfficeDocument.py wizards/com/sun/star/wizards/fax/FaxDocument.py wizards/com/sun/star/wizards/fax/FaxWizardDialog.py wizards/com/sun/star/wizards/fax/FaxWizardDialogConst.py wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py wizards/com/sun/star/wizards/fax/FaxWizardDialogResources.py wizards/com/sun/star/wizards/letter/LetterDocument.py wizards/com/sun/star/wizards/letter/LetterWizardDialog.py wizards/com/sun/star/wizards/letter/LetterWizardDialogConst.py wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py wizards/com/sun/star/wizards/letter/LetterWizardDialogResources.py wizards/com/sun/star/wizards/text/TextDocument.py wizards/com/sun/star/wizards/text/TextFieldHandler.py wizards/com/sun/star/wizards/text/TextSectionHandler.py wizards/com/sun/star/wizards/text/ViewHandler.py wizards/com/sun/star/wizards/ui/UnoDialog.py wizards/com/sun/star/wizards/ui/UnoDialog2.py wizards/com/sun/star/wizards/ui/WizardDialog.py wizards/com/sun/star/wizards/ui/event/CommonListener.py wizards/com/sun/star/wizards/ui/event/DataAware.py wizards/com/sun/star/wizards/ui/event/RadioDataAware.py wizards/com/sun/star/wizards/ui/event/UnoDataAware.py wizards/util/helpids.h wizards/util/hidother.src xmlsecurity/prj/build.lst xmlsecurity/prj/d.lst xmlsecurity/qa/certext/SanCertExt.cxx
2011-08-18Merge commit 'f9d40c2b591215b57ece4ba6e623b7808a7ae717' into ↵Bjoern Michaelsen12-752/+685
feature/gsoc2011_wizards Conflicts: wizards/com/sun/star/wizards/common/Resource.java merged resolved as per: e52421bc118e9c5f3fce5a32ba9efdcad7627d92 9e91dbca08056fc31f388f5642fdfa3d2b910990 in the old components repository merging the corresponding commit 3b4fe490441f9f77829bc6c1ae30d79a4d50255b there
2011-08-14Bug 38486 SQL fixGabor Jenei1-1/+1
2011-03-14dba34d: pulled and merged latest changes from CWS dba34cFrank Schoenheit [fs]1-2/+2
2011-03-14dba34c: forgot to comment one lineOcke Janssen [oj]1-1/+1
2011-03-14dba34c: remove comment in front of importOcke Janssen [oj]1-1/+1
2011-03-11Automated merge with ssh://hg@hg.services.openoffice.org/cws/dba34dOcke Janssen [oj]1-0/+5
2011-03-11Automated merge with file:///cws/so-cwsserv03/dba34c/DEV300/oooOcke Janssen [oj]10-70/+76
2011-03-11db34c: #i108415# check if column existsOcke Janssen [oj]1-0/+5
2011-03-10dba34d: remove unnescessary castsOcke Janssen10-106/+80
2011-02-22Automated merge with ssh://hg@hg.services.openoffice.org/cws/dba34cOcke Janssen [oj]10-70/+76
2011-02-22dba34c: #i117036# call getFrom clause before getSelectOcke Janssen [oj]1-1/+2
2011-01-20dba34d: some refactoringOcke.Janssen11-66/+73
2011-01-20dba34d: #i98163# import hidden value corretedOcke.Janssen2-33/+59
2011-01-10dba34c: #i108415# handle structed filter handlingOcke Janssen [oj]4-549/+496
2010-11-30dba34c: #i98239# alignment changedOcke.Janssen2-2/+2
2010-11-30dba34c: code refactoringOcke.Janssen1-1/+1
2010-11-25Automated merge with http://hg.services.openoffice.org/cws/dba34bOcke.Janssen4-17/+20
2010-11-24dba34b: make often used vars staticOcke.Janssen4-17/+20
2010-11-24dba34b: #i109534# don't let the query wizard display queries to select from, ↵Frank Schoenheit [fs]1-6/+16
if the database does not support queries in queries
2010-09-20dba33j: #i114566# +getNormalizedStructuredFilterFrank Schoenheit [fs]2-14/+71
2010-09-17dba33j: #i114273#Frank Schoenheit [fs]1-25/+7