duktape 1.3.0.3 → 1.3.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dfb55cc84a3ff20a35c960423f771f25af235e9a
4
- data.tar.gz: 90ab8eff7225fcc75c88e841b0708e09c347c17b
3
+ metadata.gz: a83f9f94bcb9062672ab5f4b394379b3c6b3bb3a
4
+ data.tar.gz: 61109c31d8865a66852a004a4a393c1edb72ca7b
5
5
  SHA512:
6
- metadata.gz: 88511747eb9bb7baaa33961e64ee0f715893c77e21c1deb1886a05ba6de7b4d890697df412a8c1d14a8a5af4965c118d40ec885efaea9f7eb565f565f7d80788
7
- data.tar.gz: 19f63d599040622a841fac73843d92a377e9e6cfcadf62ef42077aaf999d853b5f07149b328e6601d2a23b20ae19d3d281af980fa64ded1b087efe264e7d9050
6
+ metadata.gz: 6564704f5eaa7bdfd87894ba1bb70d854d2818a68740d984fe96e4f249fe2991ce4369a91bbeadb4538cbe09f2cb00572a94221339d73ec328c825776978d9c3
7
+ data.tar.gz: 9f42fbed534b7c41ff92dfac44a08227301e701297eea9cbc7c6d7f7ca07ae89465aebe630e0c82d05ecf1d77ef11b5b4f7411de1ba99a3d95e292748540f540
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # ChangeLog
2
2
 
3
+ ## v1.3.0.4 (2015-11-23)
4
+
5
+ * Support Illumos and Solaris (#33, F4S4K4N)
6
+
3
7
  ## v1.3.0.3 (2015-09-25)
4
8
 
5
9
  * Support for big-endian platforms (#30, nanaya)
@@ -254,6 +254,11 @@ static __inline__ unsigned long long duk_rdtsc(void) {
254
254
  #define DUK_F_QNX
255
255
  #endif
256
256
 
257
+ /* illumos / Solaris */
258
+ #if defined(__sun) && defined(__SVR4)
259
+ #define DUK_F_SUN
260
+ #endif
261
+
257
262
  /* TI-Nspire (using Ndless) */
258
263
  #if defined(_TINSPIRE)
259
264
  #define DUK_F_TINSPIRE
@@ -556,6 +561,18 @@ static __inline__ unsigned long long duk_rdtsc(void) {
556
561
  #include <sys/param.h>
557
562
  #include <sys/time.h>
558
563
  #include <time.h>
564
+ #elif defined(DUK_F_SUN)
565
+ #define DUK_USE_DATE_NOW_GETTIMEOFDAY
566
+ #define DUK_USE_DATE_TZO_GMTIME_R
567
+ #define DUK_USE_DATE_PRS_STRPTIME
568
+ #define DUK_USE_DATE_FMT_STRFTIME
569
+ #include <sys/types.h>
570
+ #include <ast/endian.h>
571
+ #define _BIG_ENDIAN __BIG_ENDIAN
572
+ #include <limits.h>
573
+ #include <sys/param.h>
574
+ #include <sys/time.h>
575
+ #include <time.h>
559
576
  #else
560
577
  /* Other UNIX, hopefully others */
561
578
  #define DUK_USE_DATE_NOW_GETTIMEOFDAY
@@ -1,3 +1,3 @@
1
1
  module Duktape
2
- VERSION = "1.3.0.3"
2
+ VERSION = "1.3.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: duktape
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0.3
4
+ version: 1.3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Magnus Holm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-12 00:00:00.000000000 Z
11
+ date: 2015-11-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: judofyr@gmail.com