icecat: add release icecat-140.6.0-1gnu1 for aramo
This commit is contained in:
parent
92fef42cd6
commit
17ba0259bf
3382 changed files with 457689 additions and 569094 deletions
|
|
@ -87,6 +87,9 @@ Object.assign(win32, {
|
|||
ERROR_HANDLE_EOF: 38,
|
||||
ERROR_BROKEN_PIPE: 109,
|
||||
ERROR_INSUFFICIENT_BUFFER: 122,
|
||||
ERROR_ABANDONED_WAIT_0: 735,
|
||||
ERROR_IO_INCOMPLETE: 996,
|
||||
ERROR_IO_PENDING: 997,
|
||||
|
||||
FILE_ATTRIBUTE_NORMAL: 0x00000080,
|
||||
FILE_FLAG_OVERLAPPED: 0x40000000,
|
||||
|
|
@ -108,10 +111,14 @@ Object.assign(win32, {
|
|||
|
||||
PROC_THREAD_ATTRIBUTE_HANDLE_LIST: 0x00020002,
|
||||
|
||||
JobObjectAssociateCompletionPortInformation: 7,
|
||||
JobObjectBasicLimitInformation: 2,
|
||||
JobObjectExtendedLimitInformation: 9,
|
||||
|
||||
JOB_OBJECT_LIMIT_BREAKAWAY_OK: 0x00000800,
|
||||
JOB_OBJECT_MSG_ABNORMAL_EXIT_PROCESS: 8,
|
||||
JOB_OBJECT_MSG_ACTIVE_PROCESS_ZERO: 4,
|
||||
JOB_OBJECT_MSG_EXIT_PROCESS: 7,
|
||||
|
||||
// These constants are 32-bit unsigned integers, but Windows defines
|
||||
// them as negative integers cast to an unsigned type.
|
||||
|
|
@ -120,7 +127,6 @@ Object.assign(win32, {
|
|||
STD_ERROR_HANDLE: -12 + 0x100000000,
|
||||
|
||||
WAIT_TIMEOUT: 0x00000102,
|
||||
WAIT_FAILED: 0xffffffff,
|
||||
});
|
||||
|
||||
Object.assign(win32, {
|
||||
|
|
@ -150,6 +156,10 @@ Object.assign(win32, {
|
|||
});
|
||||
|
||||
Object.assign(win32, {
|
||||
JOBOBJECT_ASSOCIATE_COMPLETION_PORT: new ctypes.StructType(
|
||||
"JOBOBJECT_ASSOCIATE_COMPLETION_PORT",
|
||||
[{ CompletionKey: win32.PVOID }, { CompletionPort: win32.HANDLE }]
|
||||
),
|
||||
JOBOBJECT_EXTENDED_LIMIT_INFORMATION: new ctypes.StructType(
|
||||
"JOBOBJECT_EXTENDED_LIMIT_INFORMATION",
|
||||
[
|
||||
|
|
@ -220,16 +230,9 @@ var libc = new Library("libc", LIBC_CHOICES, {
|
|||
win32.HANDLE /* hProcess */,
|
||||
],
|
||||
|
||||
CloseHandle: [win32.WINAPI, win32.BOOL, win32.HANDLE /* hObject */],
|
||||
CancelIo: [win32.WINAPI, win32.BOOL, win32.HANDLE /* hFile */],
|
||||
|
||||
CreateEventW: [
|
||||
win32.WINAPI,
|
||||
win32.HANDLE,
|
||||
win32.SECURITY_ATTRIBUTES.ptr /* opt lpEventAttributes */,
|
||||
win32.BOOL /* bManualReset */,
|
||||
win32.BOOL /* bInitialState */,
|
||||
win32.LPWSTR /* lpName */,
|
||||
],
|
||||
CloseHandle: [win32.WINAPI, win32.BOOL, win32.HANDLE /* hObject */],
|
||||
|
||||
CreateFileW: [
|
||||
win32.WINAPI,
|
||||
|
|
@ -243,6 +246,15 @@ var libc = new Library("libc", LIBC_CHOICES, {
|
|||
win32.HANDLE /* opt hTemplateFile */,
|
||||
],
|
||||
|
||||
CreateIoCompletionPort: [
|
||||
win32.WINAPI,
|
||||
win32.HANDLE,
|
||||
win32.HANDLE /* FileHandle */,
|
||||
win32.HANDLE /* opt ExistingCompletionPort */,
|
||||
win32.ULONG_PTR /* CompletionKey */,
|
||||
win32.DWORD /* NumberOfConcurrentThreads */,
|
||||
],
|
||||
|
||||
CreateJobObjectW: [
|
||||
win32.WINAPI,
|
||||
win32.HANDLE,
|
||||
|
|
@ -287,15 +299,6 @@ var libc = new Library("libc", LIBC_CHOICES, {
|
|||
win32.PROCESS_INFORMATION.ptr /* out lpProcessInformation */,
|
||||
],
|
||||
|
||||
CreateSemaphoreW: [
|
||||
win32.WINAPI,
|
||||
win32.HANDLE,
|
||||
win32.SECURITY_ATTRIBUTES.ptr /* opt lpSemaphoreAttributes */,
|
||||
win32.LONG /* lInitialCount */,
|
||||
win32.LONG /* lMaximumCount */,
|
||||
win32.LPCWSTR /* opt lpName */,
|
||||
],
|
||||
|
||||
DeleteProcThreadAttributeList: [
|
||||
win32.WINAPI,
|
||||
win32.VOID,
|
||||
|
|
@ -342,6 +345,16 @@ var libc = new Library("libc", LIBC_CHOICES, {
|
|||
win32.BOOL /* bWait */,
|
||||
],
|
||||
|
||||
GetQueuedCompletionStatus: [
|
||||
win32.WINAPI,
|
||||
win32.BOOL,
|
||||
win32.HANDLE /* CompletionPort */,
|
||||
win32.LPDWORD /* lpNumberOfBytesTransferred */,
|
||||
win32.ULONG_PTR.ptr /* out lpCompletionKey */,
|
||||
win32.OVERLAPPED.ptr.ptr /* out lpOverlapped */,
|
||||
win32.DWORD /* dwMilliseconds */,
|
||||
],
|
||||
|
||||
GetStdHandle: [win32.WINAPI, win32.HANDLE, win32.DWORD /* nStdHandle */],
|
||||
|
||||
InitializeProcThreadAttributeList: [
|
||||
|
|
@ -353,6 +366,15 @@ var libc = new Library("libc", LIBC_CHOICES, {
|
|||
win32.PSIZE_T /* in/out lpSize */,
|
||||
],
|
||||
|
||||
PostQueuedCompletionStatus: [
|
||||
win32.WINAPI,
|
||||
win32.BOOL,
|
||||
win32.HANDLE /* CompletionPort */,
|
||||
win32.DWORD /* dwNumberOfBytesTransferred */,
|
||||
win32.ULONG_PTR /* dwCompletionKey */,
|
||||
win32.OVERLAPPED.ptr /* opt lpOverlapped */,
|
||||
],
|
||||
|
||||
ReadFile: [
|
||||
win32.WINAPI,
|
||||
win32.BOOL,
|
||||
|
|
@ -363,14 +385,6 @@ var libc = new Library("libc", LIBC_CHOICES, {
|
|||
win32.OVERLAPPED.ptr /* opt in/out lpOverlapped */,
|
||||
],
|
||||
|
||||
ReleaseSemaphore: [
|
||||
win32.WINAPI,
|
||||
win32.BOOL,
|
||||
win32.HANDLE /* hSemaphore */,
|
||||
win32.LONG /* lReleaseCount */,
|
||||
win32.LONG.ptr /* opt out lpPreviousCount */,
|
||||
],
|
||||
|
||||
ResumeThread: [win32.WINAPI, win32.DWORD, win32.HANDLE /* hThread */],
|
||||
|
||||
SetInformationJobObject: [
|
||||
|
|
@ -408,23 +422,6 @@ var libc = new Library("libc", LIBC_CHOICES, {
|
|||
win32.PSIZE_T /* opt lpReturnSize */,
|
||||
],
|
||||
|
||||
WaitForMultipleObjects: [
|
||||
win32.WINAPI,
|
||||
win32.DWORD,
|
||||
win32.DWORD /* nCount */,
|
||||
win32.HANDLE.ptr /* hHandles */,
|
||||
win32.BOOL /* bWaitAll */,
|
||||
win32.DWORD /* dwMilliseconds */,
|
||||
],
|
||||
|
||||
WaitForSingleObject: [
|
||||
win32.WINAPI,
|
||||
win32.DWORD,
|
||||
win32.HANDLE /* hHandle */,
|
||||
win32.BOOL /* bWaitAll */,
|
||||
win32.DWORD /* dwMilliseconds */,
|
||||
],
|
||||
|
||||
WriteFile: [
|
||||
win32.WINAPI,
|
||||
win32.BOOL,
|
||||
|
|
@ -436,6 +433,10 @@ var libc = new Library("libc", LIBC_CHOICES, {
|
|||
],
|
||||
});
|
||||
|
||||
// Custom constant to use as CompletionKey / dwCompletionKey.
|
||||
// See also IOCPKeyGenin subprocess_win.worker.js.
|
||||
win32.IOCP_COMPLETION_KEY_WAKE_WORKER = 1;
|
||||
|
||||
let nextNamedPipeId = 0;
|
||||
|
||||
win32.Handle = function (handle) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue