Commit Graph

359 Commits

Author SHA1 Message Date
5358b9ba4f UniString->OUString
Change-Id: I217944d40ed7cd3a2fca4ad0d61729ff5d94ed96
2013-04-16 13:46:56 +01:00
02917cb57e Resolves: fdo#47209 and rhbz#927223 syntax highlighter crash
when trying to parse empty lines looking for the matching
bracket

Change-Id: I3961a3d0e804d136de286e21934c6ba5ab0496cf
2013-04-16 13:40:11 +01:00
a808497dbb drop prefix from ::css
as css is already ::com::sun::star

Change-Id: I86b43843e4b74f990b6e05dee37184a002072d12
2013-04-02 09:01:37 +02:00
c16e9f4ed9 Move SyntaxHighlighter class from svtools to comphelper
We use this class in helpcompiler, and it is not desirable to
compile svtools (thus half of LibreOffice) for a build tool
in cross-compiling environment.

Change-Id: I5e6bc3e576af41eb03c1420dd347c542306f69fa
2013-02-16 12:55:03 +01:00
b6eed85964 fix a Basic keyword in syntax highlighter: withevent -> withevents
Change-Id: I47b527ad6e68dba83ebb253bcc55a2717c7dd0ca
2013-02-13 10:19:23 +01:00
fb1f3db03d String to OUString
Change-Id: Ibb0b1808532622ffb2dfc55d533428f6d72b890c
2013-02-13 10:19:20 +01:00
d25486b5a9 remove rtl:: prefix
Change-Id: I6b2c51c57a98046e30b2782dd2565ee02345379d
2013-02-13 10:19:18 +01:00
6e4fd7ba9f use u_isalpha() from ICU instead of home-grown solution
plus German comments were translated

Change-Id: Id9ff5d4835e4ea224c9e6232a1762822aa833d37
2013-02-13 10:19:17 +01:00
e3f11c10d8 Changed SetText() / GetText() to take/return OUString
replaced lots of Len() with isEmpty()

Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0
Reviewed-on: https://gerrit.libreoffice.org/1795
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-21 20:48:35 +00:00
66a175834c c++ API: use css alias in generated headers, adds global css decl
This changes all generated API headers (.hpp and .hdl) to use a
namespace alias 'css' instead of the pointlessly long com::sun::star

Makes the change in cppumaker & associated tools, adds a global
namespace alias definition in sal/types.h, and removes a kiloton
of local, now pointless-to-harmful versions of that alias from all
over the code.

Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30 14:36:36 +01:00
af60316514 some i18n wrappers with LanguageTag
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-23 23:09:16 +01:00
9955dbebbd AllSettings with LanguageTag
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-22 12:34:59 +01:00
daeed90f45 re-base on ALv2 code. Includes:
Patch contributed by: Jurgen Schmidt
    remove onlineregistration with dependencies
    http://svn.apache.org/viewvc?view=revision&revision=1240245
    imported patch package_eventlistener.patch
    http://svn.apache.org/viewvc?view=revision&revision=1172103

    Patch contributed by Pedro Giffuni
    Accept Google Chrome OS fonts as equivalent to MS fonts.
    http://svn.apache.org/viewvc?view=revision&revision=1233155
    http://svn.apache.org/viewvc?view=revision&revision=1233408

    Patch contributed by Andre Fischer
    Do not add targets for junit tests when junit is disabled.
    http://svn.apache.org/viewvc?view=revision&revision=1241508

    Patches contributed by Mathias Bauer (and others)
    gnumake4 work variously
    http://svn.apache.org/viewvc?view=revision&revision=1394707
    http://svn.apache.org/viewvc?view=revision&revision=1394326
    cws mba34issues01: #i114600#: remove forbidden characters
    from list of unencoded characters
    http://svn.apache.org/viewvc?view=revision&revision=1172370

    Patches contributed by Oliver Rainer-Wittman
    some clean up in JPEGReader due to memory constraints
    http://svn.apache.org/viewvc?view=revision&revision=1299729
    119114 - method <UpdateDialog::addSpecificError(..)> - create
    entry with correct type
    http://svn.apache.org/viewvc?view=revision&revision=1305265

    Patches contributed by Ariel Constenla-Haile
    i118707 - make toolbar control's popup window grab focus
    http://svn.apache.org/viewvc?view=revision&revision=1225846

    Patches contributed by Herbert Duerr
    #i118662# remove usage of BerkeleyDB in desktop module
    http://svn.apache.org/viewvc?view=revision&revision=1213171
    minor cleanups in dp_persmap.*
    http://svn.apache.org/viewvc?view=revision&revision=1215064
    flush early to prevent problem with extension manager not
    cleaning up its objects
    http://svn.apache.org/viewvc?view=revision&revision=1228147
    i118726 do not flush *pmap file while reading it
    http://svn.apache.org/viewvc?view=revision&revision=1230614
    #i119048# migrate BDB extension entries using a simple heuristic
    http://svn.apache.org/viewvc?view=revision&revision=1300972
    #i119048# handle edge cases when importing BDB hash files
    http://svn.apache.org/viewvc?view=revision&revision=1301428
    #i119113# fix of-by-one when importing BDB files
    http://svn.apache.org/viewvc?view=revision&revision=1305420

