Commit graph

305 commits

Author SHA1 Message Date
Julien Nabet
67d01fb5d4 Avoid temporary rtl::OUString 2012-02-26 14:58:33 +01:00
Tor Lillqvist
b57a1f2f4d Reduce verbiage slightly 2012-02-16 15:25:38 +02:00
Tor Lillqvist
a1fe0a772f Use the same simple lo_main() on iOS as on Android
Let's do the iOS specific stuff in separate main() source
file(s). Don't attempt to build complete iOS programs using normal
LibreOffice mechanisms, it will work for only the very lowest level
unit tests anyway, because of static linking and the circularish
UNO/URE/bootstrap/whatnot (run-time) dependencies between different
parts of the code.

We thus can't build the various iOS-specific *_cppunittester_all unit
test executables any more. Corresponding unit tests (and more complex
ones) for iOS will have to be done in a different way.
2012-02-16 15:25:37 +02:00
Alexander Bergmann
99b2adf721 Removed unused code 2012-02-10 14:20:52 +00:00
Takeshi Abe
e7e0455b02 Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("...")) to equalsAscii("...") 2012-02-10 01:59:26 +09:00
Caolán McNamara
849a2471bd update unused list 2012-02-08 09:12:27 +00:00
Josh Heidenreich
8b9615be88 Added (and improved) READMEs for modules which used to be in libs-gui 2012-02-08 07:46:57 +01:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
Stephan Bergmann
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones.  To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
Caolán McNamara
d3253a0efd remove unimplemented methods from headers 2012-01-16 22:46:58 +00:00
Alexander Bergmann
0d7e73ac44 Removing unused code 2012-01-16 22:46:57 +00:00
Michael Meeks
3391bd05cc cleanup: remove unused prototype too 2012-01-16 10:20:37 +00:00
Alexander Bergmann
f1e54cdd36 sax_fastparser::FastSerializerHelper::write(float) 2012-01-16 10:18:55 +00:00
Olivier Hallot
fffd541c3e Fix for fdo43460 Part XXIX getLength() to isEmpty()
Part XXIX
Modules
sax, scaddins, sccomp, scripting
2012-01-05 22:05:45 -02:00
Caolán McNamara
f80d462331 callcatcher: drop some unused methods 2012-01-05 09:18:15 +00:00
Matúš Kukan
4572e00ec3 sax: this had to be accidentally added when merging 2012-01-04 23:06:57 +01:00
Takeshi Abe
c9a54f532e catch exception by constant reference 2011-12-24 01:55:56 +09:00
Bjoern Michaelsen
2acd8fbac9 in modules, when we have a env we are in stage gbuild 2011-12-07 15:53:06 +01:00
Eike Rathke
a97a5310f9 we are W3C XMLSchema here, not ISO 8601 2011-12-01 23:00:37 +01:00
Eike Rathke
7613359985 handle dates with year < 1000
* Read dates with years consisting of less than 4 digits.
  ISO 8601 specifies that years are to be written with a minimum of 4 digits.
  However, be lenient in what we accept.
* Write years < 1000 with leading zeros to comply with ISO 8601 YYYY.
2011-11-30 02:05:25 +01:00
Bjoern Michaelsen
d73e574d8a move reconfigure into gbuild 2011-11-29 17:25:14 +01:00
Radek Doulik
adf84183d4 fix conversions from cm 2011-11-28 18:25:55 +01:00
Radek Doulik
f970963fd7 added conversion from MeasureUnit::CM 2011-11-28 17:51:02 +01:00
Bjoern Michaelsen
f2f0dbd273 make gbuild makefiles run independant of pwd again 2011-11-25 12:04:40 +01:00
Michael Stahl
d63d64c4de empty a bunch of d.lst files 2011-11-21 22:46:17 +01:00
Norbert Thiebaud
0ea8c014ef tweak gbuild standart Makefile to allow partial build in unsourced env
This allow to run make in a module wihtout the need to source
Env.Host.sh.
2011-11-16 06:18:54 -06:00
Caolán McNamara
ca85f280e2 Fix overflow in smoketest, promotion from sal_Int32 to sal_Int64 doesn't happen before assign 2011-10-15 12:18:48 +01:00
Michael Stahl
8666469d7b #i108468#: clean up xmluconv code duplication, measured approach:
modify sax::Converter::convertMeasure to use sal_Int64 instead of BigInt:
  should be sufficient, since the largest number is SAL_INT32_MAX * 10^7.
 remove duplicate methods from SvXMLUnitConverter:
  convertMeasurePx, convertMeasure (static variants)
 remove entirely duplicative class SvXMLExportHelper:
  GetConversionFactor, GetUnitFromString, AddLength
 change SvXMLUnitConverter interface from MapUnit to css::util::MeasureUnit.
 change SvXMLExport constructor params from MapUnit to css::util::MeasureUnit.
 rename some methods to turn compiler into merge conflict detector :)
