Commit graph

5940 commits

Author SHA1 Message Date
Lionel Elie Mamane
fc03666c16 sdbdc-psql description: publisher is Lionel, not Oracle 2011-11-17 21:15:23 +01:00
Lionel Elie Mamane
cc02d3db1c sdbc-psql: DbMetaData getIntSetting: move to first row before getInt 2011-11-17 21:15:23 +01:00
Lionel Elie Mamane
42667095d9 sdbc-psql: DatabaseMetaData: Implement get(Im|Ex)portedKeys, getCrossRef 2011-11-17 21:15:22 +01:00
Lionel Elie Mamane
ed82a11d39 pq-sdbc: Use UNO_QUERY_THROW when not checking for NULL before use 2011-11-17 21:15:22 +01:00
Lionel Elie Mamane
aee68dd8ed add TODO / weird comment 2011-11-17 21:15:22 +01:00
Lionel Elie Mamane
c42327f461 Janitorial: use Oid instead of sal_Int32 to avoid unsigned/signed comparison 2011-11-17 21:15:21 +01:00
Lionel Elie Mamane
580f4d1453 fdo#35784 minimal fix
Fake DatabaseMetaData::getImportedKeys: we can get away with not giving column names if we give zero data rows
2011-11-17 21:15:21 +01:00
Lionel Elie Mamane
1b66f42870 First pass over DatabaseMetadata 2011-11-17 21:15:20 +01:00
Lionel Elie Mamane
95fac4d603 Janitorial: Comment out unused variable 2011-11-17 21:15:20 +01:00
Lionel Elie Mamane
7d3a6de0ed Janitorial clean-up
- fix a bunch of compiler warnings

  - Copyright statement on files I modified
2011-11-17 21:15:20 +01:00
Lionel Elie Mamane
c4fc6b22b3 Janitorial clean-up
- fix a bunch of compiler warnings

 - move to recommended way of comparing C strings and OUString

 - Copyright statement on files I modified
