login about faq

It seems that in the latest Chilkat release that the function GetAsUnixTime has been removed from the chilkat PHP 64-bit library?

Is this intended?

asked Jun 05 '15 at 08:44

hostliketoast's gravatar image

hostliketoast
11


Removing this function is a little drastic I feel... it's so useful to have the ability to get a 32bit unix timestamp as it is ubiquitous. Or can you provide a reliable method to convert a PHP 64-bit integer to 32 bit with no loss of precision?

Thanks.

link

answered Jun 08 '15 at 07:07

hostliketoast's gravatar image

hostliketoast
11

It wasn't intentionally removed. What operating system are you using? I can provide a new build for you to test..

link

answered Jun 08 '15 at 07:37

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

I'm on centos/ubuntu 64-bit, php54 / php55.

I found it's been removed since 9.5.0.47. I've reverted for now to using 9.5.0.46 and I'm lucky I could still download that. Do you have an archive section for old versions?

link

answered Jun 08 '15 at 08:21

hostliketoast's gravatar image

hostliketoast
11

link

answered Jun 08 '15 at 08:40

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Without re-integration of this function into future builds, I can never upgrade to the latest... do you intend to reintegrate it? Thanks.

(Jul 25 '15 at 14:04) hostliketoast

I can't actually test this out because of my server limitations but I've found another function that's been removed:

CkZip->OpenFromWeb

I don't quite understand... I'm losing confidence with continued updates since we're building an application with Chilkat forming the base for many functions and we don't know what will be removed from 1 version to the next now... :/

link

answered Jun 30 '15 at 15:12

hostliketoast's gravatar image

hostliketoast
11

Release notes are at http://www.cknotes.com/category/release-notes/

The release notes specific to the removal of OpenFromWeb are at http://www.cknotes.com/chilkat-v9-5-0-release-notes/

Typically, any functionality removed can be duplicated in another way (typically by writing a couple additional lines of code). When changes in the API are planned, the method or property will be marked as deprecated in the reference documentation for quite some time before the change happens. The Release Notes will indicate how an app can be modified to effect the same functionality but through a different means.

This is what the Release Notes said about OpenFromWeb:

Zip: The OpenFromWeb method was removed. There are two reasons: (1) The HTTP related functionality creates dependencies on all that is related to HTTP/SSL/encryption/etc. which greatly expands the size of any EXE using zip functionality, and this is undesired on mobile platforms. (2) The HTTP functionality is oversimplistic, because it lacks many features (such as proxies, and other HTTP complexities) that might be required. It is better if a program separately uses the Chilkat HTTP functionality to download a .zip (into memory or into a file) and then open it with Chilkat Zip.

link

answered Jun 30 '15 at 16:24

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Okay, gotcha.

Would it make more sense to tweak how you release version numbers?

For example, minor release would be committed to not breaking backward compatibility - that is, not removing functions, just bug fixed.

Then if you release 9.5.1.0 we would know there is potential for breakage. Does that make sense? Rather than everything go through a series of apparently minor updates which are in-fact not minor for many applications.

Does that sound like something you would be interested in? Thanks

link

answered Jul 01 '15 at 07:55

hostliketoast's gravatar image

hostliketoast
11

Hi,

Do you plan to release the GetAsUnixTime() function back into the official releases for 64-bit builds?

Thanks

link

answered Jul 23 '15 at 06:56

hostliketoast's gravatar image

hostliketoast
11

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×35

Asked: Jun 05 '15 at 08:44

Seen: 1,914 times

Last updated: Jul 25 '15 at 14:04

powered by OSQA