summary refs log tree commit diff stats
path: root/compiler/jsgen.nim
Commit message (Expand)AuthorAgeFilesLines
...
* fixes #12240 [backport] (#12308)Andreas Rumpf2019-10-011-1/+9
* Small ast.nim cleanup (#12156)Clyybber2019-09-091-28/+28
* fix min/max for float numbers (#12068)Arne Döring2019-09-021-6/+0
* Allow typeof(nil) as a return typeAlbert Safin2019-08-311-0/+2
* Remove ENDB (#12095)Clyybber2019-08-311-5/+1
* Fix to int to biggest int (#12066)Arne Döring2019-08-271-8/+0
* fixes #10053 (#11951)Timothee Cour2019-08-151-1/+2
* int128 on firstOrd, lastOrd and lengthOrd (#11701)Arne Döring2019-08-071-4/+4
* [refactoring] remove unused imports in the compiler and in some stdlib modulesAraq2019-07-181-4/+4
* JS codegen: supports toOpenArray [bugfix]Araq2019-07-121-3/+9
* there is only one style -- my styleAraq2019-07-101-5/+5
* styleCheck: make the compiler and large parts of the stdlib compatible with -...Araq2019-07-101-13/+13
* [refactoring] remove zeroExtend and friends from the compiler builtins. (#11531)Arne Döring2019-06-241-18/+0
* Correct global destructor injections for js backend (#11240)Clyybber2019-05-151-0/+3
* rename tyExpr/tyStmt to tyUntyped/tyTyped (#11227)Arne Döring2019-05-111-1/+1
* Replace countup(x, y) with x .. yClyybber2019-05-071-3/+3
* Replace countup(x, y-1) with x ..< yClyybber2019-05-071-17/+17
* fixes #11133, error on runtime use of compile-time procs in JS target (#11134)jrfondren2019-04-291-0/+3
* added system.unown to make 'owned' sane to use in practice; later on we might...Araq2019-04-291-1/+1
* fewer ropes (#11037)Arne Döring2019-04-191-108/+203
* Compiler plugin for implementing incremental computation in user space (#10819)cooldome2019-04-111-1/+3
* more destructor based changes (#10885)Andreas Rumpf2019-03-231-1/+1
* implement system.default for the JS targetAndreas Rumpf2019-03-051-11/+16
* Initial version of the hot-code reloading support for native targets (#10729)zah2019-02-261-53/+48
* first steps in implementing 'owned' pointers; undocumented, do not useAndreas Rumpf2019-02-231-7/+9
* code cleanup: there is no tyOptRefAndreas Rumpf2019-02-221-2/+1
* fixes 10697 [backport]Araq2019-02-191-2/+3
* fixes #10651Araq2019-02-141-4/+3
* Fixes 10202 (#10283)rec2019-01-121-2/+2
* void object fields are now ignored by codegen and fields/fieldPairs iterator ...Neelesh Chandola2019-01-101-0/+2
* Support undefined in isNil (#9960)Alexander Ivanov2018-12-301-3/+4
* Make copies for params which are captured in closures. Fixes #7048 (#10050)rec2018-12-201-1/+19
* Fixes #10005recloser2018-12-151-33/+16
* tyProc does not require copying in JS codegenNeelesh Chandola2018-12-111-1/+1
* Fix fat pointers, object copying, magic double evals on JS (#9411) [backport]rec2018-12-041-75/+242
* fixes #9675Andreas Rumpf2018-11-261-0/+1
* Change the order of compilation passes, transformation is made lazy at code g...cooldome2018-10-181-3/+5
* implement sizeof and alignof operator (manually squashed #5664) (#9356)Timothee Cour2018-10-141-2/+0
* Unchecked arrays now have their own type (#9267)LemonBoy2018-10-101-2/+2
* Fixes #9154 (#9193)manterolat2018-10-101-0/+3
* Field checks for everybody (#8957)LemonBoy2018-10-091-9/+46
* Try/Catch support for native JS exceptions (#8955)LemonBoy2018-10-091-6/+32
* Make the registered passes local to the ModuleGraph (#9259)LemonBoy2018-10-091-2/+2
* Merge branch 'devel' into araq-better-docgenAraq2018-09-141-25/+23
|\
| * Fix concat behaviour for uninitialized strings (#8950)LemonBoy2018-09-111-10/+12
| * JS strings have no trailing zero anymore (#8936)LemonBoy2018-09-111-19/+15
* | fixes bootstrapping problemsAraq2018-09-071-1/+1
* | compiler refactoring; use typesafe path handing; docgen: render symbols betwe...Andreas Rumpf2018-09-071-6/+6
|/
* Sync line generation between C and JS backends (#8888)LemonBoy2018-09-071-3/+3
* Automatic deref for everything but pointers in asm/emit (#8891)LemonBoy2018-09-071-2/+13
an class="p">, h; int rx, ry, rw, rh; /* revert geometry */ int basew, baseh, incw, inch, maxw, maxh, minw, minh; long flags; unsigned int border; Bool isfloat, isfixed, ismax; Bool *tags; Client *next; Client *prev; Client *snext; Window win; }; extern const char *tags[]; /* all tags */ extern char stext[256]; /* status text */ extern int bx, by, bw, bh, bmw; /* bar geometry, bar mode label width */ extern int screen, sx, sy, sw, sh; /* screen geometry */ extern int wax, way, wah, waw; /* windowarea geometry */ extern unsigned int master, nmaster; /* master percent, number of master clients */ extern unsigned int ntags, numlockmask; /* number of tags, dynamic lock mask */ extern void (*handler[LASTEvent])(XEvent *); /* event handler */ extern void (*arrange)(void); /* arrange function, indicates mode */ extern Atom wmatom[WMLast], netatom[NetLast]; extern Bool running, issel, *seltag; /* seltag is array of Bool */ extern Client *clients, *sel, *stack; /* global client list and stack */ extern Cursor cursor[CurLast]; extern DC dc; /* global draw context */ extern Display *dpy; extern Window root, barwin; /* client.c */ extern void configure(Client *c); /* send synthetic configure event */ extern void focus(Client *c); /* focus c, c may be NULL */ extern Client *getclient(Window w); /* return client of w */ extern void killclient(Arg *arg); /* kill c nicely */ extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ extern void resize(Client *c, Bool sizehints, Corner sticky); /* resize c*/ extern void updatesizehints(Client *c); /* update the size hint variables of c */ extern void updatetitle(Client *c); /* update the name of c */ extern void unmanage(Client *c); /* destroy c */ /* draw.c */ extern void drawstatus(void); /* draw the bar */ extern unsigned long getcolor(const char *colstr); /* return color of colstr */ extern void setfont(const char *fontstr); /* set the font for DC */ extern unsigned int textw(const char *text); /* return the width of text in px*/ /* event.c */ extern void grabkeys(void); /* grab all keys defined in config.h */ extern void procevent(void); /* process pending X events */ /* main.c */ extern int getproto(Window w); /* return protocol mask of WMProtocols property of w */ extern void quit(Arg *arg); /* quit dwm nicely */ extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ /* tag.c */ extern void initrregs(void); /* initialize regexps of rules defined in config.h */ extern Client *getnext(Client *c); /* returns next visible client */ extern Client *getprev(Client *c); /* returns previous visible client */ extern void settags(Client *c, Client *trans); /* sets tags of c */ extern void tag(Arg *arg); /* tags c with arg's index */ extern void toggletag(Arg *arg); /* toggles c tags with arg's index */ /* util.c */ extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */ extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */ extern void *erealloc(void *ptr, unsigned int size); /* reallocates memory, exits on error */ extern void spawn(Arg *arg); /* forks a new subprocess with to arg's cmd */ /* view.c */ extern void detach(Client *c); /* detaches c from global client list */ extern void dofloat(void); /* arranges all windows floating */ extern void dotile(void); /* arranges all windows tiled */ extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ extern void incnmaster(Arg *arg); /* increments nmaster with arg's index value */ extern Bool isvisible(Client *c); /* returns True if client is visible */ extern void resizemaster(Arg *arg); /* resizes the master percent with arg's index value */ extern void restack(void); /* restores z layers of all clients */ extern void togglefloat(Arg *arg); /* toggles focusesd client between floating/non-floating state */ extern void togglemode(Arg *arg); /* toggles global arrange function (dotile/dofloat) */ extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ extern void view(Arg *arg); /* views the tag with arg's index */ extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */