commits on Jun 30 2018
success

builder: disable ccache for openssl ccache can apparently cause issues when building openssl, as I've noticed on Mac OS 10.13, save the original values of $CC and $CXX and pass them to make when building openssl.

rkitover authored to master

success

update changelog for new release

ZachBacon authored to refs/tags/v2.1.0

success

Cleanup

rkitover authored to master

failure

Libretro

retro-wertz authored to libretro

success

Libretro

retro-wertz authored to libretro

success

minor fix for mingw cross build Fix regex that changes the command to rebuild freetype with harfbuzz for cross building, as previous commit fixed that command.

rkitover authored to master

success

support older 32 bit macs running 10.7, fix build Make mac builder use -m32 in CFLAGS etc. to produce a 32 bit binary targetting 10.7 (Lion.) This provides the greatest backward compatibility for older macs, and also allows for asm filters. Fix an issue with m4 on 10.13 using a patch from macports. Support `-pX` patch level args in DIST_PATCHES in builder. Fix an issue with bison on 10.13 by bumping the version to 3.0.5. Build libxslt `--without-crypto` so that it doesn't try to link the brew libgcrypt. Invoke cmake for dists with -DCMAKE_C_COMPILER_LAUNCHER=ccache and -DCMAKE_CXX_COMPILER_LAUNCHER=ccache to use ccache, and set CMAKE_C_COMPILER and CMAKE_CXX_COMPILER to the actual compilers not prefixed by ccache. When checking for ccache in vbam cmake code, check that CMAKE_CXX_COMPILER_LAUNCHER and CMAKE_C_COMPILER_LAUNCHER were not already defined (generally on the command line.) Remove align attributes from sections in 2xSaImmx.asm, macho format on mac does not support this and the filter works fine without them. In the Quartz2D renderer, pass the NSRect view.bounds through NSRectToCGRect when calling CGContextDrawImage(), this is necessary for the 32 bit API. Bump openssl to 1.0.2o. Bump libxml2 to 2.9.8. Update URL for urw fonts, and improve the dist downloading/unpacking code to handle URLs that do not contain the filename (for .tar.gz and .zip as identified by `file`.) Change post-build for harfbuzz from `rebuild_dist freetype;` to `rebuild_dist freetype --with-harfbuzz=yes;` as it was supposed to have been. Build cmake itself with --parallel and --enable-ccache. Silence errors from killed jobs due to tmp directory being gone. Write a couple of string functions, rtrim() and gsub(). Make path_exists() handle globs with spaces in them, by escaping the space. Use --host and --build args to autoconf configure to "cross-compile" for 32 bits, this is necessary for some dists, and does not work for others, remove it for dists where it does not wor

rkitover authored to master

success

support older 32 bit macs running 10.7, fix build Make mac builder use -m32 in CFLAGS etc. to produce a 32 bit binary targetting 10.7 (Lion.) This provides the greatest backward compatibility for older macs, and also allows for asm filters. Fix an issue with m4 on 10.13 using a patch from macports. Support `-pX` patch level args in DIST_PATCHES in builder. Fix an issue with bison on 10.13 by bumping the version to 3.0.5. Build libxslt `--without-crypto` so that it doesn't try to link the brew libgcrypt. Invoke cmake for dists with -DCMAKE_C_COMPILER_LAUNCHER=ccache and -DCMAKE_CXX_COMPILER_LAUNCHER=ccache to use ccache, and set CMAKE_C_COMPILER and CMAKE_CXX_COMPILER to the actual compilers not prefixed by ccache. When checking for ccache in vbam cmake code, check that CMAKE_CXX_COMPILER_LAUNCHER and CMAKE_C_COMPILER_LAUNCHER were not already defined (generally on the command line.) Remove align attributes from sections in 2xSaImmx.asm, macho format on mac does not support this and the filter works fine without them. In the Quartz2D renderer, pass the NSRect view.bounds through NSRectToCGRect when calling CGContextDrawImage(), this is necessary for the 32 bit API. Bump openssl to 1.0.2o. Bump libxml2 to 2.9.8. Update URL for urw fonts, and improve the dist downloading/unpacking code to handle URLs that do not contain the filename (for .tar.gz and .zip as identified by `file`.) Change post-build for harfbuzz from `rebuild_dist freetype;` to `rebuild_dist freetype --with-harfbuzz=yes;` as it was supposed to have been. Build cmake itself with --parallel and --enable-ccache. Silence errors from killed jobs due to tmp directory being gone. Write a couple of string functions, rtrim() and gsub(). Make path_exists() handle globs with spaces in them, by escaping the space. Use --host and --build args to autoconf configure to "cross-compile" for 32 bits, this is necessary for some dists, and does not work for others, remove it for dists where it does not wor

