Eero,
Can you send a patch, please?
John F. Fay
Technical Fellow, Modeling and Simulation
Jacobs Technology / TEAS Group
P.O. Box 1935, Eglin AFB, FL 32542-5000
850-883-3496
-----Original Message-----
From: Eero Pajarre [mailto:epajarre@...]
Sent: Thursday, March 24, 2011 1:04 PM
To: FreeGLUT developers list
Subject: Re: [Freeglut-developer] Multitouch patch v2, now with Win7
I just updated to latest (this morning local time) SVN version of
Freeglut.
I noticed an unfortunate side effect of the multitouch addition, it
breaks binary compatibility between Microsoft operating systems.
Specifically my program which I compile with mostly static linking on
Windows 7 no longer works on Windows XP. (the Freeglut library is also
compiled on Win 7)
This is because the multitouch functions are not available in
user32.dll in XP as they apparently are in later OS versions.
I did fix this on my own system, but this might need some consideration.
Eero
------------------------------------------------------------------------
------
Enable your software for Intel(R) Active Management Technology to meet
the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your
software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Freeglut-developer mailing list
Freeglut-developer@...
https://lists.sourceforge.net/lists/listinfo/freeglut-developer

On Thu, Mar 24, 2011 at 08:04:11PM +0200, Eero Pajarre wrote:
> Specifically my program which I compile with mostly static linking on
> Windows 7 no longer works on Windows XP. (the Freeglut library is also
> compiled on Win 7)
>
> This is because the multitouch functions are not available in
> user32.dll in XP as they apparently are in later OS versions.
So in that case they should be loaded at runtime with
LoadLibrary/GetProcAddress. That should be a trivial fix.
--
John Tsiombikas
http://nuclear.mutantstargoat.com/

I just updated to latest (this morning local time) SVN version of Freeglut.
I noticed an unfortunate side effect of the multitouch addition, it
breaks binary compatibility between Microsoft operating systems.
Specifically my program which I compile with mostly static linking on
Windows 7 no longer works on Windows XP. (the Freeglut library is also
compiled on Win 7)
This is because the multitouch functions are not available in
user32.dll in XP as they apparently are in later OS versions.
I did fix this on my own system, but this might need some consideration.
Eero

For me the HEAD is still broken, because subwin is missing from
configure.ac. This patch fixes that, and spreads out that line into
multiple ones so that we can see if something's missing or not without
tedious horizontal scrolling.
Bonus fix: changed C++ comment in subwin.c
--
John Tsiombikas
http://nuclear.mutantstargoat.com/

Hmmm I've sent this email earlier but it didn't appear at my mailbox nor
can I find it in the archives, so I'm sending it again just in case it
was cut by a spam filter somewhere along the path... I apologize in
advance if you get it twice.
For me the build is still broken because subwin is missing from
configure.ac. This patch fixes that, and also spreads out that line into
multiple ones so that we can see if something's missing or not without
tedious horizontal scrolling.
Also fixed a C++ comment in subwin.c
--
John Tsiombikas
http://nuclear.mutantstargoat.com/

