Граф коммитов

25 Коммитов

Автор SHA1 Сообщение Дата
Calixte Denizet 3ca8f480cd Update quicks to 3f81070e573e3592728dbbbd04c84c498b20d6dc 2024-02-09 10:13:01 +01:00
Calixte Denizet ae378c2a4b Put emcc arguments on several lines 2022-05-02 11:00:33 +02:00
Calixte Denizet de3bf95806 Update quickjs
- update to 2788d71e82
 - the date parser in quickjs is just able to parse ISO dates but the results
   are wrong for dates like "03/16/1975".
   So just use the date parser of the navigator.
2022-05-01 15:35:00 +02:00
Calixte Denizet 7428b6dba4 Export stringToNewUTF8 and free in order to be able to pass the initialization code using the heap. 2021-04-23 11:20:50 +02:00
Calixte Denizet 4b739ce59c Update quickjs 2021-04-19 18:30:01 +02:00
Calixte Denizet c82b8441cd Throw an exception in the sandbox when an external function throws 2020-12-17 15:46:12 +01:00
Calixte Denizet 2f461faf74 Simplify external call 2020-12-15 21:01:07 +01:00
Calixte Denizet 6836f77e56 Simplify external management 2020-12-15 15:33:43 +01:00
Calixte Denizet 895a07683a * Rewrite timeout functions to use a numerical callback id
* Prompt function can return null value
2020-12-14 13:27:15 +01:00
Calixte Denizet f927cb7527 Replace function to dispatch event by a function to call a funtion with args 2020-12-09 13:59:48 +01:00
Calixte Denizet b95715198a Move parseURL stuff in pdf.js 2020-12-06 12:43:06 +01:00
Calixte Denizet b952b6d24d Add a globalEval function to eval a string at global scope 2020-12-05 17:38:02 +01:00
Calixte Denizet fb7e4a0e99 Add support for prompt and alert functions 2020-12-05 13:12:40 +01:00
Calixte Denizet 486535d650 Delete extra from window object after use 2020-12-05 10:20:40 +01:00
Calixte Denizet 9204de60d2 Add back timeout functions but let the real implementation in pdf.js 2020-12-04 23:38:03 +01:00
Calixte Denizet 191f1cf048 Simplify URL parser 2020-12-04 14:44:09 +01:00
Calixte Denizet b8aa8a6ae5 * Fix crackURL code
* Fix mem leaks
2020-12-04 12:21:02 +01:00
Calixte Denizet 445ee0df53 Fix mem leak when calling initSandbox several times 2020-12-04 00:33:44 +01:00
Calixte Denizet e849e8089f Remove some functions we can have on pdf.js side 2020-12-03 21:01:39 +01:00
Calixte Denizet 914d6fd44a Update README 2020-11-22 14:59:30 +01:00
Calixte Denizet f9e34b8679 Fix formatting of build.js 2020-11-22 14:49:22 +01:00
Calixte Denizet c11e92c8e6 Move the code under MIT license 2020-11-22 13:21:17 +01:00
Calixte Denizet 0fe4b792cd Dump exception in window.error if required 2020-11-12 14:12:58 +01:00
Calixte Denizet 5338dd15f6 Dump quickjs exception in console 2020-11-12 12:26:47 +01:00
Calixte Denizet 38d7419a2d Initial commit 2020-11-10 14:35:56 +01:00