Commit Graph

383 Commits

Author SHA1 Message Date
Bjorn Neergaard
1f4017855a Add window locking system/sanity checks
This fixes complaints about windows ending up offscreen or resize
throwing a fit, hopefully
2016-01-03 10:43:03 -06:00
Bjorn Neergaard
777ba0486d Rename the tgui pref and adjust all UI sizes for the rewrite 2016-01-01 17:47:45 -06:00
Bjorn Neergaard
a2bb279164 NanoUI is now 'tgui' 2016-01-01 17:47:44 -06:00
Incoming
84fc69d825 Removes gender restrictions from socks. 2015-12-30 20:53:40 -05:00
tkdrg
1dec16cbb9 Merge pull request #13936 from Shadowlight213/AdminAIToggle2
Makes Admin AI interaction a logged toggle. Take 2
2015-12-27 22:01:01 -03:00
Bjorn Neergaard
75f26e18ac Shrink NanoUI by removing library; tidy up code 2015-12-27 09:25:39 -06:00
Bjorn Neergaard
0cb8d73e93 Fix NanoUI runtimes when data is null; touch up code 2015-12-26 11:00:50 -06:00
Bjorn Neergaard
2b5ea04485 Compile HTML as another asset; improve loading spinner 2015-12-26 01:21:56 -06:00
tkdrg
b6488bad6e Merge pull request #13925 from MrStonedOne/patch-95
Slows down stat panels a bit more
2015-12-23 16:14:17 -03:00
tkdrg
5dec9b12ac Merge pull request #13899 from Incoming5643/Camo_Index_0
Fixes Chameleon Lizards
2015-12-23 02:56:50 -03:00
Shadowlight213
deac088c47 Adds a toggle for Admin AI interaction and makes it logged.
Also fixes Admin interaction with emagging borgs via the robotics console
2015-12-22 18:24:18 -08:00
Kyle Spier-Swenson
cfdcb51f78 Slows down stat panels a bit more
I'll see these rise to the top of profile during high pop while nothing else is going on.
2015-12-22 11:57:11 -08:00
tkdrg
4c4a413943 Merge pull request #13886 from AnturK/denyfreezegreentext
A handful of fixes.
2015-12-22 15:53:08 -03:00
Incoming
166e8ef036 Lizards will no longer be able to change their features/color on the fly with their save file. 2015-12-22 00:51:23 -05:00
AnturK
48b5c9c85f Fixes ghost preferences 2015-12-21 21:37:11 +01:00
tkdrg
c9ad9af2c5 Merge pull request #13809 from AnturK/ghosthudpref
Makes Ghost HUD toggle persistent
2015-12-21 14:36:19 -03:00
AnturK
31a89ff320 Makes inquisitiveness client preference 2015-12-21 17:28:36 +01:00
AnturK
3c26d125a7 Makes Ghost HUD toggle persistent 2015-12-19 15:26:14 +01:00
Incoming
b621fb10d5 Removes special handling for mutant features on cloning. It didn't work and is inconsistent with how the rest of cloning works (it takes a snapshot of how you looked at the moment of death, including things that might not strictly be "genetic" like dyed hair color). 2015-12-18 21:48:06 -05:00
Remie Richards
2e06e88a10 Corrects invalid button in Prefs 2015-12-18 20:12:57 +00:00
Remie Richards
7bab23de9b Adds pentagon as a possible orbit type 2015-12-18 16:12:45 +00:00
Remie Richards
163c84344b Orbit improvements:
* Orbit is now less reliant on Animate(), for most ghosts this means 36 calls to Animate, vs the previous INFINITE, for those of you with potato computers, this should ease the pain and crashing.
* Orbits can now be something different to circles!
* Ghosts Byond Members can now choose between orbits! (Circle, Triangle, Square, Hexagon)
2015-12-18 16:12:42 +00:00
bgobandit
a2241e0f6f Merge branch 'master' of https://github.com/tgstation/-tg-station into lizcannotwag
Conflicts:
	code/modules/client/preferences.dm
	icons/mob/head.dmi
	tgstation.dme
2015-12-17 20:12:32 -05:00
Bjorn Neergaard
487942a09c Reduce NanoUI size by hosting fonts externally
Also resize Cryo to be more compact
2015-12-17 10:15:13 -06:00
Bjorn Neergaard
b00f19e8ee Compile NanoUI into two files 2015-12-17 10:15:11 -06:00
Bjorn Neergaard
15681a727e Combine NanoUI CSS into one file. 2015-12-17 10:12:07 -06:00
oranges
134a76cc8f Line ending apocalypse 2015-12-17 14:12:37 +13:00
Bjorn Neergaard
da4842dddf Make NanoUI resistant to Topic spoofs
Move Topic() into a NanoUI-specific ui_act proc
Update to @YotaXP's latest JSON code.
Return focus to the mapwindow if a key is pressed in a NanoUI.
2015-12-15 22:37:52 -06:00
Bjorn Neergaard
57a1f6c695 Enable NanoUI to go chromeless
Add a new 'Fancy NanoUI' preference to enable chromeless mode
2015-12-15 13:13:12 -06:00
Bjorn Neergaard
5678dfcbd1 Prefix everything with 'nanoui' to avoid conflicts 2015-12-15 13:12:33 -06:00
Bjorn Neergaard
c3442475fa Modularize CSS and JS; SVG
Purge NanoUI assets as we now have a gorgeous Nanotrasen SVG logo
Thanks to @YotaXP for helping me with cleaning up the logo
2015-12-15 13:11:56 -06:00
Bjorn Neergaard
f089428e63 Coffeescript; Bower; Gulp; asset_cache
We now write frontend code in Coffeescript, alongside our LESS.
PostCSS adds hacks to make CSS work on old versions of IE.
Bower is used to manage dependencies.
Gulp is used to build the code.

