Questions tagged [obsolete]

Methods and ideas that are no longer used in the current versions of various technologies.

190 questions
1
vote
1 answer

Status of Obsolete and Exited in Jbpm

I have tried to abort the task in different JBPM version. In Jbpm 5.2.0.Final version, aborted task status changed as 'Obsolete', but in Jbpm 5.4.0.Final version aborted task status changed as 'Exited'. Could you please explain why this difference…
Maria
  • 297
  • 1
  • 5
  • 18
1
vote
1 answer

.NET Framework deprecated interfaces and attributes. What was your biggest refactoring due to lack of support?

Some .net-framework interfaces and attributes become obsolete and deprecated since new framework version appears. I am warned that such code may be removed or become unpredictable in next versions but have you ever faced the situation when you were…
Andrew Florko
  • 7,672
  • 10
  • 60
  • 107
1
vote
1 answer

Are `Callback` interfaces obsolete since lambdas entered C++?

In our code base, we have a lot of classes like so: class DirectoryCallback { public: virtual ~DirectoryCallback(){}; virtual void process(const std::string &path) = 0; }; They typically have just one purpose: wrap a function call. …
xtofl
  • 40,723
  • 12
  • 105
  • 192
1
vote
2 answers

OpenGL rectangle animation

I'm trying to 'animate' a rectangle's height based on a random number input. So with each new random number, the rectangle is re-drawn. How do I do this? My code: #include #include #include float height; int…
ranger3
  • 23
  • 3
1
vote
2 answers

Does OpenGL display list bake glVertex data?

I've been using OpenGL in simple immediate mode for a while, and am trying to pass on to retained mode with display lists (which I sadly learned has been deprecated a while). What I would like to know, is when I type: glNewList(list,…
corsel
  • 315
  • 2
  • 12
1
vote
2 answers

Identifying outdated C code in dragon book

I'm currently reading this edition of Compiler: Principles, Techniques & Tools. I've never coded in C before (Although I've dabbled in C++) but from other programming knowledge most of the code makes sense, however I noticed a quirk which is that…
Ashley Davies
  • 1,873
  • 1
  • 23
  • 42
1
vote
1 answer

HTML id attribute doesn't work in Google Chrome

So. First I used this Image Not Loaded but it didn't work. I changed 'id' to 'name' and it worked. But name attribute is obsolete and not recommended to use. So what should I…
1
vote
2 answers

When, if ever, would you expect classes marked as obsolete to be removed from the .NET framework?

As we approach the 4th major release of the .NET framework we are likely to see an increase in the number of classes and methods marked as obsolete (to indicate they are deprecated). I found this page listing all the obsolete members and types,…
Dan Diplo
  • 25,076
  • 4
  • 67
  • 89
1
vote
2 answers

What the OpenGL coordinates are? Ignore OpenGL window size

I just started trying to folow simple "draw cube" openGl tutorial. After final victory over getting OpenGL to work, I still have very veird results. My problem is that the objects tend to resize themselves to match the window size. Instead, I'd like…
Tomáš Zato
  • 50,171
  • 52
  • 268
  • 778
1
vote
1 answer

IOS6 Deprecated Methods in Monotouch

Our app is targeting ios5.1 right now. And after installing MT 6.0.2 the deprecated warnings filled the build logs. Should the deprecated methods be still kept in the source or should they be replaced? For instance, should I replace the following…
Candide
  • 30,469
  • 8
  • 53
  • 60
1
vote
1 answer

Hide Javascript Code to Older Browser

Well I think this is kinda dumb but, I wonder if there's any way to hide Javascript code from older browsers without affecting the code for modern browsers. Yes I know there's the tag to show a message for older browsers, but…
Andrés Orozco
  • 2,490
  • 5
  • 32
  • 48
0
votes
3 answers

Using .htaccess to redirect obsolete browsers

Im trying to redirect few browsers using htaccess to a page that would suggest to update their browser and I cant figure it out with the .htaccess file: Currently I am using: RewriteCond %{HTTP_USER_AGENT} "MSIE 6" RewriteCond %{REQUEST_URI}…
jQuerybeast
  • 14,130
  • 38
  • 118
  • 196
0
votes
1 answer

What should I be using instead of AddPort?

I'm maintaining a port monitor for a virtual printer, and I noticed that some of the interface we implement, including AddPort, have been marked as obsolete (see: http://msdn.microsoft.com/en-us/library/windows/hardware/ff545022(v=VS.85).aspx).…
Andy
  • 2,977
  • 2
  • 39
  • 71
0
votes
1 answer

How to avoid mentioning a function pointer's arguments inside the definition of a function that takes it as argument?

I'm writing this C code that involves passing around a lot of function pointers, and sometimes writing all the arguments that a function pointer takes when defining a function that takes it as an argument can significantly increase the length of the…
Mehdi Charife
  • 722
  • 1
  • 7
  • 22
0
votes
0 answers

Do I need to write a test to confirm that the response from my function no longer contains a given attribute?

Got a requirement saying that downstream no longer wants to receive a certain attribute in our response. We're not following Semantic Versioning contracts (another story). Given this is removal of an attribute, should I write a (unit) test to…