2011-11-17 21:15:19 +01:00
Lionel Elie Mamane
ad69fc551b Mark unused parameters as such to avoid compiler warnings 2011-11-17 21:15:19 +01:00
Lionel Elie Mamane
97592e06b0 postresql: acceptsURL: check for string prefix, not string equality 2011-11-17 21:15:18 +01:00
Lionel Elie Mamane
c82ed24984 postgresql: use _registered_ component map 2011-11-17 21:15:18 +01:00
Lionel Elie Mamane
67f95b2d97 address a few compiler warnings 2011-11-17 21:15:18 +01:00
Lionel Elie Mamane
7696087a21 postgresql: bump version to 0.7.7 2011-11-17 21:15:17 +01:00
Lionel Elie Mamane
81c4680483 if test: explicit grouping by parentheses 2011-11-17 21:15:17 +01:00
Lionel Elie Mamane
d612aa7f6f avoid name shadowing warning 2011-11-17 21:15:17 +01:00
Lionel Elie Mamane
e1423f5a92 calcSearchable: actually set return value, not fresh variable 2011-11-17 21:15:16 +01:00
Lionel Elie Mamane
c5a127771f Proper copyright notices, license mandated changelog 2011-11-17 21:15:16 +01:00
Lionel Elie Mamane
1a69cbdbea Allocator: Implement construct member without a value 2011-11-17 21:15:16 +01:00
Lionel Elie Mamane
90b5fe7673 Use unordered_map instead of hash_map
GNU g++ 4.6 warns that hash_map is deprecated
2011-11-17 21:15:15 +01:00
Lionel Elie Mamane
d648eecd0f Apply sdbc-postgresql-oxt.diff 2011-11-17 21:15:15 +01:00
Lionel Elie Mamane
c6a6c00a36 Apply gcc-4.3-postgresql.diff 2011-11-17 21:15:14 +01:00
Lionel Elie Mamane
34592e2579 Apply connectivity-workben-postgresql.diff 2011-11-17 21:15:14 +01:00
Lionel Elie Mamane
109b38a8c5 Apply sdbc-postgresql-build-lst.diff 2011-11-17 21:15:14 +01:00
Lionel Elie Mamane
e28033fdfa Apply sdbc-postgresql.diff 2011-11-17 21:15:13 +01:00
Caolán McNamara
3ca643271e log errors by default in debug mode 2011-11-16 13:24:06 +00:00
Michael Stahl
48dbaa517f fdo#42865: connectivity: mozab: no mapfile
In order to not have the offending local _ZNSs4_Rep20_S_empty_rep_storageE
symbol in libmozabdrv.so, build it with hidden visibility.
2011-11-15 20:52:02 +01:00
Michael Stahl
d3b66b4d56 OConnection: WaE unused variable 2011-11-15 20:51:59 +01:00
Stephan Bergmann
8b75883b87 Simplified some uses of css.configuration.theDefaultProvider.
* Retro-added new-style UNOIDL singleton specification for it, for easy
instantiation.
* Plus new comphelper::getComponentContext to map from XMultiServiceFactory
to XComponentContext.
2011-11-14 22:07:23 +01:00
Stephan Bergmann
b11bd0323e Removed comphelper -> unotools processfactory.hxx duplication. 2011-11-14 11:50:26 +01:00
Stephan Bergmann
e3712f9d35 Fix build --all depend=x. 2011-11-14 11:50:26 +01:00
Lionel Elie Mamane
e382cc5c08 fdo#33047: no data accessible if filename contains "?" 2011-10-30 16:00:00 +01:00
Lionel Elie Mamane
6efdf794cd factorise multiple SQL_ISRULEOR2 implementations into one 2011-10-30 13:37:02 +01:00
Julien Nabet
14e3351b22 Small fix OParseNode->OSQLParseNode 2011-10-30 13:32:11 +01:00
Lionel Elie Mamane
be1bc3c80a wrong logic in comment 2011-10-30 12:39:38 +01:00
Lionel Elie Mamane
2cd03f687f Typo/spelling in comment 2011-10-30 12:39:38 +01:00
Lionel Elie Mamane
70511e6e15 Errors in comments 2011-10-30 12:39:37 +01:00
Lionel Elie Mamane
74816f998b translate comments 2011-10-30 12:39:37 +01:00
Lionel Elie Mamane
338ea7617f Return proper UNKNOWN_RULE instead of 0 for unknown rule
also make unknown rule -1 to better separate it
Before, an unknown rule actually went to 0 == OSQLParser::select_statement
2011-10-30 12:39:37 +01:00
Lionel Elie Mamane
98b5910149 Introduce combined 2&3 test for SQL Token 2011-10-30 12:39:36 +01:00
Lionel Elie Mamane
2053a71686 8.5 is not an integer, but an approxnum 2011-10-30 12:39:36 +01:00
Lionel Elie Mamane
d8e643124e overhaul / enhance / translate / ... comments 2011-10-30 12:39:35 +01:00
Noel Power
d0fb0305c4 tweak debug messages from commit 9b58d93530 2011-10-28 10:38:53 +01:00
Terrence Enger
9b58d93530 leaking connection handle
call SQLDisconnect;
check returns from SQLDisconnect and SQLFreeHandle
2011-10-28 10:19:04 +01:00
Stephan Bergmann
b786a33cfd Undo basis/brand split: Move SDK and ure-link, remove OOO_BASE_DIR and BaseInstallation. 2011-10-24 13:59:58 +02:00
Stephan Bergmann
fd1db0b8eb Undo basis/brand split: move program/classes/ from basis to brand.
Also removed apparently unused UNO_JAVA_COMPPATH ProfileItem.
2011-10-18 12:52:06 +02:00
Pierre-André Jacquod
c528a8e48d cppcheck scope reduction in connectivity/.. main.cxx 2011-10-07 15:57:40 +02:00
Michael Meeks
738f9cc6a7 fix OString concatenation 2011-10-05 14:22:04 +01:00
Tor Lillqvist
2bc6f3424b Use OString::getStr() now 2011-10-05 14:09:45 +03:00
Caolán McNamara
9bb187006a Resolves: fdo#34309 odbc fractional seconds are in billionths 2011-10-05 12:01:10 +01:00
Caolán McNamara
ceb199f0bf conversion operator gone now 2011-10-05 09:34:32 +01:00
Tor Lillqvist
1967376c7b WaE: deletion of pointer to incomplete type; no destructor called
Move the struct OSQLParser_Data definition to the sqlparse.hxx
header. A somewhat ugly workaround for warning C4150: deletion of
pointer to incomplete type 'connectivity::OSQLParser_Data'; no
destructor called.
2011-10-04 18:51:13 +03:00
Tor Lillqvist
67a565eabf WaE: unreachable code 2011-10-04 18:43:23 +03:00
Stephan Bergmann
011320d569 Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *() in Mac OS X only code. 2011-09-29 14:50:17 +02:00
Stephan Bergmann
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
Pierre-André Jacquod
bd4200dc20 cppcheck: delete unneeded variable in connectivity testmoz/main.cxx 2011-09-26 22:02:40 +02:00
Caolán McNamara
871426533f just silence the auto_ptr deprecations in isolation 2011-09-22 15:01:05 +01:00
Thomas Arnhold
be6a8677a6 OSL_TRACE: Remove trailing newlines
Done with perl regex:
s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs;

