Commit graph

6352 commits

Author SHA1 Message Date
Stephan Bergmann
9ac86f484b Improvement on previous commit, UCB clean up
* 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-14 18:24:49 +02:00
Norbert Thiebaud
1126ecef09 WaE in connectivity
Change-Id: I2c9e83611fab1e9c4c998af68648df994f89cd6b
2012-09-14 03:49:22 -05:00
Stephan Bergmann
65006ffb0b -Werror,-Wunused-private-field (connectivity/source/drivers/kab)
...and some related clean up.

Change-Id: I26a8720fb7f60615f2e348e4728a3abddf6a33cd
2012-09-13 13:32:27 +02:00
Caolán McNamara
843c83f640 WaE: fix some "empty body" warnings on Mac
Change-Id: Ib65d9dac988851fa90a44cad246ac24e8bfd3370
2012-09-12 22:53:29 +01:00
Michael Stahl
1488e24a34 connectivity: fix some "empty body" warnings on Mac
Change-Id: I832b369d87da9b622759bf7ddd14f95475256c38
2012-09-12 20:22:36 +02:00
Noel Grandin
bf4352084b Java cleanup, remove unnecessary imports
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
2012-09-06 17:13:58 +02:00
Noel Grandin
4db106577c Java cleanup, mv file so that package path matches folder path
Change-Id: I062e152743da28a54e73988e63b4a5c7032f9b10
2012-09-05 21:01:44 +02:00
Stephan Bergmann
a11940a871 "using namespace ::com::sun::star" caused sdbcx::... ambiguity
Change-Id: I18573cb3c0b70996e3787028fff1a376bded02c4
2012-09-03 18:34:19 +02:00
Noel Grandin
3a36408b73 fdo#46808, Adapt util::NumberFormatter UNO service to new style
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-09-03 15:55:06 +02:00
Stephan Bergmann
886a3640e2 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I55d99ff74de5825e239772160735a8b0d87cb122
2012-08-31 09:04:14 +02:00
Stephan Bergmann
5466323a8b -Werror,-Wunused-value (Clang towards 3.2)
Change-Id: I2ebaa95bdb446ec10ab015ad2a792e750859da7f
2012-08-31 09:04:14 +02:00
Stephan Bergmann
b60bc27231 '/*' within block comment [-Wcomment] (Clang towards 3.2)
Change-Id: I9c8f631476c15a8f34106af4f9923fef84fc86dd
2012-08-31 09:04:13 +02:00
Stephan Bergmann
9dc3b1bf61 Simplify/remove some methods named "dropTable"
Change-Id: Icbebe81fec6ce0b39946dec00f57471b2cafd5e1
2012-08-28 16:15:44 +02:00
Noel Grandin
05f7bb2e3e Java cleanup - remove unused parameters and fields
Change-Id: I4e9a27ce0b5f6d782034306afadb1b9d0ed9a2ba
2012-08-28 16:15:44 +02:00
Noel Grandin
ff77676612 Java cleanup - remove unused imports
Change-Id: I7eb24b2d552ec5da752b58ba790ed58fb88728b0
2012-08-28 16:15:42 +02:00
Noel Grandin
2caf5d1937 Java cleanup - remove unnecessary semi-colons
Change-Id: I20a79d3d8f71dc48fc2662563f9c890dd3d94aac
2012-08-28 16:15:42 +02:00
Noel Grandin
8638f1e72a fdo#46808, Adapt script::Converter service code to new style
Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
2012-08-27 15:40:07 +02:00
Matúš Kukan
33b1750f4a fdo#53888: svx: do not link against dbtools
dbtools were added in 01089138cc only to
create dependency and fix the build.
This creates circular dependency for libmerged, dbtools is not that
common library.
It's better to create real dependency in connectivity_inc package.
To avoid another circular dependency gb_YaccTarget_get_header_target
must not depend on external headers target.

Change-Id: I536376303de5330addd2dbf85bdfea8b9a23301c
2012-08-24 01:39:52 +02:00
Caolán McNamara
ff74564b39 callcatcher: update unusedcode
Change-Id: I18f823b99349002bb148d474a6a9aabdf2d419ef
2012-08-23 14:25:14 +01:00
Matúš Kukan
091c1b6fc5 more old module-description xml files
Change-Id: I9ac503b073ee3f9b8e7958264ffcc26d9446c220
2012-08-22 23:27:34 +02:00
Caolán McNamara
78b2d4d00d callcatcher: update list
Change-Id: Id297f32de5fba9d17fec89d2f8ea21c5d1a2a4bc
2012-08-22 12:08:22 +01:00
Lionel Elie Mamane
e8409cbd72 fdo#53887 ConvertLikeToken(): make escape character properly escape itself
Change-Id: Ic2b79e78f95e298a08794fa11f227d76152244f5
2012-08-21 19:30:20 +02:00
Lionel Elie Mamane
cc430308c3 Put functions exported by sqlbison.hxx into a .hxx file
Change-Id: Ibf4fed39e4d36cb03d079cf55a12d4ec37a70f2b
2012-08-21 19:30:18 +02:00
Tor Lillqvist
18ac29d515 No jvmaccess for iOS
Change-Id: Ifc83795c84cc82832a185317d4aa3554419e31e3
2012-08-20 16:58:21 +03:00
Noel Grandin
f6a62d9e41 Java update - fix various javadoc issues
Along the way, remove some javadoc comments that are completely incorrect.

