summaryrefslogtreecommitdiff
path: root/rsc
AgeCommit message (Collapse)AuthorFilesLines
2013-04-23execute move of global headersBjoern Michaelsen4-224/+0
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák24-171/+164
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05new module i18nlangtagEike Rathke3-4/+4
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-03ditch unused LANGUAGE_USER[1-9]Eike Rathke1-10/+0
Change-Id: I5a3b2b27fa2a7ad22cab2ae6d833707f9e490f27
2013-04-03rsc with language tagsEike Rathke2-92/+50
Change-Id: I5401a9bcbd1e359ef62e8d667edf6ead1479ce46
2013-04-03correct number of format operands for fprintfEike Rathke1-2/+2
Change-Id: I4fbfd3cacaa87ed1a8faa123a269d82f82ba22da
2013-03-27fix extension replacer (rsc)Andras Timar1-1/+1
Change-Id: I0808aeedf87fd181380077f5cfd7b12dc3b33ef3
2013-03-27stop uninitialized memory leaking into resource files.Andras Timar1-0/+3
Change-Id: I8659426dd4ea0c13c8ed839ef5cfb686e6648042
2013-03-27-Wunused-macrosStephan Bergmann3-12/+0
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27fdo#39445 writing out tools/fsys.hxx (rsc)Andras Timar2-54/+43
Change-Id: Iacab9b8a16d8278ae9a41249d36ca1aaad2d5794
2013-03-27remove unused functionality from Resource CompilerAndras Timar41-3705/+30
and remove ASCII art comments and other useless comments Change-Id: Iafa5eb5aa421b38b325bdc7cea6045b43a5c582a
2013-03-25remove external include guardsThomas Arnhold3-12/+0
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
2013-03-25Revert "replace DirEntry to osl::FileBase in a few cases in rsc"Andras Timar1-14/+10
This reverts commit 7540bc8e105e114d4aecb1ed3f3044e5ce8a6fc6. Conflicts: rsc/source/rsc/rsc.cxx Change-Id: I7f89f7bf07f68e053d29283f659241aca8e48eed
2013-03-25remove unnecessary 'using' linesAndras Timar1-4/+0
Change-Id: I7efc18ac16223f83bb9839a76643291f7334ef91
2013-03-25replace DirEntry to osl::FileBase in a few cases in rscAndras Timar1-11/+14
Change-Id: Ic0d9fee77891dae03c121f4b48ee9da89730d1aa
2013-03-25Introduce HAVE_GCC_PRAGMA_DIAGNOSTIC_{MODIFY,SCOPE}Stephan Bergmann1-7/+3
...replacing hard-coded GCC version checks. Those checks that guard #pragma GCC diagnostic ignored "-Wnon-virtual-dtor" appear relevant only for GCC itself, not Clang (which used to fail the old guards because it typically announces itself with a rather low __GNUC__/__GNUC_MINOR__ version), see 6e67c03dc0225fc66343546b14e902b9d238b1a3 "Enable -Wnon-virtual-dtor for GCC 4.6" Change-Id: I6bfa4d5caa6192e7a203ce829682bf6bb8d61a1b
2013-03-21Revert "RscCmdLine: don't use obsolete DirEntry"Michael Stahl1-4/+5
This reverts commit 3b00a7f87b8d428dc8c3d1d0ddb84b74bb2343d4. Breaks the build on windows, requires adapting RscCompiler::GetImageFilePath() to match.
2013-03-21stop uninitialized memory leaking into resource files.Michael Meeks1-1/+4
Change-Id: Ifb74ce0c60e0d0796d5d04a67e9d58721b58593c
2013-03-21RscCmdLine: don't use obsolete DirEntryMiklos Vajna1-5/+4
Change-Id: I49b2ca742da96ced5326b3e31f3cec35bfaabcc2
2013-03-19fdo#39445 writing out tools/fsys.hxx (rsc)Krisztian Pinter3-3/+0
removed unused includes from rscdb.cxx, start.cxx and rscclass.cxx Change-Id: I6f7e54c9f494b7b40a0cf30f13100073b9c37f17 Reviewed-on: https://gerrit.libreoffice.org/2853 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-03-19further OUString cleanupThomas Arnhold1-1/+1
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold1-1/+1
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19reduce whitespaces between include and filenameThomas Arnhold7-36/+36
Change-Id: I15f6ad0a760a28cbac53f99ba4d14ff5c24ce005
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-2/+0
2013-03-14fdo#39445 writing out tools/fsys.hxxKrisztian Pinter2-9/+7
removed unused <tools/fsys.hxx> include from gengal.cxx changed file copying to sal version in htmlex.cxx rewrote OutputFile in rsctools.cxx very minor change in rsc.cxx - instead of creating an empty DirEntry and getting its path, just used "." Change-Id: Ifd57d73847ff271bcb64b12a26a564acc051fcef Reviewed-on: https://gerrit.libreoffice.org/2680 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-03-13more subtle dependencies for cross-compilationMatúš Kukan1-2/+2
Now we build only what we really need for 'build' platform - there is new build-tools make target. The list of tools is in solenv/gbuild/extensions/pre_BuildTools.mk. Also similar is done to some extent for 'host' platform using gb_Module_add_targets_for_build which is ignored for 'host'. Change-Id: I6acd1762b16aca366aac1a0688500f27869cfca2
2013-03-09coverity#705676: fix memory leakMarkus Mohrhard1-4/+7
Change-Id: Ibae1a0d073249ecfbfee0f73473d66bbf2602aff
2013-03-08simplify compareTo (now correct)Thomas Arnhold1-1/+1
Change-Id: Ia4fd2f54d0bda71d472f46949500c0b23ff8e1b7 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-08Revert "simplify some compareTo"Stephan Bergmann1-1/+1
This reverts commit 19020191cbf3e3c7a7bf98d0958d86d931ae687b, s1.compareTo(s2, length-of-s2) is *not* equivalent to s1 == s2
2013-03-08simplify some compareToThomas Arnhold1-1/+1
Change-Id: Ib63cfac8b5f129f31534020fd634750e846e3b98
2013-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong1-15/+15
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-04sal_Bool to boolTakeshi Abe1-1/+1
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
2013-03-04doubled includesThomas Arnhold2-2/+0
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-27Factor out duplicate enums and types from rsc and vcl into one headerTor Lillqvist3-131/+135
The new header is <rsc/rsc-vcl-shared-types.hxx>, but if some other name or location is cleaner, feel free to change. Change-Id: I601923447ff7c1b6cefd71cb2652fcc88d2483d2
2013-02-26this dmake file in rsc was inadvertently addedCaolán McNamara1-0/+0
Change-Id: Ie8a8a8a4a82e3ca0175ac5a0275da6ca1474fa5d
2013-02-23Fix typo accessable/accessibleJulien Nabet1-1/+1
Change-Id: I2f6d00a6361243a52a593acaaf2bf624d8a2730e
2013-02-13Reduce scopeJulien Nabet1-1/+1
Change-Id: I8e62de343021942fd80ed6846bfa5c0b0ee4a347
2013-02-12Some cppcheck cleaningJulien Nabet1-2/+2
Change-Id: I8609949377181f8edb30ac07b2791cfcd079fc7d
2013-02-12Some cppcheck cleaningJulien Nabet1-7/+4
Change-Id: I74ff9d8d116ebfe9ebc302c79a3763eda9c1250f
2013-02-06Some cppcheck cleaningJulien Nabet1-10/+4
Change-Id: I1b80271473166755e8f0afaa7af8ffc7bea394b3
2013-01-27Some cppcheck cleaningJulien Nabet1-5/+2
Change-Id: I7217ab7500de5d8220b85e56aceb6e843bd0769f
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl1-0/+2
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-21Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac1-1/+1
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de Reviewed-on: https://gerrit.libreoffice.org/1784 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-09Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac1-1/+1
2012-12-27Check for __GNUC__ instead of GCC in sourcesTor Lillqvist1-1/+1
We still have checks for $(COM) being GCC or MSC in makefiles, of course. But there is no reason to pass -D$(COM) to compilations. Checking the built-in compiler-specific macros __GNUC__, _MSC_VER (etc) is the right thing to do. Change-Id: Ia961a29ba74e2c4977e5300a92318f38104c6592
2012-12-25Get rid of (most uses of) GUITor Lillqvist1-1/+1
GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
2012-11-28We only support MSVC 2008 (_MSC_VER 1500) or laterTor Lillqvist2-5/+1
We can drop or simplify many conditionals. Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
2012-11-20use LanguageTagEike Rathke1-1/+2
Change-Id: I9aa7ff4a1aedee6fa029e3d94301788be1a3761a
2012-11-20incorrect body alignmentLuboš Luňák4-139/+139
Change-Id: Ie62113f0018e71c984845f1684a4876809b901c4