summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers
AgeCommit message (Collapse)Author
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-24To ease debugging, display printStackTrace of caught exceptions in jdbc driverStephan Bergmann
Change-Id: I8c48b09fcab18af196a8441351bcf3180a32005b
2012-09-21MResultSet WaE fixedDavid Ostrovsky
Change-Id: Ie7261c651c20350fb69fe2ed55f8272a3db132ba
2012-09-20mork driver: refactoring query engineDavid Ostrovsky
Change-Id: Ia8dd0c29b4624601d8cb85cece0fcb2842c2d2f9
2012-09-19OResultSet: close() is routinely called after dispose()Stephan Bergmann
Change-Id: Ifb916e0c2935876b85fdb135538357f29cfab157
2012-09-19Some mork driver clean-up and configmgr access fixStephan Bergmann
Change-Id: I213a9ac5b41c66cd039016315f4641773364fd7c
2012-09-19Assuming the double iteration is a copy/paste snafuStephan Bergmann
...causes "error: attempt to increment a past-the-end iterator." with debug-mode libstdc++. Change-Id: I89af3944b04ad6ab4ef3561d2aa91b5bab1edf20
2012-09-19Clean up warning/info reportingStephan Bergmann
Change-Id: Ib2a8da9f837b0b91f980aacda9df1c6c5c691eef
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-18mork driver implementationDavid Ostrovsky
This is a preparation for merge into master, feature/mork branch is obsoslete and shouldn't be used any more. In context of this change the usage of old mozilla based mork driver depends on platform: all non windows platforms use this new mork driver, windows still uses mozilla. Because mozilla driver shipping was stripped on feature/mork branch for all platforms, the corresponding commits were changed prior to creating this change (the build file changes are reverted now). So the build and shipping of different mork driver implementation should be implemented from scratch: mozilla on windows, new mork dirver on all other platforms. Currently the new mork dirver is compiled (on all platforms), but not used. It can be tested with mork_helper executable. fdo#51004 Change-Id: Ib2413ab6856f163337aa311c4bf7b1182d6c6f63 Reviewed-on: https://gerrit.libreoffice.org/635 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann
* As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-09-14WaE in connectivityNorbert Thiebaud
Change-Id: I2c9e83611fab1e9c4c998af68648df994f89cd6b
2012-09-13-Werror,-Wunused-private-field (connectivity/source/drivers/kab)Stephan Bergmann
...and some related clean up. Change-Id: I26a8720fb7f60615f2e348e4728a3abddf6a33cd
2012-09-12WaE: fix some "empty body" warnings on MacCaolán McNamara
Change-Id: Ib65d9dac988851fa90a44cad246ac24e8bfd3370
2012-09-12connectivity: fix some "empty body" warnings on MacMichael Stahl
Change-Id: I832b369d87da9b622759bf7ddd14f95475256c38
2012-09-03"using namespace ::com::sun::star" caused sdbcx::... ambiguityStephan Bergmann
Change-Id: I18573cb3c0b70996e3787028fff1a376bded02c4
2012-09-03fdo#46808, Adapt util::NumberFormatter UNO service to new styleNoel Grandin
Create a merged XNumberFormatter2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I57f35cde0a9dbbe91c1d2c3d068cb3a97c7245e3
2012-08-31-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann
Change-Id: I55d99ff74de5825e239772160735a8b0d87cb122
2012-08-31-Werror,-Wunused-value (Clang towards 3.2)Stephan Bergmann
Change-Id: I2ebaa95bdb446ec10ab015ad2a792e750859da7f
2012-08-31'/*' within block comment [-Wcomment] (Clang towards 3.2)Stephan Bergmann
Change-Id: I9c8f631476c15a8f34106af4f9923fef84fc86dd
2012-08-27fdo#46808, Adapt script::Converter service code to new styleNoel Grandin
Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
2012-08-22more old module-description xml filesMatúš Kukan
Change-Id: I9ac503b073ee3f9b8e7958264ffcc26d9446c220
2012-08-22callcatcher: update listCaolán McNamara
Change-Id: Id297f32de5fba9d17fec89d2f8ea21c5d1a2a4bc
2012-08-16Revert "fix for fdo#48200.diff import regrex state for filter"Noel Power
This reverts commit 094654fcebe35af07a9e12137becdf85277ef706.
2012-08-16fix for fdo#48200.diff import regrex state for filterNoel Power
Change-Id: I46b07341e96d78130e6301e40fa32df6ed2c7879
2012-08-14fdo#53061: Fix for C++11 #define NULL nullptrJung-uk Kim
Change-Id: Ia1805aab4bec7fef02c96ec4e7a7a0ed9991d3c3 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-08-13fdo#53246 Fresh postgresql-sdbc implementation namesStephan Bergmann
The descriptions for fdo#53246 "Libo36 does not start, InvalidRegistryException from program/services/postgresql-sdbc.rdb" make it look like the user had installed the functionality that comes bundled in postgresql-sdbc.rdb also as an extension installed per-user or shared. <http://wiki.documentfoundation.org/PostgreSQL-SDBC> indicates that what is now bundled due to c97d74b5f0608866bad3f7ae943811bdff4f7986 "fdo#45090: Changed postgresql-sdbc from bundled oxt to proper optional part" indeed was once available as a freestanding postgresql-sdbc-*.oxt that could have been installed per-user or shared. To prevent problems with such scenarios, rename the relevant implementation names by adding a ".noext" suffix. Change-Id: I43414a64461ba643f0ca0b2749450099cb6c8a4d
2012-08-07Replace usage of rtl/memory.h in connectivity with equivalent from string.hArnaud Versini
Change-Id: I0284aedfd831e8af001534c5ce8a39c3a11214fa
2012-08-06There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET
a literal within a OUString. Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
2012-08-05Remove unused macrosThomas Arnhold
Change-Id: I184a7f9c65dd762407b2431d9c6557e718b954b2
2012-07-19stop some leaked statement handlesTerrence Enger
Change-Id: I06764e0569ea615e66de6cd5946614c7c538e60e Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2012-07-19ODBMetaDataRS ctor: abort if statement handle allocation failedTerrence Enger
Change-Id: Ieac069565bbc14c909eeecf3e67588191191992f Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2012-07-19avoid freeing the NULL handleTerrence Enger
Change-Id: Id3f22bacfbf5e582656cc8ac38d60b781a25b4c3 Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2012-07-17fix error: ‘cerr’ is not a member of ‘std’Miklos Vajna
Change-Id: I0e2988e99f4a333cf147e41c069913180e94ec93
2012-07-17fdo#51239 refresh row lazily (when data is requested)Lionel Elie Mamane
This avoids fetching data that will not be requested when the "cursor" is only moved and no data requested. That is typically what RowSetCache does when its own cursor is moved within its window. This basically makes the whole {next,previous,absolute,...}_checked story obsolete, by basically always being as fast as the i_bFetchRow==false case, but in a safer way. Change-Id: I89eaf277069736b3077bde8b45325929db290f2d
2012-07-16There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET
a literal within a OUString. Change-Id: I01ca30c68228f81b3d313dfca5b975448f3c4fc7
2012-07-14hrc cleanup: Remove include guards from src filesThomas Arnhold
Change-Id: I7d52837f4058bab1bb5a0137788521d12834d519
2012-07-11pq_allocator.hxx: work around spurious MSVC warningMichael Stahl
Change-Id: I6c516e4bd125c4075c195980a2fcdb58382c38dd
2012-07-10Remove conflicting typedefPierre-Eric Pelloux-Prayer
Barely used typedef produced compilation error on Solaris, due to already defined type 'SS'. Change-Id: I2d1d563d8c4818a4afe9656cc4a62ba1bbaaafd2
2012-07-10fdo#50849 work around psqlodbc segfaultLionel Elie Mamane
Change-Id: Ib7e484f778d97b3f18845cef12718618324c859f
2012-07-04use SAL_UNUSED_PARAMETER instead of local macroLuboš Luňák
2012-07-03ditch String::CreateFromAsciiCaolán McNamara
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03embedded HSQLDB: reclaim space occupied by deleted rowsLionel Elie Mamane
Disadvantage is that saving/closing the file may take a significantly longer time Change-Id: I1cc35c34b49e60d73e8d341549c5a3c5ef314b6d
2012-06-29Remove some more include guardsThomas Arnhold
Change-Id: I7c62d086cb593744785abecae7a107686a4d65ce
2012-06-29Remove UNO includes commentsThomas Arnhold
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-27Remove unused include filesThomas Arnhold
Those never get included at any point in the code. Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-27Remove commented out code (includes)Thomas Arnhold
Change-Id: I0a11d09544c10d78a2036a5c3c94132b17fbfbe8
2012-06-27Reduce newline bloat at eofThomas Arnhold
Change-Id: I494ceee07d6825f9466cab810742d7f85291fe14
2012-06-26re-base on ALv2 code.Michael Meeks