Commit Graph

1991 Commits

Author SHA1 Message Date
dcnieho
8dfbfaca71 Minor fix on indentation.
(cherry picked from commit c93cdcdbbd)

(cherry picked from commit c93cdcdbbd)

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 bfe1b60a49)

(cherry picked from commit bfe1b60a49)

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 09f4017618)

(cherry picked from commit 09f4017618)

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
dcnieho
b593d219d6 Added support for 3Dconnexion Space Navigator.
(cherry picked from commit 5c1e897f1a)

(cherry picked from commit 5c1e897f1a)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1760 7f0cb862-5218-0410-a997-914c9d46530a
2015-06-29 10:09:00 +00:00
dcnieho
c2384ac19e Added support for 3Dconnexion Space Navigator.
(cherry picked from commit 857105a0b4)

(cherry picked from commit 857105a0b4)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1759 7f0cb862-5218-0410-a997-914c9d46530a
2015-06-29 10:08:53 +00:00
Diederick C. Niehorster
2785c2e9c8 Merge pull request #26 from stonexjr/Jinrong
Added support for 3Dconnexion Space Navigator
2015-06-29 12:04:00 +02:00
Jinrong Xie
ce15044f73 minor fix on CMakeLists for checking MSVC_VERSION 2015-05-26 18:50:57 -07:00
Jinrong Xie
96e89316b6 update CMake file so that it will generate proper _WIN32_WINNT and WINVER definitions in visual studio project setting. 2015-05-25 16:30:00 -07:00
Jinrong Xie
16bc907735 fixed unsafe usage of malloc() pointed out by jtsiomb. 2015-05-13 00:53:49 -07:00
Jinrong Xie
aa5514903d fixed unsafe usage of malloc() pointed out by jtsiomb. 2015-05-13 00:42:20 -07:00
Diederick Niehorster
5a6d3b2615 Merge remote-tracking branch 'svn/trunk' into git_master 2015-04-04 20:43:49 +02:00
dcnieho
fbdcae2479 Implement initial Wayland support
This commit creates a new "wayland" backend, which can be
activated at configure time with "-DFREEGLUT_WAYLAND=ON".

If done so, it will be used instead of X11 (building both
and doing runtime detection may become possible later).
Please note that if you choose to use GL instead of GLES
(by not specifying "-DFREEGLUT_GLES=ON"), then libX11
will still be pulled as an indirect dependency.

Following features are still WIP :
- menus (not implemented, TODO) ;
- client-side decorations (not implemented, required
  because Wayland shells do not draw title bars nor
  resize grips, TODO) ;
- game mode (code is commented out, depends on WIP
  protocols tested upstream, WAIT FOR UPSTREAM) ;
- window visibility states (code is commented out,
  depends on xdg-shell protocol, TODO).

Signed-off-by: Manuel Bachmann <tarnyko@tarnyko.net>

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1758 7f0cb862-5218-0410-a997-914c9d46530a
2015-04-04 18:43:27 +00:00
Diederick C. Niehorster
7fbdb4ea1e Merge pull request #30 from Tarnyko/git_master
Implement initial Wayland support
2015-04-04 20:42:13 +02:00
Manuel Bachmann
9b30564b6d Implement initial Wayland support
This commit creates a new "wayland" backend, which can be
activated at configure time with "-DFREEGLUT_WAYLAND=ON".

If done so, it will be used instead of X11 (building both
and doing runtime detection may become possible later).
Please note that if you choose to use GL instead of GLES
(by not specifying "-DFREEGLUT_GLES=ON"), then libX11
will still be pulled as an indirect dependency.

Following features are still WIP :
- menus (not implemented, TODO) ;
- client-side decorations (not implemented, required
  because Wayland shells do not draw title bars nor
  resize grips, TODO) ;
- game mode (code is commented out, depends on WIP
  protocols tested upstream, WAIT FOR UPSTREAM) ;
