Commit Graph

39 Commits

Author SHA1 Message Date
Ori Livneh 5c0322dc55 1.3 (add support for AIX) 2017-03-14 11:46:32 -04:00
Ori Livneh 7ba5c45f0f Merge pull request #20 from bthery/master
Add support for IBM AIX
2017-03-08 16:53:08 -05:00
bthery c50305e7f0 Add support for IBM AIX
In IBM AIX, CLOCK_MONOTONIC has value 10 and clockid_t type is long long.
2017-02-20 14:36:41 +01:00
Ori Livneh 8447153178 Cut 1.2 2016-08-03 12:47:19 -04:00
Ori Livneh a90be87876 Merge pull request #19 from furlongm/master
fix 'No such file or directory' error on cygwin
2016-08-03 09:45:55 -07:00
Marcus Furlong e736ba2f2f fix 'No such file or directory' error on cygwin
closes #18
2016-07-07 17:16:38 +10:00
Ori Livneh 2af099a0c5 Cut 1.1 release
No code changes, but have to cut a new version in order to update files on
PyPI. Specifically, I want to upload a universal wheel on top of the existing
(2.x-specific) file.
2016-04-25 14:23:30 -07:00
Ori Livneh 1bd9217540 in setup.cfg, declare that README.md is the readme file 2016-04-25 14:12:31 -07:00
Ori Livneh 566b60d380 trove classifiers should be a list, not a tuple 2016-04-25 14:09:29 -07:00
Ori Livneh bd44cc900e Distribute as universal wheel
Add a setup.cfg that indicates that a universal wheel should be build.
2016-04-16 14:52:27 -07:00
Ori Livneh 54ccfc8a9f 1.0
- Update 'Development Status' trove classifier to 'Production/Stable'
- Update README.md to include a link to the MSDN reference page for
  GetTickCount.
- Alphabetize imports.
2016-03-04 11:00:34 -08:00
Ori Livneh 8a1da0687e Update copyright years 2016-01-25 13:46:52 -08:00
Ori Livneh 945f255545 Bump version to 0.6 2016-01-24 03:48:28 -08:00
Ori Livneh a5b0245604 Merge pull request #14 from DoomMuffins/winxp
Added support for pre-Vista Windows versions using GetTickCount
2016-01-15 21:54:20 -08:00
Ori Livneh 64a974ef63 Merge pull request #15 from eandersson/master
regex module no longer needed
2016-01-15 21:19:58 -08:00
Erik Olof Gunnar Andersson a36e31abfd regex module no longer needed 2016-01-07 13:53:38 +01:00
Itay Bookstein 8206bb7df4 Changed AttributeError flow control to getattr-with-default-argument 2015-12-29 23:05:02 +02:00
Itay Bookstein 624fa6e062 Added support for pre-Vista Windows versions using GetTickCount 2015-12-29 12:28:55 +02:00
Ori Livneh ebea3d7c98 Bump version to 0.5 2015-12-27 13:33:21 -08:00
Ori Livneh d261cf6808 Remove get_os_release() / compare_versions()
The sole purpose of these functions was to determine whether or not
to use CLOCK_MONOTONIC_RAW (which is available on Linux 2.6.3+). Since we are
no longer using CLOCK_MONOTONIC_RAW, they are not necessary.
2015-12-27 13:31:13 -08:00
Ori Livneh a29eb9448c Merge pull request #13 from haypo/no_raw
Don't use CLOCK_MONOTONIC_RAW
2015-12-27 13:28:41 -08:00
Ori Livneh 1a85068e17 Merge pull request #12 from haypo/race
clock_gettime() is not thread-safe
2015-12-27 13:05:12 -08:00
Victor Stinner dc00298427 Don't use CLOCK_MONOTONIC_RAW
CLOCK_MONOTONIC_RAW doesn't fit into time.monotonic() requirements:
it doesn't use seconds. CLOCK_MONOTONIC is what uses expect for a
monotonic clock using seconds.

For the longer rationale, see the PEP 418:
https://www.python.org/dev/peps/pep-0418/#clock-monotonic-clock-monotonic-raw-clock-boottime
2015-10-13 15:51:09 +02:00
Victor Stinner 20081340a8 clock_gettime() is not thread-safe
Don't use a global variable in clock_gettime(). Create a new timespec
object for each call to clock_gettime().
2015-10-13 15:49:39 +02:00
Ori Livneh 93b3d3ba63 Bump version to 0.4 2015-10-05 16:38:56 -07:00
Ori Livneh 52c72e3c84 Merge pull request #11 from miroswan/master
Adding the full path to /usr/lib/libc.dylib fixes for 10.11
2015-10-05 16:35:51 -07:00
Demitri Swan ea67804cb0 Adding the full path fixes for 10.11 2015-10-05 15:43:08 -07:00
Ori Livneh cb3c90150f Bump version to 0.3 2015-07-29 09:59:43 -07:00
Ori Livneh 5d94d5547b Merge pull request #7 from albertw/master
Set CLOCK_MONOTONIC for Solaris
2015-07-29 09:57:47 -07:00
Ori Livneh 67fb513d10 Merge pull request #8 from furlongm/cygwin-support
Add support for cygwin
2015-07-29 09:57:11 -07:00
Marcus Furlong cc9170147c Add support for cygwin 2015-07-23 13:53:19 +10:00
Albert White d296148956 Set CLOCK_MONOTONIC for Solaris
Setting CLOCK_MONOTONIC = 4 as defined in the Solaris time_impl.h
header file.

$ python -c "import sys; print sys.platform"
sunos5
$ grep MONOTONIC /usr/include/sys/time_impl.h
#define CLOCK_MONOTONIC         4       /* high resolution monotonic
clock */
#define CLOCK_HIGHRES           CLOCK_MONOTONIC         /* alternate
name */
2015-07-15 11:39:29 +01:00
Ori Livneh 7a90ceeb2b 0.2 2015-06-19 11:03:04 -07:00
Ori Livneh 1e0c8a3de5 On Linux >2.6.28, use CLOCK_MONOTONIC_RAW
Closes #1
2015-06-19 10:59:38 -07:00
Ori Livneh 1956c44008 Merge pull request #4 from hguemar/master
Include LICENSE file in source package
2015-06-19 10:53:42 -07:00
Ori Livneh db432ecdcd Merge pull request #3 from alexpilotti/patch-1
Fixes issue when performing sanity checks
2015-06-19 10:35:37 -07:00
Haikel Guemar 4fe8ae3931 Include LICENSE file in source package
Required by many distributions
2015-06-18 12:52:43 +02:00
Alessandro Pilotti d5dd587059 Fixes issue when performing sanity checks
The sanity check fails as monotonic() - monotonic() can return 0.0.
This is a blocking issue that has been observed on Windows.

Closes issue: #2
2015-06-17 13:40:06 +03:00
Ori Livneh 1ff1ba9f75 Initial commit 2014-11-29 11:36:28 -08:00