242 Commits

Author SHA1 Message Date
Peter Senna Tschudin
3b24dcc8a8 Remove unnecessary semicolons
A simplified version of the semantic match that finds this problem is
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@r1@
statement S;
position p,p1;
@@
S@p1;@p

@script:python r2@
p << r1.p;
p1 << r1.p1;
@@
if p[0].line != p1[0].line_end:
    cocci.include_match(False)
@@
position r1.p;
@@
-;@p
// </smpl>

Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e
Reviewed-on: https://gerrit.libreoffice.org/9493
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-27 01:19:00 -05:00
Thomas Arnhold
2bd7767d01 Resolves fdo#70681: fixincludeguards.pl: all that's left
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5
Reviewed-on: https://gerrit.libreoffice.org/9360
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-15 12:50:46 +00:00
Alexander Wilms
86709d62ab Remove visual noise from crashrep
Change-Id: I9e13aa176cf6ca1d97e52d059423fc59018671f5
Reviewed-on: https://gerrit.libreoffice.org/8249
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-25 17:04:50 +00:00
Michael Meeks
59197dea29 Targetted text updates, with seasonable changes before l10n freeze.
Change-Id: If37ef9f68711da3a0aa9a3ba59b111a8a23421df
2013-12-13 17:00:07 +00:00
Thomas Arnhold
f01580ce9c Windows: Require at least Windows XP SP2
* Windows XP SP2 is 0x0502, see
  http://msdn.microsoft.com/en-us/library/aa383745.aspx
* If a module changes the Windows SDK version setting,
  this is done module wide now. So the overall behavior
  is as before. This seems to be the best compromise for
  now.
* We need at least SP2 because of the bluetooth stuff
  used in sd/source/ui/remotecontrol.
* Now, we require at least Internet Explorer 7.0. IE6
  has been outdated for a long time.
* Leave StdAfx.h file definitions, as those are Microsoft
  project specific precompiled header files.
* All local definitions of WINVER are removed, because
  the global WINVER setting makes them obsolete now.

To the relation of the three macros:

Setting _WIN32_WINNT sets WINVER and NTDDI_VERSION
automatically to the same value as _WIN32_WINNT.

WINVER and NTDDI_VERSION can be set idenpendently each
for itself.

Change-Id: Ibcc12493aae4fcaf7bcfda88be99c1b61bc326cb
Reviewed-on: https://gerrit.libreoffice.org/6496
Reviewed-by: Thorsten Behrens <thb@documentfoundation.org>
Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-11-20 07:15:16 -06:00
Michael Stahl
b800216933 remove INPATH and PROEXT
- WORKDIR path is just workdir
- INSTDIR path is just instdir
- WORKDIR_FOR_BUILD is workdir_for_build
- INSTDIR_FOR_BUILD is instdir_for_build
- replace other usage of INPATH by combination of OS and CPUNAME

Change-Id: Ie398387ebd82a968ec2605f2103c55b43a231482
Reviewed-on: https://gerrit.libreoffice.org/6601
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-11-07 14:27:50 -06:00
Noel Grandin
aeb41c9b9b remove redundant calls to OUString constructor
Change code like this:
  aStr = OUString("xxxx");
into this:
  aStr = "xxxx";

Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-11-04 10:11:07 +02:00
Michael Stahl
32a4efb8c5 gbuild: stop using stuff in OUTDIR/unittest/install
Change-Id: Icdfe1282d5e636a034ee7d1b16b9a113a9b70492
2013-10-29 00:58:42 +01:00
David Tardon
1dc085e425 fix thinko
Change-Id: I258d0d43e8a96c8295ec0b34fd4431b172947a27
2013-10-03 15:45:28 +02:00
Tor Lillqvist
c6a7300974 Use subfolder names from <config_folders.h>
Change all instances of hardcoded "program", "share" etc subfolder names to
use those from <config_folders.h> instead. In normal builds, the end result
will not change.

Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-08-18 21:11:16 +03:00
Michael Stahl
85c7e212a2 gbuild: consolidate ULF copypaste in gb_CustomTarget_ulfex_rule
Change-Id: I0c5b68f6bc81c7c1c88be2cde42fc06949fff8e7
2013-07-16 16:54:59 +02:00
Luboš Luňák
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
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-07 14:23:11 +02:00
Julien Nabet
51fedc00ad Remove unused macro "PMAP_CMD"
Change-Id: I00812388e7abf17e8388f19143f78843f7946405
2013-03-27 20:24:45 +01:00
Zolnai Tamás
56a52889e6 Remove unneeded project and projectroot parameters
Plus avoid use of Export::sLanguages member outside
of the class.

