Questions tagged [backwards-compatibility]

Backward compatibility refers to a software or hardware system that can successfully use interfaces and data from earlier versions of the system.

1060 questions
18
votes
3 answers

com.google.android.gms.common.api.ApiException: 17: API: Drive.API_CONNECTIONLESS is not available on this device

Here is the story. I had integrated Google Drive Android SDK (8.1.0) into my app (AnyCopy) around three years ago. And I followed the tutorial to set up properly including adding credentials and api key. Everything worked okay. I could backup and…
17
votes
2 answers

PHP 8, function alias compatibility `getdir()`

While testing if my php script is php-8 compatible, I got stuck on the following code: function getDir($a, $o = 2) { $d = Floor($a / $o); return ($d % 2 === 0); } Prior to php-8, this worked fine, however, on php-8 it throws: Fatal error:…
0stone0
  • 34,288
  • 4
  • 39
  • 64
17
votes
3 answers

What is Backwards Compatibility in Android Studio?

I'm a newbie to Android Development. Even though I referred the android developer website, I didn't figure out. On the customize Activity dialog box, when I unchecked the Backwards Compatiblity(Appcompat) in Android Studio 2.3.1 It gave me a hint…
coderpc
  • 4,119
  • 6
  • 51
  • 93
17
votes
2 answers

Compatibility issues between git 1.8 client and older git server

I'm using a remote git hosting service (Svnrepository.com). I'm able to access the git repositories successfully while using a git 1.7.x as the client, but as soon as I upgrade the client to git 1.8.x, I am no longer able to push: the push hangs. …
D.W.
  • 3,382
  • 7
  • 44
  • 110
17
votes
2 answers

Git repository backwards compatibility

I just had a quick question about git - how backwards compatible are git repositories? Eg., I've created a repository using git 1.6.4 and the svn2git ruby script, but I want to put it on a machine that's running Debian Lenny, which has git 1.5.6.5.…
Ibrahim
  • 1,883
  • 19
  • 27
17
votes
2 answers

Best practices for API backwards compatibility

I'm working on an iPhone/iPad/Android app which communicates with a JSON API. The first release of the version of the app is complete, and now additional phases of development are taking place. In the additional phases, the app needs to integrate…
Mark
  • 315
  • 1
  • 5
  • 8
16
votes
4 answers

What modernizer scripts exist for the new ECMAScript 5 functions?

ECMAScript 5 has quite a few nice additions. John Resig has a good overview here. Here is a good ECMAScript 5 compatibility table. A lot of this stuff can be "faked" for browsers that don't support these functions yet. Do you know of any scripts…
andyuk
  • 38,118
  • 16
  • 52
  • 52
15
votes
2 answers

Exact equivalent of `b'...'.decode("utf-8", "backslashreplace")` in Python 2

In Python 3.5+ .decode("utf-8", "backslashreplace") is a pretty good option for dealing with partially-Unicode, partially-some-unknown-legacy-encoding binary strings. Valid UTF-8 sequences will be decoded and invalid ones will be preserved as…
zwol
  • 135,547
  • 38
  • 252
  • 361
15
votes
3 answers

Ambiguous use of operator "+"

So I have this little algorithm in my Xcode project and it no longer works - it's telling me that I can't add a number to another number, no matter what I try. Note: Everything was working perfectly before I changed my target to iOS 7.0. I don't…
Garret Kaye
  • 2,412
  • 4
  • 21
  • 45
15
votes
2 answers

How to see if code is backwards compatible for Python?

I have some code that I am trying to make it play nicely with ESRI's geoprocessor. However, ESRI's geoprocessor runs on Python 2.2, 2.3, 2.4, 2.5. We need to make our tools work on any version. So I've spent a lot of time working and coding…
UberJumper
  • 20,245
  • 19
  • 69
  • 87
15
votes
2 answers

How to test binary compatibility automatically?

Can it be done before compiling, by comparing code? Is there any tools already doing this?
15
votes
2 answers

Str.format() for Python 2.6 gives error where 2.7 does not

I have some code which works well in Python 2.7. Python 2.7.3 (default, Jan 2 2013, 13:56:14) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from sys import stdout >>> foo = 'Bar' >>> numb = 10 >>>…
15
votes
4 answers

Backwards compatibility and Web Services

So I'm a bit new to web services and a situation recently came up where we added an element to a data-type that gets returned to the client. The clients complained that this broke their implementation because it choked on the new element that it…
Jason Tholstrup
  • 2,036
  • 3
  • 21
  • 25
14
votes
1 answer

VerifyError deploying on API 1.6

I've come across a backwards compatibility issue when deploying my application on android 1.6. Im getting a VerifyError on this piece of code: if(android.os.Build.VERSION.SDK_INT >= 11) { …
14
votes
3 answers

Visual Studio won't open solution file

I have a VS project (made by someone else), and when I try to open it on Visual Studio 2008, I get the following error message: "The selected file is a solution file, but was created by a newer version of this application and cannot be opened" I…
109221793
  • 16,477
  • 38
  • 108
  • 160