Commit Graph

124 Commits

Author SHA1 Message Date
Guangcong Luo
baded81275 Fix new protocol challenge/searching 2013-05-23 22:38:05 -05:00
Guangcong Luo
fa3951d83b Support response to /query on the new protocol 2013-05-23 19:49:56 -05:00
Guangcong Luo
4b8db37027 Support updateuser and formats in same message 2013-05-22 23:38:13 -05:00
Guangcong Luo
b2315f57f9 Implement new protocol name taken message 2013-05-22 22:03:09 -05:00
Guangcong Luo
23c6e73e97 Support custom avatars in new protocol 2013-05-22 21:34:54 -05:00
Guangcong Luo
cc2ee46d44 Support new protocol for user updates 2013-05-22 21:25:39 -05:00
Guangcong Luo
156e629827 Support new protocol for sending/receiving requests 2013-05-22 21:09:05 -05:00
Guangcong Luo
fce4b4130d Better support for tablets 2013-05-22 18:29:25 -05:00
Guangcong Luo
e3a9ab68af Clear global events every once in a while
This should presumably fix a memory leak from jslider binding
global events and not bothering unbinding them or even making them
easy to unbind.
2013-05-22 16:03:02 -05:00
Guangcong Luo
56a6933336 Fix bug with teambuilder tiers 2013-05-21 23:19:12 -05:00
Guangcong Luo
59462b4573 Suspect tests don't get separate teambuilder formats 2013-05-21 21:43:02 -05:00
Guangcong Luo
13f6e623bb Suppress any crash in requestPermission 2013-05-21 17:22:14 -05:00
Guangcong Luo
5ef0a6b3c7 Load saved volume options 2013-05-21 16:49:36 -05:00
Guangcong Luo
ded6412275 Rearrange options 2013-05-21 16:46:00 -05:00
Guangcong Luo
32ce293fc3 Refactor sending messages
Sending from any room can now use the send queue, and support
for sending JSON objects is nearly completely removed; used
only for initialization on old servers.
2013-05-21 16:19:10 -05:00
Guangcong Luo
3e5111d88e Fix crash when clicking before rooms load 2013-05-21 16:17:28 -05:00
Cathy J. Fitzpatrick
6a66e8107a Fix checking for socket not being open yet 2013-05-21 15:55:29 -05:00
Cathy J. Fitzpatrick
bfb012a771 Fix another bug in initializeConnection 2013-05-21 07:26:58 -05:00
Guangcong Luo
c00dcc8e23 Don't send JSON join message to the main server 2013-05-21 07:05:18 -05:00
Cathy J. Fitzpatrick
f2451d949d Fix semi-critical bug in initializeCrossDomainConnection 2013-05-21 06:56:27 -05:00
Cathy J. Fitzpatrick
d52be2c250 Fix crash when connecting via TLS the first time 2013-05-21 02:58:39 -05:00
Guangcong Luo
f5962f5487 Fix crash in Chrome 23 2013-05-21 02:57:13 -05:00
Cathy J. Fitzpatrick
70102adff5 Merge branch 'client-overhaul' 2013-05-20 22:56:05 -06:00
Guangcong Luo
50826659c8 Version 0.9.0 2013-05-20 23:54:07 -05:00
Guangcong Luo
e2efaebf86 Pref to turn off background 2013-05-20 23:19:40 -05:00
Guangcong Luo
b92b7a32dd Replace loadteams event with loadprefs
init:loadprefs replaces init:loadteams and now fires when
all preferences and teams are loaded.
2013-05-20 22:40:12 -05:00
Guangcong Luo
18faee531a Option to hide PMs from lobby chat log 2013-05-20 19:22:36 -05:00
Guangcong Luo
1ee11446cc Support new PM syntax 2013-05-20 19:19:33 -05:00
Guangcong Luo
d4a5eb59e7 Support new popup syntax 2013-05-20 19:15:40 -05:00
Guangcong Luo
9e85fcb81b Make sure popups aren't scrolled down
In popups, sometimes the autofocused element is offscreen.
Even then, the popup shouldn't start scrolled down.
2013-05-20 17:28:47 -05:00
Cathy J. Fitzpatrick
ae92fc6f02 Refactor: Use Config.origindomain in two more places 2013-05-20 16:27:08 -05:00
Guangcong Luo
1e469693a9 Saved avatars are used 2013-05-20 15:54:47 -05:00
Cathy J. Fitzpatrick
2cc995348d Remember last used unregistered username 2013-05-20 15:06:48 -05:00
Cathy J. Fitzpatrick
97061b9df5 Merge branch 'client-overhaul' 2013-05-20 05:35:23 -06:00
Cathy J. Fitzpatrick
3937ff775f Delete the handler for the disconnect JSON event
Nothing in the server actually emits the `disconnect` event, so the
client does not need to handle it.
2013-05-20 06:33:48 -05:00
Cathy J. Fitzpatrick
512df0ca6b Support the nameTaken JSON event 2013-05-20 06:33:11 -05:00
Cathy J. Fitzpatrick
85cd98bd89 Add missing semi-colon 2013-05-20 05:07:39 -06:00
Cathy J. Fitzpatrick
de37e7e549 Add missing semi-colon 2013-05-20 04:53:08 -06:00
Cathy J. Fitzpatrick
7ee5d266f0 Update references to dev.pokemonshowdown.com 2013-05-20 03:22:51 -06:00
Cathy J. Fitzpatrick
0795f89207 Refactor: Introduce Config.defaultserver.httpport 2013-05-20 02:57:29 -06:00
Cathy J. Fitzpatrick
5042a68865 Move origindomain to Config.origindomain 2013-05-20 02:47:11 -06:00
Cathy J. Fitzpatrick
4d12ab5541 Support deploying on play.pokemonshowdown.com 2013-05-20 02:44:20 -06:00
Guangcong Luo
5b764d1032 Improve console logging 2013-05-19 05:03:08 -05:00
Cathy J. Fitzpatrick
2b2b4e5780 The canonical URI for the website is now pokemonshowdown.com 2013-05-18 17:51:57 -05:00
Cathy J. Fitzpatrick
6cdfc740b4 Bandwidth-optimise the nojoin flag 2013-05-17 19:12:08 -06:00
Guangcong Luo
84335135aa Don't overwrite ban message with disconnect message 2013-05-16 21:43:36 -05:00
Guangcong Luo
df15177b14 Make sure popups don't stretch layout 2013-05-16 15:01:32 -05:00
Guangcong Luo
e9b621e29d Custom popup positioning
This is used to make the userlist popup show up to the right
2013-05-16 14:52:05 -05:00
Guangcong Luo
07b863b8e1 Workaround for a race condition while loading 2013-05-15 23:09:47 -07:00
Guangcong Luo
25169f7be2 Appearance tweaks to popups 2013-05-15 00:10:17 -07:00