summaryrefslogtreecommitdiffstats
path: root/rsc
Commit message (Collapse)AuthorAgeFilesLines
* fix extension replacer (rsc)Andras Timar2013-03-271-1/+1
| | | | Change-Id: I0808aeedf87fd181380077f5cfd7b12dc3b33ef3
* stop uninitialized memory leaking into resource files.Andras Timar2013-03-271-0/+3
| | | | Change-Id: I8659426dd4ea0c13c8ed839ef5cfb686e6648042
* -Wunused-macrosStephan Bergmann2013-03-273-12/+0
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* fdo#39445 writing out tools/fsys.hxx (rsc)Andras Timar2013-03-272-54/+43
| | | | Change-Id: Iacab9b8a16d8278ae9a41249d36ca1aaad2d5794
* remove unused functionality from Resource CompilerAndras Timar2013-03-2741-3705/+30
| | | | | | and remove ASCII art comments and other useless comments Change-Id: Iafa5eb5aa421b38b325bdc7cea6045b43a5c582a
* remove external include guardsThomas Arnhold2013-03-253-12/+0
| | | | Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
* Revert "replace DirEntry to osl::FileBase in a few cases in rsc"Andras Timar2013-03-251-14/+10
| | | | | | | | | This reverts commit 7540bc8e105e114d4aecb1ed3f3044e5ce8a6fc6. Conflicts: rsc/source/rsc/rsc.cxx Change-Id: I7f89f7bf07f68e053d29283f659241aca8e48eed
* remove unnecessary 'using' linesAndras Timar2013-03-251-4/+0
| | | | Change-Id: I7efc18ac16223f83bb9839a76643291f7334ef91
* replace DirEntry to osl::FileBase in a few cases in rscAndras Timar2013-03-251-11/+14
| | | | Change-Id: Ic0d9fee77891dae03c121f4b48ee9da89730d1aa
* Introduce HAVE_GCC_PRAGMA_DIAGNOSTIC_{MODIFY,SCOPE}Stephan Bergmann2013-03-251-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
* Revert "RscCmdLine: don't use obsolete DirEntry"Michael Stahl2013-03-211-4/+5
| | | | | | | This reverts commit 3b00a7f87b8d428dc8c3d1d0ddb84b74bb2343d4. Breaks the build on windows, requires adapting RscCompiler::GetImageFilePath() to match.
* stop uninitialized memory leaking into resource files.Michael Meeks2013-03-211-1/+4
| | | | Change-Id: Ifb74ce0c60e0d0796d5d04a67e9d58721b58593c
* RscCmdLine: don't use obsolete DirEntryMiklos Vajna2013-03-211-5/+4
| | | | Change-Id: I49b2ca742da96ced5326b3e31f3cec35bfaabcc2
* fdo#39445 writing out tools/fsys.hxx (rsc)Krisztian Pinter2013-03-193-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>
* further OUString cleanupThomas Arnhold2013-03-191-1/+1
| | | | Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-191-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>
* reduce whitespaces between include and filenameThomas Arnhold2013-03-197-36/+36
| | | | Change-Id: I15f6ad0a760a28cbac53f99ba4d14ff5c24ce005
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-2/+0
|
* fdo#39445 writing out tools/fsys.hxxKrisztian Pinter2013-03-142-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>
* more subtle dependencies for cross-compilationMatúš Kukan2013-03-131-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
* coverity#705676: fix memory leakMarkus Mohrhard2013-03-091-4/+7
| | | | Change-Id: Ibae1a0d073249ecfbfee0f73473d66bbf2602aff
* simplify compareTo (now correct)Thomas Arnhold2013-03-081-1/+1
| | | | | Change-Id: Ia4fd2f54d0bda71d472f46949500c0b23ff8e1b7 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* Revert "simplify some compareTo"Stephan Bergmann2013-03-081-1/+1
| | | | | | | | | | This reverts commit 19020191cbf3e3c7a7bf98d0958d86d931ae687b, s1.compareTo(s2, length-of-s2) is *not* equivalent to s1 == s2
* simplify some compareToThomas Arnhold2013-03-081-1/+1
| | | | Change-Id: Ib63cfac8b5f129f31534020fd634750e846e3b98
* fdo#60148 Clean up warnings from the Clang compiler pluginnccuong2013-03-061-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>
* sal_Bool to boolTakeshi Abe2013-03-041-1/+1
| | | | Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
* doubled includesThomas Arnhold2013-03-042-2/+0
| | | | Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* Factor out duplicate enums and types from rsc and vcl into one headerTor Lillqvist2013-02-273-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
* this dmake file in rsc was inadvertently addedCaolán McNamara2013-02-261-0/+0
| | | | Change-Id: Ie8a8a8a4a82e3ca0175ac5a0275da6ca1474fa5d
* Fix typo accessable/accessibleJulien Nabet2013-02-231-1/+1
| | | | Change-Id: I2f6d00a6361243a52a593acaaf2bf624d8a2730e
* Reduce scopeJulien Nabet2013-02-131-1/+1
| | | | Change-Id: I8e62de343021942fd80ed6846bfa5c0b0ee4a347
* Some cppcheck cleaningJulien Nabet2013-02-121-2/+2
| | | | Change-Id: I8609949377181f8edb30ac07b2791cfcd079fc7d
* Some cppcheck cleaningJulien Nabet2013-02-121-7/+4
| | | | Change-Id: I74ff9d8d116ebfe9ebc302c79a3763eda9c1250f
* Some cppcheck cleaningJulien Nabet2013-02-061-10/+4
| | | | Change-Id: I1b80271473166755e8f0afaa7af8ffc7bea394b3
* Some cppcheck cleaningJulien Nabet2013-01-271-5/+2
| | | | Change-Id: I7217ab7500de5d8220b85e56aceb6e843bd0769f
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-261-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
* Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac2013-01-211-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>
* Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac2013-01-091-1/+1
|
* Check for __GNUC__ instead of GCC in sourcesTor Lillqvist2012-12-271-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
* Get rid of (most uses of) GUITor Lillqvist2012-12-251-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>
* We only support MSVC 2008 (_MSC_VER 1500) or laterTor Lillqvist2012-11-282-5/+1
| | | | | | We can drop or simplify many conditionals. Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
* use LanguageTagEike Rathke2012-11-201-1/+2
| | | | Change-Id: I9aa7ff4a1aedee6fa029e3d94301788be1a3761a
* incorrect body alignmentLuboš Luňák2012-11-204-139/+139
| | | | Change-Id: Ie62113f0018e71c984845f1684a4876809b901c4
* unused variableLuboš Luňák2012-11-201-1/+1
| | | | Change-Id: Id6de037a510b129799c89dc4a7fdb105ac006b2a
* Turn some memmove into memcpy when it is safe to do so.jailletc362012-11-141-2/+2
| | | | | | | | | | | | Most of the changes are related to newly allocated memory, so we are sure it can not overlap with the source of the copy. Change-Id: Ie6ccf1bbb07b792fb18601a38dfaa55755d14b7d Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/1033 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* More useless code, "#if 0" blocks in lingucomponent, sal, and rscMarcos Paulo de Souza2012-10-171-6/+0
| | | | | Change-Id: I1dda0f2b3bc2bb4a4a877c160026e53a90471d54 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
* mark lcl_ functions static or rename them if they are not local at allLuboš Luňák2012-10-121-1/+1
| | | | | | http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I1a0e436051d48e7f6224d6f0fc602347df2d4df1
* Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini2012-10-011-3/+2
| | | | | | | Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* gbuild: invert handling of standard system libraries:Michael Stahl2012-09-281-2/+0
| | | | | | | Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a