viva Haiku, death to BeOS
Alexander von Gluck IV <[email protected]> Wed, 09 Apr 2014 20:14:08 -0500
| Newsgroups | gmane.comp.mozilla.devel.nspr |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------000704000403070004070402
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Good evening,
I was looking into porting NSS to Haiku (http://haiku-os.org), and
noticed a rather large requirement of nspr.
Looking over the nspr source code, I noticed a *lot* of BeOS cruft that
no longer compiles.
I've been working at porting nspr this afternoon (using a lot of the old
BeOS sources and removing all the hacks).
I wanted to raise the following questions:
1) If I submitted the Haiku patches, would they be welcome upstream?
My work so far is here:
https://bitbucket.org/kallisti5/nspr
And here:
https://bugzilla.mozilla.org/show_bug.cgi?id=994325
2) I'm keeping the Haiku bits apart from the BeOS bits. If I were to
go back and remove all of the BeOS code after the Haiku code was
finished, would this change be welcome?
I've not developed for Mozilla before, so hopefully I'm going about
things the right way.
I attached the unit tests I've gotten working so far, not bad for ~4
hours work :-)
Thanks!
-- Alexander von Gluck
--------------000704000403070004070402
Content-Type: text/plain; charset=UTF-8;
name="nspr-tests.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="nspr-tests.txt"
/Data/nspr/pr/tests> ./runtests.sh
./runtests.sh: line 23: ulimit: open files: cannot modify limit: Operation not allowed
NSPR Test Results - tests
BEGIN Thu Apr 10 00:58:49 GMT 2014
NSPR_TEST_LOGFILE /dev/null
Test Result
accept./runtests.sh: line 239: 379098 Kill Thread ./$prog >> ${LOGFILE} 2>&1
FAILED
acceptread FAILED
acceptreademu FAILED
affinity Passed
alarm./runtests.sh: line 239: 379146 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
anonfm FAILED
atomic Passed
attach FAILED
bigfile Passed
cleanup Passed
cltsrv./runtests.sh: line 239: 379156 Kill Thread ./$prog >> ${LOGFILE} 2>&1
FAILED
concur Passed
cvar Passed
cvar2 Passed
dlltest Passed
dtoa Passed
errcodes Passed
exit Passed
fdcach Passed
fileio Passed
foreign./runtests.sh: line 239: 380784 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
formattm Passed
fsync Passed
gethost Passed
getproto Passed
i2l Passed
initclk Passed
inrval./runtests.sh: line 239: 380795 Kill Thread ./$prog >> ${LOGFILE} 2>&1
FAILED
instrumt Passed
intrio./runtests.sh: line 239: 380813 Kill Thread ./$prog >> ${LOGFILE} 2>&1
FAILED
intrupt./runtests.sh: line 239: 380826 Kill Thread ./$prog >> ${LOGFILE} 2>&1
FAILED
io_timeout Passed
ioconthr./runtests.sh: line 239: 380851 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
join./runtests.sh: line 239: 380852 Kill Thread ./$prog >> ${LOGFILE} 2>&1
FAILED
joinkk Passed
joinku Passed
joinuk Passed
joinuu Passed
layer./runtests.sh: line 239: 380886 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
lazyinit Passed
libfilename Passed
lltest Passed
lock Passed
lockfile Passed
logfile Passed
logger Passed
many_cv Passed
multiwait./runtests.sh: line 239: 380909 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
nameshm1 FAILED
nblayer./runtests.sh: line 239: 380911 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
nonblock./runtests.sh: line 239: 380914 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
ntioto Passed
ntoh Passed
op_2long FAILED
op_excl Passed
op_filnf Passed
op_filok Passed
op_nofil Passed
parent Passed
parsetm Passed
peek./runtests.sh: line 239: 380931 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
perf Passed
pipeping FAILED
pipeping2 FAILED
pipeself FAILED
poll_nm./runtests.sh: line 239: 382968 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
poll_to./runtests.sh: line 239: 382969 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
pollable./runtests.sh: line 239: 382970 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
prftest Passed
primblok Passed
provider./runtests.sh: line 239: 382973 Kill Thread ./$prog >> ${LOGFILE} 2>&1
FAILED
prpollml FAILED
pushtop Passed
ranfile Passed
randseed Passed
reinit Passed
rwlocktest Passed
sel_spd./runtests.sh: line 239: 383010 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
selct_er./runtests.sh: line 239: 383023 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
selct_nm./runtests.sh: line 239: 383024 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
selct_to./runtests.sh: line 239: 383025 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
selintr Passed
sema FAILED
semaerr FAILED
semaping FAILED
sendzlf./runtests.sh: line 239: 383030 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
server_test./runtests.sh: line 239: 383031 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
servr_kk./runtests.sh: line 239: 383035 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
servr_uk./runtests.sh: line 239: 383045 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
servr_ku./runtests.sh: line 239: 383053 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
servr_uu./runtests.sh: line 239: 383063 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
short_thread Passed
sigpipe Passed
socket./runtests.sh: line 239: 383075 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
sockopt FAILED
sockping./runtests.sh: line 239: 383078 Abort ./$prog >> ${LOGFILE} 2>&1
FAILED
sprintf FAILED
stack./runtests.sh: line 239: 383080 Kill Thread ./$prog >> ${LOGFILE} 2>&1
FAILED
stdio Passed
str2addr Passed
strod Passed
NOT LINKING YET BELOW THIS LINE
switch FAILED
system FAILED
testbit FAILED
testfile FAILED
threads FAILED
timemac FAILED
timetest FAILED
tpd FAILED
udpsrv FAILED
vercheck FAILED
version FAILED
writev FAILED
xnotify FAILED
zerolen FAILED
END Thu Apr 10 01:12:26 GMT 2014
--------------000704000403070004070402
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dev-tech-nspr mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-nspr
--------------000704000403070004070402--