summaryrefslogtreecommitdiff
path: root/connectivity/inc
AgeCommit message (Collapse)Author
2013-03-04remove unused and commented out codeThomas Arnhold
This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
2013-03-04coverity: merge traverse{OR,AND}Criteria into traverseSearchConditionLionel Elie Mamane
Meaning, these two functions have the same behaviour, they produce the same output (and side-effects) when called on the same input. traverseORCriteria handles only the actual "foo OR bar" case, and hands off all other cases to traverseANDCriteria. But, lo and behold, traverseANDCriteria also handles the "foo OR bar" case, in the same manner! Change-Id: I10410e88ce48852b60d1d688fe2865923de9d80b
2013-03-03fdo#60724: fix paramater -> parameter misspelling found by lintianVojta Koukal
Change-Id: I6c09767211817533494df34744a265cf28a76105
2013-03-02Typo fix: informations -> information and a few other adjacent typos.Gregg King
FDO:60724 Change-Id: I73ad9f1c37cbbcf28d996ed73c75cf09553e499b Reviewed-on: https://gerrit.libreoffice.org/2479 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-02-11fdo#46808, Adapt java::JavaVirtualMachine UNO service to new styleNoel Grandin
Change-Id: Ib0329b9cdc4290ce98c4182e8466c1b44b408341
2013-02-09ORowSetValue: move float and double to unionDavid Ostrovsky
Change-Id: Ic5de8ad2cf9ef1143b1a5468e5fc5c9974aca5ec Reviewed-on: https://gerrit.libreoffice.org/2021 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-02-05ORowSetValue: clean up sign/unsigned union memberDavid Ostrovsky
Also switch BOOLEAN constructor from sal_Bool to bool. old/new signed/unsigned storage situation: ------------------------------------------------------- SQL type | signed | unsigned old | unsigned new ------------------------------------------------------- TINYINT | sal_Int8 | sal_Int16 | sal_uInt8 SMALLINT | sal_Int16 | sal_Int32 | sal_uInt16 INTEGER | sal_Int32 | sal_Int64 | sal_uInt32 BIGINT | sal_Int64 | pValue (String*) | sal_uInt64 ------------------------------------------------------- When sticking an UNSIGNED TINYINT into an Any, silently promote it to UNSIGNED SMALLINT (that is sal_uInt16), else Any would take it as a sal_Bool and normalise to sal_True (1) or sal_False (0). When constructing an ORowSetValue from a sal_Bool, silently keep it as an unsigned 8 bit integer (that is understand it as a sal_uInt8). This will work in most cases, since when asked back for a bool or sal_Bool, we'll give back the right value. Only code looking at the type tag could possibly make a "wrong" decision. The main (hopefully only?) path through which this would happen is through an implementation of XParameters::setBoolean XRowUpdate::updateBoolean that would use its sal_Bool argument to construct an ORowSetValue. So make sure each implementation constructs a proper BOOLEAN so as not to get confused. For authorship/copyright purposes, this patch is a cooperation between Lionel Elie Mamane <lionel@mamane.lu> and David Ostrovsky <david@ostrovsky.org> Change-Id: I3f1f08716127147f077bff4edb6ec558b1b09e09
2013-01-23SQL parser: no "as" rule anymore; now as_clause and opt_asLionel Elie Mamane
Change-Id: Ib0c7151b311029318c213abb86e6541e3b27d040
2013-01-23Make UNKNOWN_RULE the default value of connectivity::OSQLParseNode::RuleLionel Elie Mamane
Change-Id: I4e56da8820d5c92d3b6e2ff2c749bdc0cef46d73
2013-01-09fdo#46808, new method OConfigurationTreeRoot::createWithComponentContextNoel Grandin
and use it to replace usage of createWithServiceFactory, and thus replace usage of XMultiServiceFactory. Change-Id: Id2f44066683ce17cf7a22f80916031556ef0e82a
2012-12-26ignore #include inside #ifLubos Lunak
2012-12-19regenerate pchPeter Foley
Change-Id: I4e18ce06db42e13479809ba8eec70033943271cf
2012-12-11When parsing does not give a table name, take it from the columnLionel Elie Mamane
Change-Id: Ie8a2c7e473d717cc22c51205dd8cdc59934de8b1
2012-12-10new autogenerated PCH headers in connectivityLuboš Luňák
2012-12-10remove unneeded PCH stuffLuboš Luňák
Since the PCH is now explicitly included using the command line, it is no longer necessary to have include guards or #ifdefs for enabling it. Change-Id: Ie64fdc75129af7097213d86f2daec461993fb6f4
2012-12-10testing PCH for connectivity/flatLuboš Luňák
Change-Id: I164ec06dfb0630784292b39110e1a939d361d98f
2012-12-10testing PCH for connectivity/fileLuboš Luňák
Change-Id: Id9083967c67967ea067672b756fa31912af96dcf
2012-12-10fdo#46808, Convert connectivity::SQLError to use XComponentContext...Noel Grandin
...instead of comphelper::ComponentContext. Change-Id: I40384c2d7cfcabd06506321d686dd8e7c7c5f266
2012-12-10fdo#46808, Adapt sdbc::DriverManager UNO service to new styleNoel Grandin
Change-Id: Ic2be6bd08aaabc81d0fbe0269ca577868defe934
2012-12-06fdo#46808, Adapt sdb::ErrorMessageDialog UNO service to new styleNoel Grandin
Change-Id: Iaf12324e6aa64b268555b0f4c82f04f4c0f6f123
2012-12-06fdo#46808, Adapt util::NumberFormatsSupplier UNO service to new styleNoel Grandin
Change-Id: I58436d9eea0c38d14cde2dc01aa463d5d71912e9
2012-11-28fdo#46808, use service constructor for sdbc::ConnectionPoolNoel Grandin
Change-Id: Id12226af5e537b1eeacbb062ad937a3551e245c0
2012-11-28fdo#46808, Adapt reflection::ProxyFactory UNO service to new styleNoel Grandin
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-14Cleanup unusedcode.easyJosé Guilherme Vanz
This commit removes some unused code from unusedcode.easy Change-Id: I204edb6a29e23af244e7997622c5a9b3f596cb2f Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1052 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-05fdo#46808, use service constructor for i18n::CharacterClassificationNoel Grandin
Change-Id: I0499ad7de27b1539e97f01ab8aa0ef2d6713ae76
2012-11-02Columns should know their tableLionel Elie Mamane
For example dbaccess::OSingleSelectQueryComposer::appendOrderByColumn expects it (via impl_getColumnName_throw via getTableAlias) There is some vagueness: Should the TableName property contain just the table name, or the *composed* table name (that is with catalog and/or schema if used by this DB)? In the case of a query, should it contain the table name (alias) *in* *the* *query* or of the original table? In the former case, what meaning do SchemaName and CatalogName have? They should be empty? For now, commit as such and deal with the fallout, if any, when it hits the fan. If we really need to store these *different* values, (that is, some code validly needs them) it would be easier / cleaner / ... to define *different* properties for these *different* notions. Change-Id: I032e619a60e7563cd51478db16cb5e0e5452bfde
2012-10-04fdo#46808, Adapt task::InteractionHandler UNO service to new styleNoel Grandin
Since we don't need to expose XInitialisation, we can make the new-style service implement XInteractionHandler2. Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
2012-09-27fdo#46808, Adapt sdb::DatabaseContext UNO service to new styleNoel Grandin
Create a merged XDatabaseContext interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Quite a few IDL files had to be marked as published for this to work. Change-Id: Ie9a0da88d8c33cc83fc9d2334ff83ab2744c222f
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-17fdo#46808, Adapt i18n::LocaleData UNO service to new styleNoel Grandin
The implementation of the LocaleData implements the optional XLocaleData4, so rather than creating a new interface for the new-style service, we simply make the service implement XLocaleData4, which in turn implements XLocaleData3, XLocaleData2, XLocaleData. Change-Id: I3e9a48b031be6b2aa5e04b376b3940b942add85a
2012-08-23callcatcher: update unusedcodeCaolán McNamara
Change-Id: I18f823b99349002bb148d474a6a9aabdf2d419ef
2012-07-15callcatcher: update unused code listCaolán McNamara
Change-Id: I045ac2928d4b8cf99f9f76c20a9e489adc34ed66
2012-07-10Remove unused methods:Julien Nabet
Change-Id: Iad15c92be13ba9e6120f7306543c88a04893d2c7 dbtools::SQLExceptionIteratorHelper::SQLExceptionIteratorHelper(com::sun::star::sdb::SQLContext const&) dbtools::SQLExceptionIteratorHelper::SQLExceptionIteratorHelper(com::sun::star::sdbc::SQLWarning const&)
2012-07-03callcatcher: update unused codeCaolán McNamara
Change-Id: Ia817624647ba395476d457ccd1681c6a82534e5a
2012-06-29Remove UNO includes commentsThomas Arnhold
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-27update unused code listCaolán McNamara
Change-Id: I8845df6193233b268b5cce958fea9f25625c7025
2012-06-27callcatcher: remove some unused codeCaolán McNamara
Change-Id: I6b512dd2b33e2c09fad2369bb299120fc35345b0
2012-06-27Remove unused header filesThomas Arnhold
These were only referenced by Package_inc.mk... Change-Id: Idc771477595b9d221f9f2003b293fdd1ba7e1588
2012-06-26re-base on ALv2 code.Michael Meeks
2012-06-19typo: paramters, paramaters -> parametersAndras Timar
Change-Id: If58683331c50f2a95204e8e2dea11edbef3ccb63
2012-06-12re-base on ALv2 code.Michael Meeks
2012-05-29-Werror=conversionStephan Bergmann
Change-Id: I3d4055722e8f7c22c50f892e62b5b3246904ce50
2012-05-29WaE: signed/unsigned etc.Caolán McNamara
Change-Id: I3e2e43f5854b8bc33a442ecd25e089d20a122018
2012-05-29switch connectivity to gbuildDavid Tardon
Change-Id: I37e6706ff244c9cc21b0826e61ef5d7cd72b3566
2012-05-29OSubComponent.hxx is included by a header from inc -> moveDavid Tardon
2012-04-16callcatcher: update listCaolán McNamara
2012-04-16callcatcher: update unused codeCaolán McNamara
2012-03-29Remove unused code in connectiviy.Santiago Martinez
2012-03-29remove dangling declarationCaolán McNamara
2012-03-29Remove unused code in sqlnodeSantiago Martinez