Guangcong Luo
8132ab5981
Use PM.isParentProcess to detect parent/child process
2018-01-18 04:24:49 -06:00
Guangcong Luo
ab1f995daa
Rewrite Process Manager
...
Process Manager is now lib/process-manager.js
It's been entirely rewritten to reflect what I think a process manager
API should look like.
In particular, there are now two Process Managers, QueryProcessManager
and StreamProcessManager.
Pass QueryProcessManager a pure-ish query function (sync or async) that
takes a JSON value and returns a JSON value, and PM.query() will
execute that function in a subprocess, and return a Promise for its
return value.
StreamProcessManager is the same idea: Pass it a function to create an
ObjectReadWriteStream, and PM.createStream() will create a stream in a
subprocess and return a stream connected to it.
2018-01-18 03:34:16 -06:00
Jeremy Piemonte
7ba4eb62d1
Datasearch: Consistently capitalize Gen in UI ( #4309 )
2018-01-05 10:05:33 -06:00
Marty-D
4f5427eb95
Fix "irregular whitespace" in previous commit
2017-12-28 16:23:32 -05:00
Caleb Young
205cf11901
Fix for...of bug in /learn command ( #4290 )
2017-12-28 16:07:41 -05:00
Guangcong Luo
cb1e1133be
Fix bugs from for-of refactor
2017-12-28 12:28:40 -05:00
Kris Johnson
a6ce5c9dc1
Refactor chat-plugins and formats to for...of ( #4288 )
2017-12-28 05:22:28 -06:00
Jeremy Piemonte
e0c08eafba
Standardize help commands ( #4285 )
2017-12-27 19:35:32 -06:00
Teremiare
c8fadb61c9
Dexsearch: don't show nfe pokemon as lc ( #4262 )
2017-12-18 15:33:06 -06:00
Guangcong Luo
193e948592
Move crashlogger.js -> lib/crashlogger.js
2017-12-16 15:40:45 -06:00
Guangcong Luo
738c60ed8b
Move repl.js -> lib/repl.js
2017-12-16 15:40:45 -06:00
Kris Johnson
37b84a021d
Datasearch: Fix zboosts and add protect flag ( #4225 )
2017-12-08 16:03:32 -06:00
urkerab
59a3e299e8
Allow OU dexsearch to find (OU) ( #4209 )
2017-12-03 08:54:35 -06:00
Guangcong Luo
f4e535bbd6
Enforce consistent key spacing
...
This was previously not enforced because we used `:1` in too many
places, but those places seem to all be refactored out at this point.
2017-12-01 08:16:23 -06:00
Guangcong Luo
9bdf674d5f
Refactor more tables to arrays
...
See #4079
Now we're just missing oldgens.
2017-11-30 19:40:16 -06:00
Guangcong Luo
022839335f
Add Gen 2 Virtual Console moves
2017-11-24 18:51:32 -06:00
Guangcong Luo
bb5761c9a1
Fix chat plugins using old checkLearnset
2017-11-02 13:51:20 -04:00
Guangcong Luo
0e728281e6
Move team-validator to sim/team-validator
2017-11-01 05:22:37 -05:00
Insist
fb2a8b1e3a
Dexsearch Help: Fix spelling ( #4106 )
2017-11-01 04:34:21 -05:00
MacChaeger
86bbf874b0
/itemsearch: Fix using the 'all' parameter ( #4091 )
...
Previously, the command allowed users to broadcast with ', all'
I removed the ',all' option because the command doesn't support separating words with just a comma anyway.
2017-10-29 13:21:41 -05:00
Guangcong Luo
21c9063588
Fix syntax error
2017-10-28 11:51:08 -05:00
Kris Johnson
703882d41d
Update /ds and /ms descriptions ( #4089 )
2017-10-28 11:11:15 -05:00
urkerab
83dc4b07d9
/ds<N> single result details should be for gen<N> ( #4051 )
2017-10-11 19:15:19 -05:00
Spherical Ice
46634c5382
Properly format the word Pokémon in datasearch ( #4043 )
2017-10-07 16:23:43 -05:00
CheeseMuffin
1ef6c5546b
Dexsearch: Fix more maxgen bugs ( #4005 )
2017-09-23 16:51:34 -05:00
CheeseMuffin
54cce22642
Dexsearch: fix maxgen parameter ( #4004 )
2017-09-21 23:26:50 -05:00
Guangcong Luo
f6f79459db
Fix datasearch constructor crash
2017-09-05 05:40:45 -04:00
CheeseMuffin
ae894c5947
Dexsearch: Add Ubers alias ( #3902 )
2017-08-30 08:57:30 -04:00
CheeseMuffin
2ae3ad7c11
Dexsearch: Fix types, and randmove ( #3879 )
2017-08-12 17:30:06 -07:00
CheeseMuffin
0a206452cc
Dexsearch: Add CAP LC and CAP NFE as tiers ( #3865 )
2017-08-07 21:05:57 -05:00
Marty-D
d1aa17251b
Fix movesearch bugs
2017-08-05 17:02:48 -04:00
CheeseMuffin
745c196603
Dexsearch: minor improvements ( #3755 )
2017-08-02 19:36:13 -04:00
CheeseMuffin
aaf68f092e
Dexsearch: fix CAP tiering ( #3851 )
2017-08-01 22:43:15 -04:00
Shashwat Chandra
33c7330ea5
Add lowers filter for /movesearch ( #3811 )
2017-07-26 15:09:12 -04:00
asgdf
e9e66afa0c
Fix priority shorthand parameter in movesearch ( #3828 )
...
'priority+' now includes priority +1, and 'priority-' includes -1
2017-07-24 15:33:27 -07:00
Guangcong Luo
2b1d7b2cc3
Properly fix crash in /learn
2017-07-20 16:33:40 -05:00
urkerab
147639c8b7
LC search should only use the banlist, not the LC Uber tier ( #3756 )
2017-07-09 20:37:10 +04:00
jumbowhales
6c6e9177b9
datasearch, add is as an itemsearch alias ( #3743 )
...
there's already ds and ms
2017-07-07 15:46:05 +09:00
Guangcong Luo
95e8bebeaf
Revert "ProcessManager: refactor, fix memory leak, use Typescript ( #3706 )"
...
This reverts commit c9b93d3529 .
2017-07-02 08:11:18 -04:00
Ben Davies
c9b93d3529
ProcessManager: refactor, fix memory leak, use Typescript ( #3706 )
...
- spawning and setting up child processes is now handled by
ProcessManager#constructor rather than needing to be done manually for
each module that uses ProcessManager
- direct references to ProcessManager in ProcessWrapper were removed to
prevent dead ProcessWrapper instances from being leaked when hotpatching
- process-manager.js and verifier.js now use Typescript
2017-06-30 09:09:13 +09:00
Bär Halberkamp
961ffc3f9b
Upgrade eslint to 4.x ( #3657 )
2017-06-18 22:37:43 -07:00
Guangcong Luo
47a35b7b45
Refactor dexsearch
...
- Icons and names now both show up, margins tweaked to look good
- Results are now clickable
2017-06-18 21:56:34 -04:00
Bär Halberkamp
b678247ba6
Datasearch: get rid of commas in between icons
2017-06-18 17:26:00 -04:00
Bär Halberkamp
92aa82794d
Add usage of <psicon> ( #3653 )
...
* Add support for <psicon> to parseText
* Utilize <psicon> in giveaways
* Utilize <psicon> in /dexsearch and /itemsearch
2017-06-17 17:48:47 -07:00
asgdf
8299bcc2bf
Fix inequality operators in /ms to not include equal values ( #3648 )
2017-06-16 15:39:52 -05:00
CheeseMuffin
83e9bda113
Fix typo in randmove ( #3636 )
2017-06-14 12:57:08 -05:00
CheeseMuffin
422cc57459
Add randmove command ( #3599 )
2017-06-13 21:36:15 -05:00
urkerab
276c4ad116
Dexsearch should use exact inequalities instead of fudging the comparison value ( #3582 )
2017-06-06 09:16:03 -05:00
urkerab
a4bbede19b
Dexsearch should use the Gen 7 LC banlist ( #3586 )
2017-06-06 02:24:18 +04:00
CheeseMuffin
0d62603397
Dexsearch: Add height ( #3580 )
2017-06-05 11:55:29 -05:00