Commit graph

538 commits

Author SHA1 Message Date
Begasus
ce11068030 ICU-22392 Add, primary support for Haiku 2024-09-24 14:34:11 -07:00
Oleksandr Hubanov
9d9bdfd64f ICU-22916 Remove use of makedep from MVS build, update doc
alexgubanow alex@0x0h.com
2024-09-23 09:24:03 -07:00
Oleksandr Hubanov
5f9f8b2053 ICU-22714 fix zos build, use OpenXL
See #3008
2024-09-20 17:12:28 -07:00
Tim Chevalier
57ed0a2a53 ICU-22794 MF2: Move .json files for tests into top-level testdata/ directory
Modify ICU4C and ICU4J test readers to handle all tests

Add `ignoreJava` and `ignoreCpp` properties to tests where needed

Includes parser bug fixes:

ICU4J: require a complex-body after declarations

ICU4J: Correctly parse the complex body after an unsupported statement

ICU4J: Handle date params in tests and remove default params for tests

ICU4J: Handle decimal params in tests

ICU4J: Require whitespace before variable/literal in reserved annotation

ICU4J: Require whitespace between options

ICU4J: Require a variable-expression in an .input declaration

ICU4J: don't require space between last key and pattern in variant

ICU4J: don't require space between selectors

ICU4J: allow whitespace after '=' in option

ICU4J: parse escape sequences in quoted literals according to grammar

ICU4J: allow whitespace within markup after attributes list
2024-08-08 09:14:44 -07:00
Fredrik Roubert
58df035f1d ICU-22310 Revert now obsolete autoconf bug workaround for echo. 2024-06-13 15:09:00 +02:00
Steven R. Loomis
9d3e12b820 ICU-22601 v74.2 fix dangling LICENSE file
- 'git archive' works on a subtree so did not include LICENSE
- we copy the LICENSE file from the build dir
- broken by ICU-22309
2023-12-22 09:28:09 -08:00
Fredrik Roubert
7ec1765ce8 ICU-21107 Update ICU4C minimum standard version from C++11 to C++17. 2023-12-14 09:36:22 -08:00
Kirill A. Korinsky
f2459c16dc ICU-22211 macOS PPC should use .p2align 4 instead .balign 16
An attempt to build ICU on old macOS with PowerPC leads to an issue:
```
./out/tmp/icudt72b_dat.S:7:Unknown pseudo-op: .balign
./out/tmp/icudt72b_dat.S:7:Rest of line ignored. 1st junk character valued 49 (1).
```

Why? Because `as` is too old.

Anyway, switch back to `.p2align` fix a build and allows to pass all tests.

See: https://trac.macports.org/ticket/66258

Signed-off-by: Kirill A. Korinsky <kirill@korins.ky>
2023-03-17 09:10:21 -07:00
Jeff Genovy
861e55c246 ICU-21972 Use a shared props file for the ICU Major Version number in the Windows Visual Studio project files. 2022-03-30 20:55:36 -07:00
Steven R. Loomis
4a8b16056f ICU-21764 icu-data-bin: fix filenames to nn_n
ex: icu4c-70_1-data-bin-b.zip
(was incorrectly "70.1" before)
2021-09-29 10:40:55 -07:00
David Haney
9ff39368b2 ICU-21680 Add -std flag when generating dependency information 2021-07-27 08:40:09 -04:00
luz paz
73eca0a9c9 ICU-21580 Fix typos in icu4c/
Found via `codespell -q 3 -L ans,anumber,atleast,ba,bre,hace,nd,nin,ois,rsource,som,sur,tht -S icu4c/source/data/zone,icu4c/source/data/lang`
ICU-21580 Fix source (related) typos
ICU-21580 Revert extraneous auto-encoding
ICU-21580 Re-add previous reverted fix without auto-encoding
2021-07-19 13:22:38 -05:00
yumaoka
5518bb0c84 ICU-21623 Removed linker flag -dexpall for AIX xlclang build.
See #1727
2021-05-20 11:49:40 -04:00
Long Nguyen
fcd8c34f5e ICU-21560 mingw: Remove version numbers from link flags 2021-03-31 13:02:35 -07:00
Long Nguyen
6092942e23 ICU-21435 Remove -Bsymbolic flag for mingw targets 2021-01-20 11:31:49 -08:00
Hugo van der Merwe
a08ac00c67 ICU-21304 Update old userguide links to unicode-org.github.io 2020-10-01 01:28:05 +02:00
Jeff Genovy
f78136f653 ICU-20435 Fix parallel builds with Cygwin to 3.x 2020-03-26 10:18:23 -07:00
Steven R. Loomis
f63a8bb4e7 ICU-20600 build icu-data-bin files
make dist will now produce:
- icu4c-67.1-data-bin-b.zip
- icu4c-67.1-data-bin-l.zip
2020-03-17 08:30:33 -07:00
Vincent Torri
caa25fd878 ICU-20842 Fix library names in pkg-config files on Windows (mingw-w64)
since the move of the DLL to bin/ the library names in .pc files is
wrong. With ICU 65.1, icu-uc.pc contains