I have a part of the soft-glutInit patch that was
a new example program in the demos directory.
I couldn't figure out how to get diff to generate
a patch that would include the new directory and
files.
The new demo/Example code is in a file attached
to the sf.net feature request ticket #2116152.
You'll see it at the bottom of the page or here
is the URL (since I'm at the ticket page now):
http://sourceforge.net/tracker/download.php?group_id=1032&atid=351032&file_id=391736&aid=2116152
After our PDL release at the end of the month, I'll
be getting to the refactoring of the perl OpenGL
module to use the new capability so I'm looking
forward to the new release and will keep you all
informed on how the addition worked for the perl
to FreeGLUT bindings.
--Chris
On 3/22/2011 8:07 AM, John Fay wrote:
> Gentlemen,
>
> With the coming of the spring equinox, and since it has been many seasons since our last release, it is time to start making noises about a new one. The addition of many changes to the library makes this slightly more urgent.
>
> Right now I am under the impression that I have pretty much caught up with the patches that people have been sending in. For a while I was very thoroughly behind on my e-mail (I still have 108 unread messages in my inbox, but none of them are about /freeglut/), but at the moment I think I am up to date. One gentleman, fairly new, sent in several patches (I'm operating from memory here) under the heading of "some tweaks I've made" and I think I got those in, but I am not sure.
>
> Here is the plan, then:
>
> First, if I have not put your patches in and they are supposed to be put in, please resubmit them.
>
> Second, about two to four weeks after the last patch goes in, I will declare a feature freeze and we will start testing the then-current version for stability and correct working.
>
> Third, after some weeks of testing, I will declare a release candidate.
>
> Fourth, probably around the summer solstice, we will have a new release.
>
> General George Patton used to say that no plan survives initial contact with the enemy. But at the moment, this is the plan. Any comments?
>
> - John
>
>
>
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
>
>
>
> _______________________________________________
> Freeglut-developer mailing list
> Freeglut-developer@...
> https://lists.sourceforge.net/lists/listinfo/freeglut-developer

On 3/24/2011 12:26 AM, Diederick C. Niehorster wrote:
> Hi Chris,
>
> To clarify, John is not suggesting removing all VS2008 project files.
>
> The current situation however is that we have up-to-date VS2008 files
> at /VisualStudio/2008 and non-up-to-date, deprecated VS2008 files at
> /VisualStudio2008 and /VisualStudio2008Static.
The rearrangement seems fine to me. I guess the README
or install notes might need a tweak in case the windows
build directions change as a result of the modification.
> John was asking for the lists opinion regarding deleting the latter two.
>
> I suggested this as:
> - they are no longer up to date
> - I guess we would not want to have duplicate project files in the
> upcoming release (few months away), especially if one of the two files
> doesn't work (doesn't build everything) anymore.
>
> So given that, would you be okay with removing the old versions? I'm
> keepingth ones at /VisualStudio/2008 up to date.
>
> Best,
> Dee
>
> On Thu, Mar 24, 2011 at 12:14, Chris Marshall<chm@...> wrote:
>> I like the subdirectories. How much work is it
>> to update the VS2008 compiling? How many folks
>> are still using VS2008? If it is not too
>> difficult, I would vote for keeping them for
>> another release cycle.
>>
>> --Chris

Hi Dee,
It seems your chosen editor, Vim, does _NOT_
know/understand a BOM when it sees one ;=))
http://en.wikipedia.org/wiki/Byte_order_mark
As can be read it is often optional... but is certainly
_NOT_ illegal... and should be no problem to MSVC, but
either way is ok...
And while MSVC will usually reject a vcproj file with
incorrect windows line endings, CR+LF, strangely it
usually has no problem with the sln files... maybe
different 'parsers' at work?
Regards,
Geoff.
On Wed, 2011-03-23 at 12:30 +0800, Diederick C. Niehorster wrote:
> Hi John,
>
> There is a small problem with the files
> subwin.vcxproj
> subwin.vcxproj.filters
> freeglut.sln (for vs2010)
>
> There is an illegal very first character in the first two files, Vim
> displays it as <feff>, not sure what that is. Deleting that first
> character from both files everything works correctly.The sln file has
> a missing \n or \r character at the end of line 101, due to which teh
> subwin demo isn't built in release mode.
>
> I have attached a patch, but as the patch doesn't display nicely even
> in Vim, i have attached working versions of the three files as well.
>
> All is fine for VS2008.
>
> By the way, do you think it is time to remove the deprecated
> VisualStudio2008 and VisualStudio2008Static in the freeglut root? The
> project files in there are out of sync.
>
> Thanks!
> Dee
>
> On Wed, Mar 23, 2011 at 12:07, John Fay <johnffay@...> wrote:
> > OK, those three changes are in. I had to hand-jam the VS2010 changes by
> > hand with Notepad so please double-check them carefully. (OK, Notepad
> > isn't really "by hand"; _real_ programmers use a magnetized needle and a
> > steady hand.)
> >
> > - John
> >
> >
> > On 3/22/2011 8:58 AM, Diederick C. Niehorster wrote:
> >> Hi John,
> >>
> >> Attached, please find patches adding this demo to the VS2008 and
> >> VS2010 project files.
> >> Also, find a patch that changes some double values to floats in the
> >> demo to silence some compiler warnings.
> >>
> >> Best,
> >> Dee
> >>
> >>
> >
> > ------------------------------------------------------------------------------
> > Enable your software for Intel(R) Active Management Technology to meet the
> > growing manageability and security demands of your customers. Businesses
> > are taking advantage of Intel(R) vPro (TM) technology - will your software
> > be a part of the solution? Download the Intel(R) Manageability Checker
> > today! http://p.sf.net/sfu/intel-dev2devmar
> > _______________________________________________
> > Freeglut-developer mailing list
> > Freeglut-developer@...
> > https://lists.sourceforge.net/lists/listinfo/freeglut-developer
> >
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer

