Pauli
0ed5c8db39
Fix data race between threaded init and EventManager
...
The initial run_dfhack_init loads shared state information that is used
by EventManager when state changes. There is a small risk that
EventManager can handle events while run_dfhack_init is still running.
2019-07-18 23:04:40 -04:00
Pauli
a90a6b2a7b
Make lua data race free
...
Fixes tsan trace report between lua viewscreen and other threads running
lua without CoreSuspender lock. But I would assume similar races exists
when using lua from console thread, remote thread and vmethods same time.
2019-07-18 23:04:40 -04:00
lethosor
ea37eecfb1
Document and warn about old CMake versions with Ninja
...
Resolves #1369
2019-07-16 19:33:33 -04:00
lethosor
f7f937e4d3
Merge remote-tracking branch 'janxious/patch-2' into develop
...
Closes #1441
2019-07-15 23:22:43 -04:00
lethosor
b60faa8021
dfhack-run: add note about installation when called with no arguments
2019-07-13 15:51:46 -04:00
lethosor
c125926727
Update submodules and Authors.rst
...
Ref #1432
Ref dfhack/stonesense#54
Ref dfhack/scripts#93
2019-07-10 19:21:23 -04:00
Alan
52e128a939
Merge pull request #1432 from LordGolias/feature/improve_readme_fedora
...
Improve readme, dependencies, and gitignore
2019-07-09 12:18:40 -04:00
lethosor
f668914db8
kittens: fix compiling on Windows thanks to @ragundo
2019-06-01 17:30:26 -04:00
lethosor
c8bb0048f8
Merge branch 'docs' into develop
2019-05-23 00:01:08 -04:00
lethosor
195db1bad9
Remove issue and PR badges from README.md
...
githubbadges.herokuapp.com has been down for some time, and these badges
repeated information that was already visible on
https://github.com/dfhack/dfhack (and they weren't included in the generated
docs either).
2019-05-21 20:22:49 -04:00
Joel "The Merciless" Meador
cddfb87e22
Make unit_ishostile always return a non-nil value
...
Have been messing with this function in the dfhack repl and when it returns nil it's hard to know what that means unless you have also already read the code. So this handles a couple spots in `unit_ishostile` that previously just returned false-ey `nil`s to return `false`
2019-05-21 10:48:28 -04:00
lethosor
ba54730ed0
Merge branch 'mousequery-edge-map-bounds' into develop
2019-05-18 14:24:14 -04:00
lethosor
92717a7f71
mousequery: Fix some more instances of map boundary checks
2019-05-16 23:30:03 -04:00
lethosor
c3b06b81c7
mousequery: use map dimensions to determine edge scrolling locations
...
TWBT modifies the map dimensions, so using the window dimensions to handle edge
scrolling produces the wrong behavior when using a larger map tileset than text
tileset.
2019-05-16 23:22:11 -04:00
lethosor
edb5e37246
Merge branch 'ninja-xml-byproducts' into develop
2019-05-16 23:14:18 -04:00
lethosor
dd9c433f17
Use BYPRODUCTS to keep ninja builds from re-running codegen every time
...
This partially reverts f02466de8a
, but behavior
should be the same under MSVC, which that commit attempted to fix. From
https://cmake.org/cmake/help/v3.14/command/add_custom_command.html :
> The `BYPRODUCTS` option is ignored on non-Ninja generators except to mark
> byproducts `GENERATED`.
Since `$GENERATED_HDRS` are already marked generated, this change should have
no effect on non-Ninja generators.
2019-05-13 19:47:39 -04:00
lethosor
f2bd697d64
mousequery: give explicit feedback when enabling/disabling sub-features
...
The behavior of this plugin is somewhat unintuitive - "mousequery edge" disables
the edge-scrolling feature instead of enabling it. This should avoid confusion
without breaking compatibility with existing init scripts.
2019-05-13 19:21:57 -04:00
lethosor
32a0ab9679
Update submodules
2019-05-11 23:34:59 -04:00
lethosor
606fd43118
Merge branch 'develop' of gh:dfhack/dfhack into develop
2019-04-30 16:54:33 -04:00
lethosor
e5eade1ad7
Make gui.dwarfmode.{get_movement_delta,get_hotkey_target} public
2019-04-30 16:53:09 -04:00
Alan
a40adf1f86
Merge pull request #1435 from cppcooper/cxxrandom-rel
...
[Release] cxxrandom v2.0.1
2019-04-16 12:04:40 -04:00
Josh Cooper
9c403f509d
[Release] cxxrandom v2.0.1
2019-04-15 16:21:54 -07:00
lethosor
c11f2b5ffa
Update stonesense (fix non-Linux builds)
2019-03-28 14:01:28 -04:00
lethosor
3a9fea9c52
Update stonesense
2019-03-28 11:09:46 -04:00
Golias
eeef058684
Improved .gitignore.
...
Added all files generated in build with ninja, so that the
rep remains clean after a complete build + install.
2019-02-09 19:12:27 +01:00
Golias
f127645799
Added command to install dependencies for Fedora (Linux)
2019-02-09 06:36:53 -05:00
lethosor
6c266075de
Console-posix: fix crash with prompts longer than screen width
...
Also add an extra fallback check around substr
Fixes #1425
2019-01-15 21:06:49 -05:00
lethosor
17d60c5a1f
Mention custom profession folder and clean up docs a bit
2019-01-04 10:51:54 -05:00
Lethosor
22fc43c7af
Merge pull request #1419 from lethosor/travis-clear-df-folder
...
travis: Always clear DF folder
2019-01-02 19:51:18 -05:00
lethosor
703e1b8a0c
Consolidate cd commands
2019-01-02 19:15:19 -05:00
lethosor
9663897037
Fix inconsistency resulting in nested df_linux folders
2019-01-02 18:40:34 -05:00
lethosor
13dfa130d7
Add more diagnostics to run-tests.py
2019-01-02 17:34:08 -05:00
lethosor
8063717503
get-df-version: make filter more strict
2019-01-02 17:05:28 -05:00
lethosor
b08ccd001e
travis: Always clear DF folder
2019-01-02 17:05:07 -05:00
lethosor
af0d569afd
check-rpc: add -> append
2018-12-29 00:15:45 -05:00
lethosor
315852a251
labormanager: fix -Wreorder warning
2018-12-27 19:46:36 -05:00
lethosor
9fe24e1b3f
Update changelog and bump version to r2
2018-12-27 19:39:43 -05:00
lethosor
f8dd215012
Update scripts and related changelog entries
2018-12-27 17:57:55 -05:00
lethosor
e74946f62e
Update xml and related changelog entries
2018-12-27 17:37:13 -05:00
lethosor
3e2c898e1a
Merge remote-tracking branch 'PatrikLundell/embark-assistant' into develop
...
Also move changelog entries to misc improvements per #1383
2018-12-27 16:52:30 -05:00
Lethosor
58fd98cb12
Merge pull request #1386 from billw2012/lm-disable-labor
...
labormanager: add option to disable the management of a labor.
2018-12-27 16:49:01 -05:00
lethosor
32edeffc3f
Remove unused find_package(Threads)
2018-12-27 16:31:57 -05:00
lethosor
5554b0d89f
Merge remote-tracking branch 'suokko/runtime_debug_prints' into develop
...
Missing update to Plugins.rst from web editor
2018-12-27 16:30:47 -05:00
lethosor
a2f8742128
Merge remote-tracking branch 'suokko/runtime_debug_prints' into develop
...
Also fix and reorganize changelog
2018-12-27 16:28:25 -05:00
Lethosor
0ccfc8be35
Fix a few typos in docs and reorganize a bit
2018-12-27 16:21:24 -05:00
Lethosor
0209e76f19
Merge pull request #1385 from ab9rf/labormanager-cleaning
...
labormanager: assign more dwarves to cleaning
2018-12-23 23:14:53 -05:00
lethosor
13c6bfc1b2
Merge remote-tracking branch 'sgayda2/memory_fixes' into develop
2018-12-22 11:54:31 -05:00
lethosor
dfbb2416d9
Update docs for nestboxes ( #1395 )
2018-12-20 21:29:48 -05:00
lethosor
92482d63f5
Merge remote-tracking branch 'ab9rf/nestboxes' into develop
2018-12-20 20:57:09 -05:00
PatrikLundell
ef57295c02
Added coal search to embark-assistant
2018-12-04 14:58:10 +01:00