1837 Commits

Author SHA1 Message Date
Jinrong Xie
8702fc44ec Merge pull request #1 from dcnieho/git_master
Update from original
2016-01-18 00:00:40 -08:00
Diederick Niehorster
da7d22e896 Merge remote-tracking branch 'svn/trunk' into git_master 2016-01-18 00:55:17 +01:00
dcnieho
8b07b11dc8 fixed up wrong comment
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1782 7f0cb862-5218-0410-a997-914c9d46530a
2016-01-17 23:53:11 +00:00
dcnieho
a2f7cd975f Emit the correct LIBNAME to .pc files
Irrespective of "FREEGLUT_REPLACE_GLUT" being set to "No" or being on
Win32 where this variable does not even exist, the .pc file contained
Libs: -L${libdir} -lglut

Instead, emit the correct value.

(cherry picked from commit d06589f55c87370d388dec333f4bff35c29762f3)

(cherry picked from commit d06589f55c87370d388dec333f4bff35c29762f3)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1781 7f0cb862-5218-0410-a997-914c9d46530a
2016-01-12 21:09:00 +00:00
Diederick Niehorster
36a0e2269d Merge remote-tracking branch 'svn/trunk' into git_master 2016-01-12 22:08:22 +01:00
Diederick C. Niehorster
ef7d13461d Merge pull request #41 from msys2/git_master
Emit the correct LIBNAME to .pc files
2016-01-12 22:08:30 +01:00
Ray Donnelly
d06589f55c Emit the correct LIBNAME to .pc files
Irrespective of "FREEGLUT_REPLACE_GLUT" being set to "No" or being on
Win32 where this variable does not even exist, the .pc file contained
Libs: -L${libdir} -lglut

Instead, emit the correct value.
2016-01-08 22:11:16 +00:00
Diederick Niehorster
575feb52b0 Merge remote-tracking branch 'svn/trunk' into git_master 2015-12-14 17:23:27 +01:00
dcnieho
1026c5e915 Mention Wayland build requirements in documentation
Following https://github.com/dcnieho/FreeGLUT/issues/38 ;
mention Wayland support in README, Wayland build
instructions and requirements in README.cmake.

Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>

(cherry picked from commit 18773bcc818714436e3aeb6229b2f84125d6edc4)

(cherry picked from commit 18773bcc818714436e3aeb6229b2f84125d6edc4)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1780 7f0cb862-5218-0410-a997-914c9d46530a
2015-12-14 16:22:51 +00:00
dcnieho
012736d296 Fixed C2275 compiler error in fg_spaceball_mswin.c
- Known to only affect Visual Studio 2010. Visual Studio 2013 and up may have relaxed the error.

(cherry picked from commit 6b8552edbd715eb77921038c85dda46f90038154)

(cherry picked from commit 6b8552edbd715eb77921038c85dda46f90038154)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1779 7f0cb862-5218-0410-a997-914c9d46530a
2015-12-14 16:22:44 +00:00
dcnieho
f812349a8f Additional clarification about GLUT_ALLOW_NEGATIVE_WINDOW_POSITION
(cherry picked from commit 836fe46441ad9fc3ba1e6b2d1dc9da0e26353b21)

(cherry picked from commit 836fe46441ad9fc3ba1e6b2d1dc9da0e26353b21)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1778 7f0cb862-5218-0410-a997-914c9d46530a
2015-12-14 16:22:38 +00:00
dcnieho
5a86d86eef Updated documentation in relation to GLUT_ALLOW_NEGATIVE_WINDOW_POSITION.
(cherry picked from commit 9fa5db9841ecc20300c96e7f6957096c6cf83d9e)

(cherry picked from commit 9fa5db9841ecc20300c96e7f6957096c6cf83d9e)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1777 7f0cb862-5218-0410-a997-914c9d46530a
2015-12-14 16:22:31 +00:00
dcnieho
d8e364d053 Defined logic for glutCreateSubWindow when negative position is allowed
Added check for if fgCreateWindow cannot allocate a window, it will produce an error.

(cherry picked from commit 0ed05f64589fbcc67f225e1dc3ef6f5181fd319f)

(cherry picked from commit 0ed05f64589fbcc67f225e1dc3ef6f5181fd319f)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1776 7f0cb862-5218-0410-a997-914c9d46530a
2015-12-14 16:22:25 +00:00
dcnieho
d898bfe4c6 Added GLUT_ALLOW_NEGATIVE_WINDOW_POSITION so windows can be created with negative position coordinates.
(cherry picked from commit e7f38b763fec763b3887a0dc29d04e9576d18e78)