- removed trailing whitespaces and (multiple) newlines
2011-09-21 09:28:39 +02:00
Caolán McNamara
94d8c09758 rework this in terms of read_uInt8s_AsOString 2011-09-19 09:59:21 +01:00
Caolán McNamara
32b2e810ad use read_uInt8s_AsOString and comphelper::string::padToLength
which allows us to simplify the read in DTable.cxx quite a bit
2011-09-17 23:20:46 +01:00
Caolán McNamara
ba3ac57713 memcpy is of the same length as preceding memset 2011-09-17 23:20:45 +01:00
Tor Lillqvist
eab413f963 Make this compile with MSVC and _DEBUG 2011-09-15 13:14:38 +03:00
Tor Lillqvist
6b457882d0 We can't #define _HAS_ITERATOR_DEBUGGING 0 in just some of the source files
It seems that _HAS_ITERATOR_DEBUGGING affects the layout of some
classes, which of course means horrible breakage if some of the source
files are compiled with it, the rest not.

http://msdn.microsoft.com/en-us/library/aa985939%28v=vs.80%29.aspx
http://connect.microsoft.com/VisualStudio/feedback/details/334315/has-iterator-debugging-0-causes-crash

I will just have to fix the code in this handful of source files so
that it compiles with _DEBUG defined. If I can be bothered.
2011-09-15 12:02:59 +03:00
Lionel Elie Mamane
ca3df6a1b1 shouldEscapeDateTime() controls ODBC syntax for date literals, not ## format 2011-09-07 11:17:56 +02:00
Pierre-André Jacquod
3d411ec522 [cppchecker] unread Variable warning suppressed 2011-09-06 22:43:34 +02:00
Caolán McNamara
b9b22fa7f8 IBM jni.h has non-const SetByteArrayRegion final arg 2011-09-06 09:19:11 +01:00
Jenei Gábor
bc0a497f08 Fixes fdo#36594 Syntax error in SQL on "--" comment (and "//" and "/**/")
The SQL parser implementation does not handle comments.
Temporarily remove "-- ..." and "// ..." end-of-line comments and "/* ... */"
inline comments of a query and append comments after recomposition of the
query.

NOTE: The original comment positions are not preserved, all comments are
      appended to the query!