2011-10-11 17:57:01 +02:00
Michael Stahl
ae3e2f1700 #i108468#: clean up xmluconv code duplication, DateTime edition:
remove duplicate methods from SvXMLUnitConverter:
  convertTime (all variants), convertDateTime (DateTime variants),
  convertTimeDuration.
 move convertAny from SvXMLUnitConverter to sax::converter.
2011-10-11 17:57:00 +02:00
Michael Stahl
3ca2bef768 #i108468#: clean up xmluconv code duplication, part 1:
move convertNumber64 from SvXMLUnitConverter to sax::converter.
 remove duplicate methods from SvXMLUnitConverter:
  convertBool, convertPercent, convertColor, convertNumber, convertDouble,
  indexOfComma, encodeBase64, decodeBase64, decodeBase64SomeChars,
  clearUndefinedChars
2011-10-11 17:57:00 +02:00
Michael Stahl
02c32e0f0e partially revert 849a713ffd 2011-10-11 17:56:59 +02:00
Bjoern Michaelsen
e94a19f3e0 simplfy dmake to gbuild bridgefile 2011-10-05 00:31:50 +02:00
Tor Lillqvist
cf27d95a6d WaE: conversion from 'unsigned int' to 'sal_Int16', possible loss of data 2011-10-03 15:04:31 +03: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
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
Stephan Bergmann
9cff65d6dd Removed leftover makefile.mk after gbuildization. 2011-09-16 11:25:22 +02:00
Stephan Bergmann
d996328cd5 sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed out a6913c9677c2
For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-09-12 22:47:50 +02:00
Stephan Bergmann
30ad5e9d87 sb140: #i117694# some CppUnit related cleanup 2011-09-12 22:47:48 +02:00
Caolán McNamara
5131e0be31 catch by const reference 2011-08-31 10:43:22 +01:00
Norbert Thiebaud
d64bbd6bf8 detect gmake 3.81 and limit to -j1 unless num-cpu is explicitly set 2011-08-19 18:29:07 -05:00
Matúš Kukan
4b60da5d1d add more component prefixes 2011-08-17 23:51:45 +02:00
Caolán McNamara
2b4d91f5a3 catch by const reference 2011-08-16 09:04:08 +01:00
Takeshi Abe
b2bd33ea25 prefer makefile-gmake-mode to plain makefile-mode 2011-08-10 02:12:48 +09:00
Tor Lillqvist
caddae7ba0 Bypass this for non-desktop OSes 2011-08-08 21:20:55 +03:00
Takeshi Abe
10e14793d5 Emacs modeline compatible with vim's one 2011-08-05 11:04:32 +09:00
Tor Lillqvist
208160fae6 Need to link with sal_textenc, too, now 2011-08-03 17:35:17 +03:00
Tor Lillqvist
0cd996591a Simplify a bit now that gb_Module_add_check_targets is a no-op for iOS anyway 2011-08-03 01:13:39 +03:00
Tor Lillqvist
3f07bf808c Add static sax cppunittester for iOS 2011-08-02 22:25:23 +03:00
Caolán McNamara
67ecd3b1a2 get this building under windows again 2011-08-02 17:20:14 +01:00
Tor Lillqvist
704bc46ae4 Add consistent Emacs and vim mode lines 2011-07-30 23:12:12 +03:00