restore our encryption settings, icon themes, and dictionaries.
removed wrapper hacks, kill obsolete bundled extension blob /
pre-registration handling, remove duplicated quickstart code.
remove OS/2 conditionals.
2012-11-19 17:44:55 +00:00
9dbb62555f disable cursor in about dialog and message boxes
Change-Id: I060872e0a468f2ce26a2ab519c5bfe271574170b
2012-10-22 17:25:12 +04:00
d7cdef2c49 VCLMultiLineEdit->VclMultiLineEdit to align with other new widget names
Change-Id: I97b7459b9c5c680d624234e8c51a5997a02fd5f7
2012-10-11 09:21:42 +01:00
2345948281 be in lexicographic order
Change-Id: I26b15fe1cc5f8f3066f241143d01615a7416eb5b
2012-09-23 23:56:05 +09:00
94bb5021c7 fix typo
Change-Id: I8bb811cfe06d409bebad586c16cf3837551f5a5f
2012-09-23 23:52:31 +09:00
3b3c20212e add missing basic keywords to syntax highlighter
Change-Id: I920ad01c0ea338795afeb16e44cd8ec09e5fc5d6
2012-09-23 15:01:56 +02:00
2854d8b17c fdo#46193 MessBox was made copyable
Part of MultiLineEdit was moved down from stvools to vcl
with name VCLMultiLineEdit. MessBox uses it to display the
message in read-only mode. Some of svtools' classes - which
are necessary to implement VCLMultiLineEdit - were moved to
vcl as a whole, and their includes are rewrite.
Note: ExtTextView and ExtTextEngine classes would be leaved in svtools
if VCLMultiLineEdit is a template class, but two macros: IMPL_LINK
end IMPL_LINK_NOARG make it impossible to use template syntax.

