about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* forkserver: clean upbptato2024-01-295-30/+24
| | | | | Move forkBuffer into forkserver (why was it in container anyway), remove unused mainproc variable, etc.
* client: stop entire process group on suspend()bptato2024-01-292-3/+4
| |pre { line-height: 125%; } td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } .highlight .hll { background-color: #ffffcc } .highlight .c { color: #888888 } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .k { color: #008800; font-weight: bold } /* Keyword */ .highlight .ch { color: #888888 } /* Comment.Hashbang */ .highlight .cm { color: #888888 } /* Comment.Multiline */ .highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .highlight .cpf { color: #888888 } /* Comment.PreprocFile */ .highlight .c1 { color: #888888 } /* Comment.Single */ .highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */ .highlight .gr { color: #aa0000 } /* Generic.Error */ .highlight .gh { color: #333333 } /* Generic.Heading */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .highlight .go { color: #888888 } /* Generic.Output */ .highlight .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#ifndef SELECT_H
#define SELECT_H
/*=========================================================================*\
* Select implementation
* LuaSocket toolkit
*
* Each object that can be passed to the select function has to export 
* method getfd() which returns the descriptor to be passed to the
* underlying select function. Another method, dirty(), should return 
* true if there is data ready for reading (required for buffered input).
\*=========================================================================*/

#ifndef _WIN32
#pragma GCC visibility push(hidden)
#endif

int select_open(lua_State *L);

#ifndef _WIN32
#pragma GCC visibility pop
#endif

#endif /* SELECT_H */
1-231-18/+10 | * rendertext: add support for backspace overstrike, misc fixesbptato2024-01-232-47/+125 | | | | | * parse manpage output styled ugly backspace overstrike formatting * fix broken charset detection for large files * md2manpreproc: fix non-portable behaviorbptato2024-01-221-6/+6 | | | | Turns out \? for BRE is not in POSIX. Accordingly, it fails on FreeBSD. * doc: fix cookie sharing examplebptato2024-01-221-4/+4 | | | | This configuration scheme really is a nightmare to use :( * container: fix b/e unnecessarily switching linesbptato2024-01-201-3/+8 | | | | | cursorWordEnd & cursorWordBegin must only change the current line if no new word was found. * Fix form action when submitter has a "form" attrbptato2024-01-192-20/+30 | | | | | | | * Unify form variable for all form-associated elements * Fix broken form association logic in resetFormOwner * Use form action for all form-associated submitters * Remove unused getElementsByTag + de-extern some functions * charwidth: use ptint in controls calculationbptato2024-01-192-19/+19 | | | | int was incorrect * buffer: fix clone on *BSDbptato2024-01-191-1/+8 | | | | kqueue does not like being closed after fork(2). * about:chawan: fix some descriptionsbptato2024-01-191-2/+2 | * Re-design word handling, add e, E, W, B, etc.bptato2024-01-197-59/+266 | | | | | | | | | | | | * Add functions for moving to the beginning/end of words (vi `b', `e'). * As it turns out, there are many possible interpretations of what a word is. Now we have a function for each reasonable interpretation, and the default settings match those of vi (and w3m in w3m.toml). (Exception: it's still broken on line boundaries... TODO) * Remove `bounds` from lineedit, it was horrible API design and mostly useless. In the future, an API similar to what pager now has could be added. * Update docs, and fix some spacing issues with symbols in the tables. * utils/map: remove unused special casebptato2024-01-171-3/+0 | | | | Even if it were used, it's UB... * Remove std/terminal dependencybptato2024-01-174-55/+66 | | | | It is mostly unnecessary, and conflicts with our use of termcap anyway. * js: small improvementsbptato2024-01-173-22/+54 | | | | | * turn JSFuncGenerator into a ref object (it's faster this way) * remove strformat dependency * dom: fix innerHTML tag name regressionbptato2024-01-171-2/+8 | * dom: fix invalid object conversion defectbptato2024-01-171-1/+1 | * quickjs: patch libunicode.h to use LRE_BOOLbptato2024-01-151-2/+2 | | | | | | | This way it actually compiles :) (QJS includes cutils.h too, so BOOL works there. We don't, so this is the easiest fix.) * dom: standard-compliant innerHTML/outerHTMLbptato2024-01-122-5/+73 | | | | | | | | It's still not perfect, but at least now we do not apply non-standard whitespace changes. The stringifier is left as it is since it's more useful for debugging this way. * cha-http-libfetch: fix incorrect usage of strncatbptato2024-01-111-14/+3 | | | | | | | strncat does not work like that :P Luckily, BSD has strlcat which does. (While we're at it, remove the unused PDIE macro.) * Use errDOMException template everywherebptato2024-01-115-24/+24 | * native cosmopolitan buildFabrice Bellard2024-01-111-16/+5 | * more portable and Windows version for getTimezoneOffset() (github issue #122)Fabrice Bellard2024-01-111-9/+24 | * regexp: fixed the zero advance logic in quantifiers (github issue #158)Fabrice Bellard2024-01-112-74/+42 | * optional chaining fixes (github issue #103)Fabrice Bellard2024-01-112-7/+111 | * fixed Date.toLocaleString() (kuzmas)Fabrice Bellard2024-01-111-1/+1 | * fixed regexp case insensitive flagFabrice Bellard2024-01-114-196/+374 | * fixed next token parsing after a function definition (github issue #77)Fabrice Bellard2024-01-111-27/+51 | * fixed class name init in static initializersFabrice Bellard2024-01-111-17/+10 | * avoid potentially undefined behavior and make valgrind happy (bnoordhuis) ↵Fabrice Bellard2024-01-111-14/+12 | | | | (github issue #153) * make for in faster and spec compliant (github issue #137)Fabrice Bellard2024-01-111-86/+143 | * fixed test262: derived-this-uninitialized-realm.jsFabrice Bellard2024-01-112-4/+28 | * added a comment for non-initialized warning in Valgrind (github issue #153)Fabrice Bellard2024-01-111-0/+10 | * added 'in' operator for private fieldsFabrice Bellard2024-01-112-75/+162 | * class static block (initial patch by bnoordhuis)Fabrice Bellard2024-01-111-17/+76 | * fixed crash in JS_DumpMemoryUsage (github issue #65)Fabrice Bellard2024-01-111-2/+2 | * allow 'await' in the REPL and added os.sleepAsync()Fabrice Bellard2024-01-112-2/+5 | * make JS_NewClassID thread safeFabrice Bellard2024-01-111-1/+10 | * added Error causeFabrice Bellard2024-01-112-6/+21 | * js: merge some type modules into jstypesbptato2024-01-1116-51/+52 | | | | They only had type definitions, no need to put them in separate modules. * pager: simplify updateReadLinebptato2024-01-111-14/+16 |