Commit Graph

7029 Commits (6a2ace49e5c3799a9a106385ea784ae49bbfc3bd)
 

Author SHA1 Message Date
lethosor 19f966aefc Improve some plugin-related error handling 2015-08-16 17:28:31 -04:00
lethosor 5717c2cdd4 Don't set plugin state to PS_BROKEN due to load failures 2015-08-16 17:02:53 -04:00
Japa bf7fc42710 Made remotefortressreader.cpp get the elevations from the next region over for the last line. 2015-08-17 00:11:52 +05:30
Japa a67d525b13 Merge branch 'develop' of https://github.com/DFHack/dfhack into develop 2015-08-16 20:29:18 +05:30
Japa f60b3e8117 Added a function to get region tiles from remotefortressreader.cpp 2015-08-16 20:28:52 +05:30
PeridexisErrant d5513eac1b Tweak readme based on feedback 2015-08-16 13:15:11 +10:00
Warmist fb702e0298 Add documentation to luasocket. 2015-08-15 15:37:35 +03:00
Warmist 5bb69cfe04 Add luasocket to CMakeLists.txt 2015-08-15 15:12:13 +03:00
Warmist d9c50d677f A lua interface for csockets in a spirit of luasocket 2015-08-15 15:09:12 +03:00
PeridexisErrant f8f7194f82 Make exportlegends compatible with open-legends 2015-08-15 16:44:12 +10:00
PeridexisErrant 84a1edc3b8 Add initial comments to some scripts 2015-08-15 16:43:50 +10:00
PeridexisErrant 9b1f394032 Add remaining basic and fix/* scripts to readme 2015-08-15 16:43:33 +10:00
lethosor a5f15b279c plug: Include deleted plugins in full list 2015-08-14 19:32:41 -04:00
lethosor 0b4d32d0e6 Add @sethwoodworth to Contributors.rst
see #669
2015-08-14 16:40:38 -04:00
lethosor 8c93177f1d No need to document documentation updates 2015-08-14 16:33:34 -04:00
Lethosor 6d79de2e63 Merge pull request #671 from PeridexisErrant/points.lua-and-readme
Add points.lua and update readme
2015-08-14 16:31:14 -04:00
lethosor 6aa39a6681 Update NEWS 2015-08-14 16:27:39 -04:00
lethosor 735498c3f9 Fix merge conflict 2015-08-14 16:23:39 -04:00
lethosor 4fc6cb6f17 Several PluginManager improvements
* load/unload/reload are no longer restricted to plugins that exist
  on startup
* Names passed to DFHACK_PLUGIN must match the plugin's filename
  (remotefortressreader vs RemoteFortressReader, counters vs probe)
* "plug" output lists all plugins and state/command information
* Deleted plugins can be reloaded again if they are replaced
* load/unload/reload don't fail silently with broken plugins
* Built-in commands are recognized internally (e.g. "help help"
  does not display "help is not a recognized command"), although help
  for them is not yet implemented
* New command: "type" (bash-like) - shows where/how a command is
  implemented
* "plug" can accept multiple plugin names
* "ls" displays more information about unloaded/unrecognized plugins
* "load all" changed to "load -all" (or "load --all", "load -a", ...)
2015-08-14 16:11:23 -04:00
lethosor 1bf3a6a37a Update xml 2015-08-14 10:46:05 -04:00
Japa a71a6d45cc Added a function to pull the world map from remotefortressreader.cpp 2015-08-14 15:36:36 +05:30
PeridexisErrant 15c8ae187b Clarify startdwarf documentation 2015-08-14 13:20:22 +10:00
Zac-HD 55b703a5aa Document hide, show, startdwarf 2015-08-14 12:30:45 +10:00
Zac-HD 776af19045 Add and document points.lua
A trivial script to choose the number of points available at embark.
2015-08-14 11:54:38 +10:00
Japa 22374e6d86 Fixed remotefortressreader.cpp DF version detection. 2015-08-13 15:59:15 +05:30
Japa e4ac25d1e0 Merge branch 'develop' of https://github.com/DFHack/dfhack into develop 2015-08-13 11:26:33 +05:30
Japa a60c8d8e7c Added conditionals to remotefortressreader.cpp to make compiling for v 0.24.11 easier. 2015-08-13 11:25:59 +05:30
lethosor 2aba2da56d Avoid DataStaticsFields dependency on PluginManager.h 2015-08-11 22:59:19 -04:00
lethosor ffe29d366c Merge remote-tracking branch 'sethwoodworth/patch-1' into develop 2015-08-10 23:41:58 -04:00
Seth Woodworth 2abc7433ea typo s/ot a forum/to a forum/ 2015-08-10 23:24:24 -04:00
lethosor 9c84c78129 Make lua listdir functions return useful error messages 2015-08-10 12:44:27 -04:00
lethosor 05f36856f4 fix-unit-occupancy: Always provide feedback when running command 2015-08-10 11:30:21 -04:00
lethosor d09cdc83ba Update xml 2015-08-10 11:25:15 -04:00
lethosor 618f8855f8 Merge branch 'develop' of https://github.com/dfhack/dfhack into develop 2015-08-10 10:42:24 -04:00
lethosor 9b5f42e3a9 tweak farm-plot-select: Only show controls when plots are fully built
Fixes #521
2015-08-10 10:41:47 -04:00
Lethosor fec19b9700 Compile.rst: Link to "Linux dependencies" wiki page 2015-08-10 10:12:40 -04:00
lethosor fcd15bfd73 Move vshook plugin to title-version and enable by default 2015-08-09 13:37:26 -04:00
lethosor dc747d59df Link dfhack-md5 on Windows 2015-08-09 13:20:28 -04:00
Lethosor 4ab2f525da Merge pull request #668 from lethosor/fix-unit-occupancy
New plugin: fix-unit-occupancy
2015-08-08 16:57:25 -04:00
lethosor bce9d98633 New plugin: fix-unit-occupancy (fixes bug 3499) 2015-08-07 14:33:38 -04:00
lethosor 9a58332aed Update lethosor/dfhack-scripts submodule (whitespace) 2015-08-06 21:59:33 -04:00
lethosor 418d2831ef Add a framework for including 3rd-party script repos
Repos need to include a CMakeLists.txt file with calls to the
DFHACK_SCRIPTS macro, which functions similarly to DFHACK_PLUGIN.

The `open-legends` script from lethosor/dfhack-scripts is included
as an example.
2015-08-06 21:50:01 -04:00
lethosor f46d3d137f Allow multiple contexts to be specified when adding keybindings 2015-08-06 20:41:54 -04:00
lethosor afce8d810b Update xml 2015-08-06 17:32:42 -04:00
lethosor de49befdbb Improve version information
* Add reimplementations of old DFHACK_VERSION-style macros
* Expose full git commit ID
* Expose all DFHack::Version functions to Lua
2015-08-06 17:30:51 -04:00
lethosor a67326ad00 git-describe: always use long format 2015-08-06 17:01:11 -04:00
lethosor 44287fc3a0 remotefortressreader: Check map validity before reading map info
Fixes JapaMala/armok-vision#5
2015-08-06 13:42:13 -04:00
lethosor 090f542d49 Allow for per-plugin compile flags 2015-08-06 13:33:53 -04:00
Lethosor bc5b46dce0 Merge pull request #660 from lethosor/jsoncpp
Replace jsonxx with jsoncpp
2015-08-06 12:37:51 -04:00
lethosor 2f1bd12312 Update NEWS 2015-08-02 10:09:36 -04:00