Change-Id: I26543868d8081c225c7125404d23369de3c3afcd
2012-08-07 10:50:23 +02:00
747cb47357 remove unnecessary includes of svl/svarray.hxx
Change-Id: Ifec201efc4e97baf2d36d66c4ae6967eadd6134c
2012-07-30 12:47:50 +01:00
0bdf6fc7c7 Bug 48549 - System::Beep() removal
Change-Id: I011048912af051a762a78af8646513a1fc624073
2012-07-30 05:20:02 +02:00
f5a625f61a fdo#40152 replace with empty string in Basic IDE
Change-Id: I2ee41160e5cb10694ccdb5a1cdaf7d4abfeb23bb
2012-07-25 14:11:06 +01:00
0f6101cfef fdo#48549 System::Beep() removal
Change-Id: I8fe133dd8d1f759fbe21d47ae358c0b5451812b5
2012-07-23 15:12:44 +01:00
4dd7c0369d Various Clang 3.1 -Wunsued-variable, -Wconstant-conversion
Change-Id: I0799f22685609201dfb524c373d065b6184ed53c
2012-07-18 08:23:28 +02:00
104261010a some UniString->rtl::OUString
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
2012-07-09 12:16:56 +01:00
9e0cbe5eb3 some pesky XubStrings
Change-Id: Ib4095dee416cab6d954e1612d2e3f6e2d4464f48
2012-06-29 11:20:32 +01:00
9928fd7fc6 remove some annoying XubStrings
Change-Id: I8c34a344285b6929091788c6b7a5529b48943f94
2012-06-25 14:19:02 +01:00
ecf943247f re-base on ALv2 code.
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
54e9a28390 typo: paramters, paramaters -> parameters
Change-Id: If58683331c50f2a95204e8e2dea11edbef3ccb63
2012-06-19 16:44:08 +02:00
447e5b4b36 death to some UniStrings
Change-Id: I0fa0c60e12c418d25f8bd96cc04c6abd74b1a608
2012-06-19 14:11:50 +01:00
bd4f553ef0 remove some UniString ctors
Change-Id: Ic2e712f4447b733b79d980e178d9d6d9d8bf0e40
2012-06-19 09:13:23 +01:00
6191fa0847 reduce use of UniString ctor from null-terminated unicodearray
Change-Id: I98361309ada084d8f78517ce88f210d785f59cc0
2012-06-13 11:20:23 +01:00
7d042c50f5 use rtl_ustr_getLength instead of a temporary string just to find length
Change-Id: Ibbf777e57af6b98611cb5dce5a31517de80305b7
2012-06-12 13:35:49 +01:00
3770bbbdba Remove superfluous empty lines on top
More than two lines are removed for readability.

Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-09 04:57:58 +02:00
725b725e97 fix missing braces in TextEngine::CreateLines in previous commit
also fix various DBG_UTIL only code

Change-Id: I53b6c65f4a5769cb0e4849e3d30e6fb78449ecce
2012-06-08 22:52:32 +02:00
2076d5ce96 Convert SV_DECL_PTRARR(TextPortionArray) to std::vector
Change-Id: I005e4569f1899effc85b1c4068eaee8d30de047b
2012-06-08 22:52:32 +02:00
276814402e Forgot to add destructors for my PTRARR_DEL conversions
Change-Id: I6312c7372f0787e308320c79e80504b195df6272
2012-06-08 22:52:32 +02:00
52c8cec6da Convert SV_DECL_PTRARR_DEL(TextLines) to std::vector
Change-Id: I31d228d4f4a1165e38d95c16a8f6309cae410c70
2012-06-08 22:52:31 +02:00
341e6fba34 Convert SV_DECL_PTRARR_DEL(TextCharAttribs) to std::vector
I couldn't use boost::ptr_vector because it sometimes removes
without free'ing

Change-Id: Ia12f66c708ef27757d7527ebe80edf7a9c7a59c2
2012-06-08 22:52:31 +02:00
3ca66ea9f3 Convert SV_DECL_PTRARR(TextViews) to std::vector
Change-Id: Icd79dec8c77fc13cf82c66a2d64ca2325eaa66ab
2012-06-08 22:52:31 +02:00
8512e5c2b3 reduce static_initialization_and_destruction chain
Change-Id: I962aeac0c7feeabb7963016d5afcfeca5a48ccfe
2012-05-16 12:04:10 +01:00
c182a75241 convert GetComment family to rtl::OUString
Change-Id: I563ab83a24ca4f839892548b350486e83dd071d3
2012-05-14 14:34:09 +01:00
d7f5dcbc41 removed unused defines
Change-Id: Ife6ba8104a3af79aa5d62509755b9d2c58d98e3a
2012-05-09 23:28:36 +09:00
f4cd393736 removed dead code
Change-Id: Ifaa3e07c98cea3de51d715e0eb7657a0896e77eb
2012-05-09 23:28:36 +09:00
135c63c8f9 fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-05-04 15:52:57 +02:00
7d8cc78440 drop a String::CreateFromAscii 2012-04-25 11:58:26 +01:00
f0ae0d8403 UniString->rtl::OUString 2012-04-18 13:03:21 +01:00
30fb54aca3 remove formfeeds 2012-04-12 12:35:48 +02:00
8a3aae9b69 Resolves: fdo#31022 about dialog is suboptimal 2012-04-10 12:49:49 +01:00