Commit graph

306 commits

Author SHA1 Message Date
Julien Nabet
66e5cbc55a Fix typo "sucessfully" -> "successfully"
Change-Id: I01c85e4d3853c44fa05acc3019bc35c56c4f655e
2013-02-23 15:42:54 +01:00
Michael Stahl
fc81393c7f gbuild: remove various pointless calls that don't add anything
Change-Id: I7eccac4fa8890c2873c6bbd7f8f5bf5b0dd006d2
2013-01-26 22:20:07 +01:00
Michael Stahl
a53586f4ef gbuild: do not copy boost headers around
- do not use gb_UnpackedTarball_copy_header_files for boost
- adapt the optimization in concat-deps.c for new path
- use boost_headers in all LinkTargets that require it
- add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus

Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-26 22:20:06 +01:00
Tor Lillqvist
09b08d4adb More MSC -> _MSC_VER, sorry
Change-Id: Ie5070d514c1f4dd9f9708253eb44134baec6524a
2012-12-27 14:09:50 +02:00
Stephan Bergmann
b1959dbfad Remove unused cppuhelper/servicefactory.hxx includes
Change-Id: I27fd4d1f1dfafccaa7936defb5cd687d6266e0a2
2012-12-21 15:56:44 +01:00
Caolán McNamara
c2913591d8 rework filters test to squeeze through extra flags
that are needed to load .odt, .sxw etc files, and
add a regression test for CVE-2012-4233

Change-Id: Ie178725ded3d76942030d12f23074de519cf62de
2012-11-01 13:14:09 +00:00
Marcos Paulo de Souza
625e91c75f More useless code, "#if 0" blocks in lingucomponent, sal, and rsc
Change-Id: I1dda0f2b3bc2bb4a4a877c160026e53a90471d54
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2012-10-17 09:32:47 +02:00
Noel Grandin
c849c4b987 sal_Bool->bool in hwpfilter
Change-Id: Ief6d6678a04084a90d07d87780689b92af2e3ba4
2012-10-04 21:29:33 +02:00
Noel Grandin
dea967349c sal_Bool -> bool in hwpfilter
Change-Id: Ia1b6830ef9ab06a1914abb7f6d5857ce9d845061
2012-10-04 21:29:32 +02:00
Michael Stahl
5032dc0fc3 gbuild: invert handling of standard system libraries:
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.

Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28 16:49:08 +02:00
Michael Stahl
dc397aae70 gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:
add a new gb_LinkTarget_use_system_win32_libs to abstract different
linker options on MSVC and GCC.

Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
2012-09-28 16:49:08 +02:00
Michael Stahl
b85c349783 gbuild: replace direct gb_STDLIBS use with ...
... new gb_LinkTarget_add_standard_system_libs

Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28 16:49:06 +02:00
Michael Stahl
2e677c3981 gbuild: split uwinapi out of gb_STDLIBS
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28 16:49:05 +02:00
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
Matúš Kukan
d93fdcf391 add more component prefixes
Change-Id: I3afe59a6326b9e5cb26c39a82d7aabdb05cc2b7e
2012-09-01 21:06:11 +02:00
Stephan Bergmann
5df29c9fdc -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I1f9341d1b70b9b996f3b344433e949647e12edf6
2012-08-14 10:39:12 +02:00
Andras Timar
c5ce5b73b9 Fix windows build where min and max are macros
Change-Id: I265e0fddc12a40cff0b6a6172bfca96eda0842ec
2012-08-08 10:27:00 +02:00
Ivan Timofeev
10f08195b8 -Werror=format
Change-Id: If468ca444865f81a7adeabb72ecb6d8647f6dde0
2012-07-24 21:26:48 +04:00
Michael Stahl
5a243f1409 hwpfilter: improve text import and error handling
Change-Id: Ib74b96200c9d57f55fc0d32b638601c64e7eb6fe
2012-07-24 11:37:41 +02:00
David Tardon
2d58399e50 coverity: idx == 0x1F cannot be true
Change-Id: I6b0cf900003beb9931d6acad229166e44cc7f0bc
2012-07-03 17:47:19 +02:00
Michael Meeks
fdda178d88 targetted improvement of UNO API includes / usage 2012-07-02 14:43:34 +01:00
Julien Nabet
6b11a18071 Some cppcheck cleaning
Change-Id: I14cab3dfd26ac1568feef902b566873cecf049b9
2012-06-30 18:21:26 +02:00
Michael Meeks
ae9dae720b re-base on ALv2 code. Includes:
Use ksc5601.h header from XFree86 Project Inc. Patch contributed by
    Oliver-Rainer Wittmann with minor changes from Pedro Giffuni
    http://svn.apache.org/viewvc?view=revision&revision=1179296