(cherry picked from commit e7f38b763fec763b3887a0dc29d04e9576d18e78)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1775 7f0cb862-5218-0410-a997-914c9d46530a
2015-12-14 16:22:18 +00:00
Diederick C. Niehorster
49921da0d0 Merge pull request #40 from Tarnyko/git_master
Mention Wayland build requirements in documentation
2015-12-14 17:20:48 +01:00
Diederick C. Niehorster
8dd4743e55 Merge pull request #39 from rcmaniac25/feature/negative_window_coordinates
Support for negative window position coordinates
2015-12-14 17:20:39 +01:00
John Archdeacon
6b8552edbd Fixed C2275 compiler error in fg_spaceball_mswin.c
- Known to only affect Visual Studio 2010. Visual Studio 2013 and up may have relaxed the error.
2015-12-13 16:59:39 -05:00
Rcmaniac25
836fe46441 Additional clarification about GLUT_ALLOW_NEGATIVE_WINDOW_POSITION 2015-12-13 16:53:20 -05:00
Manuel Bachmann
18773bcc81 Mention Wayland build requirements in documentation
Following https://github.com/dcnieho/FreeGLUT/issues/38 ;
mention Wayland support in README, Wayland build
instructions and requirements in README.cmake.

Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-07 15:41:58 +01:00
Rcmaniac25
9fa5db9841 Updated documentation in relation to GLUT_ALLOW_NEGATIVE_WINDOW_POSITION. 2015-12-06 01:01:28 -05:00
Rcmaniac25
0ed05f6458 Defined logic for glutCreateSubWindow when negative position is allowed
Added check for if fgCreateWindow cannot allocate a window, it will produce an error.
2015-12-05 16:12:49 -05:00
Rcmaniac25
e7f38b763f Added GLUT_ALLOW_NEGATIVE_WINDOW_POSITION so windows can be created with negative position coordinates. 2015-12-05 16:12:49 -05:00
Diederick Niehorster
0d4a47137e Merge remote-tracking branch 'svn/trunk' into git_master 2015-10-24 12:41:53 +02:00
jtsiomb
f0facfc489 minor C89 conformity fixes in fg_window_egl.c
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1774 7f0cb862-5218-0410-a997-914c9d46530a
2015-10-20 04:35:28 +00:00
Diederick Niehorster
b7737a9c94 Merge remote-tracking branch 'svn/trunk' into git_master 2015-10-17 13:15:34 +02:00
dcnieho
008bc37708 Removed invalid PDB install
(cherry picked from commit 23a12a465b6642b996b47dd3fe025abbafbb19e6)

(cherry picked from commit 23a12a465b6642b996b47dd3fe025abbafbb19e6)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1773 7f0cb862-5218-0410-a997-914c9d46530a
2015-10-17 11:15:29 +00:00
Diederick C. Niehorster
785aaa8811 Merge pull request #36 from rcmaniac25/fix/pdb_install
Removed invalid PDB install
2015-10-17 13:14:20 +02:00
Rcmaniac25
23a12a465b Removed invalid PDB install 2015-10-17 00:38:22 -04:00
dcnieho
98695e579d Export relevant static compile flags on windows.
Use target_compile_definitions to populate the
INTERFACE_COMPILE_DEFINITIONS property on the freeglut_static target on
windows.

(cherry picked from commit ffc24cfb7607739e49cd2730e44301ef4f3072ae)

(cherry picked from commit ffc24cfb7607739e49cd2730e44301ef4f3072ae)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1772 7f0cb862-5218-0410-a997-914c9d46530a
2015-10-12 09:08:37 +00:00
Diederick Niehorster
bb46cf19d2 Merge remote-tracking branch 'svn/trunk' into git_master 2015-10-12 11:08:31 +02:00
Diederick C. Niehorster
3ca71acdab Merge pull request #35 from jzarl/fix_cmake_package_usage_requirements
Export relevant static compile flags on windows.
2015-10-12 11:01:22 +02:00
Johannes Zarl-Zierl
ffc24cfb76 Export relevant static compile flags on windows.
Use target_compile_definitions to populate the
INTERFACE_COMPILE_DEFINITIONS property on the freeglut_static target on
windows.
2015-10-10 23:31:14 +02:00
dcnieho
9825293425 Set public definitions in cmake package.
As with pkg-config, the cmake package now sets "-DFREEGLUT_GLES" when
appropriate.

(cherry picked from commit 792d805542a9a96053e1fb3e49f9518ee462d9b0)

(cherry picked from commit 792d805542a9a96053e1fb3e49f9518ee462d9b0)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1771 7f0cb862-5218-0410-a997-914c9d46530a
2015-07-11 21:27:03 +00:00
Diederick Niehorster
d3839cd975 Merge remote-tracking branch 'svn/trunk' into git_master 2015-07-11 23:26:59 +02:00
dcnieho
866f61ae9c Create cmake package using imported targets.
Create and install the necessary files so that cmake can find FreeGLUT
in config mode ("find_package(FreeGLUT CONFIG)").

This pushes cmake_minimum_required to 3.0.0.

(cherry picked from commit ba7326ce8db20dd52785ef1a08da06d8341fc4c1)

