Skip to content

Commit b96279a

Browse files
author
Michael O'Brien
committed
DEV: update paks
1 parent 64e8917 commit b96279a

File tree

27 files changed

+9944
-9456
lines changed

27 files changed

+9944
-9456
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ samples/**/main
33
src/compiler/test/bugs/
44
ejsZlib.miniz
55
/start.me
6+
*.sdb

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ else
3737
endif
3838

3939
BIN := $(OS)-$(ARCH)-$(PROFILE)/bin
40-
PATH := $(BIN):$(PATH)
40+
PATH := $(PWD)/build/$(BIN):$(PATH)
4141

4242
.EXPORT_ALL_VARIABLES:
4343

doc/ejscript.dox

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -182,15 +182,17 @@ TAB_SIZE = 4
182182
# You can put \n's in the value part of an alias to insert newlines.
183183

184184
ALIASES = "reminder=\xrefitem reminders \"Reminder\" \"Reminders\"" \
185-
"overview=\par \b Overview:\n" \
186-
"scope=\par \b Scope:\n" \
187-
"library=\par \b Library:\n" \
188-
"options=\par \b Options:\n" \
189-
"description=\par \b Description:\n" \
190-
"elements=\par \b Elements:\n" \
191-
"example=\par \b Example:\n" \
192-
"stability=\par \b API Stability:\n"
193-
185+
"overview=\par \b Overview:^^" \
186+
"scope=\par \b Scope:^^" \
187+
"library=\par \b Library:^^" \
188+
"options=\par \b Options:^^" \
189+
"description=\par \b Description:^^" \
190+
"elements=\par \b Elements:^^" \
191+
"stability=\par \b API Stability:^^" \
192+
"example=\par \b Example:^^" \
193+
"examples=\par \b Examples:^^" \
194+
"l=\link" \
195+
"el=\endlink"
194196

195197
# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
196198
# sources only. Doxygen will then generate output that is more tailored for C.

paks/assist/docker-deploy-elb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ DPORT=2375
1717
#done
1818
#eval $(../paks/assist/json2env ${files})
1919

20-
VERSION=$(pak --dir .. edit version)
20+
if [ -f pak.json ] ; then
21+
VERSION=$(pak --dir . edit version)
22+
else
23+
VERSION=$(pak --dir .. edit version)
24+
fi
2125

2226
while [[ $# -gt 0 ]] ; do
2327
arg="$1"
@@ -59,7 +63,7 @@ done
5963
IMAGE="${1}"
6064
NAME="${IMAGE}"
6165
if [ "${IMAGE}" = "" -o "${AWS_DEFAULT_REGION}" = "" ] ; then
62-
echo "usage: docker-publish [--primary] [--aws-profile profile] [--region region] image"
66+
echo "usage: docker-deploy [--aws-profile profile] [--region region] [--proxy proxy] [--group group] [--deploy cmd] [--validate cmd] image"
6367
exit 255
6468
fi
6569
export AWS_PROFILE AWS_DEFAULT_REGION

paks/assist/docker-publish

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@
55
# usage: docker-publish [--primary] [--aws-profile profile] [--region region] image
66
#
77

8-
VERSION=$(pak --dir .. edit version)
8+
if [ -f pak.json ] ; then
9+
VERSION=$(pak --dir . edit version)
10+
else
11+
VERSION=$(pak --dir .. edit version)
12+
fi
13+
914

1015
while [[ $# -gt 0 ]] ; do
1116
arg="$1"

paks/http/dist/httpLib.c

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5887,7 +5887,7 @@ static void connTimeout(HttpConn *conn, MprEvent *mprEvent)
58875887
httpTrace(conn, event, "error", "msg:'%s'", msg);
58885888
}
58895889
} else {
5890-
httpError(conn, HTTP_CODE_REQUEST_TIMEOUT, "%s", msg);
5890+
httpError(conn, HTTP_CODE_REQUEST_TIMEOUT | HTTP_CLOSE, "%s", msg);
58915891
}
58925892
}
58935893
if (httpClientConn(conn)) {
@@ -6145,15 +6145,6 @@ PUBLIC void httpIO(HttpConn *conn, int eventMask)
61456145
assert(conn->tx);
61466146
assert(conn->rx);
61476147

6148-
#if DEPRECATE
6149-
/* Just IO state asserting */
6150-
if (conn->io) {
6151-
assert(!conn->io);
6152-
return;
6153-
}
6154-
conn->io = 1;
6155-
#endif
6156-
61576148
if ((eventMask & MPR_WRITABLE) && conn->connectorq) {
61586149
httpResumeQueue(conn->connectorq);
61596150
}
@@ -6197,6 +6188,7 @@ PUBLIC void httpIO(HttpConn *conn, int eventMask)
61976188
}
61986189
httpTrace(conn, "connection.close", "context", "msg:'%s'", conn->errorMsg);
61996190
httpDestroyConn(conn);
6191+
62006192
} else if (!mprIsSocketEof(conn->sock) && conn->async && !conn->delay) {
62016193
httpEnableConnEvents(conn);
62026194
}
@@ -16167,6 +16159,7 @@ static bool parseIncoming(HttpConn *conn)
1616716159
/*
1616816160
Don't start processing until all the headers have been received (delimited by two blank lines)
1616916161
*/
16162+
start = mprGetBufStart(packet->content);
1617016163
if ((end = sncontains(start, "\r\n\r\n", len)) == 0 && (end = sncontains(start, "\n\n", len)) == 0) {
1617116164
if (len >= limits->headerSize) {
1617216165
httpLimitError(conn, HTTP_ABORT | HTTP_CODE_REQUEST_TOO_LARGE,

paks/http/pak.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
}
3131
],
3232
"dependencies": {
33-
"certs": "~0.1",
33+
"certs": "~1",
3434
"mpr": "~8",
3535
"mpr-mbedtls": "~2",
36-
"osdep": "~1.0",
37-
"pcre": "~1.0",
36+
"osdep": "~1",
37+
"pcre": "~1",
3838
"ssl": "~1"
3939
},
4040
"optionalDependencies": {

paks/mbedtls/dist/mbedtls.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,7 +1199,7 @@
11991199
*
12001200
* Comment this macro to disable 1/n-1 record splitting.
12011201
*/
1202-
#define MBEDTLS_SSL_CBC_RECORD_SPLITTING
1202+
// #define MBEDTLS_SSL_CBC_RECORD_SPLITTING
12031203

12041204
/**
12051205
* \def MBEDTLS_SSL_RENEGOTIATION
@@ -1274,7 +1274,7 @@
12741274
*
12751275
* Comment this macro to disable support for TLS 1.0
12761276
*/
1277-
#define MBEDTLS_SSL_PROTO_TLS1
1277+
// #define MBEDTLS_SSL_PROTO_TLS1
12781278

12791279
/**
12801280
* \def MBEDTLS_SSL_PROTO_TLS1_1

paks/me-win/pak.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "me-win",
33
"description": "Windows build support",
44
"title": "Windows Build Support",
5-
"version": "0.1.0",
5+
"version": "1.0.0",
66
"keywords": [
77
"me"
88
],

0 commit comments

Comments
 (0)