Commit graph

  • 7fe9e70117
    Backporting METH_FASTCALL from Python 3.7 (#317) Gautham 2021-11-13 04:56:57 +05:30
  • 6f658f058b
    Change noinline to dontinline (#312) Gautham 2021-11-13 04:42:18 +05:30
  • ca611efc43
    Redbean getstatus and more (#308) Paul Kulchenko 2021-11-12 15:00:41 -08:00
  • 725f4617fd fix refcount error found in MODE=dbg ahgamut 2021-11-09 03:37:04 +05:30
  • 9aac17ff54 avoid PyMethodObject in slots ahgamut 2021-11-09 02:56:47 +05:30
  • 7f4de20c0b PyCFunction_Call performance ahgamut 2021-11-09 01:18:21 +05:30
  • a7bf3bda15 added _PyMethodDef_RawFastCallKeywords ahgamut 2021-11-09 01:14:23 +05:30
  • 4802173eba speed up unpickling ahgamut 2021-11-09 00:49:52 +05:30
  • 4460366884 Extend GetZipPaths to accept an optional prefix to filter based on Paul Kulchenko 2021-11-06 17:44:40 -07:00
  • ed44f3b14d convert some internal functions to FASTCALL ahgamut 2021-11-07 04:48:32 +05:30
  • 81c6b43e00 all tests pass in MODE=dbg ahgamut 2021-11-05 03:12:52 +05:30
  • 2231c966d8 add macros ahgamut 2021-11-05 03:21:20 +05:30
  • 4eb67fa2c5 recursive calls in PyObject_Call ahgamut 2021-11-05 02:46:15 +05:30
  • 4959ac1497 make deque methods faster ahgamut 2021-11-05 02:33:33 +05:30
  • f49003241f _struct module now uses Argument Clinic ahgamut 2021-11-05 02:27:03 +05:30
  • d220f6f9b2 print now uses METH_FASTCALL ahgamut 2021-11-05 02:12:57 +05:30
  • 7fb46fb510 cleanup _PyMethodDef_RawFastCallDict ahgamut 2021-11-05 01:45:44 +05:30
  • 9220b67b3e Optimize methoddescr_call ahgamut 2021-11-05 01:29:08 +05:30
  • 73ea0ea4a6 FASTCALL for sorted, next, and getattr ahgamut 2021-11-05 01:13:57 +05:30
  • 81b5b2d524 speed up getargs ahgamut 2021-11-05 01:02:57 +05:30
  • e33788a384 Argument Clinic for ordered dictionary object ahgamut 2021-11-05 00:55:04 +05:30
  • f731074a5f Argument Clinic FASTCALL again ahgamut 2021-11-05 00:45:34 +05:30
  • 7272dace71 Added _PyArg_UnpackStack ahgamut 2021-11-05 00:35:35 +05:30
  • 071d2ec8cf METH_FASTCALL changes to .inc files ahgamut 2021-11-05 00:24:42 +05:30
  • 21294d41f6 _PyStack_UnpackDict now returns int ahgamut 2021-11-04 23:38:31 +05:30
  • bd127a01ee Add _PyArg_NoStackKeywords ahgamut 2021-11-04 23:29:46 +05:30
  • af384841c3 separate into ParseStack and ParseStackAndKeywords ahgamut 2021-11-04 23:10:46 +05:30
  • f1f2a3ec6d type_prepare uses METH_FASTCALL ahgamut 2021-11-04 22:43:49 +05:30
  • ebc20796b4 __build_class__() uses METH_FASTCALL ahgamut 2021-11-04 22:10:33 +05:30
  • 3fb6f1711c GetServerAddr() won't crash redbean during init anymore Leon 2021-11-04 10:35:45 +01:00
  • 115f86ed26 undo incorrect replacements ahgamut 2021-11-02 10:53:37 +05:30
  • f0e8f7dcd0 change noinline to dontinline ahgamut 2021-11-02 04:25:28 +05:30
  • 7f32b00f1a Restore GetPayload and GetComment for compatibility (marked as deprecated in the docs) Paul Kulchenko 2021-11-01 19:22:39 -07:00
  • e5d1536256
    Redbean doc updates (#307) Paul Kulchenko 2021-11-01 18:52:02 -07:00
  • fb6bd0b647 Don't pass unused args to printf Jørgen Kvalsvik 2021-11-01 15:09:01 +01:00
  • 7c012321d6 Limit redbean reason to 128 chars when set instead of reporting an error Paul Kulchenko 2021-10-31 17:18:59 -07:00
  • 8c535a0198 Add redbean Lua IsLoopbackClient function Paul Kulchenko 2021-10-31 17:10:43 -07:00
  • d60e855870 Rename redbean Lua function GetPayload to GetBody Paul Kulchenko 2021-10-31 16:44:29 -07:00
  • cde92c3944 Rename redbean Lua function GetComment to GetAssetComment Paul Kulchenko 2021-10-31 16:37:57 -07:00
  • 93d2cf3d11 Add redbean Lua GetStatus function Paul Kulchenko 2021-10-31 16:29:15 -07:00
  • 47ba7b8ef7 dict copy speedup ahgamut 2021-10-08 02:30:48 +05:30
  • 8a05385114 Update redbean SetHeader documentation to clarify behavior with Serve* calls Paul Kulchenko 2021-10-30 16:46:45 -07:00
  • b44615c27c Add documentation for redbean ProgramAddr Paul Kulchenko 2021-10-30 16:10:02 -07:00
  • 46da0d8572 Add documentation for method and body parameters in redbean Fetch Paul Kulchenko 2021-10-30 16:05:25 -07:00
  • afa3d2b8ea Fix redbean re.NEWLINE documentation Paul Kulchenko 2021-10-30 15:58:32 -07:00
  • d7ff346b52
    Add some Python 3.7 backports (#306) Gautham 2021-10-30 11:24:14 +05:30
  • 1935e81338 optimize _PyCFunction_FastCallKeywords ahgamut 2021-10-27 18:51:18 +05:30
  • 10b041c645 make.com now uses stack size of 2mb ahgamut 2021-10-27 18:19:27 +05:30
  • 903cc38c37 Revert "Make MODE=tiny not depend on default build" Justine Tunney 2021-10-26 17:14:38 -07:00
  • 3616f2a432 get make to build ahgamut 2021-10-27 00:24:07 +05:30
  • 7a50dba812 changes made to enable compilation ahgamut 2021-10-26 23:45:32 +05:30
  • 19f70a154e add make-4.3.tar.gz ahgamut 2021-10-26 23:19:30 +05:30
  • df074162e5 get make to build ahgamut 2021-10-27 00:24:07 +05:30
  • 0a0997a872
    Add WIN32 symbols for OpenGL support (#304) jacereda 2021-10-26 23:18:13 +02:00
  • f21cba6cb5 Add some more NT functions Jorge Acereda 2021-10-26 23:11:38 +02:00
  • b279b0dee1 changes made to enable compilation ahgamut 2021-10-26 23:45:32 +05:30
  • adc12c4b58 add make-4.3.tar.gz ahgamut 2021-10-26 23:19:30 +05:30
  • 30cd28b1f8 Make MODE=tiny not depend on default build Justine Tunney 2021-10-25 16:26:22 -07:00
  • 91d783352a Apply fixup to cthread initialization (#301) Justine Tunney 2021-10-25 16:22:10 -07:00
  • 45a7435788
    [WIP] Threading phase 2 (#301) Florian Lemaitre 2021-10-26 01:02:26 +02:00
  • 660ff56d40
    Redbean fix lua panic (#300) Paul Kulchenko 2021-10-25 14:54:56 -07:00
  • c00755f921
    Improve error messages for consistency (#297) Paul Kulchenko 2021-10-25 14:44:04 -07:00
  • 013f03e33f
    Redbean fix redirect (#294) Paul Kulchenko 2021-10-25 14:04:57 -07:00
  • 49db877fbe
    Minimize Python startup imports (#292) Gautham 2021-10-26 02:34:04 +05:30
  • 253ac31a64
    Fix build from docker build with alpine from macOS (#286) Et7f3 2021-10-25 22:39:05 +02:00
  • 52717da9a6 Complete setup for TLS (including main thread) Lemaitre 2021-10-24 21:28:53 +02:00
  • 9cd5c6a27d Abstract away Futex for cthread Lemaitre 2021-10-24 16:19:06 +02:00
  • 699bbfde97 Removed "native" specifier Lemaitre 2021-10-24 16:01:03 +02:00
  • c9f8973de7 Exponential back-off Lemaitre 2021-10-10 12:06:18 +02:00
  • e228c2a258 Rename global Lua state object to make its (mis-)usage easier to detect Paul Kulchenko 2021-10-21 23:06:38 -07:00
  • 3b75363e44 Fix Lua panic in redbean when calling request/connection functions from .init.lua Paul Kulchenko 2021-10-21 23:04:28 -07:00
  • 9b05436850 Add some missing NT functions Jorge Acereda 2021-10-21 22:26:29 +02:00
  • 83c1ff4a5a Improve error messages for consistency Paul Kulchenko 2021-10-17 14:27:26 -07:00
  • 0dfba85bfe get_exports_list should return list ahgamut 2021-10-17 15:14:15 +05:30
  • 75cc0fbaa1 Update redbean redirect message for clarity Paul Kulchenko 2021-10-16 10:57:36 -07:00
  • 8afc830355 Add reset for redirect loop check in redbean Route Paul Kulchenko 2021-10-16 10:54:57 -07:00
  • 6e54e48e44 Fix redbean crash during redirect in debug logging mode Paul Kulchenko 2021-10-16 10:53:58 -07:00
  • 1999f5e3b3 minimal changes to os.py ahgamut 2021-10-16 01:28:02 +05:30
  • 9e24f01101 remove redundant constants from stat module ahgamut 2021-10-15 23:51:14 +05:30
  • ffc75352a3 removed clang setting ahgamut 2021-10-15 23:33:15 +05:30
  • e8cd2f52ea avoid importing sysconfig during startup ahgamut 2021-10-15 23:26:54 +05:30
  • 67b5200a0b Add MODE=optlinux build mode (#141) Justine Tunney 2021-10-14 19:36:49 -07:00
  • 226aaf3547 Improve memory safety Justine Tunney 2021-10-13 17:27:13 -07:00
  • d09d2d7c72 fix(build): Fix others -Werror=discarded-qualifiers Élie BRAMI 2021-10-14 00:25:58 +02:00
  • a0b39f886c
    [WIP] Threading (#282) Florian Lemaitre 2021-10-13 20:26:05 +02:00
  • d852640a1e
    Add Python ftrace contextmanager (#285) Gautham 2021-10-13 23:30:25 +05:30
  • 55ade52712 fix(build): Remove unused variable and fix const warning. Et7f3 2021-10-10 19:21:41 +02:00
  • df59112ba7 contextmanager wrapper for ftrace ahgamut 2021-10-10 16:03:34 +05:30
  • 425a57080d Fix minor issues Justine Tunney 2021-10-08 20:51:11 -07:00
  • bba144246a Improve Das Blinkenlights Justine Tunney 2021-10-08 16:44:19 -07:00
  • 7061c79c22 Make fixes, improvements, and chibicc python bindings Justine Tunney 2021-10-08 08:11:51 -07:00
  • 446ad21138 Added semaphore with futex (hopefully fast) Lemaitre 2021-10-05 23:46:03 +02:00
  • 28997f3acb Make mkdeps.com go faster Justine Tunney 2021-10-04 06:24:56 -07:00
  • 725f4d79f6 Apply fixes and speedups Justine Tunney 2021-10-04 03:23:31 -07:00
  • cf598d09e4 Join/Detach protocol Lemaitre 2021-10-03 11:55:12 +02:00
  • fb2dd3ff89 Proper thread creation and exit Lemaitre 2021-09-29 01:39:56 +02:00
  • 149b1901b0 Thread creation Lemaitre 2021-09-27 23:16:12 +02:00
  • 7521bf9e73 Add stack overflow checking to Python Justine Tunney 2021-10-02 10:31:24 -07:00
  • 47a53e143b Productionize new APE loader and more Justine Tunney 2021-10-02 08:17:04 -07:00
  • 9cb54218ab Add error checks to Python objectifier (#281) Justine Tunney 2021-10-02 06:17:17 -07:00