Commit Graph

6484 Commits (c44ac8ec6e42f21c25d5666fc1fcf936e7748d42)
 

Author SHA1 Message Date
lethosor c44ac8ec6e Improve handling of fatal errors and errors in dfhack.lua
* Several fatal errors that occurred during core initialization didn't
  stop initialization or set 'errorstate' properly, which caused
  update hooks and other code to crash later. This has been fixed and
  should address crashes like the one mentioned in #470.
* Errors when loading dfhack.lua now cause Lua::Open() to fail, which
  triggers a fatal error in Core::Init()
* Failure to initialize the console no longer results in a call to
  fatal() (since it didn't actually stop initialization previously)
2015-10-17 21:18:04 -04:00
lethosor 9ebaa4d695 Update Lua API.rst 2015-10-17 15:45:49 -04:00
lethosor 5387c03ea0 DFHackVersion: Expose whether the built commit is tagged 2015-10-17 15:35:40 -04:00
lethosor d3dbc6225a Implement getViewscreenByType() in lua 2015-10-17 15:11:04 -04:00
lethosor 96df70fe0b Use TCSADRAIN when disabling raw mode as well 2015-10-14 15:58:27 -04:00
lethosor 36479dbcda travis/all.py: Avoid actually building DFHack 2015-10-13 21:31:37 -04:00
lethosor 7e8200603c Fix whitespace 2015-10-13 21:31:14 -04:00
lethosor b7406e8944 Merge remote-tracking branch 'Mason11987/patch-1' into develop 2015-10-13 21:25:35 -04:00
lethosor 8a3e0a47dc Require MSVC 2010 on Windows 2015-10-13 16:25:38 -04:00
Mason11987 dea78d0627 Put mistakenly removed comments back 2015-10-12 06:02:51 -04:00
Mason11987 db3a1024e1 Fixes to allow open-legends to allow export as well. 2015-10-12 05:59:51 -04:00
Mason11987 2993edaf73 spacing 2015-10-12 05:21:16 -04:00
Mason11987 755b4fa384 Fixing assume identities since it causes a crash. 2015-10-12 05:15:32 -04:00
lethosor 505b1f0efc assumed_identities -> identities
Fixes #709
2015-10-11 12:03:16 -04:00
lethosor d3d21fa371 gm-editor: Make df.global prefix optional 2015-10-11 11:44:52 -04:00
lethosor 632a809d6f Update xml 2015-10-11 11:39:16 -04:00
lethosor 38be023d5d Fix TiletypeMaterial/tiletype_material comparison 2015-10-10 13:06:14 -04:00
Japa 46f6afada7 Merge branch 'develop' of https://github.com/DFHack/dfhack into develop 2015-10-09 23:35:39 +05:30
Japa 30c14ed914 send stockpile and civzone extents in remotefortressreader.cpp 2015-10-09 23:35:12 +05:30
lethosor 3685ed5156 Fix typo (comfortable)
Closes #708
2015-10-07 16:43:02 -04:00
lethosor 84eb9e6cf8 travis: Increase number of parallel builds 2015-10-03 16:08:13 -04:00
lethosor 220b73e2a8 Merge remote-tracking branch 'lethosor/travis-build' into develop 2015-10-03 16:06:02 -04:00
lethosor c11febf386 Document add-thought 2015-10-03 16:05:37 -04:00
lethosor f4a2188e42 Travis: Build DFHack 2015-10-03 15:58:41 -04:00
lethosor 0337df94de GCC: Specify C++11 when building protobuf
This is necessary to build with GCC 4.6 on Linux (Travis)
2015-10-03 15:40:28 -04:00
lethosor 5580a255f5 Update stonesense 2015-10-03 14:42:52 -04:00
lethosor d71969fef9 Update clsocket 2015-10-03 13:55:16 -04:00
lethosor 12684f65bd Reorganize Contributing.rst and fix a few typos
This document is shown when creating pull requests and referenced
from a number of other code-related discussions, so putting the
"contributing code" section first probably makes more sense
(particularly with a TOC).
2015-10-03 13:50:52 -04:00
lethosor c2267013b4 plug: List enabled state 2015-10-03 13:42:20 -04:00
lethosor f874fac500 Consolidate licenses of other dependencies 2015-10-03 13:42:03 -04:00
lethosor 45d095cbab Replace translate_socket_error() implementations with DescribeError() 2015-10-03 10:37:48 -04:00
lethosor 3f5c002634 Pass virtual_identity by reference 2015-10-03 09:27:24 -04:00
lethosor d343dfd8a0 Add a function to find viewscreens (or parents) of a given type
This makes it possible for some plugins to detect the game state more
reliably - for example, prospector would previously fail when
embarking if the viewscreen_choose_start_sitest instance had any
children.
2015-10-02 21:50:55 -04:00
lethosor 60bc2619a1 Fix Sphinx error when using Python 2 2015-10-02 21:34:08 -04:00
lethosor 3b8d5a6a95 Suggest --init flag in missing-submodule messages 2015-10-02 16:59:50 -04:00
orthographic-pedant ce80a42b24 Typo: accross -> across
Closes #707
2015-09-30 16:32:44 -04:00
lethosor 93a8998268 make-legendary: fix console output on *nix 2015-09-28 20:09:06 -04:00
lethosor 176bd0b1d2 Merge branch 'develop' of https://github.com/dfhack/dfhack into develop 2015-09-28 01:20:27 -04:00
lethosor 32284dd309 Move script update to proper NEWS section 2015-09-28 01:20:14 -04:00
Japa 449e0c7578 Merge branch 'develop' of https://github.com/DFHack/dfhack into develop 2015-09-28 10:07:23 +05:30
Japa 5e43b6b2a6 Add buildigs to remotefortressreader.cpp 2015-09-28 10:06:04 +05:30
lethosor c93737d6e4 NEWS: Reformat list of Vjek's scripts, add descriptions, fix typo 2015-09-27 22:40:57 -04:00
expwnent dcf999a3e5 Merge remote-tracking branch 'dfhack/develop' into develop 2015-09-27 04:56:14 -04:00
expwnent 466c26f093 BUILD_DOCS should be an option. 2015-09-27 04:53:18 -04:00
expwnent e33f19f414 Merge pull request #705 from expwnent/develop
Fix CMake warning over INTERFACE_LINK_LIBRARIES / policy CMP0022.
2015-09-27 04:33:54 -04:00
expwnent e95aea90e0 Fix CMake warning over INTERFACE_LINK_LIBRARIES / policy CMP0022. 2015-09-27 04:30:46 -04:00
expwnent a1c76ab5b4 Merge pull request #704 from expwnent/develop
Develop
2015-09-27 03:01:16 -04:00
expwnent f84ef11341 Whitespace. 2015-09-27 02:59:31 -04:00
expwnent 1bc9b74530 An attempt to make Sphinx recognize all lua dependencies that still doesn't work. 2015-09-27 02:56:37 -04:00
expwnent c15b01a79a Autogenerate include-all.rst for scripts so that script documentation can be entirely encapsulated in lua files without updating anything else. 2015-09-27 02:45:11 -04:00