Commit Graph

8544 Commits (0a0cbdf2de988fb6d3de9a169eb4cf56cf163acc)
 

Author SHA1 Message Date
Ben Lubar bfe7a90ec0 add NOMINMAX to Windows.h includes 2016-05-21 19:54:20 -05:00
Ben Lubar 700392ba55 Fix tinythread memory leak in two ways:
1. update to tinythread version 1.1, which provides a detach method
2. move the thread disassociation to the join function, which allows
attached threads to be joined even after they finish (this was the main
leak)

Also update RemoteServer.cpp to detach threads and delete the thread
objects instead of leaking them (although they are much smaller than the
actual threads).
2016-05-21 19:17:08 -05:00
Warmist 6c64b3441d Fixes to gui/advfort.lua 2016-05-20 13:55:59 +03:00
lethosor dabf443260 Merge remote-tracking branch 'eswald/stockflow-43' into develop 2016-05-17 23:29:01 -04:00
lethosor d93cf2cd2e Update xml 2016-05-17 23:26:21 -04:00
lethosor d198bf547a Unit list search: reset cursor position to 0 before switching pages
On empty lists, pressing "up" sets the cursor position to -1. This results in a
crash if the list is populated, which the search plugin does before switching
pages.

Fixes #928
2016-05-17 23:23:54 -04:00
Eric Wald 3f0857bff3 Incrementing the manager order id properly.
There's a chance that not doing so could lead to a crash, somehow.
2016-05-16 19:48:52 -06:00
lethosor a8f9f912c9 Merge remote-tracking branch 'eswald/stockflow-43' into develop 2016-05-16 20:40:50 -04:00
lethosor b215204b2f Merge remote-tracking branch 'eswald/workshop-profile-search' into develop 2016-05-16 20:32:51 -04:00
Lethosor 0124de9b66 Merge pull request #920 from PeridexisErrant/items-4301
Add new item descriptions for DF 43.01
2016-05-16 20:32:01 -04:00
Eric Wald 11a0bea002 Moving a search option to the bottom of the screen.
The list of workers in the workshop profile page can take nearly the full height of the screen.
2016-05-15 22:49:35 -06:00
Eric Wald 2df41e6bad Clearing the active flag for new stockflow orders.
It's not entirely clear what this flag does when there aren't any conditions on the order, but new manual orders start as Ready instead of Active.
2016-05-15 22:06:20 -06:00
Eric Wald 0b1004f2b8 Notice resizing immediately, instead of on next key press 2016-05-15 09:14:30 -06:00
Eric Wald 6add87b358 Simplifying key strings 2016-05-15 08:58:45 -06:00
Eric Wald b68cff0384 Removing stockflow and workflow from the example dfhack.init
They're no longer necessary, now that the default manager interface has been improved.
2016-05-14 23:44:25 -06:00
Eric Wald 6575f5f412 Removing the quantity limit on stockflow orders. 2016-05-14 23:40:01 -06:00
Eric Wald 3e8d4f9257 New command for clearing the stockpile order.
Shift-Space by default, using the SETUPGAME_SAVE_PROFILE_ABORT key.
2016-05-14 23:35:07 -06:00
Eric Wald 8c7d5366c9 Switching to the new manager order flags 2016-05-14 23:33:38 -06:00
Eric Wald 02e0b9e721 Manager interface now uses the full height.
Its navigation behavior has also changed, and it now has key hints for navigation.
2016-05-14 22:42:49 -06:00
lethosor b7aa8aca26 Update xml 2016-05-14 22:27:21 -04:00
Ben Lubar 3af24507a3 adjust autogems to work with the workshop profile changes 2016-05-14 20:15:49 -05:00
lethosor 1832e563b7 Update xml 2016-05-14 19:41:41 -04:00
lethosor a6c10307b0 Reset terminal color on exit 2016-05-14 19:39:10 -04:00
lethosor 8fd25f7320 Set prerelease flag again 2016-05-14 16:07:35 -04:00
lethosor a89251cdf8 Find job in job screen 2016-05-14 16:07:27 -04:00
lethosor 118d88e44f Update xml 2016-05-14 16:07:10 -04:00
lethosor 55e58e5f06 Update handling of viewscreen_workshop_profilest in Gui module, search/sort plugins 2016-05-14 11:43:37 -04:00
lethosor 35de4e34b0 devel/save-version: add 0.43.01/02 2016-05-12 16:03:52 -04:00
lethosor 97f7cd6081 Bump version and update xml 2016-05-12 16:03:33 -04:00
lethosor 74898a5424 createitem: move all created items to cursor if applicable 2016-05-11 17:54:37 -04:00
lethosor fee6e57b40 Disable viewscreen_layer_workshop_profilest focus handler for now 2016-05-11 17:52:56 -04:00
lethosor ed81be16b3 Improve logging of vtable interpose errors 2016-05-11 17:52:10 -04:00
lethosor 38051a5a48 remove tweak manager-quantity 2016-05-11 17:51:57 -04:00
lethosor e0a0a26739 ANY_GENERIC35 -> 36 2016-05-10 17:57:15 -04:00
lethosor 52f99f4285 Fix cursor position directions for process_dig/jobs scan 2016-05-10 17:49:12 -04:00
lethosor b53f829737 Update to 0.43.01-alpha0 and update xml 2016-05-10 17:48:50 -04:00
PeridexisErrant c7bdd600ea Add new item descriptions for DF 43.01 2016-05-10 22:46:36 +10:00
lethosor c1e44c178f Add on_click/on_rclick handlers to widgets.Label
Closes #919
2016-05-09 21:30:34 -04:00
lethosor 8b8b58faef Update NEWS.rst and Authors.rst 2016-05-09 21:03:12 -04:00
lethosor d93cbd709e Merge remote-tracking branches 'warmist/fixpositions', 'warmist/gm_editor_changes', 'rubybrowncoat/feature/fix-multiquality-gui-create-item' and 'AtomicChicken/item-trigger-fix' into develop 2016-05-09 20:55:14 -04:00
Warmist c283e85fd5 Fix whitespace 2016-05-08 12:10:36 +03:00
Warmist dde7d151b7 Fix few bugs with fix/diplomats.lua and fix/merchants.lua 2016-05-08 09:39:28 +03:00
Lethosor e40838805a Merge pull request #915 from warmist/warmist-patch-1
Fix gui/mod-manager
2016-05-05 07:41:08 -04:00
Warmist 88d1a79c0c Fix gui/mod-manager
it fails if mods folder does not exist
2016-05-05 13:47:29 +03:00
Japa 46d93b1d7f Merge branch 'develop' of https://github.com/DFHack/dfhack into develop 2016-05-02 20:59:07 +05:30
Japa 56f2603097 Send over rivers through remotefortressreader.cpp 2016-05-02 20:58:36 +05:30
Matsor Browncoat ce3c9d06a0 Fixed quality in gui/create-item with -multi.
When -multi option is selected, gui/create-item doesn't set quality neither on stackable nor unstackable items. Fixed this quirk.

No refactoring or optimizations. Just moved a variable and added code inside the createItem function.
2016-05-01 19:50:03 +02:00
Warmist a5a61ce6b0 I think i got the perfect message now. 2016-04-30 23:06:38 +03:00
Warmist 523638a899 Add news entry 2016-04-30 22:13:38 +03:00
Warmist 3ee829f05b Allow to insert ints and other simple types. Also allow inserting of same base type as the container.
Also simplify it a bit.
2016-04-30 22:10:01 +03:00