Commit Graph

139 Commits

Author SHA1 Message Date
ce583af689 Avoid undefined left shift of negative value
Change-Id: If4e7f6fca3f6afbbeaa79e00706be08d674e2aeb
2014-05-28 08:55:11 +02:00
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
736b3970e7 i18nutil: sal_Bool -> bool
Change-Id: Ic4a198d737692734ae3fbc096f370a3aa0667c5b
2014-02-18 08:18:30 +01:00
486e318b86 CLDR Version 24 doesn't know about es and sl using space before %
Change-Id: I1c3e7dc28e389a9580239165d04b171e06f5618e
2014-01-22 12:57:07 +00:00
e72bf68344 use a narrow no-break space instead of (normal) no-break space for de
Change-Id: Iae0c70ab713a0d95fa7bc447f8a79e244c5a4258
2014-01-21 14:55:45 +00:00
062e6f76ba Related: #i56998# use locale rules to format percentage
Change-Id: I2cdeefc5a5a1ee970ee3da5191ceae28b58340a1
2014-01-20 13:32:15 +00:00
c2866a9da4 Related: #i56998# provide a way to format % per-locale rules
Change-Id: Ic27b230cc9dce366f281ff720ded5873e94f6191
2014-01-20 11:19:18 +00:00
0c4639fa83 Set PAPER_SCREEN_4_3 values back and use it as it was
It breaks things.

Change-Id: Ia28391aed27051e5f6a7e0996f30b23c46eb8269
2014-01-09 18:47:50 +01:00
5ab1fb926e Startcenter: use SCREEN_4_3 as default paper for presentations
Remove static to able to construct items with different
paper info.
Fix SCREEN_4_3 width and height values and use it for
presentations.

Change-Id: Ifba44675f6126ebfccf26f53f226214bed92352c
2014-01-09 15:43:28 +01:00
b55259eeb5 typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01:00
108eee306e Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'
Except for our external api where the Oriya is stuck (and similar for
the vba implementation)

Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
2013-12-11 15:11:18 +00:00
e04fe00707 -Werror,-Wshift-sign-overflow
Change-Id: I8a7974baab4e32aa7fc53c4220ec4cb79e7b3074
2013-11-14 10:14:57 +01:00
ef90021abe convert OUString !compareToAscii to equalsAscii
Convert code like
   if( ! aStr.compareToAscii("XXX") )
to
   if( aStr.equalsAscii("XXX") )
which is both clearer and faster.

Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
2013-11-11 12:58:12 +02:00
8dc0573920 Exempler->Exemplar
Change-Id: Id7e67d7e7bd4be6600a296a846512e9076c9df23
2013-10-21 11:39:20 +01:00
0c6a5d99ff i18nutil: Add new enumeration values from ICU 52
WaE: enumeration values 'USCRIPT_CAUCASIAN_ALBANIAN' and
'USCRIPT_MAHAJANI' not handled in switch [-Wswitch]

With ICU 4.9 there is no major/minor anymore, it's only ICU 49 or ICU 52.
So adapt the previous check, too.

Change-Id: Id938937b305165d407ced473ea1725e97efe9124
See: http://icu-project.org/apiref/icu4c-latest/uscript_8h.html
Reviewed-on: https://gerrit.libreoffice.org/6365
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-10-21 10:38:43 +00:00
6ea6a422fb s/wiki.services.openoffice.org/wiki.openoffice.org/g
Change-Id: I059fbee385a109069c70f3869021c8e2ee48fee1
2013-09-07 14:21:22 +02:00
b47e653209 Mark as const
Change-Id: I220204cc5ebec15402ae175aef110abad8b00267
2013-08-11 09:13:54 +09:00
f30cde45db Mark as const/static
Change-Id: I5d51d7e01913ac9917578f8c9789312af9be3638
2013-08-09 09:22:49 +09:00
57931a7cf7 Mark as const
Change-Id: Ib78b25641ae20a3eb23545649f08b963e34c74ff
2013-07-29 17:39:30 +09:00
addc791623 Fix icu version checks.
commit 30c303 "Make charmap.cxx compile with icu >= 4.4." was incomplete
and had wrong version checks. After ICU 4.8 (4.8.1.1) the next version
of ICU was 49 (49.1) so U_ICU_VERSION_MAJOR_NUM contains two digets (49),
earlier that it was just one digit (4). The correct header to include to
do version checks is unicode/uversion.h. USCRIPT_MANDAEAN is the old
alias of USCRIPT_MANDAIC (same numeric value). U_JG_FARSI_YEH is only
available since ICU 4.4. Note that on older icu versions (4.2.1) the
200B (ZWSP) Zero Width Space breakiterator testcase fails (others
succeed).

