Age | Commit message (Collapse) | Author |
|
Change-Id: Ie332b3d088547f6bcc676471182420766ecfedca
|
|
This may reduce some degree of dependency on boost.
Done by running a script like:
git grep -l '#include *.boost/scoped_array.hpp.' \
| xargs sed -i -e 's@#include *.boost/scoped_array.hpp.@#include <memory>@'
git grep -l '\(boost::\)\?scoped_array<\([^<>]*\)>' \
| xargs sed -i -e 's/\(boost::\)\?scoped_array<\([^<>]*\)>/std::unique_ptr<\2[]>/'
... and then killing duplicate or unnecessary includes,
while changing manually
m_xOutlineStylesCandidates in xmloff/source/text/txtimp.cxx,
extensions/source/ole/unoconversionutilities.hxx, and
extensions/source/ole/oleobjw.cxx.
Change-Id: I3955ed3ad99b94499a7bd0e6e3a09078771f9bfd
Reviewed-on: https://gerrit.libreoffice.org/16289
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Idea originally from caolan.
Found using the following command:
find . -name *.cxx | xargs /opt/local/bin/grep -zlP '(?m)if\s*\(\s*\w+\s*\)\s*delete\s+\w+\;'
Change-Id: I3338f4e22193a6dfd6219c8c75835224a3392763
|
|
Change-Id: Ifdfb96f77ee23a2aaa7200ecee01f957050a6700
|
|
We could generate that in the number formatter, but as long as we don't ...
Change-Id: Icbbad4215fdf7f3a94f652c27cb2f9b04205b519
|
|
Change-Id: Ib54e48070a6d08722d18259dac2447d3200f84d1
|
|
Change-Id: I2593606f3c82eeb9e04be469c20ffb4132cc4f2c
|
|
Change-Id: I30619fc9f894dda89cd1c84153abcb21214a5fbc
|
|
Change-Id: I5ac712604204c4cbbce4d1ec3a591fb9f158c6f8
|
|
This reverts commit 49d8bc1dcce4c662d85d894567501205f94f678d.
If saxparser changed, specifically if
i18npool/source/localedata/LocaleNode.cxx was modified, we actually want
all .cxx regenerated from locale data and not silently skip all.
Conflicts:
i18npool/CustomTarget_localedata.mk
Change-Id: I3a1b0ed0dab12148ee34653cdfac593001d2ecf7
|
|
Corrected the usual pitfalls; added DateAcceptancePattern and
ScientificFormatskey3 engineering format.
Change-Id: Icecb2e84b6c454378fb5e6d478e1113317e9f3bc
|
|
Change-Id: I5bad1428e96c76f7d295f69e10beea4397d560ff
|
|
Change-Id: I86ff38a90018a2ddfb2db3babf67168b0e6257a5
|
|
Change-Id: Ic91ddc695e9f3c7d8ba4d2bb67c8c84de2a22d5c
|
|
...which had already been conditional on U_ICU_VERSION_MAJOR_NUM > 51, so
452a06b70578eb83067c6c744cd97eebafc4003c "Activate unit test for Lao
breakiterator support" should merely have extended that #if to the function
declaration/definition in response to loplugin:unreffun, not unconditionally
enabled it.
Change-Id: Ia1ce4e99b4a960b1e70cae0a61b0d526b0353d9a
|
|
Change-Id: I5518e40a30bdad53470cc52b59eff04ab6d873d4
|
|
Change-Id: I26abf6d0e102712f76977e0763c4a672434a1325
|
|
In f24fa8efad247bdc296e4724b914f73f01ef2d0b added unit test wasn't
activated. Activating it now reveals that the test is failing. Add
TODOs for the failing asserts.
Change-Id: I6c9f36be3aa84a5d5092d2a3f576af39a15b935e
|
|
Change-Id: I04b2e2aa5fffd570f33b69d8df99b9a88481a3a2
|
|
endPos = nStartPos + 1 may be past the end index
invalid write of size 4
at 0x1CBBA959: com::sun::star::i18n::BreakIterator_th::makeIndex(rtl::OUString const&, int) (breakiterator_th.cxx:139)
by 0x1CBB4AA2: com::sun::star::i18n::BreakIterator_CTL::previousCharacters(rtl::OUString const&, int, com::sun::star::lang::Locale const&, short, int, int&) (breakiterator_ctl.cxx:61)
by 0x1CBB544F: com::sun::star::i18n::BreakIteratorImpl::previousCharacters(rtl::OUString const&, int, com::sun::star::lang::Locale const&, short, int, int&) (breakiteratorImpl.cxx:64)
by 0xA29D29A: ServerFontLayout::setNeedFallback(ImplLayoutArgs&, int, bool) (gcach_layout.cxx:99)
Change-Id: I201f24cb6773b5aa1a81dea90ea906d3d4355053
|
|
The charArray always contains the size of lenArray *before* it is
extended, i.e., the last valid index.
Change-Id: Id1f4e1f2cb55a88ef5339e9d962a3adf4cde91f9
|
|
Change-Id: I6ef4ae530b7fb4e615100803ae6e3972d9b4545f
|
|
Change-Id: I3ba60fd0ff8f4ed0a2683986cec7bdb25a837c18
|
|
for ß, but toTitle only allows RuntimeException, which is our usual
awesomeness
Change-Id: Ib5618a55a369fa5cd1d323f657f0798776828386
|
|
Change-Id: Icf080bb9f21ef75487d43d8a582625be512968c4
Reviewed-on: https://gerrit.libreoffice.org/15630
Tested-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Eike Rathke <erack@redhat.com>
|
|
Thanks to Severo Raz for having indicated this link:
http://es.wikipedia.org/wiki/Wikipedia_discusi%C3%B3n:Manual_de_estilo/N%C3%BAmeros#Costa_Rica
Change-Id: Ib8eef774921922dda0db653d8d8365b5e055e646
|
|
Change-Id: Id6186339739f9573f7527162b5b4d6b5a46f4ebd
|
|
Change-Id: Ic13afb23d282de26eef35c50b95e940b73639cf4
|
|
Change-Id: Id37aa3a416ab826d5363dca4e91f83346460e78d
|
|
Change-Id: I68365a85c9025c0637bc99607e65cbd21f87e1b7
|
|
Change-Id: I172c103fb5033e8346d78479bb1c1ce71fe11e4a
|
|
Change-Id: Id8322661f79f4d500fd59c19fc04b13e82c7126d
Reviewed-on: https://gerrit.libreoffice.org/15540
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
|
|
Change-Id: I615a9ed50141327d672e12db1da500d372ff5232
|
|
... which leads to swapped decimal and group separators in this case,
which were wrong before and generated wrong format codes.
Change-Id: I08a74262f7e1d8453957895beeffa34116cb4577
|
|
... which leads to identical separators in this case.
Change-Id: I061c9f47d052e6e30e3b01d1697dc814e104559d
|
|
... which leads to identical separators in this case.
Change-Id: I85ea0004344532221c9a03b29b2f1ba2e0100ac8
|
|
... which leads to identical separators in this case.
Change-Id: Id886917de66df046481f957ec467e74942d7ba6b
|
|
... and the only difference to es_GT was '-' vs '/' date separator,
which according to
https://ssl.icu-project.org/icu-bin/locexp?d_=en&_=es_NI
should be '/'
Change-Id: I10aeb0849132b3502e73163261060d2e6eaa1c39
|
|
Change-Id: I7236d79877e6761cc97cbc093b83033deb84b417
|
|
For all l10n, add format for engineering format ##0.00E+00
decimal separator adapted
msgid: ScientificFormatskey3 or ScientificFormatskey4 if previous one was
already used
formatindex: 78 (free in most l10n, and near 77 which used as
scientific format for many l10n)
exceptions: ko_KR formatindex=91; th_TH formatindex=88; zh_TW
formatindex=80 (next free value)
Change-Id: I703c1503bdac85386e9994fdd67b00aa6006d992
Reviewed-on: https://gerrit.libreoffice.org/15527
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
|
|
We are lucky, saxparser(expwrap) is only needed to build localedata* libs
which are only runtime dependencies, and can be built *after* libmerged.
So, simplify and move runtime deps to CppunitTest.
This reverts commits 59cea45ec247df1acb691308c940ff97673e4c48
and partially 5e45637568ceefee21fe329a5254881963fecd7a
Change-Id: I1a1fb4a48fd1a22a9b3a48f0eb0f123649c113b0
|
|
Change-Id: I25449c2889231ca9782dea1e8b97969256e83718
|
|
...automatic rewriter fixes
Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee
|
|
Change-Id: Idbd1cdb06315b96dc9f45e34108a1af45229ed2f
Reviewed-on: https://gerrit.libreoffice.org/15484
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Otherwise, with one of type long, we'd need to set that to default as
well, defaults are per type. Visible in a dbgutil build terminal output
when the locale is selected in the number formatter dialog for the first
time:
SvNumberFormatter::ImpAdjustFormatCodeDefault: no long type default
XML locale data FormatElement group of: ScientificFormatskey1
ja-JP requested
ja-JP loaded
SvNumberFormatter::ImpAdjustFormatCodeDefault: no long type default
XML locale data FormatElement group of: ScientificFormatskey1
ko-KR requested
ko-KR loaded
Change-Id: I3e445fff3ca2dd834bd19c609a2ee2f68e704093
|
|
Modify all locale data to set ScientificFormatskey2 (0.00E+00)
as default for scientific format instead of ScientificFormatskey1 (0.00E+000)
Change-Id: Ib8f3d22af82c078468ea70ebae0b078ac55a0003
Reviewed-on: https://gerrit.libreoffice.org/14593
Tested-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Eike Rathke <erack@redhat.com>
|
|
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx>
(and don't make use of it themselves), but many other files happen to depend on
it. Cleaned up some, but something like
grep -FwL sal/log.hxx $(git grep -Elw \
'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF') -- \*.cxx)
shows lots more files that potentially need fixing before the include can be
removed from rtl/string.hxx and rtl/ustring.hxx.
Change-Id: Ibf033363e83d37851776f392dc0b077381cd8b90
|
|
ie.
void f(void);
becomes
void f();
I used the following command to make the changes:
git grep -lP '\(\s*void\s*\)' -- *.cxx \
| xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;'
and ran it for both .cxx and .hxx files.
Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
|
|
Change-Id: I452a204616d98e1071b7bf43ad457c6a2376cf91
|
|
Change-Id: I57ad3b2492721115e0ea7ebd9f43480e93b0c8ab
|