rkitover authored to osx-32bit

commits on Jun 27 2018
success

support older 32 bit macs running 10.7, fix build Make mac builder use -m32 in CFLAGS etc. to produce a 32 bit binary targetting 10.7 (Lion.) This provides the greatest backward compatibility for older macs, and also allows for asm filters. Fix an issue with m4 on 10.13 using a patch from macports. Support `-pX` patch level args in DIST_PATCHES in builder.

rkitover authored to osx-32bit

success

WIP

rkitover authored to osx-32bit

failure

WIP

rkitover authored to osx-32bit

success

fix 2 broken URLs in builder script The libxslt and urw URLs were broken, replace them with working ones.

rkitover authored to master

success

WIP

rkitover authored to osx-32bit

success

travis: move cache key for ccache into jobs Move the `cache: directories: "$HOME/.ccache"` key from the top of the file into each specific job, otherwise it does not seem to have an effect as a global option.

rkitover authored to master

success

Add Coverity Badge

ZachBacon authored to master

success

add Travis CI support Use a matrix of 4 jobs, linux (ubuntu trusty), mingw i686, mingw x86-64 and mac. Automatically detect ccache in the cmake config and cache the `~/.ccache` directory for faster rebuilds. Instructions for ccache in cmake are here: https://stackoverflow.com/a/24305849 Change build status badge in README.md to Travis.

rkitover authored to master

success

test travis

rkitover authored to test-travis

success

installdeps: add ccache to list of deps Add ccache to list of deps for all platforms.

rkitover authored to master

success

installdeps: install wx-common for mxe for wxrc When cross building for win32, native wxrc is needed to generate xrc files, add wx-common to mxe dependencies which provides it.

rkitover authored to master

success

installdeps: fix build instructions for mxe Change cmake executable prefix from `x86-64` to the correct `x86_64` for the 64 bit architecture.

rkitover authored to master

success

test travis

rkitover authored to test-travis

success

fix installdeps for ubuntu:trusty Add some dependencies for the linux build that apt errors out on, hopefully this won't affect newer ubuntu or debian. Do an apt-get update before trying to install mxe dependencies for win32 cross builds, or the packages cannot be found.

rkitover authored to master

success

test travis

rkitover authored to test-travis

success

test travis

rkitover authored to test-travis

commits on Jun 26 2018
success

fix some ELF parsing vulnerabilities #255 Implement the recommendations described in issue #255 by @zzazzdzz: - Check bounds when reading ELF program header sections. - Skip reading ELF section headers if the string table pointer is NULL. - Increase the buffer size for dissassembled instructions in the dissassembly view and pass the buffer size to the disArm() and disThumb() functions so that rudimentary bounds checking can be done. Also add the constants WORK_RAM_SIZE and ROM_SIZE to reduce incidence of magic numbers and make the code a bit cleaner.

rkitover authored to elf-vulns

success

fix some ELF parsing vulnerabilities #255 Implement the recommendations described in issue #255 by @zzazzdzz: - Check bounds when reading ELF program header sections. - Skip reading ELF section headers if the string table pointer is NULL. - Increase the buffer size for dissassembled instructions in the dissassembly view and pass the buffer size to the disArm() and disThumb() functions so that rudimentary bounds checking can be done. Also add the constants WORK_RAM_SIZE and ROM_SIZE to reduce incidence of magic numbers and make the code a bit cleaner.

rkitover authored to elf-vulns

success

WIP

rkitover authored to osx-32bit

success

fix save dialogs on Mac #268 In MainFrame::ShowModal, which is used as a wrapper for wxDialog::ShowModal to also pause emulation, add the current window style flags to the additional CAPTION and RESIZE_BORDER flags being set with SetWindowStyle(), otherwise the other style flags of the window are reset causing erroneous behavior such as save dialogs appearing as open dialogs on Mac.

rkitover authored to master

success

fix some ELF parsing vulnerabilities #255 Implement the recommendations described in issue #255 by @zzazzdzz: - Implement bounds checking for reading ELF program header sections. - Skip reading ELF section headers if the string table pointer is NULL. - Increase the buffer size for dissassembled instructions in the dissassembly view and pass the buffer size to the disArm() and disThumb() functions so that rudimentary bounds checking can be done. Also add the constants WORK_RAM_SIZE and ROM_SIZE to reduce incidence of magic numbers and make the code a bit cleaner.

rkitover authored to elf-vulns