summaryrefslogtreecommitdiff
path: root/svl
AgeCommit message (Collapse)Author
2011-11-25make gbuild makefiles run independant of pwd againBjoern Michaelsen
2011-11-23remove various EraseLeadingAndTrailingCharsCaolán McNamara
2011-11-23Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros.Stephan Bergmann
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-23use cased month names only if no hard coded literal string followsEike Rathke
2011-11-22scan genitive and partitive month names only if they differEike Rathke
2011-11-22added partitive case month namesEike Rathke
* Locale data: * nominative (nouns) month names always given in <MonthsOfYear> element * optional genitive case month names in <GenitiveMonths> element, following the <MonthsOfYear> element; if not given take nominative names * optional partitive case month names in <PartitiveMonths> element, following the <GenitiveMonths> element, or following the <MonthsOfYear> element if the <GenitiveMonths> element is not present; if not given take genitive case names, or nominative if genitive names aren't defined * currently known partitive case matters in Finnish locales * Rules for use of nominative / genitive / partitive case month names in number formatter: * no day of month (D or DD) present in format code => MMM or MMMM display nominative month name (noun) * day of month (D or DD) after MMM or MMMM => genitive name * no genitive names defined => nominative names * day of month (D or DD) before MMM or MMMM => partitive name * no partitive names defined => genitive names * no genitive names defined => nominative names
2011-11-22New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.Stephan Bergmann
* 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-19remove [Byte]String::EraseAllCharsCaolán McNamara
2011-11-19add narrow (one letter) month namesEike Rathke
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-19use possessive genitive case month names in number formatterEike Rathke
* Switching between noun and genitive case month names is very simply done: * If the format contains a day of month (D or DD) code, genitive case is used. * If there is no day of month, the month noun is used. For example for a standalone MMMM code or a combined MMMM-YYYY code. * For input both, noun and genitive case, forms are recognized.
2011-11-19use new possessive genitive case month names locale data APIEike Rathke
2011-11-17add a StringUtils-alike remove (can replace EraseAllChars)Caolán McNamara
2011-11-16tweak gbuild standart Makefile to allow partial build in unsourced envNorbert Thiebaud
This allow to run make in a module wihtout the need to source Env.Host.sh.
2011-11-14Removed comphelper -> unotools processfactory.hxx duplication.Stephan Bergmann
2011-11-14can ditch the ByteStringPtr typedef nowCaolán McNamara
2011-11-11Heavily simplified utl::ConfigManager.Stephan Bergmann
2011-11-11Removed several String <-> OUString conversion in fsstor.Julien Chaffraix
2011-11-10change the code a bit to make it a bit more clearMarkus Mohrhard
this should do nearly the same as the old code
2011-11-09Removed SvStringsSortDtorDaisuke Nishino
2011-11-08fdo#37925: don't show -0 as number in a cellMarkus Mohrhard
2011-11-07don't need typename outside a templateCaolán McNamara
2011-11-07Get rid of SvStringsSortDaisuke Nishino
2011-11-04Support rtl::OUString reference here as well.Kohei Yoshida
2011-11-01eliminate SvUShorts typeDaniel Di Marco
2011-10-28drop some unused codeCaolán McNamara
2011-10-26Surely every target processor know how to do logical shift left efficientlyNorbert Thiebaud
2011-10-24Undo basis/brand split: Move SDK and ure-link, remove OOO_BASE_DIR and ↵Stephan Bergmann
BaseInstallation.
2011-10-24meh, fix build failureCaolán McNamara
2011-10-24don't leak contenttype registrationsCaolán McNamara
2011-10-18Some fixes for "clang version 3.1 (trunk 142234)" (with --enable-werror, on ↵Stephan Bergmann
Linux x86_64).
2011-10-18Align a rebellious lineLior Kaplan
2011-10-18Compact the enumeration spaces from previous commitLior Kaplan
2011-10-18Remove .chaos file types, except 3 which are in use in the codeLior Kaplan
2011-10-07cppcheck scope reduction in svl/..zforlist.cxxPierre-André Jacquod
2011-10-07cppcheck scope reduction in svl/szitem.cxxPierre-André Jacquod
2011-10-05simplfy dmake to gbuild bridgefileBjoern Michaelsen
2011-10-04SvByteStrings can go nowCaolán McNamara
2011-10-04WaE: '==' : signed/unsigned mismatchTor Lillqvist
2011-10-04WaE: unreachable codeTor Lillqvist
2011-10-04WaE: '==' : unsafe mix of type 'bool' and type 'sal_Bool' in operationTor Lillqvist
2011-10-04callcatcher: various unused methodsCaolán McNamara
2011-10-04we do not need the counter nowDavid Tardon
2011-10-04Get rid of SvNumsMaciej Rumianowski
SvNums is a define for SvUShort and SvULong, both are replaced with std::vector
2011-10-04Finally remove SvULongsMaciej Rumianowski
In all places SvULongs have been replaced with std::vector, now can be totally removed.
2011-10-03more uselessness in msvcCaolán McNamara
2011-10-03revert this, reported windows bustageCaolán McNamara
2011-10-03callcatcher: update listCaolán McNamara
2011-10-02callcatcher: various unused methodsCaolán McNamara
2011-09-30Cleaned up svldata.Stephan Bergmann
2011-09-30temp fix to issues stemming from 979e2c8f8b9325a5c75bfc1f388aa8f69b988d2cNorbert Thiebaud