Federico Mena Quintero
2e006d78c6
Add a NEWS file with the changes in 1.0.7
2019-06-20 11:22:55 -05:00
Federico Mena Quintero
2f8240eaa9
Move NEWS to NEWS-pre-1.0.7
...
This file is in chronological order, and I think modern NEWS files
tend to be in reverse chronological order.
2019-06-20 11:22:27 -05:00
Federico Mena Quintero
c61d28ba06
man/meson.build: Add newline to the end of the file
2019-06-19 20:49:05 -05:00
Federico Mena Quintero
6b9b943d78
Merge branch 'windows_build_improvements'
2019-06-14 09:24:07 -05:00
Federico Mena Quintero
6fdb85cb75
List CMake as being available, too
2019-06-14 09:22:46 -05:00
Phil Ross
21c0d94bc4
Update README and makefile.msc comments with Windows build changes.
2019-06-14 09:20:46 -05:00
Phil Ross
6c19bf79c9
Remove the unsupported DESCRIPTION statement.
...
This causes a warning during the build:
libbz2.def(2) : warning LNK4017: DESCRIPTION statement not supported for the target platform; ignored
From https://github.com/philr/bzip2-windows/blob/v1.0.6.1/patches/04-remove_unsupported_description_option.diff
2019-06-14 09:18:54 -05:00
Phil Ross
a715b86f57
Add version information to the dll and exe files.
...
From https://github.com/philr/bzip2-windows/blob/v1.0.6.1/patches/03-add_version_resource.diff
2019-06-14 09:18:34 -05:00
Phil Ross
e0f6201b40
Build bz2-1.dll and dynamically link executables.
...
From https://github.com/philr/bzip2-windows/blob/v1.0.6.1/patches/02-build_dll.diff
2019-06-14 09:17:31 -05:00
Phil Ross
2b374b8211
Replace the deprecated cl -o option with /Fe.
...
From https://github.com/philr/bzip2-windows/blob/v1.0.6.1/patches/01-replace_deprecated_compile_options.diff
2019-06-14 09:17:10 -05:00
Phil Ross
a85d910eef
Ignore Windows build outputs.
2019-06-14 09:16:49 -05:00
Phil Ross
a723502569
Fix test paths.
...
Test files were moved into a subdirectory in commit f6f3326c
.
2019-06-14 09:15:48 -05:00
Federico Mena Quintero
636c0704c7
Merge branch 'fix_large_files_on_windows' into 'master'
...
Fix a 'not a normal file' error when compressing large files on Windows.
See merge request federicomenaquintero/bzip2!17
2019-06-14 13:40:50 +00:00
Federico Mena Quintero
06d9aba5f0
Rename COMPILING.MD to COMPILING.md for consistency
2019-06-14 08:38:09 -05:00
Federico Mena Quintero
b964e31c5e
Move all compilation instructions to COMPILING.MD
2019-06-14 08:37:13 -05:00
Federico Mena Quintero
3ae11daaea
Merge branch 'dcbaker/bzip2-compiling'
2019-06-14 08:25:00 -05:00
Federico Mena Quintero
fa2a241787
Merge branch 'add-cmake-support' into 'master'
...
Add CMake build system.
See merge request federicomenaquintero/bzip2!19
2019-06-14 13:17:30 +00:00
Federico Mena Quintero
389961dbdd
testStream(): Remove unused variable
2019-06-14 07:49:46 -05:00
Federico Mena Quintero
d5445cb18d
Merge branch 'fix-undefined' into 'master'
...
Fix undefined behavior in the macros SET_BH, CLEAR_BH, & ISSET_BH
See merge request federicomenaquintero/bzip2!18
2019-06-12 23:38:30 +00:00
Micah Snyder
a9934afb36
Removing xmltex and xsltproc documentation generator reqs from gitlab CI script, as documentation isn't actually being generated in this test. Migrated cmake install to use pip3 instead of building from source.
2019-06-10 23:01:25 -04:00
Micah Snyder
e264a7f7c4
Add CMake build system.
2019-06-09 19:13:08 -04:00
Paul Kehrer
451f31b927
Fix undefined behavior in the macros SET_BH, CLEAR_BH, & ISSET_BH
...
These macros contain this pattern:
1 << ((Int32_value) & 31
This causes the undefined behavior sanitizers in clang and gcc to
complain because the shift, while ultimately stored to an unsigned
variable, is done as a signed value. Adding a cast to unsigned for
the int32 value resolves this issue.
2019-06-08 10:06:40 -04:00
Phil Ross
c31711ae29
Fix a 'not a normal file' error when compressing large files on Windows.
...
The bzip2 command on Windows would report a 'not a normal file' error
for files of size greater than 2^32 - 1 bytes.
Use _stati64 instead of _stat so that a successful result is returned
for large files.
From: https://github.com/philr/bzip2-windows/blob/v1.0.6.1/patches/06-support_64bit_file_sizes.diff
See also: https://github.com/philr/bzip2-windows/issues/3
2019-06-08 13:04:05 +01:00
Dylan Baker
9ab83fc176
Add compiling instructions for meson
2019-06-07 16:48:14 -07:00
Federico Mena Quintero
ad723d6558
Add a bzip2.doap file
...
This is a Description Of A Project standard file, with
machine-readable information on the project's metadata.
2019-06-07 18:45:55 -05:00
Federico Mena Quintero
be540ff449
Merge branch 'windows-fixes' into 'master'
...
Misc fixes
See merge request federicomenaquintero/bzip2!14
2019-06-07 22:53:08 +00:00
Federico Mena Quintero
772dc4d0c3
More markup fixing
2019-06-07 17:48:05 -05:00
Federico Mena Quintero
2bf12d960a
Fix README.md markup
2019-06-07 17:46:05 -05:00
Federico Mena Quintero
9d40779524
Turn README into README.md and update it
...
Move the news summaries to NEWS as well.
2019-06-07 17:41:37 -05:00
Federico Mena Quintero
5368451bcb
Merge branch 'alatiera/ci-3' into 'master'
...
CI: even more minor things
See merge request federicomenaquintero/bzip2!12
2019-06-07 22:10:45 +00:00
Federico Mena Quintero
f47baca49e
Add the Contributor Covenant Code of Conduct 1.4
2019-06-07 16:59:58 -05:00
Dylan Baker
6b3d675f78
meson: Support dlls with msvc
...
I've filed https://github.com/mesonbuild/meson/issues/5462 about the
fact that vs_module_defs cannot accept an empty list (the usual way in
meson to say "nothing" (like NULL, None, etc).
This allows msvc to compile a bz2-1.dll that at least passes the tests
provided.
The .def file doesn't work for mingw due to (I think) differences in the
way msvc and mingw define .def files. I *think*, but I'm not positive,
it has to do with stdcall vs cdecl, but I'm just throwing stuff at the
wall till it sticks.
2019-06-07 12:35:05 -07:00
Marty E. Plummer
9e8d164446
bzip2: fix mingw compilation
...
https://bugs.gentoo.org/393573
Signed-off-by: Marty E. Plummer <hanetzer@protonmail.com>
2019-06-07 12:35:05 -07:00
Dylan Baker
bd548eebae
meson: fix name of library
2019-06-07 12:35:05 -07:00
Jordan Petridis
e914ff3146
CI: use meson test instead of ninja test
...
meson test is a higher level wrapper around the
generated ninja code. It provides more funtionality,
valgrind/gdb/etc wrappers and its generally more flexible.
2019-06-07 21:51:04 +03:00
Jordan Petridis
c7091f75aa
CI: add a i386 ubuntu build
2019-06-07 21:51:04 +03:00
Jordan Petridis
0c70a1ff2b
CI: drop the extra autotools tests
...
Testing the autotools setup for every
distribution is expensive
and prolongs the CI build wihtout clear benefit.
Its enough to know that autotools builds in a single distribution.
2019-06-07 21:51:04 +03:00
Federico Mena Quintero
b8144bf807
Merge branch 'patch-2' into 'master'
...
Update README: changed LICENSE to COPYING
See merge request federicomenaquintero/bzip2!10
2019-06-07 18:30:05 +00:00
Federico Mena Quintero
bc8410f512
Merge branch 'patch-1' into 'master'
...
Update README: replaced CHANGE file with NEWS file
See merge request federicomenaquintero/bzip2!9
2019-06-07 18:29:40 +00:00
Federico Mena Quintero
f12450af37
Merge branch 'add_mingw_ci' into 'master'
...
Add mingw CI
See merge request federicomenaquintero/bzip2!13
2019-06-07 18:19:02 +00:00
Albert Astals Cid
0026efd72c
Add mingw CI
2019-06-07 19:11:30 +02:00
Federico Mena Quintero
22b6c782f4
Merge branch 'dcbaker/bzip2-mesonify'
2019-06-07 10:40:08 -05:00
Erich Cordoba
fd4c8ac7a8
Merge branch 'alatiera/ci-2' into 'master'
...
CI: Minor extra tweaks
See merge request federicomenaquintero/bzip2!11
2019-06-06 23:16:16 +00:00
Dylan Baker
0769a76273
.gitlab-ci: Add meson build jobs
2019-06-06 14:18:47 -07:00
Dylan Baker
0a464db0fd
move documentation into a docs/ folder
2019-06-06 14:18:47 -07:00
Dylan Baker
b4d062ec93
Move man files into a man/ directory
2019-06-06 14:18:47 -07:00
Dylan Baker
f6f3326c69
Move tests into a tests/ directory
...
I've updated autotools, meson, and the makefile.msc, though I haven't
verified tat the nmake file works.
2019-06-06 14:18:47 -07:00
Dylan Baker
736902410a
add meson build system
2019-06-06 11:10:32 -07:00
Dylan Baker
9780d98afb
gitignore: Add autotools generated files
2019-06-06 11:10:32 -07:00
Jordan Petridis
3e3d6f0fe4
CI: use gitlab's 'extends' instead of yaml anchors
...
'extneds' keyword is more flexible and
better suited for creating job templates
like we do.
Introduced fairly recently.
https://docs.gitlab.com/ee/ci/yaml/#extends
2019-06-06 19:20:05 +03:00