Commit graph

  • 583cbeb1c2 quickjs: add repl + qjscalc Alain Greppin 2021-08-18 17:33:26 +02:00
  • 1ee0c76eef Add file/line reporting to redbean LuaLog Paul Kulchenko 2021-08-17 22:24:15 -07:00
  • ace523c79b
    Tell _frozen_importlib to consider bytecode first (#248) fastpython Gautham 2021-08-18 10:37:27 +05:30
  • f12a063a40 Update ProgramRedirect to check location validity Paul Kulchenko 2021-08-17 19:36:07 -07:00
  • b2a6752cfe Add ProgramHeader documentation Paul Kulchenko 2021-08-17 19:22:39 -07:00
  • cd11d5709d Add Location to ProgramHeader exclusions Paul Kulchenko 2021-08-17 19:22:17 -07:00
  • e68649e4b5 stop site.py from absolutizing zip store path ahgamut 2021-08-18 06:41:35 +05:30
  • 89f2356e11 _frozen_importlib now considers bytecode first ahgamut 2021-08-18 06:11:13 +05:30
  • 4486ad5c9e
    Add ServeRedirect function to redbean Lua (#246) Paul Kulchenko 2021-08-17 14:26:33 -07:00
  • c70422586a Support optimize flag Justine Tunney 2021-08-17 14:07:59 -07:00
  • cabb0a7ede Get Python compiler working Justine Tunney 2021-08-17 12:13:41 -07:00
  • 38aece42ba Add Python object dump tool Justine Tunney 2021-08-17 12:11:29 -07:00
  • f66ef5d58e Change stuff Justine Tunney 2021-08-17 10:20:55 -07:00
  • 0c6581f912 Attempt to build Python compiler program Justine Tunney 2021-08-17 06:28:23 -07:00
  • d522a88def Get freeze importlib program working Justine Tunney 2021-08-17 01:27:03 -07:00
  • 795d6fd6cd Disable zipos trace Justine Tunney 2021-08-17 01:26:48 -07:00
  • d3a735702b Use real malloc so we can test Python with ASAN Justine Tunney 2021-08-17 01:25:04 -07:00
  • 214e3a68a9 Let's make imports simple Justine Tunney 2021-08-17 00:05:58 -07:00
  • 3d0347e26e Improve deltaify.com program Justine Tunney 2021-08-17 00:06:45 -07:00
  • bc464a8898 Fix a few more Python tests Justine Tunney 2021-08-16 23:45:41 -07:00
  • b7a40bd737 Add check to ServeRedirect to ensure valid location Paul Kulchenko 2021-08-16 16:40:40 -07:00
  • 59e1c245d1 Get more Python tests passing (#141) Justine Tunney 2021-08-16 15:26:31 -07:00
  • 916f19eea1
    Add GetRandomBytes to redbean Lua (#244) Paul Kulchenko 2021-08-16 12:12:29 -07:00
  • 275be556cd Add ServeRedirect function to redbean Lua Paul Kulchenko 2021-08-15 09:27:25 -07:00
  • 5029e20bef Improve linenoise and get it working on Windows Justine Tunney 2021-08-15 00:05:27 -07:00
  • 25a35549b9 Add GetRandomBytes to redbean Lua Paul Kulchenko 2021-08-14 16:09:53 -07:00
  • 968474d291
    Fix typo bug in strtoll (#245) Gautham 2021-08-16 00:37:33 +05:30
  • 6a2f60de34 typo in strtoll causing recursion ahgamut 2021-08-15 12:34:40 +05:30
  • 228fb7428b Improve isystem includes and magic numbers Justine Tunney 2021-08-14 17:16:33 -07:00
  • 1e5bd4d23e Ues linenoise in Lua, Python, and SQLite Justine Tunney 2021-08-14 11:26:23 -07:00
  • fe29710e4e Add linenoise to third party Justine Tunney 2021-08-14 11:09:54 -07:00
  • 579b597ded Refactor out some duplicated code Justine Tunney 2021-08-14 06:17:56 -07:00
  • e963d9c8e3 Add cpu / mem / fsz limits to build system Justine Tunney 2021-08-13 11:18:25 -07:00
  • 9b29358511 Make whitespace changes Justine Tunney 2021-08-13 03:20:45 -07:00
  • 71273bc5c9 Revert explicit Lua GC pass (#241) Justine Tunney 2021-08-13 03:06:23 -07:00
  • 1aa0df696c
    Test changes to Actually Portable Python (#240) Gautham 2021-08-13 14:54:43 +05:30
  • a22f0736d8
    Improve Redbean Lua memory (#241) Paul Kulchenko 2021-08-13 02:11:49 -07:00
  • 0ecb7a0ba2 revert test_hashlib to avoid blake2 ahgamut 2021-08-13 13:34:12 +05:30
  • b7861d6a31 Add Lua gc call to keep Lua memory usage constant Paul Kulchenko 2021-08-12 22:34:09 -07:00
  • be0f03a23e Add Lua memory reporting to redbean Paul Kulchenko 2021-08-12 21:48:12 -07:00
  • 6cb8e241f7 Update redbean Lua to check there is enough stack to use Paul Kulchenko 2021-08-12 20:58:15 -07:00
  • a767f0e7cb updates after running tests on APE ahgamut 2021-08-13 04:11:37 +05:30
  • b420ed8248 Undiamond Python headers Justine Tunney 2021-08-12 00:42:14 -07:00
  • 20bb8db9f8
    Fix type signature of new Lua hooks (#239) Paul Kulchenko 2021-08-12 00:15:39 -07:00
  • 64a779da27 Update redbean Lua to use integer instead of number where appropriate Paul Kulchenko 2021-08-11 11:37:08 -07:00
  • a2e443edd7
    Update redbean to show Lua stack traces (#237) Paul Kulchenko 2021-08-11 23:27:39 -07:00
  • 9454788223
    Fix sysconfig check for build vars (#238) Gautham 2021-08-12 11:51:54 +05:30
  • 2a4ff615b9 Fix typo in GetRemoteAddr documentation Paul Kulchenko 2021-08-11 22:01:58 -07:00
  • 53eade50ca Replace GetClientAddr with GetRemoteAddr to avoid backtrace leak in proxy scenarios Paul Kulchenko 2021-08-11 22:00:47 -07:00
  • 5e87b05e02 Prepend @ to Lua paths in redbean to recognize them as paths in error messages Paul Kulchenko 2021-08-11 21:57:18 -07:00
  • 13e50ab2b6 Update default error page in redbean with error details (when allowed) Paul Kulchenko 2021-08-10 21:28:21 -07:00
  • f024d21712 Extend Lua in redbean to include stack trace in all logged errors Paul Kulchenko 2021-08-10 20:35:34 -07:00
  • f6e0b2199d Update redbean to include stack trace in Lua errors Paul Kulchenko 2021-08-09 22:50:47 -07:00
  • 163556a729 fix sysconfig check for build vars ahgamut 2021-08-11 23:38:21 +05:30
  • 31a37aeb1a Fix some example code Justine Tunney 2021-08-10 13:38:27 -07:00
  • 79ba5233db Fix regression caused by state assertions change Justine Tunney 2021-08-10 11:36:17 -07:00
  • d26d7ae0e4 Perform build and magnum tuning Justine Tunney 2021-08-10 10:26:13 -07:00
  • ee7e296339 Add state assertions to redbean Lua APIs Justine Tunney 2021-08-09 14:45:52 -07:00
  • 3bfb7580c5 Add Lua compiler Justine Tunney 2021-08-09 13:09:14 -07:00
  • b703eee96e Fix obvious Python performance suboptimality Justine Tunney 2021-08-09 10:33:47 -07:00
  • 5a441ea57f Remove Python gitignore Justine Tunney 2021-08-09 09:15:23 -07:00
  • 10aade69e3 Remove wildcard from Python build config Justine Tunney 2021-08-09 08:59:18 -07:00
  • 53b9f83e1c Make redbean SSL more tunable Justine Tunney 2021-08-09 07:00:23 -07:00
  • d86027fe90 Integrate Chromium Zlib changes Justine Tunney 2021-08-09 06:59:10 -07:00
  • 798d542f15 Fix build and delete superfluous files Justine Tunney 2021-08-09 06:52:35 -07:00
  • 295b3d6ca5 removed unnecessary libs from zip store ahgamut 2021-08-09 15:03:14 +05:30
  • f9eae9794a stdlib sysconfig import fix ahgamut 2021-08-09 14:50:39 +05:30
  • 98f330b764 Added build config to get python.com ahgamut 2021-08-09 02:49:30 +05:30
  • 5ef64dbcdb Source changes for compilation ahgamut 2021-08-08 19:22:49 +05:30
  • 0c4c56ff39 python-3.6.zip added from Github ahgamut 2021-08-08 09:38:33 +05:30
  • efa801060e removed unnecessary libs from zip store ahgamut 2021-08-09 15:03:14 +05:30
  • 70e9c199dc stdlib sysconfig import fix ahgamut 2021-08-09 14:50:39 +05:30
  • 75fc601ff5
    Only re-open executable as O_RDWR if .ape present (#234) Robert Hencke 2021-08-09 03:52:54 -04:00
  • f484717e56 Added build config to get python.com ahgamut 2021-08-09 02:49:30 +05:30
  • 6c013d7b86
    Merge remote-tracking branch 'upstream/master' into bugfix_typos Tim Gates 2021-08-09 06:49:29 +10:00
  • b3b538780a Source changes for compilation ahgamut 2021-08-08 19:22:49 +05:30
  • 18ba1d811d python-3.6.zip added from Github ahgamut 2021-08-08 09:38:33 +05:30
  • 9f4a4b615d Only re-open executable as O_RDWR if .ape present Robert Hencke 2021-08-08 07:04:13 -04:00
  • fb126459ec
    docs: Fix a few typos Tim Gates 2021-08-08 15:27:52 +10:00
  • 28a592f2d4 Clarify kLogFatal documentation Justine Tunney 2021-08-07 18:18:12 -07:00
  • d8faadf44e Fix redbean Log() in global scope (#230) w13b3 2021-08-08 00:28:32 +00:00
  • 4daafef63a Implement RFC8442 Justine Tunney 2021-08-07 16:43:00 -07:00
  • 2bc0901ce3
    Revert adding lua array per discussion in #222 (#229) Paul Kulchenko 2021-08-07 15:20:33 -07:00
  • cbc9ec92df Fix redbean's Lua-function Log, so it can be used in the global scope. w13b3 2021-08-08 00:10:06 +02:00
  • 6bbb44c165
    Add GetHostOs to redbean (#228) Paul Kulchenko 2021-08-07 14:25:55 -07:00
  • 0cdba6878b Secure the testing infrastructure Justine Tunney 2021-08-07 13:22:35 -07:00
  • a3e78add97 Revert adding lua array per discussion in #222 Paul Kulchenko 2021-08-07 10:08:59 -07:00
  • 0115169a7b Add GetHostOs to redbean. Paul Kulchenko 2021-08-07 10:06:59 -07:00
  • bde630a7ad Add popping the error message in LuaRun to keep the Lua stack balanced. Paul Kulchenko 2021-08-07 10:00:02 -07:00
  • 1f766a332f Add function for creating hex string literals Justine Tunney 2021-08-07 07:05:19 -07:00
  • aeeb851422 Fix bugs and make improvements to redbean Justine Tunney 2021-08-06 14:12:11 -07:00
  • 55a15c204e
    Add arrays to Lua (#222) Paul Kulchenko 2021-08-06 04:55:01 -07:00
  • b142ea7176
    Add following redirects to redbean Fetch (#226) Paul Kulchenko 2021-08-06 04:48:46 -07:00
  • fd76fa0016
    Fix OnServerStart/Stop hooks (#225) Paul Kulchenko 2021-08-06 04:27:50 -07:00
  • 7b08aa4df3 Fix redbean hook calls (fixes #224) Paul Kulchenko 2021-08-05 19:54:21 -07:00
  • 26869c2375 Add following redirects to redbean Fetch. Paul Kulchenko 2021-08-05 07:36:12 -07:00
  • 533f3d1ef1 Reduce build latency and fix old cpu bugs Justine Tunney 2021-08-05 14:43:53 -07:00
  • df8ab0aa0c Restore Referer-Policy and wrap up MbedTLS changes Justine Tunney 2021-08-03 22:42:17 -07:00
  • 0e5db681a1 Update lua-array to use cosmopolitan headers Paul Kulchenko 2021-08-03 19:00:55 -07:00
  • f596b28443 Add lua-array to cosmopolitan/redbean Lua Paul Kulchenko 2021-08-03 18:49:56 -07:00