Commit Graph

1572 Commits

Author SHA1 Message Date
jtsiomb
cf7613066d added the timer demo
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1100 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-10 14:55:50 +00:00
dcnieho
0c5025cc85 added not about soversion for those not knowledgable (like me). Thanks
Sylvain!


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1099 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-10 12:53:50 +00:00
dcnieho
5cc61b4c30 CMake updates:
- no longer trying to link with m.lib (tht maths for linux)
- now building demos for static and for shared library, depending on
  which libraries are created
- TARGET_LINK_LIBRARIES statement conditional on whether the relevant
  shared/static library is built


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1098 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-10 11:08:44 +00:00
dcnieho
429507ee23 in freeglut_init set gamemode defaults to -1 (no change from current
display mode) so that it is not attempted to change the display mode
to some arbitrary default when entering gamemode (only applies if
glutGameModeString is never called)


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1097 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-10 03:17:55 +00:00
dcnieho
ec322806c9 moved some windows only code from common to windows specific
got rid of fgPlatformGlutLayerGet as we'll never implement layer support
(added some notes too)
added note about implementability of glutGetModeValues
Moved joystick function from misc to Joystick code file



git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1096 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-10 03:07:13 +00:00
dcnieho
8197972757 XParseGeometry include now compiles with windows (VS2010, didn't touch
cmake)
Various typos in comments
Some other cleanup and formatting
glutInitDisplayString now understands "borderless"


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1095 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-10 02:03:32 +00:00
beuc
4ce337a008 Include xparsegeometry_repl.h header on non-X11 targets
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1094 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 21:02:20 +00:00
beuc
d06a04e27e Make XParseGeometry reusable by several ports (3)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1093 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 20:54:03 +00:00
beuc
3ab598b0fb Make XParseGeometry reusable by several ports (2)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1092 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 20:48:03 +00:00
beuc
426ce85a73 Make XParseGeometry reusable by several ports
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1091 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 20:46:15 +00:00
beuc
11a4f362e1 Add CMake toolchain script for mingw32/64 compilation, and update documentation
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1090 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 20:34:51 +00:00
beuc
e3c597fe0d Specify libraries for windows static compilation
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1089 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 20:33:54 +00:00
beuc
208fc83528 CMake now defines HAVE_VFPRINTF for windows; suppress redefinition warning
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1088 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 20:29:58 +00:00
beuc
132ca5afcb Detect vfprintf (used in fgError/fgWarning)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1087 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 20:20:20 +00:00
beuc
d93aff53ec Fix .so dependencies: reference -lGL and -lm; only reference -lGLU for demos (Resizer)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1086 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 20:02:30 +00:00
beuc
cd204c47f8 Properly add maths library for demos
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1085 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 19:49:49 +00:00
beuc
fb34e2f593 Add maths library for demos
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1084 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 19:24:57 +00:00
beuc
d0a550b30a Fix X86vmode library detection
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1083 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 19:17:37 +00:00
dcnieho
deb9971814 updated resource file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1082 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-08 02:31:00 +00:00
dcnieho
6f04edd242 just a bit of formatting, mostly to test out my SVN commit access
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1081 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-08 02:23:21 +00:00
fayjf
2774b223ff A bit of comment clean-up per e-mail from Diederick Niehorster dated 2/5/12 at 9:26 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1080 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-25 06:06:52 +00:00
fayjf
9c6c6850d0 Implementing the monotonic clock if available, per e-mail from Phil Vandry dated 2/17/12 at 5:08 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1079 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-25 05:47:57 +00:00
fayjf
84d7d3bf86 Checking for "gettimeofday" per e-mail from John Tsiombikas dated 2/23/12 at 9:29 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1078 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-25 05:34:24 +00:00
fayjf
2f7431648d Moving some Windows-specific preprocessor stuff and a prototype from "freeglut_init.c" to the Windows header file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1077 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-12 04:41:32 +00:00
fayjf
3eca89fc14 Setting the line endings and keywords on a bunch of new text files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1076 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-08 02:39:29 +00:00
fayjf
b40d212cfb Putting in many 'CMakeLists.txt' fixes per e-mail from John Tsiombikas dated February 6, 2012 at 4:38 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1075 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-07 01:56:50 +00:00
fayjf
d0446f782e Fixing a build warning in OpenSUSE about control reaching the end of a non-void function; see e-mail from Johannes Obermayr dated February 6, 2012 at 9:40 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1074 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-07 01:52:10 +00:00
fayjf
4ed29b6832 Fixing confusion over the name of "fgPlatformGetGLUTProcAddress"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1073 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-06 02:26:18 +00:00
fayjf
55d47574bb Fixing the rest of the "EXTRA_DIST" bug per e-mail from Sylvain dated Feb 5, 2012 at 2:10 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1072 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 20:21:42 +00:00
fayjf
87d49928cf Adding a bit of documentation for MinGW that was left off the previous SVN commit
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1071 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 19:36:27 +00:00
fayjf
f46f59d7e3 Fixing the MinGW build and updating the "omitted files" per e-mail from Sylvain dated February 5, 2012 at 12:33 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1070 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 19:34:08 +00:00
fayjf
beada8854a Fixing call to "fghGetProcAddress" by giving the new name of the function
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1069 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 19:00:31 +00:00
fayjf
dc3a3dd8ee Fixing X11 "unterminated #if" build error
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1068 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 18:54:52 +00:00
fayjf
57992745fb Splitting the X11-specific "freeglut_cursor.c" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1067 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 14:04:48 +00:00
fayjf
76c04a50f6 Moving the platform dependencies from the "freeglut_menu.c" file to the platform-specific header files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1066 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 14:01:34 +00:00
fayjf
a20f647aa4 Removing an extraneous "#if TARGET_HOST"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1065 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 13:53:31 +00:00
fayjf
44b2dd8c3b Moving an X11-specific function call to destroy a context to the X11-specific file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1064 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 13:53:00 +00:00
fayjf
1bcc27f30c Splitting the X11-specific stuff out of "freeglut_internal.h" into its own file per e-mail from Diederick Niehorster dated 2/4/12 at 11:31 PM (he sent it on 2/5/12)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1063 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 05:54:30 +00:00
fayjf
a370bd34d2 Removing an extraneous "#if TARGET_HOST_POSIX_X11" and putting the path into the "#include" statements for "freeglut_internal.h"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1062 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 04:21:26 +00:00
fayjf
1077bc750d Splitting the X11-specific "freeglut_structure.c" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1061 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 04:18:13 +00:00
fayjf
935f9af513 Splitting the X11-specific "freeglut_ext.c" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1060 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 04:16:37 +00:00
fayjf
ba766a7ef0 Splitting the X11-specific "freeglut_joystick.c" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1059 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 04:13:31 +00:00
fayjf
d895defd48 Removing an extraneous "#if" from "freeglut_xinput_x11.c"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1058 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 04:08:55 +00:00
fayjf
205e95320b Splitting the X11-specific "freeglut_spaceball.c" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1057 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 04:04:28 +00:00
fayjf
9f0610a457 Splitting the X11-specific "freeglut_main.c" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1056 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 03:44:03 +00:00
fayjf
a200464a1a Splitting the X11-specific "freeglut_state.c" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1055 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 03:34:09 +00:00
fayjf
7757664f12 Fixing the header comments of a couple of X11-specific files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1054 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 03:21:45 +00:00
fayjf
0ca9111452 Splitting the X11-specific "freeglut_gamemode.c" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1053 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 03:16:52 +00:00
fayjf
9cd991f3c7 Splitting the X11-specific "freeglut_window.c" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1052 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 03:05:30 +00:00
fayjf
0884264cd5 Trying to fix a screen freezing bug reported by Shane "tech at saxon digital" in e-mail dated 2/4/12 at 3:15 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1051 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 01:41:20 +00:00