You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
2.2 KiB

// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.
#ifndef NODE_VERSION_H
#define NODE_VERSION_H
#define NODE_MAJOR_VERSION 0
#define NODE_MINOR_VERSION 9
#define NODE_PATCH_VERSION 1
2012.08.28, Version 0.9.1 (Unstable) * buffer: Add Buffer.isEncoding(enc) to test for valid encoding values (isaacs) * Raise UV_ECANCELED on premature close. (Ben Noordhuis) * Remove c-ares from libuv, move to a top-level node dependency (Bert Belder) * ref/unref for all HandleWraps, timers, servers, and sockets (Timothy J Fontaine) * addon: remove node-waf, superseded by node-gyp (Ben Noordhuis) * child_process: emit error on exec failure (Ben Noordhuis) * cluster: do not use internal server API (Andreas Madsen) * constants: add O_DIRECT (Ian Babrou) * crypto: add sync interface to crypto.pbkdf2() (Ben Noordhuis) * darwin: emulate fdatasync() (Fedor Indutny) * dgram: make .bind() always asynchronous (Ben Noordhuis) * events: Make emitter.listeners() side-effect free (isaacs, Joe Andaverde) * fs: Throw early on invalid encoding args (isaacs) * fs: fix naming of truncate/ftruncate functions (isaacs) * http: bubble up parser errors to ClientRequest (Brian White) * linux: improve cpuinfo parser on ARM and MIPS (Ben Noordhuis) * net: add support for IPv6 addresses ending in :: (Josh Erickson) * net: support Server.listen(Pipe) (Andreas Madsen) * node: don't scan add-on for "init" symbol (Ben Noordhuis) * remove process.uvCounters() (Ben Noordhuis) * repl: console writes to repl rather than process stdio (Nathan Rajlich) * timers: implement setImmediate (Timothy J Fontaine) * tls: fix segfault in pummel/test-tls-ci-reneg-attack (Ben Noordhuis) * tools: Move gyp addon tools to node-gyp (Nathan Rajlich) * unix: preliminary signal handler support (Ben Noordhuis) * unix: remove dependency on ev_child (Ben Noordhuis) * unix: work around darwin bug, don't poll() on pipe (Fedor Indutny) * util: Formally deprecate util.pump() (Ben Noordhuis) * windows: make active and closing handle state independent (Bert Belder) * windows: report spawn errors to the exit callback (Bert Belder) * windows: signal handling support with uv_signal_t (Bert Belder)
13 years ago
#define NODE_VERSION_IS_RELEASE 1
#ifndef NODE_STRINGIFY
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
#define NODE_STRINGIFY_HELPER(n) #n
#endif
#if NODE_VERSION_IS_RELEASE
# define NODE_VERSION_STRING NODE_STRINGIFY(NODE_MAJOR_VERSION) "." \
NODE_STRINGIFY(NODE_MINOR_VERSION) "." \
NODE_STRINGIFY(NODE_PATCH_VERSION)
#else
# define NODE_VERSION_STRING NODE_STRINGIFY(NODE_MAJOR_VERSION) "." \
NODE_STRINGIFY(NODE_MINOR_VERSION) "." \
NODE_STRINGIFY(NODE_PATCH_VERSION) "-pre"
#endif
#define NODE_VERSION "v" NODE_VERSION_STRING
#define NODE_VERSION_AT_LEAST(major, minor, patch) \
(( (major) < NODE_MAJOR_VERSION) \
|| ((major) == NODE_MAJOR_VERSION && (minor) < NODE_MINOR_VERSION) \
|| ((major) == NODE_MAJOR_VERSION && (minor) == NODE_MINOR_VERSION && (patch) <= NODE_PATCH_VERSION))
#endif /* NODE_VERSION_H */