Commit Graph
6 Commits
Author SHA1 Message Date
Naios 19bf0513bc Core/Scripting: Wait until the debugger is detached before rebuilding scripts.
* Thanks Shauren for the IsDebuggerPresent() hint.

(cherry picked from commit b970a68473eb6a7a7b71ab4a5c13338bb5cafc89)
2016-04-14 21:30:52 +02:00
Naios 2038c31100 Core/Scripting: Disallow the build directory to contain spaces
* I wasn't able to work arround a path which contains spaces,
  since it seems like a CMake specific issue.
* Closes #16947

(cherry picked from commit 42eeb28a8b9c1f3ae2d667e4238e956a4a95bd6c)
2016-04-14 21:30:43 +02:00
Naios f4a19fe795 Core/Scripting: Fix detection of source changes when using inotify.
* This fixes the source change detection in linux.
* Also simplifies the detection of observed modules
* Fixes the script rebuilding on linux
* Escape windows paths to (maybe) fix paths with spaces (#16947)

(cherry picked from commit 10bc41c91e96b51aac4d811d20b535fff9562edd)
2016-04-13 14:00:07 +02:00
Naios a3936c143d Core/Scripting: Fix an assertion which was triggered at lazy unloading
* Also fixes 2 warnings

(cherry picked from commit e82a934387b03a0a70e4d402eb5729c24728a698)
2016-04-12 16:54:11 +02:00
Naios b88074086b Core/Scripting: Fix a warning when building statically
(cherry picked from commit 1b909f9dacf21c7d3a6f9eb48afd168f52801bd4)
2016-04-11 21:59:37 +02:00
Naios bc0f2b6e5a Core/Game: Add a dynamic script reloader which reloads scripts modules on changes.
* is responsible for registering plain modules.
* requires compilation with the `WITH_DYNAMIC_LINKING` flag.
* requires further support of the ScriptMgr.
2016-04-11 21:13:59 +02:00