summaryrefslogtreecommitdiff
path: root/dbaccess
AgeCommit message (Collapse)AuthorFilesLines
2013-03-12fdo#61564 when WrappedTargetException not in specification, do not throw it!Lionel Elie Mamane1-2/+3
Change-Id: Id3c995557f320b1d0241f0ef5d94b1c9aeb66528 Reviewed-on: https://gerrit.libreoffice.org/2684 Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-01-25fix handling of subqueries in query designLionel Elie Mamane3-36/+51
- don't remove parentheses around subqueries (without the parentheses, it is not valid SQL) * when saving a Field (name value) typed by the user interactively * when parsing SQL and constructing the initial Query Design view - automatically add the necessary parentheses when a SELECT statement is entered as column name Also: In code saving a Field (name value) typed by the user interactively, factorise some common code Assorted minor fixes (typos in comments, etc) Change-Id: I3843258323c903cba23238b0730ec4eb5875f792 Reviewed-on: https://gerrit.libreoffice.org/1827 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-21mark *all* tables of a nested join as addedLionel Elie Mamane1-18/+33
Else, if the n^{th} (with n>2) table also appears in a (non-NATURAL) INNER JOIN, it is repeated later, leading to an error from the database engine Change-Id: I03e0f0ef51f45be9d7ddfa63a9dbe09dc500f8dd Reviewed-on: https://gerrit.libreoffice.org/1756 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-12-12fdo#32958 join editor: remove empty linesLionel Elie Mamane3-16/+57
Change-Id: If150261bae55cf91c8a344f34c79194ad29db903
2012-12-12typo in commentLionel Elie Mamane1-1/+1
Change-Id: I0e6dd24e2cd65a35886f75cde9197c5b957c6d57
2012-12-12query design / edit join: valid only iif column names everywhereLionel Elie Mamane1-1/+11
Change-Id: Idfb0e16c4cc2581a46e26fe97948897dc4b11dc0
2012-12-12be more cautious in debug modeLionel Elie Mamane1-1/+7
Change-Id: I46b89b10287ac755e2b727b46d6fdd19f44bcdd3
2012-12-12argument has no effect anymore -> removeLionel Elie Mamane2-6/+5
Change-Id: I91f8f552b1324b57ce75e96b858b7a3379decb20
2012-12-12Move comment to its rightful placeLionel Elie Mamane1-4/+4
Change-Id: I72803b26a79804cdc1b590a7fb4bc99ff831963e
2012-12-06Don't force refresh when higher up code did not request itLionel Elie Mamane1-11/+5
Change-Id: I0f415c96fc05c1d776d14885751aef020c42f4ae
2012-12-06fdo#53281 Don't cache whole row in KeySetLionel Elie Mamane1-15/+1
This was done for the sake of ODBC, but the cost was imposed on all backends. The ODBC problems are now solved cleanly (and more efficiently) in the SDBC<->ODBC layer. Change-Id: Ib8a864da08deaaacc96a379fb72b3b7cbb34598c
2012-12-03WaE: BaseReference::_pInterface may be used uninitialized in this functionTor Lillqvist1-1/+2
Change-Id: Ic9424fd0cac9f2ff91866549b370080a9a88aeea
2012-12-02WaE: explicitly do nothing when nothing needs to be doneLionel Elie Mamane1-6/+9
Removes compiler warning Change-Id: Ied96ef294f25cca54887ca6a86ec07ecb2b1fae0
2012-12-02fdo#42165 make nested joins as per strict ANSI SQLLionel Elie Mamane2-14/+31
Change-Id: I605d3811b27c33e35670306bb03b5a796ab72bc0
2012-12-02Expand commentLionel Elie Mamane1-0/+4
Change-Id: I7d699222940a6ee99595d84dd8b2068e9b86ee67
2012-12-02janitorial: prefix increment when don't care about current valueLionel Elie Mamane1-2/+2
Change-Id: Id19369bb9d9cb2a0bab0dacb200cf5bf488c3b20
2012-12-02janitorial: simplify code, no behaviour changeLionel Elie Mamane1-8/+2
operator[] on a map implicitly adds an entry and default-initializes value part Change-Id: Iab7817fb7fef5e9a6afdeb74be0d523fde59b5c1
2012-12-01fdo##38838 UniString Removal in dbaccessRicardo Montania4-14/+14
Change-Id: I6c4f8e9834fdd78851f5274ce2b141cfb49e6458 Reviewed-on: https://gerrit.libreoffice.org/1208 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens5-5/+0
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30fdo#46808, remove some more XMultiServiceFactory fieldsNoel Grandin1-1/+1
Change-Id: I8d039a933c9fde1a24b35954bb5a1f151e9aa160
2012-11-30fdo#46808, use service constructor for ucb::CachedDynamicResultSetStubFactoryNoel Grandin3-6/+6
Change-Id: Iea7b21621c5d341468976507684a9c01f0822034
2012-11-30fdo#46808, convert ucbhelper::ResultSet to XComponentContextNoel Grandin3-16/+9
Along the way, remove the XMultiServiceFactory member from a few classes that were not using it. Change-Id: I9ee2c2ebc01144301ed8e489bd92b4695ff263d0
2012-11-29Remove unused method & remove header include by using forward declaration.Kohei Yoshida2-0/+3
Also, SvViewDataEntry has lost one friend. Change-Id: Icf6d4127de38fed485cd260edae97748b1f78ede
2012-11-29Pass pointer to view data entry to Paint() instead of its raw flag value.Kohei Yoshida3-5/+8
We need to hide these flags away. Change-Id: I112003a88a92174f5012b3356ba261a039eeccc1
2012-11-28OUString::replaceAt() does not modify in-placeTor Lillqvist1-2/+2
Change-Id: I59ebf6dc5bc75f8ded82b19dbc736a6aae48e74b
2012-11-28We only support MSVC 2008 (_MSC_VER 1500) or laterTor Lillqvist1-2/+2
We can drop or simplify many conditionals. Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
2012-11-28Fix various build breaks.Kohei Yoshida2-2/+2
Change-Id: Ie33a4a02f9820e0d52ca3f17c6b410ebe1e6e8f0
2012-11-28fdo#46808, use service constructor for sdbc::ConnectionPoolNoel Grandin5-6/+14
Change-Id: Id12226af5e537b1eeacbb062ad937a3551e245c0
2012-11-28fdo#46808, Adapt reflection::ProxyFactory UNO service to new styleNoel Grandin2-8/+8
The service is deprecated, but we still have a handful of in-tree users, and converting it lets me thread XComponentContext through a bunch of classes. Change-Id: Iffdfe537ada6b9e4a89f9b3c8dd82ca85f4bfaba
2012-11-28fdo#46808, use service constructor for i18n::CollatorNoel Grandin1-1/+2
Change-Id: If6ad17fa9e274beff7ba872a095ced65438962af
2012-11-27dbaccess: warning C4530: C++ exception handler used ... specify /EHscMichael Stahl1-5/+2
Change-Id: I273b800c36038be64cdc9f85872ee95983077da7
2012-11-27fdo#46808: Missing adaptions to XFolderPicker2Stephan Bergmann4-4/+0
c988da288ec473a28f61ebb53aa3ff82bab11ef4 "fdo#46808, Adapt ui::dialogs::FolderPicker UNO service to new style" had left some FolderPicker implementations at XFolderPicker, so creating them caused DeploymentExceptions. Change-Id: I3463161f9bb87a69a2777c331eb5b93d487790b0
2012-11-26API CHANGE: com.sun.star.lang.IllegalArgumentExceptionMichael Stahl1-1/+0
... derives from com.sun.star.uno.RuntimeException instead of com.sun.star.uno.Exception. Only test that breaks with this change is jurt_uno/AnyConverter_Test, which for mysterious reasons effectively tests that IllegalArgumentException is a subclass of Exception and not RuntimeException. Presumably this is just a generic exception test that happens to use IllegalArgumentException. Some further testing indicates there are no problems expected at runtime: Running "make subsequentcheck" with all Java test code compiled against a ridl.jar that does not contain the change, running against a soffice that uses ridl.jar and rdbs with the change + ridl.jar with the change on the test side yields exactly the same AnyConverter_Test failure, with no other failures. Change-Id: Iad183de76ec7e0d56648084e97cdcc160b5b033d
2012-11-26Typo in commentLionel Elie Mamane1-1/+1
Change-Id: I63e866d5ad6ae76c8e19d04f3be1476f82966e31
2012-11-25fixup trailing token error.Michael Meeks1-1/+1
Change-Id: Idf7d0f4490dc419171e3e60252e31e07b6ce4e97
2012-11-25German comment translationsMarkus Maier24-204/+197
Change-Id: I0d169b7cd0f47b6986063d0cc0b6697b1d575e6a
2012-11-23some i18n wrappers with LanguageTagEike Rathke8-12/+12
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-22AllSettings with LanguageTagEike Rathke8-7/+8
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-20Merge branch 'feature/killsdf'Andras Timar1-1/+1
Conflicts: desktop/prj/build.lst helpcontent2 l10ntools/Executable_gsicheck.mk l10ntools/Executable_uiex.mk regexp/inc/regexp/reclass.hxx solenv/gbuild/AllLangResTarget.mk Change-Id: I398f0cd9e7daefa8d2e04fd977d5bc2e9708169b
2012-11-17use LanguageTagEike Rathke1-5/+2
Change-Id: Iea2c5ae21c8d7c143f9f4a0e3c42c963cfc28d33
2012-11-16Fix the Windows build breakage by reorganizing svtools headers.Kohei Yoshida15-2/+16
Also removed a fair amount of implicit inline methods to promote use of more forward declaration. Change-Id: I5ad21f0d7abc85281708b7e87f1036b02a053627
2012-11-15Store tree list entry items in ptr_vector & const correct-ness.Kohei Yoshida1-2/+2
Change-Id: I0e02b9ceb98f26a2b130ec978a992fcf889e718a
2012-11-15Rename SvLBoxItem::IsA() to GetType(), and mark that const.Kohei Yoshida4-6/+4
Change-Id: I542835154e40b25d68fc3995d911810e26e30501
2012-11-15ensure translations are built before using themDavid Tardon1-1/+4
Change-Id: Ia172f144616d7468466a057bb1a431b3047209fd
2012-11-15fdo#46808, use service constructor for ucb::SimpleFileAccessNoel Grandin2-6/+4
I upgraded the service to return XSimpleFileAccess3, since it already implemented that interface, and it's backwards compatible. Change-Id: I40001a46048bd21a23b6a2f58a95376f06fc634b
2012-11-13convert extension dialog to .uiCaolán McNamara1-1/+1
Change-Id: I4d938be9e960f421398dd40bbcf1b3cadc643de1
2012-11-11Merge branch 'master' into feature/killsdfAndras Timar72-517/+552
Conflicts: Repository.mk RepositoryFixes.mk connectivity/prj/build.lst extensions/prj/build.lst filter/prj/build.lst fpicker/prj/build.lst l10ntools/StaticLibrary_transex.mk saxon/build.xml shell/prj/build.lst solenv/gbuild/AllLangResTarget.mk solenv/gbuild/Configuration.mk solenv/gbuild/UI.mk ucb/source/ucp/webdav/webdavcontent.cxx
2012-11-11Fix the scope of the variable 'pApprove' can be reducedJulien Nabet1-2/+1
Change-Id: I1ce2682224fbb0c93bc7ec97a31a59020ac6be02
2012-11-05fdo#46808, use service constructor for i18n::CharacterClassificationNoel Grandin11-30/+28
Change-Id: I0499ad7de27b1539e97f01ab8aa0ef2d6713ae76
2012-11-05fdo#46808,remove unnecessary MSF field from ucbhelper::ContentIdentifierNoel Grandin1-1/+1
...which has lots of nice knock-on effects. Change-Id: Icc93fdb70f24903b08702654db4e1105eb1d438e