Skip to content

Instantly share code, notes, and snippets.

@cbeck88
Created November 4, 2014 18:19
Show Gist options
  • Select an option

  • Save cbeck88/a89d2e9294a652779201 to your computer and use it in GitHub Desktop.

Select an option

Save cbeck88/a89d2e9294a652779201 to your computer and use it in GitHub Desktop.
commit 89d7e4b495ece27f6a0bd9d8402ed07bb6c8dc35
Author: Chris Beck <render787@gmail.com>
Date: Mon Jul 7 13:47:22 2014 -0400
change an assertion error message associated to lua exceptions
commit 792b34686e5a092e0658b4c869fc739e5df55832
Author: gfgtdf <f492343@rmqkr.net>
Date: Sun Jul 6 17:23:46 2014 +0200
fix assertion error on lua exceptions,
lua uses c++ exceptions of type const lua_longjmp * internaly for lua
exceptions.
commit 1e45476e351a2fc57866fdd8f200402ee253517c
Author: Chris Beck <render787@gmail.com>
Date: Tue Jul 1 13:45:11 2014 -0400
add an assertion to lua that it is not catching unnamed exceptions
It swallows these exceptions, which is surely bad...
commit 3ba90bbf6438eb376f6622a1e900da2e8d34d2a3
Author: aquileia <sk.aquileia@gmail.com>
Date: Sat Jun 14 19:58:40 2014 +0200
gitignore: Merge rules from src/ directory
commit 047834e0cf5b68cb93fbbf31931d5aba2919038e
Author: Ignacio R. Morelle <shadowm@wesnoth.org>
Date: Sat Jan 25 23:41:00 2014 -0300
scons: Pass -Wno-parentheses-equality to clang for src/lua/ library objects
Step 2/2 in making it possible to build in strict mode with clang 3.3
and scons here.
commit d6a713b90f41f11ab99103a44175644183d03470
Author: Alexander van Gessel <ai0867@gmail.com>
Date: Sun Jan 5 18:07:30 2014 +0100
Rename lua sources from .c to .cpp
Clang has deprecated compiling files with a '.c' extension in C++ mode.
commit 299a29f99a84767731dbadd540712d1a37e5e10d
Author: Alexander van Gessel <ai0867@gmail.com>
Date: Mon Dec 2 17:55:02 2013 +0100
Fix an off-by-one past-the-end buffer read in lua
Found by coverity
commit 12a7a5a1e0fee21e0c88042c6b3c7be1c73f30e3
Author: Mark de Wever <koraq@xs4all.nl>
Date: Sun Oct 6 17:35:11 2013 +0200
Remove unused const variables.
The issue was detected by the upcomming Clang 3.4.
commit f5e673e6443220c57e40cea31d430870b4f73925
Author: fendrin <fabianmueller5@gmx.de>
Date: Thu Sep 19 01:06:23 2013 +0200
Replace all kinds of the constant pi representations.
Replaces every appearance of the circle constant pi I could find with
the representation from boost/math/constants/constants.hpp.
commit 043c4f9fd33ac5abac1e9df311d2ad3edf70db47
Author: Eric S. Raymond <esr@thyrsus.com>
Date: Tue Mar 26 21:41:37 2013 -0400
Remove $Id$ cookies.
commit cee3ab208401a439e15004b79b4fa5c5bf9a9e5a
Author: Mark de Wever <koraq@xs4all.nl>
Date: Sun Feb 5 19:55:32 2012 +0000
Fix compiler warnings.
commit a7a9a5cb8fed044feeb8d066f52693082e28da8f
Author: Iurii Chernyi <terraninfo@terraninfo.net>
Date: Sat Feb 4 15:37:55 2012 +0000
attempt to fix a compiler warning with fwrite return value being not used
commit 92da79025de882d0fb474d9384ff18cfcce6ed42
Author: Iurii Chernyi <terraninfo@terraninfo.net>
Date: Sat Feb 4 14:25:56 2012 +0000
Fixed Bug #19402: upgraded to lua 5.2. README documents the changes...
...that were made in the previous commits
commit 43cd9b867beb1a077153e866352f900a3b2a209e
Author: Iurii Chernyi <terraninfo@terraninfo.net>
Date: Sat Feb 4 14:23:02 2012 +0000
Enable compatibility mode for Lua 5.2 (to be disabled after several releases)
commit 19b4cd90766a7048bf365710849fc32278377690
Author: Iurii Chernyi <terraninfo@terraninfo.net>
Date: Sat Feb 4 14:22:49 2012 +0000
reapply Mordante's patch allowing to throw some exceptions 'through' lua
commit c8659d56153029240cf58043ddd4adee5298f7c0
Author: Iurii Chernyi <terraninfo@terraninfo.net>
Date: Sat Feb 4 14:22:40 2012 +0000
changes required to port from 5.1.4 to 5.2.0
commit 03d625a08ebbbe53a22b2b0cf3fa4a86931cf135
Author: Iurii Chernyi <terraninfo@terraninfo.net>
Date: Sat Feb 4 14:22:01 2012 +0000
initial import of lua 5.2.0. Compilation is broken,
...but the commit is done to have a baseline version of lua
commit 07f26d6cb7668a7c346c52dd43570726b417a48f
Author: Mark de Wever <koraq@xs4all.nl>
Date: Fri Oct 21 18:59:22 2011 +0000
Remove some old-style-casts.
commit f94cef8cca96c4d2fc20da9ff78ae68ffc9737ad
Author: Sergey Popov <loonycyborg@gmail.com>
Date: Mon Jun 13 14:31:02 2011 +0000
Made scons define LUA_USE_POSIX on non-win32 platforms.
commit 3d66800f6f768e0d9a2fea1196ac09386d5419da
Author: Sergey Popov <loonycyborg@gmail.com>
Date: Sun Jun 12 16:42:44 2011 +0000
Made scons define LUA_USE_MKSTEMP...
...to prevent a linker warning introduced by previous commit.
commit 9268d52b01f0856cae0227562127cf5ce73d4af0
Author: Timotei Dolean <timotei21@gmail.com>
Date: Thu Mar 31 21:06:52 2011 +0000
Use the proper include path for the lua_jailbreak_exception.hpp file
commit 0a6e9bf8845a445b0ff9d91f7f9fd6fc0179c288
Author: Sergey Popov <loonycyborg@gmail.com>
Date: Sat Feb 19 18:35:36 2011 +0000
Readd -Isrc when building lua as it's needed again
commit d6512a0ef5e2b9a30f00bbd0db20a3d9e61750ac
Author: Mark de Wever <koraq@xs4all.nl>
Date: Sat Feb 19 14:17:52 2011 +0000
Add a generic way to throw exceptions through Lua.
This changes add a new exception class that allows an exception to be
thrown through Lua, which will be used to let the VALIDATE macro work
as wanted again.
The code is not yet documented properly for two reasons:
1. Crab_ might want to work to make Lua really exception safe.
2. The documentation needs to refer to this commit, causing a
chicken and egg problem.
If this code remains I'll add the documentation.
commit 18110c042048959dbbfb3dd0fdde762d43052245
Author: Guillaume Melquiond <guillaume.melquiond@gmail.com>
Date: Sun Jan 9 00:34:54 2011 +0000
Reverted 2011-01-08T22:50:40Z!loonycyborg@gmail.com: "Ensure that lua files are built with -Isrc...
...since it's required now.", as it is no longer needed.
commit cb339ce30a4ecf1a6584ff6570e0388c6c0724c2
Author: Guillaume Melquiond <guillaume.melquiond@gmail.com>
Date: Sun Jan 9 00:32:39 2011 +0000
Reverted part of 2011-01-08T20:40:28Z!koraq@xs4all.nl, since it opened a major security breach...
...in Wesnoth.
Indeed, it caused the Lua engine to skip unwinding of its state in
presence of an exception, which opened the way to several attacks.
For instance, setting gc finalizers and then forcing GUI2 to throw an
exception would allow a multiplayer scenario to execute arbitrary code
on a remote client.
commit 6cce6e0c94169ee65d1ca668b945f877ed07a316
Author: Sergey Popov <loonycyborg@gmail.com>
Date: Sat Jan 8 22:50:40 2011 +0000
Ensure that lua files are built with -Isrc since it's required now.
commit acba69344706aebc396eedb110fef49e31564ac4
Author: Mark de Wever <koraq@xs4all.nl>
Date: Sat Jan 8 20:40:28 2011 +0000
Fix a bug not showing the twml_exception dialog.
When called from lua the dialog was no longer show, but only the user
part of the message. (Fixes bug #17405.)
commit 3195f5a1a0f7ba078b6b7676d29f8152c28f841a
Author: Guillaume Melquiond <guillaume.melquiond@gmail.com>
Date: Mon Dec 27 11:10:54 2010 +0000
Discontinued support for building with autotools.
Since 2010-12-27T04:03:39Z!ai0867@gmail.com, wesnoth no longer builds (due to duplicate
strings), and it would be a lot of work to fix the build system, so
better drop it.
commit e9f8b1b259bafca0f6f3378b69a999073d6c86d7
Author: Guillaume Melquiond <guillaume.melquiond@gmail.com>
Date: Mon Dec 20 09:35:31 2010 +0000
Updated logs.
commit 7205d205615ceae3964b30a2e90ef0c4a655c7ec
Author: Guillaume Melquiond <guillaume.melquiond@gmail.com>
Date: Mon Dec 20 09:30:24 2010 +0000
Disabled bytecode loading since the bytecode checker is removed from Lua 5.2.
commit d6a3de19385f5f6a2149ab10ad601e8733d0b0e3
Author: Ignacio R. Morelle <shadowm@wesnoth.org>
Date: Sun Nov 21 01:56:29 2010 +0000
Apply patch #2213 by stikonas, using file #11274
commit 5976e48e70f196d754ed7670df3f8a136d8c1877
Author: Nils Kneuper <crazy-ivanovic@gmx.net>
Date: Thu Nov 11 08:33:47 2010 +0000
add the autotool generated makefiles into svn:ignore
commit a55bdeb57b6d508bd6fddf8a999871612baeeab5
Author: Nils Kneuper <crazy-ivanovic@gmx.net>
Date: Mon Aug 30 18:28:48 2010 +0000
add some svn:ignore entries
commit 8af48d9d95f973a7d9371076a6ea46fcafbb3c8b
Author: Guillaume Melquiond <guillaume.melquiond@gmail.com>
Date: Sun Aug 1 08:47:50 2010 +0000
Added description of all the relevant commits.
commit 87fa84786963a67fc8e352fe2098657bb3cce158
Author: Guillaume Melquiond <guillaume.melquiond@gmail.com>
Date: Sat Jul 31 12:50:25 2010 +0000
Added an autotool target, so that out-of-tree builds are possible again.
commit 725c567339035760002b5e57be4e7eaefc59a702
Author: Sergey Popov <loonycyborg@gmail.com>
Date: Fri Jul 30 12:04:28 2010 +0000
Switch scons to use internal lua.
commit 6d5839397ae8bb52d5bd2e70f9cfbacaa85f6f88
Author: Guillaume Melquiond <guillaume.melquiond@gmail.com>
Date: Fri Jul 30 08:03:08 2010 +0000
Applied John V. Belmonte's patch...
...for extending the scope of plugin directories.
commit 772c06c09c136b3e928124e6982f44795456208f
Author: Guillaume Melquiond <guillaume.melquiond@gmail.com>
Date: Fri Jul 30 08:03:04 2010 +0000
Improved handling of external exceptions...
...so that they behave like a call to lua_error.
commit 4f80004e90723fc91a59e78cef28ff95c977dda3
Author: Guillaume Melquiond <guillaume.melquiond@gmail.com>
Date: Fri Jul 30 08:03:01 2010 +0000
Forced C++ compilation.
Fixed conflicts on getline.
commit cea32a3934ffdf580c6761690b51ea8d6f7ffe98
Author: Guillaume Melquiond <guillaume.melquiond@gmail.com>
Date: Fri Jul 30 08:02:57 2010 +0000
Applied bugfix patch.
commit e4d0ae04ab5dc8c7340adcd855a83c94ccb3f523
Author: Guillaume Melquiond <guillaume.melquiond@gmail.com>
Date: Fri Jul 30 08:02:52 2010 +0000
Imported Lua 5.1.4 into Wesnoth.
(License: MIT, compatible with GPL, see COPYRIGHT file.)
Goal: compile it with a C++ compiler, so that it can recover from C++
exceptions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment