Skip to content

Commit 3cd6a13

Browse files
author
Herb Kuta
committed
Release nodejs 0.4.12-webos2 to the public
0 parents  commit 3cd6a13

2,507 files changed

Lines changed: 1075672 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Use of this file is subject to license terms as set forth in the LICENSE file found in the root directory of the project.
2+
BUILD*
3+
build*
4+
.waf*
5+
tags
6+
.lock-wscript
7+
*.pyc
8+
doc/api.xml
9+
tools/nodejs.pc
10+
tmp/
11+
node
12+
node_g
13+
*.swp
14+
.benchmark_reports
15+
/.project
16+
/.cproject

AUTHORS

Lines changed: 197 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,197 @@
1+
# Authors ordered by first contribution.
2+
3+
Ryan Dahl <[email protected]>
4+
Urban Hafner <[email protected]>
5+
Joshaven Potter <[email protected]>
6+
Abe Fettig <[email protected]>
7+
Kevin van Zonneveld <[email protected]>
8+
Michael Carter <[email protected]>
9+
Jeff Smick <[email protected]>
10+
Jon Crosby <[email protected]>
11+
Felix Geisendörfer <[email protected]>
12+
Ray Morgan <[email protected]>
13+
Jérémy Lal <[email protected]>
14+
Isaac Z. Schlueter <[email protected]>
15+
Brandon Beacher <[email protected]>
16+
Tim Caswell <[email protected]>
17+
Connor Dunn <[email protected]>
18+
Johan Sørensen <[email protected]>
19+
Friedemann Altrock <[email protected]>
20+
Onne Gorter <[email protected]>
21+
Rhys Jones <[email protected]>
22+
Jan Lehnardt <[email protected]>
23+
Simon Willison <[email protected]>
24+
Chew Choon Keat <[email protected]>
25+
Jered Schmidt <[email protected]>
26+
Michaeljohn Clement <[email protected]>
27+
Karl Guertin <[email protected]>
28+
Xavier Shay <[email protected]>
29+
Christopher Lenz <[email protected]>
30+
TJ Holowaychuk <[email protected]>
31+
Johan Dahlberg <[email protected]>
32+
Simon Cornelius P. Umacob <[email protected]>
33+
Ryan McGrath <[email protected]>
34+
Rasmus Andersson <[email protected]>
35+
Micheil Smith <[email protected]>
36+
Jonas Pfenniger <[email protected]>
37+
David Sklar <[email protected]>
38+
Charles Lehner <[email protected]>
39+
Elliott Cable <[email protected]>
40+
Benjamin Thomas <[email protected]>
41+
San-Tai Hsu <[email protected]>
42+
Ben Williamson <[email protected]>
43+
Joseph Pecoraro <[email protected]>
44+
Erich Ocean <[email protected]>
45+
Alexis Sellier <[email protected]>
46+
Blaine Cook <[email protected]>
47+
Stanislav Opichal <[email protected]>
48+
Aaron Heckmann <[email protected]>
49+
Mikeal Rogers <[email protected]>
50+
Matt Brubeck <[email protected]>
51+
Michael Stillwell <[email protected]>
52+
Yuichiro MASUI <[email protected]>
53+
Mark Hansen <[email protected]>
54+
Zoran Tomicic <[email protected]>
55+
Jeremy Ashkenas <[email protected]>
56+
Scott González <[email protected]>
57+
James Duncan <[email protected]>
58+
Arlo Breault <[email protected]>
59+
Kris Kowal <[email protected]>
60+
Jacek Becela <[email protected]>
61+
Rob Ellis <[email protected]>
62+
Tim Smart <[email protected]>
63+
Herbert Vojčík <[email protected]>
64+
Krishna Rajendran <[email protected]>
65+
Nicholas Kinsey <[email protected]>
66+
Scott Taylor <[email protected]>
67+
Carson McDonald <[email protected]>
68+
Matt Ranney <[email protected]>
69+
James Herdman <[email protected]>
70+
Julian Lamb <[email protected]>
71+
Brian Hammond <[email protected]>
72+
Mathias Pettersson <[email protected]>
73+
Trevor Blackwell <[email protected]>
74+
Thomas Lee <[email protected]>
75+
Daniel Berger <[email protected]>
76+
Paulo Matias <[email protected]>
77+
Peter Griess <[email protected]>
78+
Jonathan Knezek <[email protected]>
79+
Jonathan Rentzsch <[email protected]>
80+
Ben Noordhuis <[email protected]>
81+
Elijah Insua <[email protected]>
82+
Andrew Johnston <[email protected]>
83+
Brian White <[email protected]>
84+
Aapo Laitinen <[email protected]>
85+
Sam Hughes <[email protected]>
86+
Orlando Vazquez <[email protected]>
87+
Raffaele Sena <[email protected]>
88+
Brian McKenna <[email protected]>
89+
Paul Querna <[email protected]>
90+
Ben Lowery <[email protected]>
91+
Peter Dekkers <[email protected]>
92+
David Siegel <[email protected]>
93+
Marshall Culpepper <[email protected]>
94+
Ruben Rodriguez <[email protected]>
95+
Dmitry Baranovskiy <[email protected]>
96+
Blake Mizerany <[email protected]>
97+
Jerome Etienne <[email protected]>
98+
Dmitriy Shalashov <[email protected]>
99+
Adam Wiggins <[email protected]>
100+
Rick Olson <[email protected]>
101+
David Siegel <[email protected]>
102+
Sergey Kzyzhanovsky <[email protected]>
103+
Marco Rogers <[email protected]>
104+
Benjamin Fritsch <[email protected]>
105+
Jan Kassens <[email protected]>
106+
Robert Keizer <[email protected]>
107+
Sam Shull <[email protected]>
108+
Chandra Sekar S <[email protected]>
109+
Andrew Naylor <[email protected]>
110+
Benjamin Kramer <[email protected]>
111+
Danny Coates <[email protected]>
112+
Samuel Shull <[email protected]>
113+
Nick Stenning <[email protected]>
114+
Bert Belder <[email protected]>
115+
Trent Mick <[email protected]>
116+
Fedor Indutny <[email protected]>
117+
Illarionov Oleg <[email protected]>
118+
Aria Stewart <[email protected]>
119+
Johan Euphrosine <[email protected]>
120+
Russell Haering <[email protected]>
121+
Bradley Meck <[email protected]>
122+
Tobie Langel <[email protected]>
123+
Tony Metzidis <[email protected]>
124+
Mark Nottingham <[email protected]>
125+
Sam Stephenson <[email protected]>
126+
Jorge Chamorro Bieling <[email protected]>
127+
Evan Larkin <evan.larkin.il.com>
128+
Sean Coates <[email protected]>
129+
Tom Hughes <[email protected]>
130+
Joshua Peek <[email protected]>
131+
Nathan Rajlich <[email protected]>
132+
Peteris Krumins <[email protected]>
133+
134+
Sami Samhuri <[email protected]>
135+
Nikhil Marathe <[email protected]>
136+
Vitali Lovich <[email protected]>
137+
Stéphan Kochen <[email protected]>
138+
Oleg Efimov <[email protected]>
139+
Guillaume Tuton <[email protected]>
140+
Tim Cooijmans <[email protected]>
141+
Dan Søndergaard <[email protected]>
142+
Silas Sewell <[email protected]>
143+
Wade Simmons <[email protected]>
144+
Daniel Gröber <[email protected]>
145+
Travis Swicegood <[email protected]>
146+
Oleg Slobodskoi <[email protected]>
147+
Jeremy Martin <[email protected]>
148+
Michael W <[email protected]>
149+
Sean Braithwaite <[email protected]>
150+
Anders Conbere <[email protected]>
151+
Devin Torres <[email protected]>
152+
Theo Schlossnagle <[email protected]>
153+
154+
155+
Mihai Călin Bazon <[email protected]>
156+
Ali Farhadi <[email protected]>
157+
Daniel Ennis <[email protected]>
158+
Carter Allen <[email protected]>
159+
Greg Hughes <[email protected]>
160+
David Trejo <[email protected]>
161+
Joe Walnes <[email protected]>
162+
Koichi Kobayashi <[email protected]>
163+
Daniel Gröber <[email protected]>
164+
Konstantin Käfer <[email protected]>
165+
Richard Rodger <[email protected]>
166+
Andreas Reich <[email protected]>
167+
Dean McNamee <[email protected]>
168+
Trevor Burnham <[email protected]>
169+
Zachary Scott <[email protected]>
170+
Arnout Kazemier <[email protected]>
171+
George Stagas <[email protected]>
172+
Scott McWhirter <[email protected]>
173+
Jakub Lekstan <[email protected]>
174+
Tim Baumann <[email protected]>
175+
Robert Mustacchi <[email protected]>
176+
George Miroshnykov <[email protected]>
177+
Marcel Laverdet <[email protected]>
178+
Alexandre Marangone <[email protected]>
179+
Mark Cavage <[email protected]>
180+
Ryan Petrello <[email protected]>
181+
Siddharth Mahendraker <[email protected]>
182+
Mathias Buus <[email protected]>
183+
Yoshihiro KIKUCHI <[email protected]>
184+
Brett Kiefer <[email protected]>
185+
Mariano Iglesias <[email protected]>
186+
Jörn Horstmann <[email protected]>
187+
188+
189+
Kip Gebhardt <[email protected]>
190+
Stefan Rusu <[email protected]>
191+
Wojciech Wnętrzak <[email protected]>
192+
Reid Burke <[email protected]>
193+
Vicente Jimenez Aguilar <[email protected]>
194+
SAWADA Tadashi <[email protected]>
195+
Logan Smyth <[email protected]>
196+
Christopher Wright <[email protected]>
197+
Mickaël Delahaye <[email protected]>

