summaryrefslogtreecommitdiff
path: root/sal/inc/rtl/ustring.h
AgeCommit message (Collapse)Author
2013-02-25fdo#60724 - change 'charcter' to 'character'sadam36
Changed all occurrences of 'charcter' found by git grep. All of them were used in comments only, so it should not break anything. Change-Id: Ief2c00d929ae7972c55a4920fc0eaa8d6b18ab82 Reviewed-on: https://gerrit.libreoffice.org/2372 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-02-04add OUString::toUInt64()David Ostrovsky
Change-Id: I2051e161219d424d2c2b69faf6f939cfe21fa5f7 Reviewed-on: https://gerrit.libreoffice.org/1980 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-28cleanups for number() string functionLuboš Luňák
- add sal_uInt64 valueOf helper to handle its full value range - group deprecated valueOf() together - forward to the number() taking the largest type instead of repeating the same code every time - various doc improvements: - add missing @since - do not refer to non-existent number() overloads in docs - "use number" - "huh, of course I use a number?" - "code your own" - my own function? why? - + or += operators are not, strictly speaking, replacements for valueOf() Change-Id: Ib138a06c4ac4365cfffc534e6ab115d55180a70d
2012-12-18fdo#58473 - fix transliteration crasher caused by writing const string.Michael Meeks
2012-12-06mvoe rtl_(u)string_alloc to salLuboš Luňák
No point in hidding something useful like this in some helper lib. Change-Id: I7332d7f6bd428378cd19e7e95ad130771a541140
2012-12-06rtl_(u)String_ensureCapacityLuboš Luňák
Ensure there will be enough extra space in a string, to be used for string appending. A bit like rtl_(u)String_newConcat(), but without the function actually appending anything. Unlike the stringbuffer variant this does not allocate any extra. Change-Id: Ic6f84bf014a713f9912c81d8f1405c593978822d
2012-11-21re-base on ALv2 code. Includes:Michael Meeks
Patch contributed by Herbert Duerr: #i118662# remove berkeleyDB from module xmlhelp (author=orwitt) http://svn.apache.org/viewvc?view=revision&revision=1213188 #i119141# remove ISCII converter for now http://svn.apache.org/viewvc?view=revision&revision=1306246 make exceptions for cppunittester verbose http://svn.apache.org/viewvc?view=revision&revision=1174831 Patches contributed by Pedro Giffuni: Avoid some uses of non portable #!/bin/bash in shell scripts. http://svn.apache.org/viewvc?view=revision&revision=1235297 Patch contributed by Oliver-Rainer Wittmann 88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 drop OS/2 code, remove in-line assembler ARM atomics, and obsolete armarch header.
2012-11-20sal, cppuhelper, udkapi, offapi: s/@since 3.7/@since 4.0/Michael Stahl
Change-Id: Iefbe31af8d6ec421c6006423b6ee3a6375e3d453
2012-10-09Add a 'fromIndex' parameter to OUString::replaceAllNoel Grandin
This method will be needed for forthcoming String->OUStringBuffer conversions. Change-Id: I001099baaca5cd402aebcd15c031d9060286a8f9
2012-10-02update string copy semantics to be undefined in a non-crashing way.Michael Meeks
Change-Id: I03bb4db5931932280e368012cbaee6bef2854dd6
2012-09-15Include saldllapi.h explicitly where neededStephan Bergmann
Change-Id: I7ba421479cd332e059ed9da1c6090e2df420347e
2012-04-06string literal O(U)StringBuffer ctors too, after allLuboš Luňák
2012-03-12@since 3.6 -> @since LibreOffice 3.6Luboš Luňák
To help distinguish between OOo derivatives.
2012-03-12prevent using RTL_CONSTASCII_* macros with string literal functionsLuboš Luňák
This is to prevent things like by mistake doing match( RTL_CONSTASCII_STRINGPARAM("foo")), which will call match(const char(&)[N], int=0), where the second argument is the fromIndex argument.
2012-03-12rtl_uString_newFromLiteral() for string literalsLuboš Luňák
Drop the recently introduced rtl_uString_newFromAscii_WithLength() and replace it with this one. The name fits better and it'll be also a distinct function that specifically includes embedded \0's (because that's what OUString supports and if a string literal explicitly includes it, it makes sense to copy it as such).
2012-03-05rtl_uString_newFromAscii_WithLength() and use it in OUStringLuboš Luňák
2012-02-15Various string function clean upStephan Bergmann
Added: * rtl::OString::matchL * rtl::OString::endsWith * rtl::OString::endsWithL * rtl::OString::indexOfL * rtl::OString::replaceFirst * rtl::OString::replaceAll * rtl::OString::getToken * rtl::OUString::endsWith * rtl::OUString::replaceFirst * rtl::OUString::replaceFirstAsciiL * rtl::OUString::replaceFirstAsciiLAsciiL * rtl::OUString::replaceAll * rtl::OUString::replaceAllAsciiL * rtl::OUString::replaceAllAsciiLAsciiL * rtl::OUString::getToken plus underlying C functions where necessary Deprecated: * comphelper::string::remove * comphelper::string::getToken Removed: * comphelper::string::searchAndReplaceAsciiL * comphelper::string::searchAndReplaceAllAsciiWithAscii * comphelper::string::searchAndReplaceAsciiI * comphelper::string::replace * comphelper::string::matchL * comphelper::string::matchIgnoreAsciiCaseL * comphelper::string::indexOfL Also fixed some apparent misuses of RTL_CONSTASCII_USTRINGPARAM -> RTL_CONSTASCII_STRINGPARAM.
2012-01-20kill some doxygen warningsNorbert Thiebaud
2012-01-05Switch from autodoc to doxygen for SDK C++ documentation.Stephan Bergmann
* New build prerequisite doxygen (controllable via --with-doxygen). * Adapted various headers to slightly different doxygen documentation syntax, but much clean up still remains to be done (i.e., warnings emitted by doxygen fixed).
2011-12-19sal: add visibility symbolsMatúš Kukan
2011-04-18Remove OS/2 support.Francois Tigeot
2011-02-14move this into comphelperCaolán McNamara
2011-02-10Add compareToNumeric to OUString & CoSébastien Le Ray
2010-12-08Use c++0x features to detect misuse of SAL_N_ELEMENTS and CONSTASCIICaolán McNamara
2010-10-27add modelines to .h and .c files as wellCaolán McNamara
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2008-04-10INTEGRATION: CWS changefileheader (1.22.8); FILE MERGEDRüdiger Timm
2008/04/01 12:34:05 thb 1.22.8.2: #i85898# Stripping all external header guards 2008/03/31 13:23:39 rt 1.22.8.1: #i87441# Change license header to LPGL v3.
2008-03-18INTEGRATION: CWS sb83 (1.21.44); FILE MERGEDVladimir Glazounov
2007/12/18 15:24:57 sb 1.21.44.1: #i84200# New rtl_convertStringToUString.
2007-09-20INTEGRATION: CWS os2port01 (1.17.64); FILE MERGEDVladimir Glazounov
2007/09/05 08:36:48 obr 1.17.64.3: RESYNC: (1.19-1.20); FILE MERGED 2007/08/09 08:53:05 obr 1.17.64.2: RESYNC: (1.17-1.19); FILE MERGED 2006/11/29 14:26:30 ydario 1.17.64.1: Initial OS/2 import.
2007-07-26INTEGRATION: CWS i18n31 (1.18.22); FILE MERGEDRüdiger Timm
2007/07/03 07:16:29 sb 1.18.22.3: #i76869# Also added rtl_uString_newFromCodePoints. 2007/06/01 11:09:03 sb 1.18.22.2: #i76869# Changed postIncrementCodePoints to incrementCodePoints which is pre or post depending on sign. 2007/05/31 12:01:02 sb 1.18.22.1: #i76869# Added rtl_uString_iterateCodePoints.
2007-06-27INTEGRATION: CWS sb70 (1.18.4); FILE MERGEDJens-Heiner Rechtien
2007/06/05 14:03:28 sb 1.18.4.1: #i76106# Additional rtl::OUString ASCII functions.
2007-04-03INTEGRATION: CWS salstrintern (1.17.94); FILE MERGEDRüdiger Timm
2007/03/12 10:27:28 mmeeks 1.17.94.6: fix sb quibbling. 2007/02/08 17:05:25 mmeeks 1.17.94.5: more comments from Stefan. 2007/02/08 15:19:19 mmeeks 1.17.94.4: Issue number: i#73909# Submitted by: mmeeks More cleanups from Stefan, remove debugging getenv after measurement. 2007/02/07 14:45:34 mmeeks 1.17.94.3: Issue number: i#73909# Submitted by: mmeeks Reviewed by: sb A load of fixes for Stefan, thanks for the review. 2007/01/26 15:07:02 mmeeks 1.17.94.2: Issue number: i#73908# Submitted by: mmeeks Add 'intern' regression tests, add new RTL_CONSTASCII foo static string magic. 2007/01/25 17:56:36 mmeeks 1.17.94.1: Start of OUString interning.
2006-06-20INTEGRATION: CWS warnings01 (1.15.50); FILE MERGEDJens-Heiner Rechtien
2005/11/07 12:11:26 sb 1.15.50.3: #i53898# Made code warning-free (additional -W switches for GCC). 2005/09/23 00:45:44 sb 1.15.50.2: RESYNC: (1.15-1.16); FILE MERGED 2005/09/20 12:57:16 sb 1.15.50.1: #i53898# Globally disable problematic warnings.
2005-09-08INTEGRATION: CWS ooo19126 (1.15.54); FILE MERGEDRüdiger Timm
2005/09/05 17:44:13 rt 1.15.54.1: #i54170# Change license header: remove SISSL
2005-03-18INTEGRATION: CWS xmlperf02 (1.14.10); FILE MERGEDKurt Zenker
2005/02/16 11:36:10 mib 1.14.10.1: #119759#: Performance improvement for equalsAsciiL
2005-01-18INTEGRATION: CWS sb28 (1.13.50); FILE MERGEDKurt Zenker
2005/01/07 10:25:49 sb 1.13.50.2: #i32170# Imnproved documentation. 2005/01/05 14:09:13 sb 1.13.50.1: #i32170# Added documentation.
2004-09-20INTEGRATION: CWS ause011 (1.12.26); FILE MERGEDRüdiger Timm
2004/08/18 11:47:52 sb 1.12.26.1: #i33153# Made getToken more robust.
2004-06-17INTEGRATION: CWS ooo64bit01 (1.9.42); FILE MERGEDRüdiger Timm
2004/05/02 16:29:42 svesik 1.9.42.2: RESYNC: (1.9-1.11); FILE MERGED 2004/03/16 23:54:11 fa 1.9.42.1: Merge cws_srx644_port64bit, other misc fixes
2004-04-14INTEGRATION: CWS unopkg1 (1.9.26); FILE MERGEDJens-Heiner Rechtien
2004/02/09 17:18:35 sb 1.9.26.1: #i25176# Added rtl::OUString::endsWithIgnoreAsciiCaseAsciiL and support.
2004-03-30INTEGRATION: CWS sb14 (1.9.38); FILE MERGEDRüdiger Timm
2004/03/15 09:09:26 sb 1.9.38.2: #i21150# Improved documentation. 2004/03/11 14:41:30 sb 1.9.38.1: #i21150# rtl_string2UString and OUString::OUString(sal_Char const *, sal_Int32, rtl_TextEncoding, sal_uInt32) handle out-of-memory conditions.
2003-12-01INTEGRATION: CWS ooo20031110 (1.8.86); FILE MERGEDRüdiger Timm
2003/11/09 08:51:38 waratah 1.8.86.1: #i1828# change function definition to const, removes warnings and does not affect functionality
2003-03-26MWS_SRX644: migrate branch mws_srx644 -> HEADJens-Heiner Rechtien
2002-03-08#96567# remove internal tag for rtl_uStringJuergen Schmidt
2001-10-30#88337# Documentation.Stephan Bergmann
2001-07-27#85218# - Add reverseCompare and shortenenedCompareIgnoreAsciiCaseth
2001-05-09rework APIth
2001-04-26removing leading stars in documentation stringsJuergen Schmidt
2001-03-16rework/to.../better documentation/SAL_THROW_EXTERN_Cth
2000-09-18initial importJens-Heiner Rechtien