Change-Id: If73c1402239a28546077437e9382f0bd38642bad
Reviewed-on: https://gerrit.libreoffice.org/4139
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-06-03 11:16:37 +00:00
368e06b05a officecfg: remove Package_cppheader
Instead include generated headers directly from workdir.

Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65
2013-05-07 17:07:43 +02:00
c042cd05e9 gbuild: drop uses of removed packages
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac
Reviewed-on: https://gerrit.libreoffice.org/3502
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 05:18:03 +00:00
b9337e22ce execute move of global headers
see https://gerrit.libreoffice.org/#/c/3367/
and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details

Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-23 22:20:31 +02:00
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
aa753f01ba -Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27 09:36:53 +01:00
79b0046ba0 remove legacy build.pl prj/build.lst files. 2013-03-14 17:05:51 +00:00
b768611724 remove all d.lst
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28 18:40:06 +01:00
a97a16d330 Remove unused preprocessor defined functions in the unicode utils
Also remove corresponding unusedcode.easy entries and an
unusedcode.easy entry that I could not find in the master branch

Change-Id: If329fe1226bd40f86cc0fd8d912876bf7a7984b2
2013-02-23 18:34:57 +02:00
138e5a0518 make it possible to build with system icu 4.2 (RHEL-6)
Change-Id: I69bf7bc33a619c4aa9483e2dc3d5540e4dfa7458
2013-02-19 15:42:14 +00:00
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
b92a0d9208 convert icu to gbuild and add to tail_build
Change-Id: Id7d8bc05b1393cc2bae4a531c8a47f62df24b1d6
Reviewed-on: https://gerrit.libreoffice.org/1488
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2012-12-27 15:53:39 +00:00
81e16cea9a mvoe rtl_(u)string_alloc to sal
No point in hidding something useful like this in some helper lib.

Change-Id: I7332d7f6bd428378cd19e7e95ad130771a541140
2012-12-06 13:35:18 +01:00
6972b7a0af sal_Bool->bool in i18nutil
Change-Id: Iafb0095a1320ad785e1d0ccbaeac9f26cc4dd02f
2012-10-04 21:29:33 +02:00
5032dc0fc3 gbuild: invert handling of standard system libraries:
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.

Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28 16:49:08 +02:00
b85c349783 gbuild: replace direct gb_STDLIBS use with ...
... new gb_LinkTarget_add_standard_system_libs

Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28 16:49:06 +02:00
2e677c3981 gbuild: split uwinapi out of gb_STDLIBS
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28 16:49:05 +02:00
ee1b6b657c these 9 scripts are in icu >= 4.8, but not in 4.6.1
Change-Id: I418968e0a8959730e5ef0c20769fd07ca1f8f23c
2012-09-03 20:45:46 +01:00
4b5aa7a0be Add a way to get a sample language for a given scriptcode
Change-Id: I3a0f561aa2838870c7fc35b2a976f133f3667104
2012-09-03 17:01:38 +01:00
2c47c9989e re-base on ALv2 code. Includes:
cws mba34issues01: #i117709#: make sure that parent of error message box is visible
    Patch contributed by Mathias Bauer
    http://svn.apache.org/viewvc?view=revision&revision=1172346
    i#119036 - improve user experience of certification dialog - only shown once
    Patch contributed by Oliver-Rainer Wittmann
    http://svn.apache.org/viewvc?view=revision&revision=1299727
2012-07-13 21:38:47 +01:00
b8c5f65779 fdo#42986 - UI wide screen format (16:10): Add Page size
Change-Id: Ie769c9a65e85f91395b3495fadb6f5e688cbe9af
2012-07-06 14:04:01 +04:00
fdda178d88 targetted improvement of UNO API includes / usage 2012-07-02 14:43:34 +01:00
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
5dd3bf34cb use new configmgr api and devomit visible code
Change-Id: I386725e07c34336249dfc935b1e9f9624d1d3be8
2012-06-15 15:41:12 +01:00
0f66309779 reduce a gadzillion make_pairs executions to simple array of pod
Change-Id: I38249d12d0c4e7a732b505cf90e1e8806c718229
2012-05-16 15:05:36 +01:00
a50a33c3a7 Fix fdo#49720: Dropped unnecessary "sh -c" from popen call
Change-Id: I5de4ce4e26d995c447c99c8558f621dba6cdf110
2012-05-10 13:45:32 +02:00
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
9c99dac096 fdo#42986 Add Presentationsize 16:9 Widescreen 2012-04-23 22:18:33 +04:00
4c50f23f87 LinkTarget.mk: remove gb_LinkTarget_add_package_headers 2012-04-08 01:05:53 +02:00
c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +02:00
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00