Change-Id: I33702816fdb4980d690cfe8fcd8cc3fbd0df1dd8
2013-03-25 12:01:59 +01:00
Thomas Arnhold
39d45390f4 removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarations
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms

Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b
Reviewed-on: https://gerrit.libreoffice.org/2835
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19 10:48:30 +00:00
Thomas Arnhold
8b27d78b4a automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
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-19 09:00:26 +00:00
Michael Meeks
79b0046ba0 remove legacy build.pl prj/build.lst files. 2013-03-14 17:05:51 +00:00
Thomas Arnhold
6dddefc6e7 fdo#43460: use isEmpty()
Change-Id: Ia768e684d3cf255239c04d024b35488830cc9fe6
2013-03-09 21:47:31 +01:00
Matúš Kukan
ee0dd36715 remove minor.mk
Hopefully all stays the same except for vcl/unx/gtk/a11y/atkutil.cxx.

Change-Id: I49108007ee6d045f045de86c8654efc7ca5fd3d0
Reviewed-on: https://gerrit.libreoffice.org/2491
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-03-02 16:02:39 +00:00
Michael Stahl
b768611724 remove all d.lst
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28 18:40:06 +01:00
Andras Timar
6851c5fd43 bin PATCH_SO_NAME crack
In VersionInfo of Windows executables the FileDescription property originally contained
80 times 'x' character. These executables were marked as PATCH_SO_NAME and later the
installer maker perl program replaced the xxxxxxxxxxx to the actual file description
which was defined in scp2. WHy was it good, I have no idea. The problem was that it
happened after postprocess, where we signed the binaries, thus diigital signature became
corrupted. It is better to give file descriptions via makefiles.

Change-Id: Id5ad4470bb7a6313b33fbba09d72d9a009163a89
2013-02-28 13:24:57 +01:00
David Tardon
7e3d969155 fix translation of crash reporter
Change-Id: I52cda360116b719bf05776e01bf3d15303eea97d
2013-02-13 10:59:37 +01:00
David Tardon
7c8d4cfb2b let's split this for easier cherry-picking
This reverts commit fc65a66de972951946c57c8b01bfd5df46633693.
2013-02-13 10:58:32 +01:00
David Tardon
fc65a66de9 fdo#60386 fix l10n of windows shell extension
Throw in crash reporter as a bonus.

