Brian White
d75c338dd6
Add more functionality to the os module
14 years ago
Ryan Dahl
d793fcaabd
Add toolchain=gcc to V8 build for Sun
14 years ago
Bert Belder
d1bf9cf1f8
After building overwrite existing ./node(_g)?.exe
14 years ago
Bert Belder
2655269911
Make select work on >64 FDs on windows
14 years ago
Bert Belder
4a2cb07808
Fix whitespace errors introduced by porting efforts
14 years ago
Bert Belder
9f9332963a
wscript: use "node.exe" and avoid symlinks on windows
14 years ago
Bert Belder
f37cc8720b
On windows, link with Winsock and WinMM
14 years ago
Bert Belder
6f08fdbcca
Backslashes in paths wreak havoc
14 years ago
Bert Belder
d56e1a3fcd
No -rdynamic and -pthread flags when building with mingw
14 years ago
Bert Belder
276b0b174e
Always use statically linked c-ares on windows; fix build
On win32 CARES is always static, so we can call internal functions like ares_inet_pton et al.
CARES_STATICLIB must be defined or gcc will try to make DLL stub calls
14 years ago
Bert Belder
62af617f84
Dynamically link with pthreads-w32
Adds some explanation what would need to be done to link pthreads statically
14 years ago
Bert Belder
13699c1b33
V8: Don't attempt to build w/ snapshot, doesn't seem to work on mingw32
14 years ago
Ryan Dahl
4bb914bde9
Bump version to v0.3.2
14 years ago
Brian White
9eaf2329e7
Fix compilation on OpenBSD and FreeBSD
While it compiles fine on FreeBSD, at least on amd64 node dies with:
"CALL_AND_RETRY_0 allocation failed - process out of memory"
14 years ago
Ryan Dahl
c9d3a81db0
Patch V8 to compile on solaris
14 years ago
Ryan Dahl
7d73779446
Make oprofile work
14 years ago
Brian White
f1762ff815
Add os module and getHostname
14 years ago
Ryan Dahl
a0e9a510b0
Introduce require('tty')
You may need to reconfigure after this commit due to the new library.
14 years ago
Ryan Dahl
33685fee48
Add configure flag for oprofile
14 years ago
Bert Belder
99ba903d46
win: Define __POSIX__ constant when the platform is POSIX-y
14 years ago
Ryan Dahl
a326eebac8
Put tools/ into PYTHON_PATH
14 years ago
Nikhil Marathe
7a3971e433
Use sys.executable to call python
14 years ago
Ben Noordhuis
a87172f9b2
Compile with `-Wno-unused-parameter -D_FORTIFY_SOURCE=2`
14 years ago
Brian White
952bbb86b5
Fix OpenSSL SSL_library_init function check on OpenBSD.
14 years ago
Ryan Dahl
473721979d
Print warning when using platform_none.cc
14 years ago
Ryan Dahl
25eecd179b
Fix configure on x86
14 years ago
Ben Noordhuis
5d80bdb6ae
Add --profile flag to configure script, enables gprof profiling.
14 years ago
Rasmus Andersson
e5a0fbe500
Added support for cross compilation and also fixed DEST_CPU to represent the canonical symbols dictated by v8
14 years ago
Ryan Dahl
029180a93c
Install node-waf
14 years ago
Ryan Dahl
97c9745063
Back to WAF
Too much instability right now. Hopefully we can revisit autoconf soon.
14 years ago
Ryan Dahl
15594eaf87
Replace WAF with make/autoconf
14 years ago
AJ ONeal
74c8b5fd08
./wscript: allow for cross-compiling of all three supported architectures
14 years ago
Ben Noordhuis
045bd4c7a4
Preliminary pkg-config support.
14 years ago
Ryan Dahl
c4636a578c
Dynamically load native scripts
14 years ago
Ryan Dahl
fe74283e1d
Fix a few compiler warnings...
14 years ago
Ryan Dahl
fe060916ec
Put preprocessor defines into CPPFLAGS not compile flags...
14 years ago
Ryan Dahl
9922e4e433
Don't choose jobs based on processor
Leads to lots of builds with out-of-memory.
14 years ago
Ryan Dahl
754fde7325
More explicit openssl configure warning
14 years ago
Paul Querna
2d348bb985
Fatal error out if OpenSSL was not explicitly disabled, we just couldn't autodetect it.
14 years ago
Ryan Dahl
124fbedc2f
Add node::Start()
first step towards building a libnode.a
14 years ago
Tony Metzidis
5c9b9c2e70
- fix AttributeError on "use_openssl" when doing ./configure --without-ssl - error was: AttributeError: Values instance has no attribute 'use_openssl'
14 years ago
Ryan Dahl
e8b3751743
Only check for execinfo lib in freebsd
OpenEmbedded doesn't like it when you look in /usr/lib
14 years ago
Ryan Dahl
5bce8ed118
Fix process.platform
14 years ago
Ryan Dahl
ae5d613b3e
Add --without-snapshot configure option
14 years ago
Rasmus Andersson
758f12f34c
added read and write support for process.title Darwin
This will only manipulate the OS X-level process name, not the title shown
in e.g. ps.
14 years ago
Ryan Dahl
5185c15ef7
Stub out process.title
15 years ago
Ryan Dahl
a4906c7c83
Print warning when OpenSSL not found
14 years ago
Samuel Shull
24c6d26cca
Add node_version.h to install
14 years ago
Paul Querna
30dadfc033
Register builtin extensions via a macro, rather than a manual strcmp
Set the stage for making the builtin modules more dynamic.
Note: this only converts crypto and net, I will add more extensions in a
later commit.
* node.h: Add utility macro for converting macro values to strings.
* node.h: Include the actual module name inside the module structure, not
just the file it was built from.
* node.h: New Macro, NODE_MODULE_DECL, for declaring an external reference
to a module structure.
* node_extensions.cc: New File, implements get_builtin_module, which
iterates over the module structures that are compiled into node.
* node.cc(node::Binding): Use the new module lookup function to find
modules.
* node_{net,crypto}.c: Add NODE_MODULEs to generate the module structure.
15 years ago
Paul Querna
480164f923
Move node version to a single static header file.
Some compile time variables like the cflags and prefix have been moved to
the node_config.h.in, in the anticipation that they will be removed at
somepoint.
15 years ago