304 Commits

Author SHA1 Message Date
f77074bdd6 Merge pull request #297 from StidOfficial/fix-compilation-warnings
Fix warning build with memmove
2024-11-08 13:44:14 +01:00
6ad6f64271 Fix warning build with memmove 2024-11-05 20:39:18 +00:00
22822aad84 Merge pull request #295 from radl97/patch-1
Fix undefined behavior
2024-11-05 15:35:28 +01:00
90849c02ce Fix undefined behavior
Do not let the compiler optimize security check.
2024-11-04 09:50:42 +01:00
b6ffd14adc updated HISTORY 2024-11-04 00:51:16 +01:00
e1bd49d1eb updated HISTORY 2024-11-03 12:29:04 +01:00
f6720d71e3 fixed security vulnerability in scratchpad for 32bit builds 2024-11-03 12:23:33 +01:00
95569768ed faster string cat 2024-11-03 12:20:33 +01:00
7e64d7b257 Merge pull request #291 from ryandesign/patch-1
Do not force using the C compiler as the linker
2024-10-24 18:21:06 +02:00
5a05de302d Do not force using the C compiler as the linker
Forcing the C compiler as the linker fails when linking sq_static
because the C++ standard library does not get linked in. By not forcing
this, CMake gets to choose which compiler to use as the linker based on
the languages of the files that comprise what is being linked, and in
this case it will choose to use the C++ compiler, fixing the problem.

Fixes #290
2024-07-30 20:21:35 -05:00
c02bf2dfd5 Merge pull request #282 from SirLynix/patch-1
Fix iOS detection
2024-01-25 11:17:02 +01:00
34de6b437b Fix iOS detection 2024-01-22 13:56:21 +01:00
ac6a09555f Merge pull request #264 from lanodan/pkgconfig
CMake: Generate and install squirrel.pc
2023-08-08 12:14:30 +02:00
8bf504ffc6 CMake: Generate and install squirrel.pc
Closes: https://github.com/albertodemichelis/squirrel/issues/259
2023-08-08 11:03:57 +02:00
1c1fd9a370 Merge branch 'master' of https://github.com/albertodemichelis/squirrel 2023-07-28 00:19:36 +02:00
cb12a4a704 fix bug in optimizer 2023-07-28 00:16:56 +02:00
7da4a6f196 Merge pull request #140 from todace/return_to_non_void_function_added
add return to non void (bool) function
2023-05-16 17:53:26 +02:00
936eb07d4e Merge pull request #270 from TobiasBohnen/fix-sq_resume
fixed sq_resume
2023-04-14 15:42:46 +02:00
6ea6cff922 fixed sq_resume
sq_resume crashes (ci is null) when called on a dead generator.
2023-04-13 22:41:04 +02:00
43370e97db Merge pull request #267 from Dwachs/master
FIX link in documentation of class attributes
2023-02-22 00:12:41 +01:00
abfe2752f1 FIX link in documentation of class attributes 2023-02-21 09:07:12 +01:00
57b8f56902 removed debug print 2023-02-01 17:42:32 +01:00
d3294338d1 Merge branch 'master' of https://github.com/albertodemichelis/squirrel 2022-11-17 16:05:42 +01:00
eebbca7a3c fixes few compiler issues 2022-11-17 16:05:32 +01:00
5e16f6c638 Merge pull request #250 from Semphriss/disable_interpreter
Added option to disable the interpreter
2022-10-28 15:59:08 +02:00
b31e5bdc21 Merge branch 'master' of https://github.com/albertodemichelis/squirrel 2022-05-02 12:05:18 +02:00
a6413aa690 fix in thread.call 2022-05-02 12:04:58 +02:00
f53899f135 Added option to disable the interpreter 2022-04-16 12:34:19 -04:00
d5239c70c9 Merge pull request #249 from Semphriss/patch-2
Move CMake installer line in if() statement
2022-03-09 18:31:08 +01:00
9a659f3f68 Merge pull request #248 from Semphriss/patch-1
Fix interpreter CMake alias for static builds
2022-03-09 18:30:46 +01:00
f1c0e65eb1 Move CMake installer line in if() statement 2022-03-09 02:48:52 +00:00
79711c69e2 Fix interpreter CMake alias for static builds
The interpreter for static builds is called `sq_static`, but its alias is referring to `sq`, which is only generated from dynamic builds and breaks CMake builds that disable dynamic builds (`-DDISABLE_DYNAMIC=ON`).
2022-03-09 02:26:30 +00:00
13bd5e7d17 Merge pull request #247 from Grumbel/fix-version-cmake
fixed version number in CMakeLists.txt
2022-03-08 18:41:32 +01:00
af69eb7084 fixed version number in CMakeLists.txt 2022-03-08 18:25:52 +01:00
f92bc29878 fixed version number in doc v3.2 2022-02-10 17:46:03 +01:00
3129237f09 changed copyright year 2022-02-10 16:29:02 +01:00
27a7f4b60c Merge branch 'master' of https://github.com/albertodemichelis/squirrel 2021-09-16 22:51:01 +08:00
23a0620658 check max member count in class 2021-09-16 22:36:53 +08:00
4683c567f5 checks for max member count for classes 2021-09-16 22:28:30 +08:00
1bd49c25f7 fix in new bind env 2021-06-28 14:00:00 +08:00
a0d8bde4f6 changed version in README 2021-06-24 00:21:08 +08:00
420ff4240a updated readme and Co. 2021-06-22 18:08:49 +08:00
8d57d6056b sq_getinstanceup adds throwerror parameter 2021-06-22 17:56:46 +08:00
e3519a3d60 3.2 in header 2021-06-10 18:27:49 +08:00
d1f54757c2 some doc updates and fixes 2021-06-02 18:47:46 +08:00
d7c9103cc4 Merge branch 'newbindenv' 2021-06-02 17:26:33 +08:00
87009545a4 inline bindenv 2021-06-02 17:19:29 +08:00
cf0516720e Merge pull request #228 from GaijinEntertainment/fix-temp-sqobjectptr
Fix creating unnecessary temporary object with refcount
2020-12-14 02:22:20 +08:00
b4f600ebc0 Fix creating unnecessary temporary object with refcount
Using the SQObject& is enough for HashObj() function.

In the following code

  RefTable::RefNode *RefTable::Get(SQObject &obj,SQHash &mainpos,RefNode **prev,bool add)
  {
    RefNode *ref;
    mainpos = ::HashObj(obj)&(_numofslots-1);

obj was SQObject and because HashObj() accepted SQObjectPtr&, a temporary
SQObjectPtr was created and refcounting was performed, which only lead to
unnecessary overhead.
2020-10-29 00:22:00 +03:00
a21721642e Merge pull request #209 from atanasovdaniel/split
Add optional argument 'skipempty' to split function
2020-07-22 18:11:41 +08:00