Change-Id: Ia1eccd4a3948b3c6d361b341599c7f565cd74cfb
2013-02-13 10:54:41 +01:00
Michael Stahl
a53586f4ef gbuild: do not copy boost headers around
- 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-26 22:20:06 +01:00
Michael Stahl
20773c2bb0 crashrep: fix conditionals: it used to be built in non-pro too
Change-Id: Icf3901024aed39f3b8e280a4fed8244a2b83e80e
2013-01-26 22:20:06 +01:00
Peter Foley
dbaa34c5db convert crashrep to gbuild and add to tail_build
Change-Id: I90cf6c2c5fb806855b7e4fec18c890f7bd2ff6b5
2013-01-22 21:34:33 -05:00
Michael Meeks
2e5683f002 fix misleading comment.
Change-Id: I8f56239738742a6dae8cbaf3e6b7075f9db03255
2013-01-07 14:50:31 +00:00
Julien Nabet
8c3c491d4f Some cppcheck cleaning
Change-Id: Iac1c26d031e8196ef93cb403dc60f07e0eef6380
2012-12-27 22:58:07 +01:00
Tor Lillqvist
a3ce60eb3c We only support MSVC 2008 (_MSC_VER 1500) or later
We can drop or simplify many conditionals.

Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
2012-11-28 20:53:40 +02:00
Andras Timar
39bac3f6c0 translations is a source-only module
Change-Id: I9fcddfcdfa2d60860a7b016dbb870a3b6e8f3ea4
2012-10-01 15:19:10 +02:00
Takeshi Abe
dc27f1891e use "LibreOffice" as the default value of ProductKey for crashrep
Change-Id: I12bab12ad32f4965b55d94dfd2d6fe8894129763
Reviewed-on: https://gerrit.libreoffice.org/721
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2012-10-01 13:56:47 +02:00
Julien Nabet
88840a796e Remove unused local vars
Change-Id: I80bd0329e15cb365091ea6f5c7e1ef3559d681fc
2012-08-11 10:25:54 +02:00
Thomas Arnhold
278000a28b Remove unused defines
Some of them were commented out for documentation purpose.

Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-02 17:46:25 +02:00
Thomas Arnhold
8ca21893e5 Remove unused defines
Change-Id: I45e1618dcff920b63b7e21ba9e842eed684114d7
2012-07-01 18:33:41 +02:00
Michael Meeks
ae86bd2e64 cleanup malingering vendor name in disabled code 2012-06-22 16:31:29 +01:00
Michael Meeks
2a2158c7ea re-base on ALv2 code.
Change-Id: I0cba9316e229362fa82a45d9e4d4763a6cf29540
2012-06-21 13:11:06 +01:00
Michael Meeks
99bc4311b1 re-base on ALv2 code. 2012-06-14 13:26:54 +01:00
Bjoern Michaelsen
b1c3e8ae28 make gbuild the default assumption of build.pl
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file

Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29 03:50:46 +02:00
Caolán McNamara
461b786be7 make comment reflect reality 2012-04-21 21:42:40 +01:00
David Ostrovsky
ad4f725606 WaE: crashrep warnings fixed 2012-04-21 21:42:39 +01:00
Michael Stahl
9345437f36 .txt files don't need executable bits 2012-03-23 21:58:18 +01:00
Andras Timar
fb067f9bb2 replace OpenOffice.org to LibreOffice in registry keys 2012-03-23 11:45:18 +01:00
Tor Lillqvist
2a1171929e chmod -x 2012-03-21 13:00:45 +02:00
Josh Heidenreich
223cca46ed Added READMEs for modules which used to be in components 2012-02-08 07:46:57 +01:00
Andras Timar
3fbedc3e8f enhance VersionInfo resource of Windows excutables
+ added ProductName (a required parameter), It is LibreOffice
+ CompanyName is configurable, it is $(OOO_VENDOR), that is set
  --with-vendor configure switch. If not set, then CompanyName is
  empty string which is fine, too.
+ Binary file version and FileVersion string show the same value,
  and version number is sane: main version + subversion + microversion
  + build number, such as 3.5.0.0
+ LegalCopyright text is the same as in the About box, year range
  can be set in minor.mk
- removed archaic and overcomplicated version number calculating macros
- removed version.lst, copied relevant content to minor.mk
- removed binary RCDATA resources, I don't think they were of any use
2011-12-10 22:25:28 +01:00
Andras Timar
018b48d361 fix VERSIONINFO section of win32 executables fdo#30798 2011-11-22 14:17:23 +01:00
Stephan Bergmann
d03465a446 Undo basis/brand split: removed RPATH BRAND (same as OOO now). 2011-10-24 22:56:48 +02:00
Pierre-André Jacquod
ef790a1bf1 dead code deletion in crashrep/.../win32/soreport.cxx 2011-10-07 15:57:40 +02:00
Pierre-André Jacquod
f8a57bed60 cppcheck scope reduction of var in crashrep/soreport.cpp 2011-10-07 15:57:40 +02:00