Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

12045 Posts in 1593 Topics- by 593 Members - Latest Member: zhang

19. June 2013, 10:43:10 am
Xith3D CommunityXith3D InternalsDeveloper discussion (Moderators: Marvin Fröhlich, 'n ddrylliog)Platform specific workarounds - NEED YOUR HELP
Pages: [1]
Print
Author Topic: Platform specific workarounds - NEED YOUR HELP  (Read 1146 times)
horati
Global Moderator
Getting respectable
*****
Offline Offline

Posts: 393


View Profile
« on: 25. March 2007, 01:23:25 am »

I have added a new package called
Code:
org.xith3d.utility.platform

What I need from YOU:
When you get the opportunity, please execute the org.xith3d.test.platform.OSInfoTest.  It shows up in your test launcher just like all other tests.  We believe that we are correctly detecting versions of Linux and Mac OS X but are not detecting the detailed version of Windows at all.  Please run this test and verify that it has correctly identified your operating system and version.  Please post to the support forum if it fails to correctly identify your OS or if it fails to identify at all and prints a lot of information.

For developers:
Its purpose is to centralize information about the few environment specific workarounds necessary to make X3D work.  It is not intended as a replacement for the abstract factory pattern in those places that require it; e.g., Canvas3DFactory.  Instead, it centralizes all the little workarounds that are likely to be lost as developers come and go.  There is frequently a purpose for every wierd line of code we see; however, human nature tends to remove those things we see as unnecessarily complex or annoying.

This package allows us to centralize workarounds and better understand what needs to be tested as platforms evolve over time.  The package Javadoc provides further information.  Beyond the few SWT workarounds that have already been centralized, this might be a good place to store the HUD z-order index discussed in another thread.  If there turn out to be any true Windows Vista bugs, this is the place to centralized that information.
Logged

Kevin
"It may not seem like a big deal, but ignorance of character encoding issues leads to insidious code rot akin to y2k."
http://stackoverflow.com/users/3474/sylvarking
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4403


May the 4th, be with you...


View Profile
« Reply #1 on: 25. March 2007, 01:53:22 am »

...this might be a good place to store the HUD z-order index discussed in another thread....

Did I miss anything here? Is there anything platform dependent in it?

Marvin
Logged
'n ddrylliog
Moderator
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #2 on: 25. March 2007, 07:43:04 pm »

Did I miss anything here? Is there anything platform dependent in it?
Graphic card dependant, at least..
Logged
horati
Global Moderator
Getting respectable
*****
Offline Offline

Posts: 393


View Profile
« Reply #3 on: 25. March 2007, 07:58:18 pm »

Graphic card dependant, at least..

I don't remember the details of the thread but I remember that it was environmentally dependent.  I wouldn't want to speculate on the priority; however, adding a similar feature for hardware dependent workarounds seems like a very good idea.
Logged

Kevin
"It may not seem like a big deal, but ignorance of character encoding issues leads to insidious code rot akin to y2k."
http://stackoverflow.com/users/3474/sylvarking
'n ddrylliog
Moderator
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #4 on: 26. March 2007, 04:30:42 pm »

however, adding a similar feature for hardware dependent workarounds seems like a very good idea.
Sure. Additionnally, it would be of some use in OneClick, probably.

So my results :
O/S Category: LINUX (LINUX_26_KERNEL)

And I'm running.... Linus 2.6 Smiley More precisely, Ubuntu Feisty Fawn (7.04).

Amos
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic