Felix Geisendörfer
7371fcb312
Temporary function to determine str byte length
Will need a better place later on
15 years ago
Ryan Dahl
d737a060c8
Combine all compiled javascript files into src/node.js
15 years ago
Brandon Beacher
47fcf785ac
Added process.chdir()
15 years ago
Ryan Dahl
b3b3cfe007
Move memoryUsage() into C on Linux
15 years ago
Ryan Dahl
3a70129a9c
Add sys.memoryUsage()
15 years ago
Ryan Dahl
f481183140
Add process.platform
15 years ago
Ryan Dahl
ad0a4cefb8
Namespace EVERYTHING under process; introduce GLOBAL
http://groups.google.com/group/nodejs/browse_thread/thread/1034fd2ad2cd93e8
15 years ago
Ryan Dahl
a5df0f6a65
Prefix all source files with node_
15 years ago
Ryan Dahl
3456a16f71
Accept string representations of signals in node.kill and child.kill
15 years ago
Brandon Beacher
334d56d2be
Added external interface for signal handlers.
Also process.pid and node.kill().
15 years ago
Ryan Dahl
0ae02c9f04
Internalize node_version.h.
With the more detailed node.version changing (every commit), having
node_version.h exposed to all modules required a complete recompile each
time a commit was made.
People can use the javascript interface to get the version.
15 years ago
Ryan Dahl
388145546d
Add comments to node.cc
15 years ago
Ryan Dahl
e742d077e0
Enable debugging.
Use the --debug command line flag to enable.
It appears that d8 sucks. Luckily it can be rewritten rather easily with the
repl and tcp client libraries.
Node's CL option parsing is getting rather unwieldy - needs refactor.
15 years ago
Ryan Dahl
53ebe75930
Improve build for V8
Users following HEAD should 'make distclean' and reconfigure after this
update.
15 years ago
Ryan Dahl
b404996cf3
Fix --v8-options command line argument.
15 years ago
Brandon Beacher
f068251494
Added signal handler.
To be used internally. Needs an exposed interface.
15 years ago
Ryan Dahl
39c61367a7
Only arguments before -- should be passed to V8.
15 years ago
Ryan Dahl
2b994d9e37
Also accept 'utf-8' to specify utf8 encodings.
15 years ago
Ryan Dahl
23c7f472d0
API: Move node.exit() to process.exit().
15 years ago
Ryan Dahl
f6657c3c9d
Move http library to /http.js
15 years ago
Ryan Dahl
45ea62a0f6
Changes to compile on Andrew Miller's very old machine
15 years ago
Ryan Dahl
663deb3828
delete[] instead of delete for arrays.
15 years ago
Ryan Dahl
07792afe0a
Remove "raw" encoding. Rename "raws" to "binary".
Deprecation warnings have been added to help the conversion to this new API.
15 years ago
Ryan Dahl
605b7e9763
Add node.installPrefix
15 years ago
Ryan Dahl
ef300d19cb
Bugfix: ReportException shouldn't forget the top frame.
16 years ago
Ryan
227638bac1
Lint
16 years ago
Ryan
1910c113cc
Add '--' to seperate v8 args from program args
16 years ago
Ryan
d6c9d31cb5
cpplint.py node.cc and node.h
16 years ago
Ryan
3e4fc9f966
Add 'extern char **environ' so that the new ENV code compiles.
Problem appeared in dc39e82024
.
16 years ago
Ryan
dc39e82024
Add access to user environment via ENV
16 years ago
Ryan
68dda0a7d8
Man page generation.
16 years ago
Ryan
8e5d4f9a69
Remove debug agent. It shouldn't have been commited!
Appeared accidentally in 6dd850aa
.
16 years ago
Ryan
2337630746
Move arg parsing to beginning of main()
For faster "./node -v"
16 years ago
Ryan
d7e220cee1
Add a few fflush(stderr) calls to track down missing stacktraces.
16 years ago
Ryan
8890070b88
Introduce "raws" encoding. Raw String.
This allows you to have binary data imported into your application via
strings instead of arrays of numbers! This needs testing before release.
16 years ago
Ryan
21a1b045f5
Byte stream to V8 decoding and encoding.
This does not (should not) change behavior. Pulls those two functions
(encode/decode) out into node.cc.
16 years ago
Ryan
6dd850aa16
node.assert() was broken.
16 years ago
Ryan
733ee426dc
Fix slowness in debug run of test-tcp-many-clients
I'm not sure what is actually causing
node_g test/mjsunit/test-tcp-many-clients.js
to run slowly, but I traced the problem to
afd9e714d3
.
Somehow it has to do with promoting the compilation of src/util.js. That
change wasn't actually intended to be included in afd9e7 commit anyway, so
I'm reverting it here.
16 years ago
Ryan
82d986db24
Add limits.h to src/node.cc for PATH_MAX
16 years ago
Ryan
ed9c3362ee
Remove --lib option since there is no more libnode
16 years ago
Ryan
8152f9cff2
Revert static library build.
Not necessary to build dll modules after all.
16 years ago
Michael Carter
8ea6adcae6
Feature: add node.cwd() to access the current working directory.
16 years ago
Ryan
3862fdade4
Throw Error exceptions from node.dlopen()
16 years ago
Ryan
afd9e714d3
Stack traces for mjsunit errors, better error reporting function.
The error reporting function tries to look at the "stack" element of the
exception.
16 years ago
Ryan
a97dce7523
Build static executable.
- Fix a few errors with node.dlopen()
- Report errors to stderr (this should probably be a separate commit, but
whatever)
16 years ago
Ryan
b73264d9b3
Add command line arguments for accessing build flags.
node --cflags
node --libs
At the expense of some WAF nastiness.
16 years ago
Ryan
2b6d72431b
First attempt at node.dlopen
Compiled first working 'hello world' module with this config
16 years ago
Ryan
ad9d683f9f
API: rename node.Process to node.ChildProcess
This is to avoid confusion with the global "process" object, especially for
the instances of node.Process.
16 years ago
Ryan
116f4dea05
lint
16 years ago
Ryan
6025da2153
Introduce 'process' object. Also is the global object.
16 years ago