Commit Graph

1136 Commits

Author SHA1 Message Date
Xavier Bonaventura
4e5fe20519 Use context manager instead of raw open
Raw open should be avoided to prevent that in case of an exception
the file is not closed.
This also has the advantage that if the user forgets to call close
the file is still closed.
2021-01-10 11:08:48 +10:00
Christian Rauch
3cdab58d4e fix typo 2020-12-13 23:24:55 +10:00
Nicolas Caramelli
75e3154422 The file include/GL/gl.h generated from OpenGL-Registry uses __gl_gl_h_ 2020-12-04 16:45:04 +10:00
Tim Gates
bfc724c6cc docs: fix simple typo, direcly -> directly
There is a small typo in auto/src/glew_head.c.

Should read `directly` rather than `direcly`.
2020-11-28 10:28:05 +10:00
Alexey Tereshenkov
0b97f2568d Rename lgtm.yml to hide the file 2020-11-26 20:31:22 +10:00
Alexey Tereshenkov
7764128044 Add lgtm.yml configuration file
Allow LGTM.com use the custom configuration to analyze C++ code of the project
2020-11-26 20:31:22 +10:00
Nigel Stewart
9fb23c3e61 Documentation updates for GLEW 2.2.0 release 2020-03-15 21:59:54 +10:00
Nigel Stewart
555aa3ffc0 Exclude GLU and GL_SGIX_color_type extensions 2020-03-15 21:52:24 +10:00
Jose Santiago
5ea705737a Link the UTILS to the static library if BUILD_SHARED_LIBS is disabled. 2020-03-06 07:54:09 +10:00
Jose Santiago
882aef9761 Do not put build artifacts in the source directory. 2020-03-06 07:53:49 +10:00
Eonfge
9a2c9a14b7 Add a custom 32bit Flatpak makefile 2020-03-06 07:53:17 +10:00
Nigel Stewart
83a174e575 Fixup TOC for README.md 2020-01-27 10:46:14 +10:00
Nigel Stewart
7c706576b8 Add TOC to README.md 2020-01-27 10:44:14 +10:00
Nigel Stewart
82e8441253 GLEW 2.2.0 RC3 snapshot added 2020-01-18 10:39:33 +10:00
Nigel Stewart
18676f16d9 GL_EXT_semaphore constants fix (Issue #249) 2019-12-23 08:56:49 +10:00
Nigel Stewart
262514e123 glStencilFuncSeparate parameter name correction based on gl.xml (Issue #243) 2019-11-03 22:29:57 +10:00
Nigel Stewart
d47097985a README.md touch-up - Travis index.html no longer available 2019-09-28 13:37:35 +10:00
Nigel Stewart
17761407da README.md touch-up 2019-09-28 13:32:45 +10:00
Nigel Stewart
2ed67686ba Updated README.md with mention of fresh snapshot (2.2.0 RC2) 2019-09-28 13:31:40 +10:00
Nigel Stewart
4bbe8aa2ab Visual Studio 16 release-mode cmake fixup: libvcruntime.lib, msvcrt.lib 2019-09-28 12:27:53 +10:00
Nigel Stewart
68135131a9 Resolve visualinfo and glewinfo link warnings for vc15 build 2019-09-28 11:54:27 +10:00
Nigel Stewart
b374d9ad93 Fix vc15 release build memset link problem for v142 toolchains 2019-09-28 11:45:01 +10:00
Nigel Stewart
0831041e9f Refinements for SYSTEM=msys builds (MSYS2) 2019-09-27 23:55:50 +10:00
Nigel Stewart
3f91cd177a For SYSTEM=msys put dll in bin directory 2019-09-27 23:32:44 +10:00
Nigel Stewart
5509e2e13e Resolve gcc -Wshadow / MS C4456 compilation warning(s) 2019-09-27 22:08:15 +10:00
Nigel Stewart
ea30c83d92 linux-clang: -std=c89 rather than -ansi 2019-08-19 22:46:06 +10:00
Nigel Stewart
9170611428 Travis: Use Xenial for build coverage 2019-08-19 22:43:44 +10:00
Nigel Stewart
47588720ee Extend GLEW_INCLUDE support to eglew.h and glxew.h 2019-06-13 09:28:51 +10:00
Stefan Zabka
154f83e024 Made build description a bit clearer
I hope this version is more understandable for people just reading the Readme
I had to go read #13 first to understand what this meant.
2019-04-23 23:03:53 +10:00
Nigel Stewart
61d167422c Elbrus 2000 architecture support added for Linux make build 2019-04-07 19:39:22 +10:00
Nigel Stewart
3565eacf87 Include cstddef and cstdint (rather than C versions) for C++ compiler on macOS and Linux 2019-03-19 20:08:48 +10:00
TheVice
1f833c032f [parse_xml] resolved "TypeError: a bytes-like object is required, not 'str'"
after commit 10f2d76c62 was applied.
2019-03-17 22:48:22 +10:00
TheVice
1b17b0b210 [parse_xml] replaced OptionParser with ArgumentParser according
to depreciation of first one starting from Python version 3.2.
2019-03-17 22:48:22 +10:00
Nigel Stewart
f5feecd46e Extend glew.pc output to mention GL linking (-framework on OSX) 2019-03-17 09:05:27 +10:00
Valentin Sarthou
10f2d76c62 Write files in binary format in parse_xml.py
Issue:
On Windows platforms, when writing files with python in text-mode, LF
characters get converted to CRLF.
This behavior leads to incorrect code generation in the steps following
parse_xml.py

Fix:
Replace file access mode by 'wb' to avoid any platform-dependent behavior
regarding newlines.
2019-03-17 09:03:24 +10:00
Nigel Stewart
565caae5ad Prune auto/core for GLX code generation from XML 2019-02-05 06:37:36 +10:00
Nigel Stewart
521fa58c63 Use parse_xml.py for GLX code generation 2019-02-05 06:37:36 +10:00
Nigel Stewart
3e6dfc4414 Prune auto/core for WGL code generation from XML 2019-02-04 07:58:55 +10:00
Nigel Stewart
dcff76b0d1 Type-mapping isn't needed for parse_xml.py WGL purposes, after all 2019-02-04 07:58:55 +10:00
Nigel Stewart
62b9213b44 Use parse_xml.py for WGL code generation 2019-02-04 07:58:55 +10:00
Nigel Stewart
278a314d99 Improved robustness for EGL-Registry download 2019-02-03 18:45:46 +10:00
Nigel Stewart
6f31e134f6 Extend glewinfo to support optional -experimental mode, default to normal mode of operation 2019-02-02 15:03:57 +10:00
TheVice
e304e73230 [filter_gl_ext] removed command that currently not applicable. 2019-02-02 15:03:27 +10:00
Nigel Stewart
103b3d156e Update copyright information for 2019 2019-02-02 14:19:42 +10:00
Nigel Stewart
44049b7de2 FreeBSD cmake fixup for locating X11 include and lib 2019-02-02 09:23:01 +10:00
Nigel Stewart
899d47a2f3 FreeBSD build fixup to use X11 from /usr/local 2019-02-02 09:23:01 +10:00
Nigel Stewart
fbcb13d274 FreeBSD xargs fixup for auto/Makefile 2019-02-02 09:23:01 +10:00
Nigel Stewart
a8df738667 FreeBSD using #!/usr/bin/env for portability 2019-02-02 09:23:01 +10:00
Nigel Stewart
79ca96a53e FreeBSD pkg install for README.md 2019-02-02 09:23:01 +10:00
Nigel Stewart
ce7bb5a8f0 Whitespace tidy-up for README.md 2019-01-31 08:31:31 +10:00