The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / src / node_os.cc @ 6f92da2d

History | View | Annotate | Download (8.67 KB)

# Date Author Comment
30701d6e 08/01/2013 06:47 AM Brian White

os: add mac address to networkInterfaces() output

8e29ce9f 07/31/2013 02:12 PM Fedor Indutny

src: lint c++ code

71b31389 07/30/2013 03:32 PM Ben Noordhuis

src: remove unused import in src/node_os.cc

b8c04b92 07/30/2013 09:19 AM Ben Noordhuis

Merge remote-tracking branch 'origin/v0.10'

Conflicts:
AUTHORS
ChangeLog
deps/uv/ChangeLog
deps/uv/src/version.c
deps/uv/src/win/fs.c
src/node.cc
src/node_crypto.cc
src/node_os.cc
src/node_version.h

e20811a6 07/23/2013 11:12 AM Ben Noordhuis

src: os: use Number::New() for CPU info

The return values from uv_cpu_info() don't necessarily fit in a 32 bits
signed integer.

Fixes #5732.

ca9eb718 07/20/2013 06:09 AM Ben Noordhuis

src, lib: update after internal api change

Libuv now returns errors directly. Make everything in src/ and lib/
follow suit.

The changes to lib/ are not strictly necessary but they remove the need
for the abominations that are process._errno and node::SetErrno().

110a9cd8 07/06/2013 11:44 AM Ben Noordhuis

lib, src: upgrade after v8 api change

This is a big commit that touches just about every file in the src/
directory. The V8 API has changed in significant ways. The most
important changes are:

  • Binding functions take a const v8::FunctionCallbackInfo<T>& argument...
ef0926ce 05/29/2013 06:13 PM Ben Noordhuis

os: use IsBigEndian() in GetEndianness() function

8a407f58 05/08/2013 08:04 PM Ben Kelly

os: Include netmask in os.networkInterfaces()

re #3765 and #5432
fixes #4743

af1ed99c 04/29/2013 08:08 AM Ben Noordhuis

Merge remote-tracking branch 'origin/v0.10'

Conflicts:
AUTHORS
ChangeLog
deps/uv/ChangeLog
deps/uv/src/version.c
lib/http.js
src/node_crypto.cc
src/node_os.cc
src/node_version.h
test/simple/helper-debugger-repl.js

c7774735 04/22/2013 02:00 PM isaacs

os: Fix uname() error handling on sunos

The uname function can return any non-negative int to indicate success.

Strange, but that's how it is documented. This also fixes a similar
buffer overflow in the even more unlikely event that info.release is

255 characters, similar to how 78c5de5 did for info.sysname.

8e190bf6 04/18/2013 06:14 AM Ben Noordhuis

Merge remote-tracking branch 'origin/v0.10'

Conflicts:
src/node_os.cc

d58ee7e5 04/15/2013 04:39 PM Ben Noordhuis

os: unbreak windows build

Windows doesn't have MAXHOSTNAMELEN. Introduced in afbadde.

afbaddec 04/15/2013 03:13 PM Ben Noordhuis

os: handle 256 character hostnames

Fix a (rather academic) buffer overflow. MAXHOSTNAMELEN is 256 on most
platforms, which means the buffer wasn't big enough to hold the
trailing nul byte on a system with a maximum length hostname.

78c5de59 04/15/2013 02:57 PM Ben Noordhuis

os: fix unlikely buffer overflow in os.type()

  • Fix a buffer overflow that happens iff strlen(info.sysname) > 255.
  • Check the return value of uname().
f65e14ed 03/19/2013 08:11 PM Trevor Norris

src: pass Isolate to all applicable api

Update the api to pass node_isolate to all supported methods.

Much thanks to Ben Noordhuis and his work in 51f6e6a.

51f6e6a9 02/25/2013 05:45 PM Ben Noordhuis

src, test: downgrade to v8 3.14 api

7788a6bf 01/07/2013 11:39 AM Ben Noordhuis

src: pass node_isolate to Undefined()

109f73b2 01/07/2013 11:39 AM Ben Noordhuis

src: pass node_isolate to True() and False()

6573fc35 01/07/2013 11:39 AM Ben Noordhuis

src: pass node_isolate to Integer::New

03b00dcc 12/03/2012 04:35 PM Bert Belder

os: throw when os.networkInterfaces() fails

5e4e87ad 11/08/2012 03:31 PM Nathan Rajlich

os: add os.endianness() function

ff4a9d38 03/09/2012 06:14 PM Ben Noordhuis

core: use proper #include directives

500c8f45 12/15/2011 09:01 PM Igor Zinkovsky

Remove platform files, and use uv platform api

cdcb1118 11/09/2011 10:34 AM Ben Noordhuis

Remove stray NODE_MODULE() semi-colons.

88af0c86 10/19/2011 07:28 PM Ryan Dahl

Remove os.openOSHandle

Unused.

4561d9e0 10/07/2011 04:32 AM Fedor Indutny

Don't check sign of loadavg

Fixes #1838

69845538 10/07/2011 04:31 AM Fedor Indutny

use uv for memory and loadavg functions

91ecfbca 08/02/2011 12:38 PM Bert Belder

Remove platform_win32_winsock

a7bdaabf 07/26/2011 04:05 PM Ben Noordhuis

Include "platform.h", not <platform.h> - conflicts with system headers

Fixes #1003.

19e53512 03/16/2011 07:34 PM Ryan Dahl

os.getNetworkInterfaces()

55048cdf 03/14/2011 08:37 PM Ryan Dahl

Update copyright headers

61af4207 02/07/2011 06:30 PM Bert Belder

Fix dns on windows

0eb4c215 01/17/2011 10:58 PM Bert Belder

Define winsock error numbers

c99962e4 01/17/2011 10:58 PM Bert Belder

Misc. cleanups

casts, unused vars, function ordering, /* within comment, etc.

e0f47be9 01/17/2011 10:58 PM Bert Belder

Clean up the way windows headers are included

Plus make inclusion order a little more consistent in general

9bcfc074 01/13/2011 11:32 PM Ryan Dahl

Revert "Implement os.isWindows"

This reverts commit 9e31e0837ec3c5a88ed477bec3980dd4608046be.

Use process.platform == 'win32'

9e31e083 01/04/2011 09:38 PM Bert Belder

Implement os.isWindows

c3ffbf21 01/02/2011 05:44 PM Bert Belder

Fix the OS module for win32

33118df8 01/02/2011 04:57 PM Bert Belder

Merge remote branch 'origin/master'

Conflicts:
src/node_net.cc
src/node_os.cc

8275d7cd 12/23/2010 12:52 PM Brian White

Fix Cygwin compatibility in the os module

d75c338d 12/22/2010 02:01 PM Brian White

Add more functionality to the os module

86518c3b 12/20/2010 06:17 PM Bert Belder

Port GetHostName

f1762ff8 12/11/2010 03:51 AM Brian White

Add os module and getHostname