Commit Graph

8544 Commits (0a0cbdf2de988fb6d3de9a169eb4cf56cf163acc)
 

Author SHA1 Message Date
lethosor c7a35d7ece fix remotefortressreader protobuf error in clean builds 2016-11-22 17:24:36 -05:00
lethosor 647ef4d556 Fix labormanager whitespace 2016-11-22 17:17:56 -05:00
lethosor 80e0a91670 Update .travis.yml for 0.43.05 2016-11-22 16:59:34 -05:00
Stephen Baynham 8b964ca2dc Wipe job_items vector 2016-11-21 06:51:21 -08:00
Stephen Baynham fba32f2e2f Also disconnect the job from its items. 2016-11-17 23:25:48 -08:00
Stephen Baynham 67af9f5e82 Add lua bindings for removeJob 2016-11-17 23:04:48 -08:00
lethosor 45d138191e Merge remote-tracking branch 'ab9rf/labormanager-0.43.05-r1' into develop 2016-11-17 23:02:05 -05:00
Stephen Baynham 74f5df99db Add job remove method
Job remove eliminates a job's worker & holder references, if any, puts
the worker on cd, if appropriate, removes the job's postings, eliminates
the job from the global linked list, and then finally deletes it.  This
code was tested by incorporating it into autochop and it does make the
plugin work.  However, chop jobs don't have holder building references,
and anyway, with DF being 90% edge case by volume, this could use a heck
of a lot more testing.

I saw elsewhere code that prevented worker removal if the job was a
special job, and that made me feel funny so I made the job remove method
not work if the job is a special job.
2016-11-17 19:54:41 -08:00
lethosor df9b5bca73 Allow ruby plugin to try more than one library path, including libruby.so on Linux 2016-11-17 10:31:48 -05:00
lethosor dce00a5034 Partial compilation fixes for advtools, misery 2016-11-16 15:21:13 -05:00
lethosor 1e41cdc7f6 Fix labormanager docs 2016-11-16 15:20:22 -05:00
lethosor c05f3d7d30 Update scripts 2016-11-14 14:18:34 -05:00
lethosor 8d9b888410 Revert "fixed MD5 hash of win64 ruby lib."
Unable to get anything other than 8a856 for the extracted library on my end

This reverts commit fbaf2697cb.
2016-11-14 14:16:43 -05:00
lethosor e12d68c725 Merge branch 'develop' of dfhack/dfhack into develop 2016-11-10 14:27:31 -05:00
lethosor ae59b4f5ad Update xml, scripts 2016-11-10 14:25:05 -05:00
Kelly Kinkade 80ff369059 Merge branch 'labormanager-0.43.03-r2' into labormanager-0.43.05-r1 2016-11-08 12:07:30 -06:00
Kelly Kinkade 8fec45696d Better job assignment algorithm for labormanager. 2016-11-08 12:01:24 -06:00
Japa Illo 6895f3fbed remove tabs 2016-11-08 15:13:43 +05:30
Japa Illo 5e204069ce update stonesense 2016-11-08 15:13:06 +05:30
Japa Illo 20b9aab8db moved remotefortressreader.cpp to its own directory. 2016-11-08 15:11:27 +05:30
Japa Illo fbaf2697cb fixed MD5 hash of win64 ruby lib. 2016-11-08 15:10:43 +05:30
Japa Illo 2935032a1e Add .proto files to plugin sources when used, to make it conventient to open it from the IDE. 2016-11-08 15:10:01 +05:30
Japa 7367a8b341 Merged branch develop into develop 2016-11-08 13:40:24 +05:30
Japa ebc1a6d85e Add functions to get and set the pause state in DF 2016-11-08 13:40:08 +05:30
lethosor a5a32bf7b1 Merge branch 'develop' of dfhack/dfhack into develop 2016-11-07 15:07:48 -05:00
lethosor 5fb986bde1 Warn for GCC versions before 4.8 2016-11-07 15:07:27 -05:00
Japa Illo 99051f176b Add a single bool dfproto message, to pausing and checking pause state 2016-11-06 10:08:28 +05:30
lethosor 939b177673 Merge branch 'develop' of dfhack/dfhack into develop 2016-11-02 16:26:33 -04:00
lethosor 04ad7a0a42 Replace some instances of "cmake -E copy_if_different" with a standalone script
@JapaMala reported that CMake < 3.5 doesn't support copy_if_different with
multiple source files.

https://cmake.org/cmake/help/v3.5/release/3.5.html#command-line
2016-11-02 16:23:32 -04:00
Japa e769041983 Fix crash bug in remotefortressreader, that happened every time the user resumed. 2016-11-01 23:34:56 +05:30
Japa a50af3e96c Update stonesense 2016-10-31 22:52:45 +05:30
Japa d8f3d7d8f9 Send dye color with items in remotefortressreader.cpp 2016-10-31 22:52:17 +05:30
Japa 8a66e22522 Merged branch develop into develop 2016-10-31 17:39:02 +05:30
Japa 335607d1f8 Update Stonesense. 2016-10-31 17:38:43 +05:30
lethosor 4941c06654 Only use TBZ2 generator on OS X 2016-10-31 02:06:06 -04:00
lethosor 45ff1a0353 Add architecture to package names 2016-10-31 02:05:46 -04:00
lethosor 2e6c7a90be fix whitespace 2016-10-31 01:58:40 -04:00
lethosor 30f4617abf Merge remote-tracking branch 'ab9rf/labormanager-0.43.05-r1' into develop 2016-10-31 01:56:49 -04:00
lethosor 9e97ccbb50 Use system libruby on osx64 (since ruby 1.8 and 2 are supported now) 2016-10-29 19:08:54 -04:00
lethosor 8b7af8ba09 Merge branch 'develop' of dfhack/dfhack into develop 2016-10-29 19:00:58 -04:00
lethosor 4e7f2b9579 win64 ruby 2 2016-10-29 19:00:28 -04:00
Jon Pamala Illo 82f42addcb Merged branch develop into develop 2016-10-29 13:32:38 +05:30
Jon Pamala Illo ea9992239b Send building items, and send fake item types for boxes and bags. 2016-10-29 13:31:51 +05:30
lethosor a84958a390 Merge branch 'develop' of dfhack/dfhack into develop 2016-10-29 02:40:14 -04:00
lethosor ec222c0b24 Catch exceptions in stockpile (un)serialization
From #964, protobuf exceptions in loadstock/savestock would either fail by only
logging an error to the console (when run from the Lua UI) or by crashing the
game entirely (when run from the console).

Figuring out what actually causes the exceptions in the first place (possibly a
misunderstood structure layout?) would be a better solution than this, but this
will at least stop crashes for now.
2016-10-29 02:35:27 -04:00
Japa 148202bcba Use Binsearch for finding items. 2016-10-29 08:54:27 +05:30
Japa 0edce2b3ae Merged branch develop into develop 2016-10-29 00:28:51 +05:30
Japa 30801697d9 Send items sitting on the floor through remoteFortressReader 2016-10-29 00:28:37 +05:30
jj c640006069 ruby: some more updates for x64, fix df_flagarray size 2016-10-28 16:40:14 +02:00
PeridexisErrant cdf24efe43 Remove plugins - all broken since 34.11
This changes nothing at all as far as any DFHack user is concerned, as
these plugins have not been possible to build since DF 34.11 - and would
have to be rewritten for compatiblity with new native-DF systems.
"treefarm" is additionally replaced by "autochop".

In the unlikely event that a developer wants the source code for
something... that's what version control is for!
2016-10-27 23:35:29 +11:00