Libs: -L${libdir} -licuuc65 -licudt65

the version number should not appear. Indeed, the linker looks for the
libraries in $prefix/lib in the following order (see [1]):

libxxx.dll.a
xxx.dll.a
libxxx.a
cygxxx.dll
libxxx.dll
xxx.dll

As the is only the import library with no versioning (which is normal),
the is a link error when using ICU pc files.

[1] https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Using_ld_the_GNU_Linker/win32.html
2020-02-19 14:57:59 -08:00
Jeff Genovy
783ee4c902 ICU-20322 On MinGW, move the DLLs to the "bin" directory.
This change builds on Vincent Torri's changes.

This installs the ICU DLL files in $prefix/bin instead of $prefix/lib.

Note: In order to disable this change in behavior you can edit
the "mh-mingw*" file(s). If you set the variable MINGW_MOVEDLLSTOBINDIR
to NO instead of YES, then it will retain the previous behavior of
installing the DLLs into the bin folder.
2020-02-12 14:19:15 -08:00
Jeff Genovy
c5ad4664f9 ICU-20768 Remove fixed DLL base addresses when building Windows DLLs.
Remove redundant FixedBaseAddress entries from the vcxproj files.
Make the pkgdata -b option a no-op, and output a message to the user.
2019-08-20 15:37:15 -07:00
Jeff Genovy
b2170e4773 ICU-20718 Fix failing MSYS2 build due to current path confusion.
The Azure DevOps VM images that are used in the CI builds recently
updated the version of MSYS that is installed, which is causing the
MSYS builds to fail. It seems that this new version has issues with
using the shell cmd method in the makefiles to obtain the current path.

However, we can avoid this entirely by using the cygpath utility, which
also avoids the overhead of launching a new cmd instance just to get
the path. Unfortunately, it seems that older versions of MSYS don't
have this utility program included by default, though versions of 
MSYS 2 and up do have it included by default.

We can continue using the old approach for the older versions and use
the cygpath approach for new versions.
2019-07-22 17:04:06 -07:00
Steven R. Loomis
1c553b9cf2 ICU-20563 fix macosx rpath breakage in the data build
- in the rpath case, we do NOT want a trailing space in LD_SONAME

regression was introduced in ICU-20526 with
 83a0542b5b (master)
 b76cb6517e (in maint-64)
2019-04-17 11:48:23 -07:00
Steven R. Loomis
83a0542b5b ICU-20526 fix pkgdata where LD_SONAME has a trailing space
- added PKGDATA_TRAILING_SPACE to all of the pkgdataMakefile.in file.
- NOTE: Users who create their own pkgdata.inc / icupkg.inc files may need
   to recreate this PKGDATA_TRAILING_SPACE behavior.

- used the above variable, normally undefined, in mh-* files that need a trailing space

- Also, fixed use of system() in pkgdata.cpp per ICU-20538
This was causing pkgdata to return a zero status even on clang
failure, masking this issue.
2019-04-03 16:43:42 -07:00
Steven R. Loomis
2159e1fb81 ICU-20229 update make dist to use git, not svn
- use git instead of svn for versioning
- update generated file names to match official downloads

Example filenames:
- icu4c-63_1-c5749aaf94-src.tgz (includes git hash or tag)
- icu4c-63_1-src.tgz (hard link to above)
- icu4c-src.tgz (symlink)

- icu4c-63_1-c5749aaf94-src.zip (includes git hash or tag)
- icu4c-63_1-src.zip (hard link to above)
- icu4c-src.zip (symlink)

- icu4c-63_1-c5749aaf94-data.zip (includes git hash or tag)
- icu4c-63_1-data.zip (hard link to above)
- icu4c-data.zip (symlink)

