Commit Graph

3374 Commits (4e169558f58c86d6263fdbe125df73d3b769eeeb)
 

Author SHA1 Message Date
jj 2e42e31754 ruby: add curview, fix item_find/unit_find wrt gview mode, fix refers-to to use binsearch 2012-07-03 19:51:52 +02:00
jj 501fd43dda ruby: fix handling of <pointer to unknown data struct> 2012-07-03 18:40:10 +02:00
jj 1d6160de02 added fixstuckdoors.rb script 2012-07-03 18:01:56 +02:00
jj a7a25b80a0 ruby: use the color_ostream argument from dfhack to output to dfhack-run 2012-07-03 16:13:15 +02:00
jj 0bdff401ca ruby: fix codegen align int64_t on windows 2012-07-03 15:24:35 +02:00
jj b9425474a1 ruby: fix codegen for darwin 2012-07-02 21:57:53 +02:00
Timothy Collett c24333515b Merge branch 'master' of https://github.com/jjyg/dfhack
Conflicts:
	library/Core.cpp

Starting to merge in Ruby stuffs
2012-07-02 11:07:30 -04:00
Timothy Collett 421e5fd82c Swap order of includes to work around silly compiler/assembler bug on OS X 2012-07-02 11:02:48 -04:00
jj 554683929f ruby: allow explicit target-os override in codegen 2012-07-01 14:20:55 +02:00
Alexander Gavrilov 07dc20055a Tweak documentation for utils.make_sort_order and devel/prepare-save 2012-06-30 16:25:41 +04:00
Alexander Gavrilov bd5aea994b Merge remote-tracking branch 'q-github/master' 2012-06-30 15:51:49 +04:00
jj 31a5495031 ruby: osx support (maybe) 2012-06-29 17:51:26 +02:00
Timothy Collett 6f433ff58f Move back to using interposition to be more portable 2012-06-29 10:15:48 -04:00
jj 125de95093 document ruby scripts usage in the README 2012-06-29 14:10:07 +02:00
jj b421c08d31 growcrops: allow any unambiguous substring among existing seed types 2012-06-29 14:09:11 +02:00
jj 7971925f7a slayrace: ignore caged units 2012-06-29 13:23:44 +02:00
jj a72a59b2f9 add scripts/removebadthoughts 2012-06-29 11:38:58 +02:00
jj 592c0a41ac ruby: remove useless raise in unit_find 2012-06-29 11:29:36 +02:00
jj 56ff129ee0 ruby: fix enum + base-type 2012-06-29 11:25:41 +02:00
jj ccbebdafb0 fix error spam when using Zoom hotkeys 2012-06-28 15:05:00 +02:00
Quietust f0d4d799d8 Don't index world_data->region_map beyond its bounds 2012-06-27 16:38:39 -05:00
jj 24aa3827c1 ruby: generate accessors for refers-to and vector of ref-target 2012-06-27 14:52:34 +02:00
Warmist 85f9d35f6f Temporary fix for memory accessor. 2012-06-25 22:26:08 +03:00
Warmist 4e4e375122 Merge branch 'master' of https://github.com/angavrilov/dfhack 2012-06-25 22:23:37 +03:00
Warmist 1c013486d5 Removed non-working onfunction. 2012-06-25 22:22:20 +03:00
jj c2c29af959 ruby: fix deadlock on df exit due to BEGIN_UNLOAD + Core.Suspend() 2012-06-25 19:16:35 +02:00
jj 412e8608d8 ruby: add method for basic xml ref-target support, tweak scripts/slayrace 2012-06-25 19:05:50 +02:00
jj 17d06b969b ruby: move all ruby invocations inside a CoreSuspend lock, remove ruby suspend method 2012-06-25 17:06:37 +02:00
jj 8fb139a2f4 ruby: document mutex use, load ruby-autogen in the background 2012-06-25 01:45:50 +02:00
jj d1762e3cb8 ruby: add growcrops script, add doc for methods in README 2012-06-24 21:44:40 +02:00
jj 552da8417e ruby: handle .rb files in df/hack/scripts/ 2012-06-24 20:24:46 +02:00
jj 3f4d2e4792 ruby: split ruby.rb in modules 2012-06-24 17:30:26 +02:00
jj 4c2d4d4b86 ruby: clean stuff up, install ruby modules in df/hack/ruby/ 2012-06-24 16:09:31 +02:00
Alexander Gavrilov 9046fed648 Add documentation for some utility functions implemented in lua. 2012-06-24 12:51:19 +04:00
jj ad1ba9bf6b ruby: try msvc workaround for __thiscall 2012-06-24 02:59:56 +02:00
Petr Mrázek 59fb4daa9a Merge https://github.com/angavrilov/dfhack 2012-06-23 00:25:50 +02:00
Petr Mrázek 6199d6915c Nuke some error prints. 2012-06-23 00:25:30 +02:00
Alexander Gavrilov 0e582901ee Update the compile document with some info about df-structures and RPC. 2012-06-22 20:41:15 +04:00
Alexander Gavrilov bd37cc09c5 Update the Lua API document with info about scripts. 2012-06-22 20:17:55 +04:00
Quietust dedc59c709 Merge branch 'master' of https://github.com/angavrilov/dfhack 2012-06-22 07:47:10 -05:00
Alexander Gavrilov 65e82f7c12 Support controllable error presentation verbosity in lua code.
Use qerror to squash stack traces and location prefix.
2012-06-22 16:36:50 +04:00
Alexander Gavrilov 752da9ced5 Move formatting newly-found globals for symbols.xml to lua code. 2012-06-21 21:26:25 +04:00
Alexander Gavrilov f207714d42 Add finders for enabler, gps and init. 2012-06-21 21:08:36 +04:00
Angus Mezick a17a4a2ce2 Script to remove certain bad thoughts 2012-06-20 14:45:09 -04:00
Alexander Gavrilov ed4acbdedb Add a searcher for current_weather, using a prepared save. 2012-06-20 10:12:26 +04:00
Timothy Collett 4ca3aa878a Merge branch 'master' of https://github.com/angavrilov/dfhack 2012-06-19 14:48:40 -04:00
Alexander Gavrilov f989ef213e Add 5 more finders to the script; these use relative location heuristics. 2012-06-19 22:43:31 +04:00
Alexander Gavrilov e687a07f2e Fix getRebaseDelta: should be signed int. 2012-06-19 21:02:27 +04:00
Quietust 385d96296e Merge branch 'master' of https://github.com/angavrilov/dfhack 2012-06-19 10:04:29 -05:00
Timothy Collett 707fcc55e5 Update xml repo 2012-06-19 10:52:08 -04:00