Commit Graph

101 Commits

Author SHA1 Message Date
Alberto Demichelis
a96a2f3d78 Merge pull request #62 from allenluce/doc1
Documentation cleanup, part one.
2016-06-24 23:16:36 +08:00
Allen Luce
90cd4bc238 Documentation cleanup, part one. 2016-06-23 15:21:26 -07:00
Alberto Demichelis
26ef4c4f5e Merge pull request #54 from Dwachs/no_warning_unused
FIX: no warnings on unused arguments on non-gnu compilers
2016-06-15 15:04:47 +08:00
Alberto Demichelis
2d509d385b Merge pull request #57 from zeromus/master
docs fixups
2016-06-15 15:03:20 +08:00
zeromus
3b217e7e42 fix getstackinfos docs 2016-06-14 13:09:53 -05:00
zeromus
3c4098da84 small docs fixes. small typo fixes in sqapi.cpp error messages 2016-06-13 20:19:32 -05:00
zeromus
997c7aefd2 Update sqapi.cpp
change comment "pop closure and args" to "pop args" in sq_call(). 

the code clearly pops only args.

the docs say: "the function pops all the parameters and leave the closure in the stack"
2016-06-11 16:48:22 -05:00
Dwachs
2e346b54ac FIX: no warnings on unused arguments on non-gnu compilers 2016-06-08 21:08:38 +02:00
zeromus
09c4e7a8c1 fix docs for 'unsigned right shift operator' to reference >>> instead of <<< ! also minor tidying in same file 2016-06-02 19:24:21 -05:00
Alberto Demichelis
4f20c881ab Merge pull request #47 from zeromus/printf
feature: add a printf function to the string stdlib
2016-05-16 01:45:37 +08:00
albertodemichelis
f441f7f99d small fix in sq_getstringandsize 2016-05-16 01:44:13 +08:00
Alberto Demichelis
8ca802658c Merge pull request #45 from zeromus/pstring
feature: sq_getstringandsize()
2016-05-16 01:42:00 +08:00
zeromus
9004743fc4 docs for sq_getstringandssize 2016-05-15 01:00:47 -05:00
zeromus
0961039dd7 change sq_getpstring to sq_getstringandsize 2016-05-15 00:53:11 -05:00
zeromus
7c0550b8ad printf docs and other small docs tidies 2016-05-15 00:30:15 -05:00
zeromus
e0f0e180a3 add a printf function to the string stdlib, so we can avoid having to write print(format( all the time. it should be a little more lean than writing that function in lua yourself (can work entirely from scratchpad this way). 2016-05-12 11:48:52 -05:00
zeromus
656c6a0d68 add SQPString and sq_getpstring() - an easy way to retrieve strings along with their size, to avoid useless strlens later. it's named PString to suggest that it's like a pascal-style PSTring, prefixed with the length--that's basically what it is. 2016-05-10 20:56:46 -05:00
albertodemichelis
16ab1fd6c0 Merge branch 'master' of https://github.com/albertodemichelis/squirrel 2016-05-07 02:38:55 +08:00
albertodemichelis
2aef08d0a5 fixed fallback set
removed some cruft
2016-05-07 02:38:41 +08:00
Alberto Demichelis
f87cd114d7 Merge pull request #43 from zeromus/master
Tidy sqvm.h and docs fixes
2016-05-06 16:10:47 +08:00
zeromus
7bb5dd4982 move TARGET and STK to sqvm.cpp instead of SQ to reduce probability of collisions in case inner headers are included 2016-05-05 10:23:55 -05:00
zeromus
5b50a56e56 docs fixes and formatting 2016-05-05 10:23:55 -05:00
Alberto Demichelis
8242f5ac06 Merge pull request #40 from iSLC/master
Remove empty statement.
2016-04-28 16:59:05 +08:00
Sandu Liviu Catalin
692d4958e8 Remove empty statement. 2016-04-28 00:06:57 +03:00
Alberto Demichelis
70afceec42 Merge pull request #39 from zeromus/master
fix parsing of incomplete regexp escape sequence
2016-04-25 15:51:02 +08:00
zeromus
301db648da docs typo fixes 2016-04-23 20:29:04 -05:00
zeromus
b589ea521d deterministically handle error in incomplete regexp escape sequence 2016-04-23 20:29:04 -05:00
Alberto Demichelis
35ab252494 Merge pull request #38 from zeromus/master
releasehook APIs and docs fixes
2016-04-24 00:16:53 +08:00
zeromus
160184d2dd Revert "add some stack-condition error checking to sqstdlib registration routines"
This reverts part of commit b9fc931752.
2016-04-22 22:29:22 -05:00
zeromus
b9fc931752 add some stack-condition error checking to sqstdlib registration routines and to sqstd_dofile 2016-04-20 21:19:24 -05:00
zeromus
72135d9a7f SQStream should have a virtual dtor, to shut up warnings and probably for some good reason but i dont know 2016-04-20 21:05:06 -05:00
zeromus
7305257b95 tidy sq_setreleasehook and sq_getreleasehook 2016-04-20 20:50:53 -05:00
zeromus
e347779446 fix various typos and incompletely apply very lightweight formatting normalization (continued) 2016-04-20 19:30:22 -05:00
Alberto Demichelis
4125aa515d Merge pull request #37 from appetizermaker/master
Fix small mistake on sqlexer.cpp
2016-04-19 23:57:11 +08:00
appetizermaker
ed23d140df Fix small mistake on sqlexer.cpp 2016-04-19 23:25:08 +09:00
Alberto Demichelis
8fb371b3fc Merge pull request #35 from zeromus/master
more docs fixups
2016-04-19 03:26:03 +08:00
zeromus
78b44c851b add a note to push a dummy value for sq_call when constructing an instance. this just cost me a lot of time! 2016-04-18 06:44:14 -05:00
zeromus
b35c9e827c fix various typos and incompletely apply very lightweight formatting normalization; clarify sq_getbyhandle applies to class or instance 2016-04-18 06:44:14 -05:00
Alberto Demichelis
f8f229fa00 Merge pull request #33 from zeromus/master
typos and grammar fixes
2016-04-15 19:31:43 +08:00
zeromus
175139968a error message fix: Unrecognozed ecoding 2016-04-14 18:28:56 -05:00
zeromus
c44d568a8b docs typo fix: ivoked&ecoding 2016-04-14 18:28:41 -05:00
zeromus
a70a135192 clarify sq_getmemberhandle - it only works on classes. not sure what vice-versa meant 2016-04-14 18:25:00 -05:00
zeromus
4fddb87839 tidy metamethods general docs 2016-04-14 18:23:45 -05:00
zeromus
4305796277 fix metamethod _get documentation from _get(idx,val) to _get(idx) 2016-04-14 18:22:20 -05:00
zeromus
953d9e9771 fix typo in error messages: "stack overflow, cannot resize stack while in a metamethod" 2016-04-14 18:17:45 -05:00
zeromus
2f6419f19b clarify sq_cmp 2016-04-14 18:13:13 -05:00
zeromus
9218082df1 defferentieate -> differentiate 2016-04-14 18:08:29 -05:00
zeromus
d02fa17be2 small typo and grammar fixes 2016-04-14 18:07:37 -05:00
Alberto Demichelis
98bb79893e Merge pull request #32 from Eiyeron/gitignore
Added a gitignore to hide the build/doc folders.
2016-04-10 23:18:59 +08:00
Eiyeron Fulmincendii
7233a7c7de Added a gitignore to hide the build/doc folders. 2016-04-09 20:30:10 +02:00