- window visibility states (code is commented out,
  depends on xdg-shell protocol, TODO).

Signed-off-by: Manuel Bachmann <tarnyko@tarnyko.net>
2015-03-31 00:49:11 +02:00
jtsiomb
7634646bc1 added handy upload script which uses rsync to copy all modified files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1757 7f0cb862-5218-0410-a997-914c9d46530a
2015-03-12 19:53:32 +00:00
jtsiomb
b39d4bb27f fixed HTML mistakes in the front page, and removed the freshmeat link (freshmeat is defunct)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1756 7f0cb862-5218-0410-a997-914c9d46530a
2015-03-12 19:41:54 +00:00
jtsiomb
1db50ce44b minor fix on index.php
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1755 7f0cb862-5218-0410-a997-914c9d46530a
2015-03-12 19:32:49 +00:00
jtsiomb
ab34d382e8 web page update
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1754 7f0cb862-5218-0410-a997-914c9d46530a
2015-03-12 19:26:53 +00:00
jtsiomb
c5a4a56585 updated the readme file, and removed out of date and unmaintained files from the project root
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1752 7f0cb862-5218-0410-a997-914c9d46530a
2015-03-07 20:57:16 +00:00
jtsiomb
c16fc72a2c fixed indentation in AUTHORS
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1751 7f0cb862-5218-0410-a997-914c9d46530a
2015-03-07 18:55:40 +00:00
jtsiomb
c63102d06d added the init error handler example program contributed by Chris Marshall
Not building it as part of the demos yet, since it was submitted quite late in the 3.0 release process


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1750 7f0cb862-5218-0410-a997-914c9d46530a
2015-03-07 18:53:54 +00:00
jtsiomb
3f95e542fa - fixed a minor bug in the UNIX/X11 cursor code, causing an X error and abort
due to a stale cursor cache, when the application (which calls glutSetCursor),
  uses glutLeaveMainLoop to close the connection to the X server, and then
  re-initializes freeglut and starts over with a new connection.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1749 7f0cb862-5218-0410-a997-914c9d46530a
2015-02-28 04:15:13 +00:00
Diederick Niehorster
27d5d26426 Merge remote-tracking branch 'svn/trunk' into git_master 2015-02-20 08:14:55 +01:00
jtsiomb
3be8dc8380 removed the completely outdated FrequentlyAskedQuestions file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1747 7f0cb862-5218-0410-a997-914c9d46530a
2015-02-18 05:20:50 +00:00
jtsiomb
310764e238 MacOSX doesn't define HOST_NAME_MAX in unistd.h, which made freeglut fail to
build. Now, if the definition is missing, we'll just define it arbitrarilly as
255, which should be a safe value. This is just needed for an obscure X11 WM
protocol.



git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1746 7f0cb862-5218-0410-a997-914c9d46530a
2015-02-18 05:03:16 +00:00
jtsiomb
db2ea877b0 - changed the main INCLUDE_DIRECTORIES definition to place the main header
locations first in the list instead of appending them. This gives priority to
  our freeglut*.h files instead of the old system-wide installed ones.
- removed the Xxf86vm hack from CMakeLists.txt: it seems like it's not needed
  any more in new versions of cmake, and it fails to link on MacOSX.