Based on the original patch further development was done for inline comments
and preserving comments' line order.
2011-09-03 01:19:51 +02:00
Tor Lillqvist
a647a54cd1 More #define _HAS_ITERATOR_DEBUGGING 0 to fix _DEBUG MSVC builds 2011-08-29 10:53:56 +03:00
Tor Lillqvist
a02a4272e0 Don't do the undef-redef dance for "MINIMAL_PROFILEDISCOVER" 2011-08-24 18:01:51 +03:00
Tor Lillqvist
785d8c762c Again, avoid debugging MSVC std::equal_range issue 2011-08-24 18:01:44 +03:00
Caolán McNamara
d1fb13adf9 convert tools::Config to rtl::OString 2011-08-19 09:30:44 +01:00
Caolán McNamara
2add3f0e5a drop it completely 2011-08-19 09:30:43 +01:00
Caolán McNamara
b5736291ed registered but uninstalled database drivers break address book wizard
among other things undoubtedly. The idea was IIRC to drop adabas
support, so lets not register the uninstalled components, and
while we're at it not build it either.
2011-08-18 09:16:01 +01:00
Kohei Yoshida
aea70b22af Fixed build breakage. 2011-08-18 00:11:46 -04:00
Caolán McNamara
061ebc3446 add a getToken wrapper for extracting a single token painlessly 2011-08-15 09:21:49 +01:00
Caolán McNamara
3324eca4ed ByteString->rtl::OString 2011-08-15 09:21:48 +01:00
Lionel Elie Mamane
fbe20a2245 =class OTableHelper: typo in private member name: refreshFor*gei*nKeys 2011-08-14 12:15:07 -05:00
Caolán McNamara
5298b1b32d callcatcher: ditch some more methods 2011-08-08 13:04:46 +01:00
Caolán McNamara
2f8580e008 delete/delete[] mismatch, thanks to Terrence Enger 2011-08-05 16:03:10 +01:00
Takeshi Abe
5b7e8986ff fixed typo 2011-08-04 00:15:24 +09:00
Tor Lillqvist
882a522d84 Deliver also static libraries 2011-08-01 01:27:28 +03:00
Caolán McNamara
08790c82c3 Related: fdo#35404 survive nil xTable 2011-07-27 09:21:49 +01:00
Bjoern Michaelsen
200bc6c582 resyncing to master 2011-07-21 18:51:11 +02:00
Tor Lillqvist
778576d9f3 Generate correctly named import library for WNTGCC 2011-07-21 12:08:05 +03:00
Tor Lillqvist
44e18c3b9b Add a few casts to fix MinGW compilation errors 2011-07-20 18:14:05 +03:00
Tor Lillqvist
b9d3016fce Win32 header names need to be in lowercase as that is how they are in MinGW 2011-07-20 18:14:05 +03:00
Tor Lillqvist
bd6f8a667b MinGW needs -fpermissive for <adoint.h> 2011-07-20 18:14:04 +03:00
Matúš Kukan
9b8b278d5e Keep this one component_getImplementationEnvironment method 2011-07-12 18:28:13 +02:00
Matúš Kukan
a90983bd65 Remove component_getImplementationEnvironment methods 2011-07-12 17:59:13 +02:00
Tor Lillqvist
993d287df7 Deliver also static archives, as built for iOS 2011-07-06 00:17:15 +03:00
Caolán McNamara
62c96339dc ByteString::CreateFromInt32->rtl::OString::valueOf 2011-07-02 22:30:05 +01:00
Bjoern Michaelsen
92667c8edb Merge branch 'master' into feature/gnumake4
Conflicts:
	connectivity/source/cpool/Zregistration.cxx
	connectivity/source/drivers/evoab/LCatalog.cxx
	connectivity/source/drivers/evoab/LColumnAlias.cxx
	connectivity/source/drivers/evoab/LColumnAlias.hxx
	connectivity/source/drivers/evoab/LColumns.cxx
	connectivity/source/drivers/evoab/LColumns.hxx
	connectivity/source/drivers/evoab/LConfigAccess.cxx
	connectivity/source/drivers/evoab/LConfigAccess.hxx
	connectivity/source/drivers/evoab/LConnection.cxx
	connectivity/source/drivers/evoab/LConnection.hxx
	connectivity/source/drivers/evoab/LDatabaseMetaData.cxx
	connectivity/source/drivers/evoab/LDatabaseMetaData.hxx
	connectivity/source/drivers/evoab/LDriver.cxx
	connectivity/source/drivers/evoab/LDriver.hxx
	connectivity/source/drivers/evoab/LFolderList.cxx
	connectivity/source/drivers/evoab/LFolderList.hxx
	connectivity/source/drivers/evoab/LNoException.cxx
	connectivity/source/drivers/evoab/LPreparedStatement.cxx
	connectivity/source/drivers/evoab/LPreparedStatement.hxx
	connectivity/source/drivers/evoab/LResultSet.cxx
	connectivity/source/drivers/evoab/LResultSet.hxx
	connectivity/source/drivers/evoab/LServices.cxx
	connectivity/source/drivers/evoab/LStatement.cxx
	connectivity/source/drivers/evoab/LStatement.hxx
	connectivity/source/drivers/evoab/LTable.cxx
	connectivity/source/drivers/evoab/LTable.hxx
	connectivity/source/drivers/evoab/LTables.cxx
	connectivity/source/drivers/evoab/LTables.hxx
	connectivity/source/drivers/evoab/evoab.xml
	connectivity/source/drivers/evoab/makefile.mk
	editeng/Library_editeng.mk
	framework/Library_fwe.mk
	framework/test/test.cxx
	idl/prj/d.lst
	idl/util/idlpch.cxx
	linguistic/Makefile
	linguistic/Module_linguistic.mk
	linguistic/inc/linguistic/lngdllapi.h
	linguistic/inc/linguistic/lngprophelp.hxx
	linguistic/inc/linguistic/misc.hxx
	linguistic/prj/build.lst
	linguistic/prj/d.lst
	linguistic/qa/unoapi/Test.java
	linguistic/source/grammarchecker.cxx
	linguistic/source/grammarchecker.hxx
	linguistic/source/hyphdta.cxx
	linguistic/source/lngprophelp.cxx
	linguistic/source/makefile.mk
	linguistic/source/spelldta.cxx
	sfx2/Library_qstart.mk
	sfx2/Library_sfx.mk
	sfx2/inc/sfx2/qswin32.h
	sfx2/prj/build.lst
	sfx2/qa/cppunit/makefile.mk
	xmlscript/inc/xmlscript/xcrdllapi.h
	xmlscript/prj/d.lst
	xmlscript/util/makefile.mk
2011-06-19 12:24:29 +02:00
Ocke Janssen [oj]
dbef0ebc20 gnumake4: added dbaccess and reportdesign [hg:a75d5667430f] 2011-06-17 14:40:39 +02:00
Ocke Janssen [oj]
aff97b56be gnumake4: remove evoab [hg:0109ce6e2910] 2011-06-17 14:25:50 +02:00
Caolán McNamara
bcbf10e723 unused buffer 2011-06-14 09:55:48 +01:00
Caolán McNamara
71cb7d2b3d remove unused filler and width 2011-06-14 09:55:48 +01:00
Jan Holesovsky
b6212a4a95 Merge remote-tracking branch 'origin/libreoffice-3-4'
Conflicts:
	connectivity/qa/makefile.mk
	sfx2/source/appl/appdata.cxx
	sfx2/source/appl/appinit.cxx
	sfx2/source/inc/appdata.hxx
	sysui/desktop/productversion.mk
	xmloff/source/forms/elementimport.cxx
2011-06-06 14:06:48 +02:00
Christina Rossmanith
892d3e7a4d Removed commented code 2011-06-04 22:52:40 +02:00