(cherry picked from commit ba7326ce8db20dd52785ef1a08da06d8341fc4c1)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1770 7f0cb862-5218-0410-a997-914c9d46530a
2015-07-11 21:26:56 +00:00
dcnieho
c751a9179d Fix compilation on Linux.
Commit ce15044f7362943aee7d465bf20310ba02991dae introduced an error
"undefined reference to `sball_initialized'" on non-Windows operating
systems.

(cherry picked from commit 989ceddc191419daa02b08f664bbbce11cbc5598)

(cherry picked from commit 989ceddc191419daa02b08f664bbbce11cbc5598)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1769 7f0cb862-5218-0410-a997-914c9d46530a
2015-07-11 21:26:48 +00:00
Diederick C. Niehorster
9f7338ebe5 Merge pull request #32 from jzarl/cmake-package
Cmake package
2015-07-11 23:25:29 +02:00
Diederick C. Niehorster
e55bfc05a7 Merge pull request #31 from jzarl/fix_compile_linux
Fix compilation on Linux.
2015-07-11 23:20:54 +02:00
Johannes Zarl
792d805542 Set public definitions in cmake package.
As with pkg-config, the cmake package now sets "-DFREEGLUT_GLES" when
appropriate.
2015-07-10 22:13:50 +02:00
Johannes Zarl
ba7326ce8d Create cmake package using imported targets.
Create and install the necessary files so that cmake can find FreeGLUT
in config mode ("find_package(FreeGLUT CONFIG)").

This pushes cmake_minimum_required to 3.0.0.
2015-07-10 22:12:51 +02:00
Johannes Zarl
989ceddc19 Fix compilation on Linux.
Commit ce15044f7362943aee7d465bf20310ba02991dae introduced an error
"undefined reference to `sball_initialized'" on non-Windows operating
systems.
2015-07-10 16:31:42 +02:00
Diederick Niehorster
85b23a7130 Merge remote-tracking branch 'svn/trunk' into git_master 2015-06-29 12:24:37 +02:00
dcnieho
5d045f4f15 todo note about Windows 8 touch support
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1768 7f0cb862-5218-0410-a997-914c9d46530a
2015-06-29 10:14:05 +00:00
dcnieho
976e05c12f minor fix on CMakeLists for checking MSVC_VERSION
(cherry picked from commit ce15044f7362943aee7d465bf20310ba02991dae)

(cherry picked from commit ce15044f7362943aee7d465bf20310ba02991dae)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1767 7f0cb862-5218-0410-a997-914c9d46530a
2015-06-29 10:09:48 +00:00
dcnieho
e595297daf update CMake file so that it will generate proper _WIN32_WINNT and WINVER definitions in visual studio project setting.
(cherry picked from commit 96e89316b6de6502522f1527b0e132e731af175a)

(cherry picked from commit 96e89316b6de6502522f1527b0e132e731af175a)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1766 7f0cb862-5218-0410-a997-914c9d46530a
2015-06-29 10:09:42 +00:00
dcnieho
5259e6156b fixed unsafe usage of malloc() pointed out by jtsiomb.
(cherry picked from commit 16bc9077353d8c08e5214ec09288ec03f53aed97)

(cherry picked from commit 16bc9077353d8c08e5214ec09288ec03f53aed97)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1765 7f0cb862-5218-0410-a997-914c9d46530a
2015-06-29 10:09:33 +00:00
dcnieho
8cafe7e34c fixed unsafe usage of malloc() pointed out by jtsiomb.
(cherry picked from commit aa5514903def8bcc8ceac2487f629b766d23094d)

(cherry picked from commit aa5514903def8bcc8ceac2487f629b766d23094d)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1764 7f0cb862-5218-0410-a997-914c9d46530a
2015-06-29 10:09:27 +00:00
dcnieho
8dfbfaca71 Minor fix on indentation.
(cherry picked from commit c93cdcdbbd8e3611ad3e8a0ca32bba9be2ff0c2c)

(cherry picked from commit c93cdcdbbd8e3611ad3e8a0ca32bba9be2ff0c2c)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1763 7f0cb862-5218-0410-a997-914c9d46530a
2015-06-29 10:09:20 +00:00
dcnieho
238b0ae02c Minor fix on indentation.
(cherry picked from commit bfe1b60a499ab12e648d9d68c8012b35fa5eec11)

(cherry picked from commit bfe1b60a499ab12e648d9d68c8012b35fa5eec11)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1762 7f0cb862-5218-0410-a997-914c9d46530a
2015-06-29 10:09:13 +00:00
dcnieho
949f7b3747 minor update making code more compact.
(cherry picked from commit 09f401761814677e37e750aeecb9ffee450bd989)

(cherry picked from commit 09f401761814677e37e750aeecb9ffee450bd989)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1761 7f0cb862-5218-0410-a997-914c9d46530a
2015-06-29 10:09:06 +00:00