Change-Id: I02f96b6cbe665d2c10bd6ee245a7d8e2eef0f755
2012-08-20 12:54:24 +01:00
Timothy Pearson
0700d6a1f3 fix TDE FTBFS
Change-Id: Icde6310d922a3d5e2822789a23403b9f188efaf4
2012-08-18 16:19:05 +02:00
Michael Stahl
b254f4fb0a gbuild: add gb_Junit_use_external and clean up connectivity complex test
Change-Id: I8c4b6ff6b1993d1c4de68696089f86fbcf4cecc6
2012-08-17 12:52:26 +02:00
Michael Stahl
5a4bcd3b75 gbuild: register all jars
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
2012-08-17 12:52:25 +02:00
Noel Power
d88325f73e Revert "fix for fdo#48200.diff import regrex state for filter"
This reverts commit 094654fceb.
2012-08-16 17:43:12 +01:00
Noel Power
094654fceb fix for fdo#48200.diff import regrex state for filter
Change-Id: I46b07341e96d78130e6301e40fa32df6ed2c7879
2012-08-16 17:40:05 +01:00
Michael Stahl
666173b83c add hsqldb to RepositoryExternal.mk
Change-Id: I9c038e6fd1c60e4ac77740c55a45439d813524e0
2012-08-15 21:29:14 +02:00
Michael Stahl
cdbd6957a5 gbuild: remove most uses of gb_Jar_set_jarclasspath:
With gb_Jar_add_jar and gb_Jar_add_system_jar adding to the manifest
classpath automatically it is no longer necessary to call
gb_Jar_set_jarclasspath manually except for the URE jars, which
are apparently not supposed to be added automatically.

Change-Id: I1e743e7ecb9cb5651e02005aa09e127bea1b0a29
2012-08-15 21:29:14 +02:00
Jung-uk Kim
ed93117447 fdo#53061: Fix for C++11 #define NULL nullptr
Change-Id: Ia1805aab4bec7fef02c96ec4e7a7a0ed9991d3c3
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-08-14 10:39:13 +02:00
Caolán McNamara
c8218367a0 callcatcher: update list
Change-Id: If9b76e5282c22a479ff709174fbc8ee4d3c337cc
2012-08-13 10:53:42 +01:00
Stephan Bergmann
f50a41437e fdo#53246 Fresh postgresql-sdbc implementation names
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 c97d74b5f0 "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-13 10:05:57 +02:00
Arnaud Versini
4d210ad17d Replace usage of rtl/memory.h in connectivity with equivalent from string.h
Change-Id: I0284aedfd831e8af001534c5ce8a39c3a11214fa
2012-08-07 23:13:46 +02:00
Christophe JAILLET
cf239da5c4 There is not need to allocate memory just for getting the 'indexOf'
a literal within a OUString.

Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
2012-08-06 12:22:10 +01:00
Thomas Arnhold
c04c2114d9 Remove unused macros
Change-Id: I184a7f9c65dd762407b2431d9c6557e718b954b2
2012-08-05 20:31:47 +02:00
Terrence Enger
8cd92447d7 stop some leaked statement handles
Change-Id: I06764e0569ea615e66de6cd5946614c7c538e60e
Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2012-07-19 11:50:33 +02:00
Terrence Enger
ae56c4e025 ODBMetaDataRS ctor: abort if statement handle allocation failed
Change-Id: Ieac069565bbc14c909eeecf3e67588191191992f
Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2012-07-19 11:47:08 +02:00
Terrence Enger
1c3c15081f avoid freeing the NULL handle
Change-Id: Id3f22bacfbf5e582656cc8ac38d60b781a25b4c3
Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2012-07-19 11:40:10 +02:00
Miklos Vajna
e2a443f520 fix error: ‘cerr’ is not a member of ‘std’
Change-Id: I0e2988e99f4a333cf147e41c069913180e94ec93
2012-07-17 09:29:16 +02:00
Lionel Elie Mamane
1e89c6f3d1 fdo#51239 refresh row lazily (when data is requested)
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-17 09:19:45 +02:00
Christophe JAILLET
df645a2bd8 There is not need to allocate memory just for getting the 'indexOf'
a literal within a OUString.

Change-Id: I01ca30c68228f81b3d313dfca5b975448f3c4fc7
2012-07-16 11:33:05 +01:00
Caolán McNamara
bfcaa777c4 callcatcher: update unused code list
Change-Id: I045ac2928d4b8cf99f9f76c20a9e489adc34ed66
2012-07-15 22:36:52 +01:00
Thomas Arnhold
5a7e8389f0 hrc cleanup: Remove include guards from src files
Change-Id: I7d52837f4058bab1bb5a0137788521d12834d519
2012-07-14 05:43:47 +02:00
Christophe JAILLET
a767448225 Search for char instead of 1 char long string, when possible.
It is faster and even avoid memory allocation somtimes.

Change-Id: Ic12ff70e95953de44ef5798131150669d07a5445
2012-07-13 16:36:04 +02:00
Michael Stahl
95d0593986 warning C4530: C++ exception handler used ... specify /EHsc
Change-Id: Ifb23269c01dc80c328075fefe5e61b378e2d8477
2012-07-11 00:15:06 +02:00
Michael Stahl
9e9c5c358f Library_dbtools: sort objects
Change-Id: I91a510a7a778a669182a14333e78a8095b27c6cd
2012-07-11 00:15:05 +02:00
Michael Stahl
c24d7246ac warning C4530: C++ exception handler used ... specify /EHsc
Change-Id: I2a81e4d5d3a19b5537b791391d035212e8bf423e
2012-07-11 00:15:05 +02:00