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
070a081db8
Improve focus code; fix SVG
...
Replace the NT SVG with a better version
Always try to give focus back to the mapwindow
Also make links more obvious
2015-12-15 19:41:56 -06:00
Bjorn Neergaard
9a3b9f8166
Add a loading spinner to NanoUI...
...
This is kinda dirty because we use external resources; however, the
point is that if assets are not loaded, we need to show a spinner.
2015-12-15 15:00:44 -06:00
YotaXP
2869b1cf61
Re-write JSON writer to output valid JSON
...
How the old one worked, I don't know...
We don't have a reader yet, but we don't use a reader sooo...
2015-12-15 14:41:34 -06:00
Bjorn Neergaard
88ed7623fc
Re-organize nanoui.dm
2015-12-15 14:26:19 -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
47b727a23e
Rework how NanoUI handles Topic()
...
Also, add the ability to winset and the like, all from Javascript
2015-12-15 13:12:35 -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
Shadowlight213
3c35ac809e
Hopefully finally fixes the nanoui issue.
2015-12-06 23:24:01 -08:00
Bjorn Neergaard
a004c0048e
Fix AI NanoUI checks
...
view() is broken...
2015-12-03 15:53:27 -06:00
Razharas
928c23e4d4
Merge pull request #13390 from neersighted/nano_subsys_tweak
...
Tweak NanoUI Subsystem code
2015-12-03 23:10:07 +03:00
Jordie
428ad00bb4
Merge pull request #13395 from neersighted/nano_touchup
...
Fix NanoUI for admin ghosts.
2015-12-03 14:24:43 +11:00
Bjorn Neergaard
864caa9d62
Hotfix for Cryo (JSON problems) and render issues (Internet Explorer)
...
Blame MSO
2015-12-02 19:48:16 -05:00
Bjorn Neergaard
1d60873949
Fix NanoUI for admin ghosts.
...
Also, rename the base state file.
2015-12-02 12:53:36 -06:00
Bjorn Neergaard
5a4089432c
Tweak NanoUI Subsystem code
2015-12-02 09:15:21 -06:00
Remie Richards
d909c1e82d
Merge pull request #13348 from neersighted/spooky_nanoui
...
Allow ghosts to use any NanoUI interface.
2015-12-02 14:15:33 +00:00
Jordie
8425b5c4cf
Merge pull request #13346 from neersighted/nano_tweaks
...
Tweak some NanoUI stuff
2015-12-02 15:54:02 +11:00
Razharas
b864503724
Merge pull request #13336 from neersighted/chem_nanoui_fixes
...
Remove calls to a private NanoUI proc from Chemistry-Machinery
2015-12-02 00:40:52 +03:00
Bjorn Neergaard
3428e0e734
Fix NanoUI display issues
...
Apparently newer version of IE choke on this, and we target newer
versions anyway...
2015-12-01 00:22:50 -05:00
Bjorn Neergaard
6f098e8298
Allow ghosts to use any NanoUI interface.
2015-11-30 23:34:59 -05:00
Bjorn Neergaard
b4bcaa3930
Tweak some NanoUI stuff
...
Sanitize config_data
Log open UIs
2015-11-30 22:21:26 -05:00
Bjorn Neergaard
339369bc63
Remove calls to a private NanoUI proc from Chemistry-Machinery
...
Also mark procs as private (because they should have been private the whole time).
Get off my lawn!
2015-11-30 14:40:10 -06:00
Razharas
78c95ab035
Merge pull request #13317 from neersighted/airlock_electronics
...
NanoUI Airlock Electronics
2015-11-30 20:43:33 +03:00
Bjorn Neergaard
df02a33f3d
Remove redundant NanoUI checks
2015-11-29 17:49:29 -05:00
Bjorn Neergaard
8ba095a931
Fix a typo
2015-11-29 16:56:22 -05:00
Bjorn Neergaard
f214e547cb
NanoUI Airlock Electronics
...
Also reworks a lot of the AE code.
2015-11-29 11:32:56 -06:00
Bjorn Neergaard
adbed52515
Tighten type signatures
2015-11-28 20:57:06 -06:00
Bjorn Neergaard
a97f22c2bb
TK allows you to use NanoUI at a distance ❄️
...
❄️
2015-11-28 20:43:41 -06:00
Bjorn Neergaard
26a9a7a32f
Change NanoUI brainloss checks
...
Coderbus bitched... ❤️
2015-11-28 20:04:01 -06:00
Bjorn Neergaard
d400927522
Fix some NanoUI checks
...
Canisters require physical access and nothing else.
NanoUI checks Brain Damage by default.
2015-11-28 19:58:34 -06:00
Bjorn Neergaard
959b96b16d
Fix up NanoUI states; add snowflake for Drones
...
Drones are simple_animals?! Why?!
This should let drones use all the things. They have to be nearby,
though.
2015-11-28 12:27:42 -05: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
Bjorn Neergaard
2feedfa009
Update Cryo, NanoUI states, add new contains() helper
2015-11-27 21:21:52 -05:00
Bjorn Neergaard
83a2d64b25
Update NanoUI Javascript libraries, SMES UI
2015-11-27 01:13:30 -05:00
Bjorn Neergaard
6a6262d6b2
Finish refactor/retooling of NanoUI core
...
Also:
* Fix NanoUI on IE11+
* Add missing files (oops!)
2015-11-26 22:17:53 -05:00
Bjorn Neergaard
94e114fee7
Correct several oversights
2015-11-26 07:11:32 -05:00
Bjorn Neergaard
588a170c8d
Fix NanoUI debug verb
2015-11-26 07:11:32 -05:00
Bjorn Neergaard
1a44e3d851
Refactor NanoUI API
...
Also update NanoUI-using code to the new API.
2015-11-26 07:11:31 -05:00
Bjorn Neergaard
5e9c0adc3b
Add NanoUI debug verb
...
A quick tool that helps me reload templates.
Also refactor NanoUI resource code a bit.
2015-11-26 07:11:29 -05:00
Bjorn Neergaard
a1bae60b25
Remove Bay's minimap-generating code.
...
We have our own in the crew computer we will use.
2015-11-26 07:11:28 -05:00
Bjorn Neergaard
56e359efb8
Refactor JSON
...
* Move into seperate module
* Use aboslute pathing
2015-11-26 07:11:28 -05:00
Bjorn Neergaard
4e5edf396a
Update NanoUI
...
* Update NanoUI to the latest version, ported from Baystation12
* Update the Air Alarm UI
* Make changes to subsystems and some machines to make the new NanoUI
work
2015-11-26 07:11:27 -05: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
Firecage
4688c2c969
Fixes proc arguments
2015-07-15 23:52:35 +02:00
phil235
3f57259c69
Merge pull request #9466 from Fayrik/TheNanoing
...
The Nanoing (Episode 2: The Fix Wars)
2015-06-22 14:24:20 +02:00