Hi Chris,
To clarify, John is not suggesting removing all VS2008 project files.
The current situation however is that we have up-to-date VS2008 files
at /VisualStudio/2008 and non-up-to-date, deprecated VS2008 files at
/VisualStudio2008 and /VisualStudio2008Static.
John was asking for the lists opinion regarding deleting the latter two.
I suggested this as:
- they are no longer up to date
- I guess we would not want to have duplicate project files in the
upcoming release (few months away), especially if one of the two files
doesn't work (doesn't build everything) anymore.
So given that, would you be okay with removing the old versions? I'm
keepingth ones at /VisualStudio/2008 up to date.
Best,
Dee
On Thu, Mar 24, 2011 at 12:14, Chris Marshall <chm@...> wrote:
> I like the subdirectories. How much work is it
> to update the VS2008 compiling? How many folks
> are still using VS2008? If it is not too
> difficult, I would vote for keeping them for
> another release cycle.
>
> --Chris
>
> On 3/24/2011 12:01 AM, John Fay wrote:
>> Gentlemen,
>>
>> Two months ago I deprecated the "VisualStudio2008" and
>> "VisualStudio2008Static" directories under the main directory in favor
>> of subdirectories under the more generic "VisualStudio" directory. With
>> an impending new release, do we bring the deprecated directories up to
>> date or do we remove them?
>>
>> - John
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> Freeglut-developer mailing list
> Freeglut-developer@...
> https://lists.sourceforge.net/lists/listinfo/freeglut-developer
>

We will still support the Visual Studio 2008; it is simply that the
solution and project files are now in the "VisualStudio/2008"
subdirectory instead of being in directories of their own. The question
is whether we manage two sets of files in the new release or whether we
erase the deprecated directories.
I'm going to have to update the MSVC 6.0 files. This is going to be a
bit of a challenge.
- John
On 3/23/2011 11:14 PM, Chris Marshall wrote:
> I like the subdirectories. How much work is it
> to update the VS2008 compiling? How many folks
> are still using VS2008? If it is not too
> difficult, I would vote for keeping them for
> another release cycle.
>
> --Chris
>
> On 3/24/2011 12:01 AM, John Fay wrote:
>
>> Gentlemen,
>>
>> Two months ago I deprecated the "VisualStudio2008" and
>> "VisualStudio2008Static" directories under the main directory in favor
>> of subdirectories under the more generic "VisualStudio" directory. With
>> an impending new release, do we bring the deprecated directories up to
>> date or do we remove them?
>>
>> - John
>>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> Freeglut-developer mailing list
> Freeglut-developer@...
> https://lists.sourceforge.net/lists/listinfo/freeglut-developer
>
>
>

I like the subdirectories. How much work is it
to update the VS2008 compiling? How many folks
are still using VS2008? If it is not too
difficult, I would vote for keeping them for
another release cycle.
--Chris
On 3/24/2011 12:01 AM, John Fay wrote:
> Gentlemen,
>
> Two months ago I deprecated the "VisualStudio2008" and
> "VisualStudio2008Static" directories under the main directory in favor
> of subdirectories under the more generic "VisualStudio" directory. With
> an impending new release, do we bring the deprecated directories up to
> date or do we remove them?
>
> - John

Gentlemen,
Two months ago I deprecated the "VisualStudio2008" and
"VisualStudio2008Static" directories under the main directory in favor
of subdirectories under the more generic "VisualStudio" directory. With
an impending new release, do we bring the deprecated directories up to
date or do we remove them?
- John