[waffle] [PULL] waffle-fixes
Emil Velikov
emil.l.velikov at gmail.com
Tue Jul 22 12:42:41 PDT 2014
Hi Chad,
Can you please pull the series into master. It contains most of the lengthy
series of fixes that was flowing on the mailing-list.
Note:
- Decided to drop the msvc inspired/specific changes until WGL is in.
- Includes two trivial changes the threads library that silence the compiler
warnings.
-Emil
The following changes since commit edb211e4b5b5606e03d6c8748bbae00fcdc224b6:
wflinfo: use waffle_dl_sym to get core functions (2014-07-15 07:36:46 -0700)
are available in the git repository at:
https://github.com/evelikov/Mesa.git for-upstream-3.2-pull
for you to fetch changes up to 3413e4f32ac63679d685b686eee48442459ec835:
third_party/getopt: include BSD licensed getopt implementation (2014-07-22
19:58:03 +0100)
----------------------------------------------------------------
Emil Velikov (15):
linux: plug a memory leak
core: return false on failure in waffle_window_resize
wflinfo: silence signed/unsigned comparison warning
waffle_test: build as a static library
c99: move restrict keyword to c99_compat.h header
c99: define inline keyword and use it across waffle core
c99: add snprintf and strcasecmp
c99: use strerror_s over strerror_r under Windows
third_party/threads: import c11 threads emulation wrappers
third_party/threads: correct assertion
third_party/threads: add missing brackets around _MTX_INITIALIZER_NP
third_party/threads: use intptr_t for int<>void* typecasting
core: Convert to c11 threads
core: convert wcore_error_unittest to c11 threads
third_party/getopt: include BSD licensed getopt implementation
CMakeLists.txt | 14 +
examples/CMakeLists.txt | 2 +-
include/c99_compat.h | 113 +++++++
src/utils/CMakeLists.txt | 2 +-
src/utils/wflinfo.c | 2 +-
src/waffle/CMakeLists.txt | 1 +
src/waffle/api/waffle_gl_misc.c | 5 +-
src/waffle/api/waffle_window.c | 2 +-
src/waffle/core/wcore_display.c | 8 +-
src/waffle/core/wcore_display.h | 2 +
src/waffle/core/wcore_error.c | 1 +
src/waffle/core/wcore_error_unittest.c | 40 +--
src/waffle/core/wcore_platform.h | 1 +
src/waffle/core/wcore_tinfo.c | 26 +-
src/waffle/linux/linux_platform.c | 1 +
src/waffle_test/CMakeLists.txt | 2 +-
third_party/getopt/CMakeLists.txt | 10 +
third_party/getopt/LICENSE | 45 +++
third_party/getopt/getopt.h | 82 +++++
third_party/getopt/getopt_long.c | 511 ++++++++++++++++++++++++++++++++
third_party/threads/CMakeLists.txt | 25 ++
third_party/threads/LICENSE | 28 ++
third_party/threads/threads.h | 180 +++++++++++
third_party/threads/threads_posix.c | 325 ++++++++++++++++++++
third_party/threads/threads_win32.c | 527 +++++++++++++++++++++++++++++++++
25 files changed, 1909 insertions(+), 46 deletions(-)
create mode 100644 include/c99_compat.h
create mode 100644 third_party/getopt/CMakeLists.txt
create mode 100644 third_party/getopt/LICENSE
create mode 100644 third_party/getopt/getopt.h
create mode 100644 third_party/getopt/getopt_long.c
create mode 100644 third_party/threads/CMakeLists.txt
create mode 100644 third_party/threads/LICENSE
create mode 100644 third_party/threads/threads.h
create mode 100644 third_party/threads/threads_posix.c
create mode 100644 third_party/threads/threads_win32.c
More information about the waffle
mailing list