- icu4c-63_1-c5749aaf94-docs.zip (includes git hash or tag)
- icu4c-63_1-docs.zip (hard link to above)
- icu4c-docs.zip (symlink)
2019-02-21 16:08:46 -08:00
Jeff Genovy
972e31d58d ICU-20364 Cygwin builds need to set WINVER to 0x0601 for Windows 7, similar to MinGW builds. 2019-01-23 17:20:15 -08:00
Jeff Genovy
f76f68aeaa ICU-20221 Add support for building with Cygwin/GCC to the AppVeyor CI builds. 2018-10-30 10:26:07 -07:00
sav-ix
e8e3a5dee4
ICU-13138 MinGW: add 'd' suffix to the names of binary files with Debug config (#28)
For builds using Cygwin and MSVC with Debug configuration, '.dll' and '.lib' binaries has 'd' suffix.

Doing the same for builds using MinGW and MinGW64, based on the code from MSVC toolchain.

Task-number: ICU-13138
2018-09-27 14:27:37 -07:00
Shane Carr
16aedd5e1a ICU-13670 Changing CFLAGS to C11 and fixing check for unicode string literals.
X-SVN-Rev: 41263
2018-04-23 21:16:52 +00:00
Steven R. Loomis
cf95e1ec2e ICU-13139 fix EOL in distrelease.ps1, fix dist.mk
.zip and .tgz file is now equivalent

X-SVN-Rev: 40885
2018-02-09 22:32:32 +00:00
Steven R. Loomis
78944eae33 ICU-10452 update make dist to work without svn export
X-SVN-Rev: 40552
2017-10-04 22:26:24 +00:00
Jeff Genovy
ade067638e ICU-13164 Fixes for compilation and test errors when building for Windows/MinGW.
X-SVN-Rev: 40203
2017-06-23 23:28:11 +00:00
Steven R. Loomis
8e4379f9e7 ICU-13092 workaround: leave full data in the .zip file
X-SVN-Rev: 40035
2017-04-11 23:13:09 +00:00
Steven R. Loomis
7d5586210b ICU-13089 actually fix .sed bug
X-SVN-Rev: 39993
2017-04-07 00:00:03 +00:00
Steven R. Loomis
1f441dcfd8 ICU-12766 z and AIX porting: C++11 issue and icu-config issue for escaping
X-SVN-Rev: 39931
2017-03-24 21:34:40 +00:00
Steven R. Loomis
cf3e1e7f40 ICU-12766 turn on escaping for z (mh-os390)
X-SVN-Rev: 39840
2017-03-16 19:52:20 +00:00
Steven R. Loomis
e2c9cd10d5 ICU-12766 update make dist
* don't delete sprep
* properly part of ICU-10452 

X-SVN-Rev: 39836
2017-03-16 15:16:08 +00:00
Steven R. Loomis
ddcaeb9cf4 ICU-12766 solaris: most tests now build. wip
* some greek casing tests fail- need to investigate.

X-SVN-Rev: 39834
2017-03-16 14:51:39 +00:00
Steven R. Loomis
394e842e60 ICU-12766 aix/escaper: WIP.
* work around some c++11 issues
* fix some literals in rbbitst.cpp
* update escaper
* add mh-aix-va for using escaping
* work around nullptr and uchar16 issues
* revert bad icuinfo.cpp checkin

this commit still fails.

X-SVN-Rev: 39812
2017-03-15 04:12:37 +00:00
Steven R. Loomis
4968a203f0 ICU-12766 fix AIX compile opts and uchar include
X-SVN-Rev: 39754
2017-03-10 01:27:11 +00:00
Steven R. Loomis
faaaf5e796 ICU-13009 fix make dist, post reorg
X-SVN-Rev: 39751
2017-03-09 23:45:26 +00:00
Steven R. Loomis
f19978a35e ICU-13016 solaris porting
X-SVN-Rev: 39750
2017-03-09 02:12:45 +00:00
Steven R. Loomis
c8ed8a6048 ICU-12766 z: library and tools build
X-SVN-Rev: 39665
2017-02-11 02:43:09 +00:00
Andy Heninger
b15451322e ICU-12943 More Cygwin build fixes.
X-SVN-Rev: 39602
2017-01-25 06:08:26 +00:00
Andy Heninger
46beebce64 ICU-12943 Cygwin/MSVC Windows build fixes.
X-SVN-Rev: 39598
2017-01-23 00:38:28 +00:00
Steven R. Loomis
5474afe9d9 ICU-11387 improve source tarball packaging (post 58.1)
X-SVN-Rev: 39473
2016-10-20 17:22:15 +00:00
Steven R. Loomis
f334e613c1 ICU-12563 fix cross-compile with mingw
X-SVN-Rev: 39215
2016-09-13 20:29:47 +00:00
Steven R. Loomis
4136a2f257 ICU-12708 bye bye layout engine
X-SVN-Rev: 39176
2016-09-09 21:28:18 +00:00
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00