CMakeLists.txt

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
# Use of this file is subject to license terms as set forth in the LICENSE file found in the root directory of the project.
2+
3+
cmake_minimum_required(VERSION 2.6)
4+
project(node)
5+
6+
if(USE_GCOV)
7+
set(CMAKE_BUILD_TYPE "Debug")
8+
9+
# Set global c and c++ flags
10+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage")
11+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage")
12+
13+
# Link flags used for creating executables
14+
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lgcov -fprofile-arcs")
15+
16+
# Link flags used for creating shared libraries
17+
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -lgcov -profile-arcs")
18+
endif()
19+
20+
#
21+
# options
22+
#
23+
24+
find_package(PythonInterp 2 REQUIRED)
25+
26+
# NB. The code is not guaranteed to build if WEBOS is False.
27+
set(WEBOS True CACHE INTERNAL "build for webOS")
28+
29+
option(SHARED_V8 "use system shared V8 library")
30+
option(SHARED_LIBEV "use system shared libev library")
31+
option(SHARED_CARES "use system shared c-ares library")
32+
option(V8_SNAPSHOT "turn on snapshot when building stock v8")
33+
option(V8_OPROFILE "Add oprofile support")
34+
option(V8_GDBJIT "add gdbjit support")
35+
option(DTRACE "build with DTrace (experimental)")
36+
37+
# cmake policies to get rid of some warnings
38+
cmake_policy(SET CMP0009 NEW) # GLOB_RECURSE should no follow symlinks
39+
40+
# generic cmake configuration
41+
include("cmake/configure.cmake")
42+
43+
# find and configure libs
44+
include("cmake/libs.cmake")
45+
46+
# setup node build targets
47+
include("cmake/node_build.cmake")
48+
49+
# setup v8 build targets
50+
include("cmake/v8_build.cmake")
51+
52+
# docs
53+
## might want to move this to doc/CMakeLists.txt
54+
include("cmake/docs.cmake")
55+
56+
# tests
57+
enable_testing()
58+
include(CTest)
59+
add_subdirectory("test/")
60+
61+
# package
62+
include("cmake/package.cmake")
63+
64+
if(WEBOS)
65+
# Make sure the build system's version of this component matches what we're building.
66+
# The intent is for it to pass in NODEJS_COMPONENT_VERSION via the CMake command line.
67+
# This can't appear any earlier in the code because node_version_string isn't set until
68+
# cmake/package.cmake is invoked.
69+
if (DEFINED NODEJS_COMPONENT_VERSION)
70+
if (NOT (node_version_string STREQUAL NODEJS_COMPONENT_VERSION))
71+
message(FATAL_ERROR "Component version from build system (${NODEJS_COMPONENT_VERSION}) != configured version (${node_version_string})")
72+
endif ()
73+
endif ()
74+
75+
76+
# For some unknown reason, the upstream code doesn't process nodejs.pc.in . This can't go into cmake/configure.cmake
77+
# because node_version_string isn't set until cmake/package.cmake is invoked.
78+
if(NOT DEFINED ENV{PKG_CONFIG_PATH})
79+
set(ENV{PKG_CONFIG_PATH} "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig")
80+
endif()
81+
82+
set(VERSION "${node_version_string}")
83+
configure_file(${PROJECT_SOURCE_DIR}/tools/nodejs.pc.in
84+
${PROJECT_BINARY_DIR}/tools/nodejs.pc @ONLY)
85+
install(FILES "${PROJECT_BINARY_DIR}/tools/nodejs.pc" DESTINATION "lib/pkgconfig")
86+
endif()
87+
88+
#
89+
# Final build configuration output
90+
#
91+
92+
message("** Build Summary **")
93+
message(" Version: ${node_version_string}")
94+
message(" Prefix: ${PREFIX}")
95+
message(" Build Type: ${CMAKE_BUILD_TYPE}")
96+
message(" Architecture: ${CMAKE_SYSTEM_PROCESSOR}")
97+
message(" Platform: ${node_platform}")
98+
99+
if(SHARED_V8)
100+
message(" V8: ${V8_LIBRARY_PATH}")
101+
else()
102+
message(" V8: deps/v8/libv8.a")
103+
endif()
104+
105+
if(SHARED_libev)
106+
message(" libev: ${LIBEV_LIBRARY}")
107+
else()
108+
message(" libev: deps/libev/libev.a")
109+
endif()
110+
111+
if(SHARED_CARES)
112+
message(" libc-ares: ${LIBCARES_LIBRARY}")
113+
else()
114+
message(" libc-ares: deps/c-ares/libcares.a")
115+
endif()
116+
117+
message(" RT library: ${RT}")
118+
message(" DL library: ${DL}")
119+
120+
if(${OPENSSL_FOUND} MATCHES TRUE)
121+
message(" OpenSSL: ${OPENSSL_LIBRARIES}")
122+
endif()
123+
124+
if(USE_GCOV)
125+
message(" gcov: enabled")
126+
endif()
127+
128+
message(" CCFLAGS: ${CCFLAGS}")
129+
message(" CPPFLAGS: ${CPPFLAGS}")
130+
131+
if(WEBOS)
132+
if(WEBOS_DEVICE)
133+
message(" webOS target: device")
134+
elseif(WEBOS_EMULATOR)
135+
message(" webOS target: emulator")
136+
else()
137+
message(" webOS target: desktop")
138+
endif()
139+
message(" core OS: ${TARGET_CORE_OS}")
140+
endif()

CTestConfig.cmake

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Use of this file is subject to license terms as set forth in the LICENSE file found in the root directory of the project.
2+
3+
set(CTEST_PROJECT_NAME "node")
4+
set(CTEST_NIGHTLY_START_TIME "00:00:00 EST")
5+
6+
set(CTEST_DROP_METHOD "http")
7+
if(WEBOS)
8+
set(CTEST_DROP_SITE "cdash-dev.palm.com")
9+
else()
10+
set(CTEST_DROP_SITE "my.cdash.org")
11+
endif()
12+
set(CTEST_DROP_LOCATION "/submit.php?project=node")
13+
set(CTEST_DROP_SITE_CDASH TRUE)
14+
15+
if(WEBOS)
16+
set(VALGRIND_COMMAND_OPTIONS "-q --tool=memcheck --leak-check=full --show-reachable=yes --leak-resolution=low --workaround-gcc296-bugs=no --num-callers=50 --track-origins=yes")
17+
endif()

0 commit comments

Comments
 (0)