backwards-compatibility

Is Visual Studio 2017 backwards compatible with Visual Studio 2015 solutions?

匆匆过客 提交于 2019-11-27 20:22:17
I'm thinking about installing VS 2017 and using it for work. The free download is here . So is Visual Studio 2017 RC backwards compatible with Visual Studio 2015 solutions? The release notes mention it here . Just wondering if someone did this and if they had any issues. EDIT (UPDATE) I have been working with 2017RC now since 2/1/2017 and I verified it does not change the proj or sln files at all, not even when you add / remove files to the proj / sln (except to reflect the file changes of course). IT'S SAFE TO USE IN A 2012/2013/2015 SHOP!!! It depends on the type of project. For most

Alternatives to weak linking in iPhone SDK?

半腔热情 提交于 2019-11-27 19:56:27
I'm looking to make my app compatible with older versions of iPhone OS. I did see weak linking mentioned as an option. Can I use OS version detection code to avoid code blocks that the OS can't handle? (Say iAD?) if(OS >= 4.0){ //set up iADs using "NDA code"... } If yes, what goes in place of if(OS >= 4.0) ? You should be weak linking against the new frameworks. Alongside that you should be checking the availability of new APIs using methods like NSClassFromString , respondsToSelector , instancesRespondToSelector etc. Eg. Weak linking against MessageUI.framework (an old example, but still

Why did Python 3 changes to exec break this code?

孤街醉人 提交于 2019-11-27 18:09:52
问题 I looked through the myriad 'Python exec' threads on SO, but couldn't find one that answered my issue. Terribly sorry if this has been asked before. Here's my problem: # Python 2.6: prints 'it is working' # Python 3.1.2: "NameError: global name 'a_func' is not defined" class Testing(object): def __init__(self): exec("""def a_func(): print('it is working')""") a_func() Testing() # Python 2.6: prints 'it is working' # Python 3.1.2: prints 'it is working' class Testing(object): def __init__(self

Material Design backward compatibility

こ雲淡風輕ζ 提交于 2019-11-27 17:14:33
From examples provided on the Android Developer pages I see that new Views, like the RecyclerView , are backward compatible ( android.support.v7.widget.RecyclerView ). Are all the new things introduced in Material Design backward compatible (to which version)? Updating this answer as Lollipop OS is officially released with support libraries, which you can use inside your project to provide compatibility to older versions. Support library: v7 appcompat library This library adds support for the Action Bar user interface design pattern. This library includes support for material design user

Android backward compatibility but still utilise latest API features

放肆的年华 提交于 2019-11-27 16:48:11
问题 I have noted in the Android Market that many popular applications have backward compatibility to much earlier versions of Android. E.g. Evernote - 1.6 Faceobook Messenger - 2.2 These applications look and work great but how can they do this and support much older API levels? Are they only using API features that exist in the lowest supported OS version, hardly? I'm assuming they must be using some features of the later API levels to provide a great UI and featurelist. I can see two possible

Why crypto.createHash returns different output in new version?

老子叫甜甜 提交于 2019-11-27 16:21:16
问题 Problem I have node.js module that is using crypto.createHash to generate md5 hash. Recently I noticed that hash generated by crypto module is different in new versions: Code require('crypto').createHash('md5').update('¥').digest('hex') Node.js v0.10.0 Outputs: ab3af8566ddd20d7efc9b314abe90755 Node.js v6.1.0 Outputs: 07625e142e4ac5961de57472657a88c1 Question I was wondering what causes that in new version and how can I solve this? Update Similar issues on GitHub: https://github.com/nodejs

How to test binary compatibility automatically?

那年仲夏 提交于 2019-11-27 14:49:40
问题 Can it be done before compiling, by comparing code? Is there any tools already doing this? 回答1: You might find this interesting: Static analysis tool to detect ABI breaks in C++ 回答2: ABI Compliance Checker — a tool for checking backward API/ABI compatibility of a C/C++ library: abi-compliance-checker -lib NAME -old OLD.abidump -new NEW.abidump *.abidump files are ABI dumps of OLD and NEW library versions generated by the ABI Dumper tool. icheck - C interface ABI/API checker: icheck --canonify

Are FCM and GCM backward and forward compatible?

谁说我不能喝 提交于 2019-11-27 14:29:14
Google is deprecating Google Cloud messaging in favor of Firebase Cloud Messaging : Firebase Cloud Messaging (FCM) is the new version of GCM. It inherits the reliable and scalable GCM infrastructure, plus new features! See the FAQ to learn more. If you are integrating messaging in a new app, start with FCM. GCM users are strongly recommended to upgrade to FCM, in order to benefit from new FCM features today and in the future. From some tests I made on my servers, the FCM URL ( https://fcm.googleapis.com/fcm/send ) works with GCM projects, and vice-versa - the GCM URL ( https://android

How could I use the same set of preference screens for all Android versions from 2.X to 4.X?

隐身守侯 提交于 2019-11-27 14:07:00
问题 NOTICE: Please save yourself some time and refer to the accepted answer, no need to read all the quesiton. You may read the rest of the question and the answer I provided for an alternative (although less sophisticated) method. Also, you may want to take advantage of the fix for the background glitch in Android 2.X, by adding the related piece of code to your preference activity class. Background Being a newbie to Android coding, but somewhat experienced in other programming languages

How to code backward compatible new feature in Android SDK?

北慕城南 提交于 2019-11-27 11:46:14
问题 I want to use the actionbar feature included in SDK 11. However I also want the app to run on earlier devices from SDK 10 (2.3.3). I am willing to give up the actionbar feature for the earlier devices as it is not an important feature. I have done all the reading about reflection, wrapper class and some other techniques. I am now stumped on exactly how to make this work. I am using Eclipse. If I don't set the target in Eclipse to sdk 11 or greater, then any place I have a reference to