git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1745 7f0cb862-5218-0410-a997-914c9d46530a
2015-02-18 04:59:57 +00:00
jtsiomb
8c295f0617 added INCLUDE_DIRECTORIES(${X11_INCLUDE_DIR}) to make sure X11 header files are correctly located, on systems where they are in weird places.
This closes bug: #218


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1744 7f0cb862-5218-0410-a997-914c9d46530a
2015-02-18 03:59:21 +00:00
jtsiomb
7229171bf4 Applied Daniel Macks' patch to use ${CMAKE_INSTALL_LIBDIR} instead of
hardcoding lib for the installation directory of libraries, with the
additional modification of installing the pkg-config files there too.
closing bug #217


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1743 7f0cb862-5218-0410-a997-914c9d46530a
2015-02-18 00:37:05 +00:00
jtsiomb
3d4b5a78a9 pkgconfig files should go to $(PREFIX)/lib, not $(PREFIX)/share. Closing bug #216
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1742 7f0cb862-5218-0410-a997-914c9d46530a
2015-01-03 11:55:09 +00:00
Diederick Niehorster
5600276ada Merge remote-tracking branch 'svn/trunk' into git_master 2015-01-03 00:42:30 +08:00
dcnieho
9f44b39ca0 add todo: don't deinitialize option
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1741 7f0cb862-5218-0410-a997-914c9d46530a
2015-01-02 16:39:56 +00:00
dcnieho
0fb590f83a todo: handling user typing non-western script
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1740 7f0cb862-5218-0410-a997-914c9d46530a
2015-01-02 16:39:41 +00:00
dcnieho
96f344f263 high DPI awareness todo
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1739 7f0cb862-5218-0410-a997-914c9d46530a
2015-01-02 16:39:27 +00:00
dcnieho
5b152532af more todo updating
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1738 7f0cb862-5218-0410-a997-914c9d46530a
2015-01-02 16:39:13 +00:00
Diederick Niehorster
bc1c695593 Merge remote-tracking branch 'svn/trunk' into git_master 2015-01-03 00:10:22 +08:00
dcnieho
4675a5039a adding void* callbacks todo to website feature planning page
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1737 7f0cb862-5218-0410-a997-914c9d46530a
2015-01-02 16:08:54 +00:00
jtsiomb
af5f03497e added rc2 to the main page
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1736 7f0cb862-5218-0410-a997-914c9d46530a
2014-12-26 18:14:59 +00:00
Jinrong Xie
c93cdcdbbd Minor fix on indentation. 2014-12-25 12:02:26 -08:00
Jinrong Xie
bfe1b60a49 Minor fix on indentation. 2014-12-25 11:36:08 -08:00
Diederick Niehorster
be6d4f0d39 Merge remote-tracking branch 'svn/trunk' into git_master 2014-12-25 22:36:11 +08:00
dcnieho
4ccfe206f1 updated list of cmake switches in README.cmake
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1734 7f0cb862-5218-0410-a997-914c9d46530a
2014-12-25 14:35:17 +00:00
dcnieho
19edce36b2 CMake: FREEGLUT_REPLACE_GLUT option should not be visible on windows
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1733 7f0cb862-5218-0410-a997-914c9d46530a
2014-12-25 14:35:09 +00:00
Diederick Niehorster
a1e180a21a Merge remote-tracking branch 'svn/trunk' into git_master 2014-12-25 08:55:10 +08:00
Jinrong Xie
09f4017618 minor update making code more compact. 2014-12-24 15:17:06 -08:00
jtsiomb
f0f7dc61ab brought back the option to build either as "glut" or "freeglut": FREEGLUT_REPLACE_GLUT
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1732 7f0cb862-5218-0410-a997-914c9d46530a
2014-12-24 21:23:29 +00:00
Jinrong Xie
5c1e897f1a Added support for 3Dconnexion Space Navigator. 2014-12-24 03:47:10 -08:00
Jinrong Xie
857105a0b4 Added support for 3Dconnexion Space Navigator. 2014-12-24 03:46:49 -08:00
Diederick Niehorster
b1316c651f Merge remote-tracking branch 'svn/trunk' into git_master 2014-12-23 01:08:11 +08:00
dcnieho
9e72134ab6 typofixes - https://github.com/vlajos/misspell_fixer
(cherry picked from commit c85ed83b84)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1731 7f0cb862-5218-0410-a997-914c9d46530a
2014-12-22 16:27:02 +00:00
Diederick C. Niehorster
c95a80d7e6 Merge pull request #23 from vlajos/typofixes-vlajos-20141204 2014-12-23 00:25:49 +08:00