2012-06-22 16:31:32 +01:00
Michael Meeks
ecf943247f re-base on ALv2 code.
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Norbert Thiebaud
76f63f4c9b targeted string re-work
Change-Id: Ic24e9b98b1c6e868061caa911865ce2267bdcfaf
2012-05-31 19:18:45 -05:00
Bjoern Michaelsen
b1c3e8ae28 make gbuild the default assumption of build.pl
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file

Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29 03:50:46 +02:00
David Tardon
f133b54532 WaE: "isnan" redefined 2012-04-16 20:23:08 +02:00
Caolán McNamara
3934efe28c sigh, need a 64bit zlib too on windows, reverting 2012-04-13 14:06:55 +01:00
Caolán McNamara
452af5f452 gbuildize internal zlib
and stick headers into the solver in the same hierarchy as is "standard"
so we don't have to patch so much, similiarly rename to libz
2012-04-13 13:15:25 +01:00
Thomas Arnhold
30fb54aca3 remove formfeeds 2012-04-12 12:35:48 +02:00
Szabolcs Dezsi
e4fb171d3a Replaced a few equal calls with == 2012-04-08 19:24:00 +02:00
David Tardon
5fcacd8408 rename gb_CppunitTest_uses_ure 2012-04-08 15:17:45 +02:00
David Tardon
fbbb833dda compile- and run-time use of UNO must be split
There are unit tests that do not use URE, e.g., in cppuhelper.

This reverts commit 33e9f3d3d6.

Conflicts:

	sot/CppunitTest_sot_test_sot.mk
	svl/CppunitTest_svl_urihelper.mk
2012-04-08 15:12:18 +02:00
David Tardon
cd2c512f9f clean up 2012-04-08 14:53:10 +02:00
David Tardon
e3cf2b45f7 simplify use of configuration from unit tests 2012-04-08 14:53:09 +02:00
David Tardon
e5f16b8d3e always use --protector for UNO tests 2012-04-08 14:53:08 +02:00
David Tardon
33e9f3d3d6 drop uses_ure 2012-04-08 14:53:08 +02:00
David Tardon
fe209e78db let use_api handle the use of type rdbs at runtime
Or is there any use case where we would need to use UNO API headers, but
not require the appropriate type database at runtime?
2012-04-08 14:53:07 +02:00
Michael Stahl
c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +02:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Luboš Luňák
802518c59a always pass --headless to cppunits
They should not need any actual UI anyway, and most of them already
pass the option manually.
http://lists.freedesktop.org/archives/libreoffice/2012-March/029109.html
2012-04-02 12:26:20 +02:00
Luboš Luňák
61d6d08667 --headless for hwpfilter test
Otherwise there's a build dependency missing (and it's apparently
not needed anyway).
2012-03-29 16:52:42 +02:00
Tor Lillqvist
2a1171929e chmod -x 2012-03-21 13:00:45 +02:00
Luboš Luňák
4dd7a3f12e write unsigned char[] contents as numbers rather than string literal
The real reason for this change is that clang aborts with a fatal
error in backend (http://llvm.org/bugs/show_bug.cgi?id=12226),
but I'm not sure whether this was a correct construct in the first
place anyway. The contents are above 0x7f, which may be outside
the range of plain char, if it is signed, so maybe the result is undefined.
I don't want to spend the time checking in the spec,
but this new variant is technically the same and it is safe.
2012-03-10 16:39:22 +01:00
Luboš Luňák
80e4b4e5c6 mark static data that is const as const 2012-03-10 16:39:22 +01:00
Caolán McNamara
78157d7634 WaE: calling delete on the wrong thing 2012-03-05 09:36:40 +00:00
Szabolcs Dezsi
db74590950 Kill LinkedList in hwpfilter 2012-03-05 10:44:54 +02:00
Julien Nabet
5122196acc Avoid temporary rtl::OUString 2012-03-03 15:05:28 +01:00
Tor Lillqvist
b1b3008bc8 WaE: function 'yyinput' is not needed and will not be emitted 2012-03-01 22:27:12 +02:00