Commit graph

2096 commits

Author SHA1 Message Date
Caolán McNamara
d05f4d3a7e convert inlines as well 2011-11-23 10:10:08 +00:00
Caolán McNamara
20153742d2 add a stripStart, can replace EraseLeadingChars 2011-11-23 10:10:08 +00:00
Caolán McNamara
4a06a42de4 want to match here, not check for equality 2011-11-22 12:50:14 +00:00
Stephan Bergmann
5de43a57cd Avoid rtl::OString::copy(getLength() + 1). 2011-11-22 12:15:39 +01:00
Stephan Bergmann
70a6b9ffbd New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.
* New SAL_INFO..., SAL_WARN... macros.
* New SAL_STREAM supersedes OSL_FORMAT.
* oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now).
* TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site
  cleanup).
* Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet
  addressed.
* Some replacements tools String -> rtl::OUString.
2011-11-22 09:41:47 +01:00
Caolán McNamara
2a2fbbecc0 ByteString->rtl::OString 2011-11-21 15:54:39 +00:00
Caolán McNamara
e4d90aef94 ditch last ENABLE_STRING_STREAM_OPERATORS 2011-11-21 09:17:11 +00:00
Caolán McNamara
445065d113 ByteString->rtl::OString[Buffer] 2011-11-19 21:11:03 +00:00
Caolán McNamara
4e7fff380a remove ENABLE_BYTESTRING_STREAM_OPERATORS 2011-11-19 21:11:02 +00:00
Caolán McNamara
ca02d72808 remove [Byte]String::EraseAllChars 2011-11-19 21:11:02 +00:00
Norbert Thiebaud
993f9f7c89 Re-do Removed tools/dynarray.hxx , now that binfitler is ready for it 2011-11-19 12:43:33 -06:00
Norbert Thiebaud
6db8af3e8b Revert "Removed tools/dynarray.hxx", break binfilter
This reverts commit 89a783cde0.
2011-11-19 10:14:18 -06:00
August Sodora
89a783cde0 Removed tools/dynarray.hxx 2011-11-18 23:24:34 -05:00
Caolán McNamara
c4927a1b76 ByteString->rtl::OString[Buffer] 2011-11-17 23:04:10 +00:00
Caolán McNamara
f24268cae3 we can drop unqid.hxx entirely post move to binfilter 2011-11-16 13:24:06 +00: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
f8beaced3d remove dodgy const_casts 2011-11-14 14:43:31 +00:00
Caolán McNamara
74500c21a4 ByteString->rtl::OString 2011-11-14 07:36:02 +00:00
Tor Lillqvist
e68a920f72 solenv/inc/Xp31 is crack 2011-11-10 13:45:04 +02:00
Tor Lillqvist
97722c8215 Drop unnecessary inclusions of <sal/main.h> 2011-11-05 12:11:16 +02:00
Markus Mohrhard
125aa32e71 we need to assign this value also for non unix platforms (fdo#40801) 2011-11-01 01:00:24 +01:00
Ivan Timofeev
a47a5ed0a5 always explicitly handle empty string of ranges 2011-10-24 00:16:18 +04:00
Ivan Timofeev
3d5caa7ce3 StringRangeEnumerator cleanup
* do not allow default unbounded min and max, syntax of the input string
  requires them
* simplify logic, remove unused methods, make the class immutable, actualize
  documentation
2011-10-24 00:10:33 +04:00
Matúš Kukan
c77a9254dd no need for SRCDIR parameter here 2011-10-23 13:20:29 +02:00
Ivan Timofeev
d72701bba6 bye-bye old range parser 2011-10-20 23:11:17 +04:00
Stephan Bergmann
0a158b7800 Undo basis/brand split: merge basis program/resource/ into brand program/resource/. 2011-10-19 12:23:01 +02:00
Ivan Timofeev
aaa6e59711 treat "-" as entire range 2011-10-12 17:08:25 +04:00
Caolán McNamara
e8bbb76827 ensure correct export size type in stream operation 2011-10-10 08:51:15 +01:00
Caolán McNamara
2d25e3c354 tidy this a little bit 2011-10-10 08:51:15 +01:00
Ivan Timofeev
9cbc1c3253 no need to return size_t instead of sal_Int32 2011-10-08 22:24:21 +04:00
Ivan Timofeev
6dcfa9d2ae allow parsing of joined ranges
i.e. "1-4-2" means "1,2,3,4,3,2" now. This is for eliminating ambiguity,
it is doubtful whether users will find this useful.
2011-10-08 22:20:42 +04:00
Stephan Bergmann
29e11dd13e Improved exception reporting. 2011-10-07 22:06:28 +02:00
Pierre-André Jacquod
82e6e14478 cppcheck reduce scope of var in tools/.. table.cxx 2011-10-07 15:57:35 +02:00
Ivan Timofeev
3c7d3dba70 fix doubling of range in StringRangeEnumerator 2011-10-06 19:07:43 +04:00
Radek Doulik
4e6ee8000a fix construction of ARC polygon in case the ellipse width != height 2011-10-05 17:40:21 +02:00
Bjoern Michaelsen
e94a19f3e0 simplfy dmake to gbuild bridgefile 2011-10-05 00:31:50 +02:00
Tor Lillqvist
c2e8470f17 WaE: 'argument' : conversion from 'sal_Int32' to 'sal_uInt16'
Just disable the warning then instead to avoid ugly casts.
2011-10-04 11:27:18 +03:00
Tor Lillqvist
588a0d58d2 Silly attempts at humour not appreciated 2011-10-04 11:07:46 +03:00
Caolán McNamara
04723baf6e callcatcher: various unused methods 2011-10-04 09:00:05 +01:00
Tor Lillqvist
bee695a32d WaE: potentially uninitialized local variable 'n' used 2011-10-04 10:27:04 +03:00
Tor Lillqvist
c963747ed8 WaE: unreferenced formal parameter 2011-10-04 10:27:02 +03:00
Tor Lillqvist
9a113a7d93 WaE: unreachable code, we always return in preceding code 2011-10-04 10:27:00 +03:00
Tor Lillqvist
b558502c96 WaE: conversion from 'sal_Int32' to 'sal_uInt16', possible loss of data 2011-10-04 10:26:58 +03:00
Takeshi Abe
6612ea7d9b definition of ALPHA is no longer available for DEC Alpha
proper ifdef for DEC Alpha should be covered with AXP
2011-10-03 01:46:06 +09:00
Norbert Thiebaud
87e950a247 add missing include to build urlobj test fixture 2011-10-01 16:13:32 -05:00
Cédric Bosdonnat
a43730b4df Cmis: Fixed the installation of the new UCP provider and libcmis 2011-10-01 16:04:38 +02:00
Cédric Bosdonnat
246ed4227a Added cmis+atom:// scheme to the tools urlobj.
Found out a unexecuted cppunit test for the urlobj, fixed it and added a
test for the cmis+atom:// URLs
2011-10-01 16:04:18 +02:00
Andras Timar
05239e2463 OSL_TRACE: Remove trailing newlines 2011-09-29 16:02:13 +02:00
Stephan Bergmann
3482b33aee Added #include "unotest/oustringostreaminserter.hxx" back in (will be needed once rtl::OUString::operator sal_Unicode const *() is removed); made tools explicitly depend on unotest. 2011-09-29 11:09:15 +02:00
Caolán McNamara
91f436f58a we're not using this header here 2011-09-29 09:35:01 +01:00