Commit Graph

2659 Commits

Author SHA1 Message Date
992757cc5e remove pre-compiled header support in gbuild and gbuildified module 2011-11-27 11:49:38 -06:00
736992fca6 Expend abbreviation of min/max, too close to last full stop 2011-11-26 14:37:56 +02:00
2de121e588 sal_Bool->bool 2011-11-26 00:16:58 -05:00
0e8ddddfd2 Change boost::ptr_vector to std::vector 2011-11-26 00:06:05 -05:00
7e9eda006b Fixed spelling: Spechial -> Special 2011-11-25 20:28:33 +00:00
5c76e221fe Some German to English comment translations. 2011-11-25 11:18:19 +00:00
f2f0dbd273 make gbuild makefiles run independant of pwd again 2011-11-25 12:04:40 +01:00
fba911fea7 gsl_getSystemTextEncoding -> osl_getThreadTextEncoding 2011-11-25 09:07:49 +01:00
0c7bff0271 Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros.
A compile time check ensures the common case of streaming just a plain
C-style string literal still produces reasonably compact call-site code.
The format-string variants are still available in sal/detail/log.h, but
only to be used in obsolete osl/diagnose.h etc., and going to be removed
again eventually.
2011-11-23 15:50:58 +01:00
e2de4357f5 catch by const reference 2011-11-23 02:21:44 +09:00
d6a8934eeb Remove no longer necessary "(void) x; // avoid warnings". 2011-11-22 17:03:12 +01:00
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
ee3ad385fb Convert to boost::ptr_vector 2011-11-20 23:44:21 -05:00
7fc462044e Remove unnecessary includes 2011-11-20 23:32:13 -05:00
d71ffc855f Remove unnecessary includes 2011-11-20 23:26:31 -05:00
25ade2f357 Refactor BasicCharClass out from scanner and make it a singleton 2011-11-20 17:21:03 -05:00
7cc258f35b Refactor BasicCharClass out from scanner and make it a singleton 2011-11-20 17:16:35 -05:00
b97774aefa Added regression test for scanner 2011-11-20 00:48:17 -05:00
ca02d72808 remove [Byte]String::EraseAllChars 2011-11-19 21:11:02 +00:00
4b030331f7 add narrow (one letter) month names
While introducing Calendar2 and the XCalendar3 interface anyway, as well the
"one letter" narrow month names sometimes needed in calendaring can be added.
These are not always the first capitalized letters of the months in all
locales, and might even not necessarily be just one character.

Introduces a new struct css::i18n::Calendar2 that is not derived from
css::i18n::Calendar because it uses a new struct css::i18n::CalendarItem2 to
hold the NarrowName elements.

In locale data the elements DaysOfMonth, MonthsOfYear and GenitiveMonths now
have an optional element DefaultNarrowName. If not specified, the first
character of DefaultFullName is taken.

LocaleDataWrapper and CalendarWrapper use and return the new Calendar2 and
sequences of CalendarItem2 structs. Application code adapted.

The number formatter now displays narrow month names (genitive if applicable)
for the MMMMM code, previously it displayed the first 16 bit code point of the
full name (not even utf-16 aware).

Narrow day names currently are not used, except in svtools' Calendar control.
2011-11-19 16:15:22 +01:00
edc4118e18 Fix scanning bug 2011-11-18 22:27:45 -05:00
76f4712c7d Remove uses of pLine in scanner 2011-11-18 21:40:39 -05:00
53a662f530 Refactoring in scanner 2011-11-18 21:40:39 -05:00
2edba12412 sal_Bool to bool 2011-11-18 01:53:30 -05:00
c8f0503a1b Cleanup GetSuffixType in basic scanner 2011-11-18 01:20:36 -05:00
f3098a52b9 Removed unused headers 2011-11-17 23:06:47 -05:00
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
1f2d0c83d0 Put back a method needed by Windows and reformat a bit 2011-11-15 13:19:24 +01:00
e5f5167e84 FDO#39446 [EasyHack] Bloat Removal. Removing uncallable code with callcatcher
Removed most unused symbols in basic/. The remaining symbols (SdxDecimal) are
Windows specific and thus should be double-checked on a Windows machine prior
to removal.
2011-11-15 10:41:35 +00:00
bb8f997864 Stop exporting headers that no one uses outside of basic 2011-11-07 07:21:31 -08:00
f017740f50 StaticIsEnabledBroadcasting can only be true 2011-11-06 22:08:36 +00:00
97f2f76452 callcatcher: update and remove some more unused methods 2011-11-06 22:08:36 +00:00
9b94d385f9 cppcheck: avoid possible null pointer dereferences 2011-11-04 23:01:17 +04:00
8ff1724924 these are files--no trailing / 2011-10-27 16:49:08 +02:00
a5d6dca3e9 Fix for fdo41997 continuation of VCL cleanup 2011-10-25 13:42:00 +01:00
fa2c0b7a64 remove erroneous sfx dependency (thank you Stefan) 2011-10-21 21:14:48 +01:00
548fc5db7c A small cleanup after the String -> OUString conversion. 2011-10-21 18:08:49 +02:00
cbfaa4dd71 Fix Windows build (missing oleout32 library). 2011-10-21 16:56:52 +02:00
556a61a2f8 Added Frac function to calc formulas and BASIC standard library 2011-10-21 15:10:13 +01:00
e31496c938 misc trivial tweaks, and documentation addition 2011-10-21 10:08:58 +01:00
034350a509 String->OUString, with accompanying tests 2011-10-21 10:08:57 +01:00
d1076b1b7f Second attempt at (cross-platform) OSL_FORMAT. 2011-10-08 18:56:48 +02:00
256f192582 Revert "Introduced OSL_FORMAT, adpated some places to it."
Breaks the MSVC build for me: 'osl_detail_formatString' : C linkage
function cannot return C++ class 'rtl::OString'.

This reverts commit 6b900b8bede24c8710d62e9e7cbff613a0b12f9f.
2011-10-08 15:07:06 +03:00
6b900b8bed Introduced OSL_FORMAT, adpated some places to it. 2011-10-08 12:59:09 +02:00
8529da0851 WaE: unreachable code 2011-10-06 10:12:47 +03:00
ba491984f4 WaE: inconsistent dll linkage
basicrt goes into the static app library, so DLL import/export
decorations meaningless.
2011-10-06 10:08:06 +03:00
cce8278eba WaE: unreachable code 2011-10-06 09:36:07 +03:00
e94a19f3e0 simplfy dmake to gbuild bridgefile 2011-10-05 00:31:50 +02:00
ebbfc7ea4a callcatcher: newly unused methods 2011-09-30 12:39:35 +01:00
acc5c0734c callcatcher: remove newly unused code 2011-09-30 09:09:27 +01:00