majaxadobe / teajs Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/teajs
License: BSD 3-Clause "New" or "Revised" License
Automatically exported from code.google.com/p/teajs
License: BSD 3-Clause "New" or "Revised" License
http://code.google.com/p/v8cgi/issues/detail?id=16
Original issue reported on code.google.com by ondrej.zara
on 20 Jul 2012 at 7:46
exception: /usr/local/src/teajs# scons -h scons: Reading SConscript files ...
scons: *** Path for option v8_path does not exist: ../v8 File
"/usr/local/src/teajs/SConstruct", line 372, in <module>
Original issue reported on code.google.com by ondrej.zara
on 25 Mar 2013 at 2:15
What steps will reproduce the problem?
1. Send a request with 'Cookie: aaa=bbb;ccc=ddd";
2. request.cookie['ccc'] does not exist.
3.
What is the expected output? What do you see instead?
ddd. undefined.
What version of the product are you using? On what operating system?
ubuntu, teajs 0.9.4
Please provide any additional information below.
To fix this, change...
http.js:498
var all = this._headers["HTTP_COOKIE"].split("; ");
for (var i=0, len=all.length;i<len;i++) {
var row = all[i];
var eq = row.indexOf("=");
var name = row.substring(0,eq);
to...
http.js:498
var all = this._headers["HTTP_COOKIE"].split(";");
for (var i=0, len=all.length;i<len;i++) {
var row = all[i];
var eq = row.indexOf("=");
var name = row.substring(0,eq);
name=name.trim();
Original issue reported on code.google.com by [email protected]
on 16 Jan 2013 at 1:26
http://code.google.com/p/v8cgi/issues/detail?id=104
Original issue reported on code.google.com by ondrej.zara
on 20 Jul 2012 at 7:50
http://code.google.com/p/v8cgi/issues/detail?id=117
Original issue reported on code.google.com by ondrej.zara
on 30 Jul 2012 at 6:57
http://code.google.com/p/v8cgi/issues/detail?id=116
Original issue reported on code.google.com by ondrej.zara
on 20 Jul 2012 at 7:49
-*- mode: compilation; default-directory: "~/teajs/" -*-
Compilation started at Fri Nov 23 21:19:53
scons v8_path=/usr/lib64 binary_b=1 pgsql=1
scons: Reading SConscript files ...
Checking for C header file sys/mman.h... (cached) yes
Checking for C function sleep()... (cached) yes
Checking for C function inet_pton()... (cached) yes
Checking for C function inet_ntop()... (cached) yes
Checking for C library v8... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/lib/binary-b/bytestorage-b.os -c -Wall -O3 -fPIC -DHAVE_MMAN_H
-DHAVE_SLEEP -DHAVE_PTON -DHAVE_NTOP -DCONFIG_PATH=/etc/teajs.conf
-DVERSION=0.9.5~dev -Dposix -DDSO_EXT=so -Isrc -I/usr/lib64/include
src/lib/binary-b/bytestorage-b.cc
g++ -o src/lib/pgsql/pgsql.os -c -Wall -O3 -fPIC -DHAVE_MMAN_H -DHAVE_SLEEP
-DHAVE_PTON -DHAVE_NTOP -DCONFIG_PATH=/etc/teajs.conf -DVERSION=0.9.5~dev
-Dposix -DDSO_EXT=so -Isrc -I/usr/lib64/include "-I`/usr/bin/pg_config
--includedir`" src/lib/pgsql/pgsql.cc
src/lib/pgsql/pgsql.cc:40:29: fatal error: postgres_fe.h: No such file or
directory
compilation terminated.
scons: *** [src/lib/pgsql/pgsql.os] Error 1
scons: building terminated because of errors.
Compilation exited abnormally with code 2 at Fri Nov 23 21:19:55
Since the only part of pgsql you’re intending to use is the client library,
you must follow the rules for using the client library. The docs say:
http://www.postgresql.org/docs/9.2/interactive/libpq-build.html , or
“#include <libpq-fe.h>”—nothing about postgres_fe.h, which isn’t
installed into pg_config --includedir anyways.
ohnobinki@gentoodcxdelllappy ~/teajs $ qlist -e postgresql-base | grep -e
postgres_fe\\.h
/usr/include/postgresql-9.2/internal/postgres_fe.h
/usr/include/postgresql-9.2/server/postgres_fe.h
ohnobinki@gentoodcxdelllappy ~/teajs $ pg_config --includedir
/usr/include/postgresql-9.2
So, I suggest to use define TRUE and FALSE following the convention anyone else
does.
Original issue reported on code.google.com by ohnobinki
on 24 Nov 2012 at 2:29
Attachments:
The attached code, along with formdef.txt which contains 156kB of base 64 text
will lock up with both cpus pegged at 100%
Some debug in the base64.js code shows that it dies repeatedly at the same
point in the loop.
I am using teajs 0.9.4 on Windows 7 32-bit on a core2 duo PC
Original issue reported on code.google.com by [email protected]
on 14 May 2013 at 9:01
Attachments:
in http.js line 65, change:
ServerRequest.prototype.header = function(name) {
/*--*/ var n = "HTTP_"+name.toUpperCase().replace(/-/g,"_");
return (n in this._headers ? this._headers[n] : null);
}
To
ServerRequest.prototype.header = function(name) {
/*--*/ var n = name.toUpperCase().replace(/-/g,"_");
return (n in this._headers ? this._headers[n] : null);
}
Original issue reported on code.google.com by [email protected]
on 6 Jan 2013 at 11:35
http://code.google.com/p/v8cgi/issues/detail?id=76
Original issue reported on code.google.com by ondrej.zara
on 20 Jul 2012 at 7:46
The buffer class should force a GC and retry when buffer malloc fails. It is
entirely feasible that the reason for the malloc failure is many dead but
uncollected buffers. If there is room to allocate the buffer object but not
enough to allocate the storage then the allocation will fail even though there
may be potentially huge amounts of free memory.
It also seems odd that it is possible to have upwards of 2GB in buffer
allocations before garbage collection occurs. This is incredibly unfriendly to
other applications (let alone the buffer malloc call.)
Original issue reported on code.google.com by [email protected]
on 20 May 2013 at 3:14
-*- mode: compilation; default-directory: "~/teajs/" -*-
Compilation started at Fri Nov 23 21:14:01
scons v8_path=/usr/lib64 binary_b=1 pgsql=1
scons: Reading SConscript files ...
Checking for C header file sys/mman.h... (cached) yes
Checking for C function sleep()... (cached) yes
Checking for C function inet_pton()... (cached) yes
Checking for C function inet_ntop()... (cached) yes
Checking for C library v8... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/lib/binary-b/bytestorage-b.os -c -Wall -O3 -fPIC -DHAVE_MMAN_H
-DHAVE_SLEEP -DHAVE_PTON -DHAVE_NTOP -DCONFIG_PATH=/etc/teajs.conf
-DVERSION=0.9.5~dev -Dposix -DDSO_EXT=so -Isrc -I/usr/lib64/include
src/lib/binary-b/bytestorage-b.cc
src/lib/binary-b/bytestorage-b.cc: In member function 'unsigned char
ByteStorageB::getByte(size_t)':
src/lib/binary-b/bytestorage-b.cc:102:38: warning: converting to non-pointer
type 'unsigned char' from NULL [-Wconversion-null]
scons: done building targets.
Compilation finished at Fri Nov 23 21:14:02
Original issue reported on code.google.com by ohnobinki
on 24 Nov 2012 at 2:15
Attachments:
If the very last line in a source file is a line comment then the file will
fail to run with an 'unexpected end of input' error.
Adding a blank line after the comment will fix it.
Teajs 0.9.4 on Windows 7 32-bit
Original issue reported on code.google.com by [email protected]
on 14 May 2013 at 9:08
Clone the teajs repository on a machine with CentOS 6. Execute scons in that
repository.
Expecting successful compile. Getting apr.h-related errors.
Changing SConstruct, setting apr_include to /usr/include/apr-1 instead of
/usr/include/apr-1.0, proves a working workaround.
Original issue reported on code.google.com by [email protected]
on 24 Nov 2012 at 1:06
http://code.google.com/p/v8cgi/issues/detail?id=85
Original issue reported on code.google.com by ondrej.zara
on 20 Jul 2012 at 7:47
What steps will reproduce the problem?
1. Make a file in /tmp owned by the web server's user.
2. use new Session() lots of times for an hour.
3. Eventually the file that was created will be removed & the script slows down
alot cause there're lots of files to clean up in /tmp
What version of the product are you using? On what operating system?
teajs
Please provide any additional information below.
Here is a patch to fix these problems.
Also, the default path for the session in v8cgi.conf should be something other
than /tmp
Original issue reported on code.google.com by [email protected]
on 13 Apr 2013 at 4:02
Attachments:
http://code.google.com/p/v8cgi/issues/detail?id=92
Original issue reported on code.google.com by ondrej.zara
on 20 Jul 2012 at 7:48
hi, i use teajs to develep a app , but i don't know how to debug the javascript
Does have a tool like node-inspector the debug the javascript ?
Thanks
Original issue reported on code.google.com by [email protected]
on 16 Dec 2013 at 11:14
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.