Commit graph

5842 commits

Author SHA1 Message Date
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