Images are dropped in favor of SVG or CSS effects.

NanoUI is now a 'simple' asset in the asset_cache
2015-12-15 13:09:51 -06:00
Bjorn Neergaard
979e71ea26 Restructure NanoUI frontend; use build tools
Yes, you now need Node.js... I'm sorry, but this makes
it so much easier to write NanoUI.

We now precompile all the things...
2015-12-15 13:09:04 -06:00
Bjorn Neergaard
8fdfa08e58 Port NanoUI styles to LESS 2015-12-15 13:08:27 -06:00
Bjorn Neergaard
a0c54eba97 Begin rewrite of NanoUI frontend.
* Remove jQuery in favor of polyfills.
* Make NanoUI work with IE8-IE11
* Upstream doT
* Change NanoUI template syntax
* Event driven code
2015-12-15 13:07:11 -06:00
bgobandit
c1e2f9b436 missing copy proc 2015-12-12 15:22:18 -05:00
bgobandit
0b505eeff0 cloning buffer 2015-12-12 15:15:34 -05:00
Bjorn Neergaard
34b717afb4 radio_controller -> SSradio, SSbp -> SSnpc 2015-12-04 22:25:24 -06:00
Bjorn Neergaard
97ca70cd34 Rework Master Controller, Failsafe, and Subsystem code 2015-12-04 15:40:58 -06:00
Kyle Spier-Swenson
59963b89b5 quant --> quaint 2015-11-29 08:00:33 -08:00
MrStonedOne
921c9eede1 Asset cache Fixes
Fixes asset cache locking up the MC initialization at world start.
Fixes asset cache not pre-loading resources to clients that connect from a world reboot.
Fixes a null reference runtime relating to the client disconnecting at the wrong time (I still conciser this to be a byond bug)
Fixes crew monitor registering assets because they exist
Fixes crew monitor trying to send zlevel assets for zlevels it hasn't processed.
Fixes nano ui sometimes not sending the template asset to the client on open.
2015-11-29 07:19:49 -08:00
Razharas
e0a14d899d Merge pull request #13267 from tkdrg/give_me_a_banjob_baby
Jobban cleanup & performance improvements
2015-11-29 12:00:01 +03:00
Razharas
2f0a221c8c Merge pull request #13276 from MrStonedOne/patch-74
Removes spawn(rand(10,150)) from client database syncing
2015-11-29 11:57:05 +03:00
Tkdrg
598fea785e Jobban cleanup & performance improvements
Clients now cache their jobbans to save on DB queries.
Legacy jobbans and "new" (savefile) jobbans have been removed.
These are old cruft that has been unused for years, and since we require
a DB for notes anyway we might as well just get rid of the legacy stuff.

I considered removing legacy bans as well, but I was unsure if that
would go way beyond the scope of this PR (my main goal here is making
jobban_isbanned not awful).

Also note that this was basically untested, as I do not have a test
database. Any help testing this would be much appreciated.
2015-11-28 12:35:54 -03:00
Kyle Spier-Swenson
89cf8fd112 Removes spawn(rand(10,150)) from client database syncing
This was a shitty way to do this, and the overhead from spawn() makes it not worth it now that the database is local to the server.
2015-11-28 00:08:28 -08:00
Bjorn Neergaard
6005d54d40 Update NanoUI to use the asset_cache system
Also move a bunch of folders around.
2015-11-28 00:56:30 -05:00
Kyle Spier-Swenson
17d67bbf67 Fixes clients sometimes not getting verbs for a while 2015-11-25 10:28:30 -08:00
Razharas
e0508ad572 Merge pull request #13050 from MrStonedOne/connectlagfixthankspjb
[Ready] Fixes the 2 minutes of interface lag (such as ready button not working) when a client connects.
2015-11-25 20:43:45 +03:00
MrStonedOne
ca4f4201e7 Asset Cache improvements!
Adds crew monitor to the asset cache system
Adds paper to the asset cache system

Added a way to send files to the client slowly without clogging up the queue. (This isn't technically "safe", but the client would only have issues if they didn't have that file already (rare), and only if they used a window that needed that asset (currently only nanoui windows) within the first 15 to 90 seconds of connecting (depending on ping))

Makes NanoUI use this slow send system to blindly send it's asset files. (Once bay's nanoui is ported, i'll improve this so that nanoui fully implements asset cache checking)

Makes asset cache use this system to send all registered asset files, so that ui windows don't have to wait for them if the client's been connected a while.
2015-11-25 02:11:04 -08:00
MrStonedOne
f5deff001b Removes debugging asset cache line
Keeping it in because i'm going to need it when I bring nanoui in to this system.
2015-11-24 23:41:25 -08:00