Commit Graph

48 Commits

Author SHA1 Message Date
Bryan Ashby 13d104c840 * A lot of cleanup in ViewController
* ViewController.getFormData()
* Lots of WIP work on fse.js & multiple forms
2015-07-04 12:02:37 -06:00
Bryan Ashby 658c64c8c8 * Bunch of WIP on new setPropertyValue() stuff making it easier to set props from JSON 2015-06-29 23:14:17 -06:00
Bryan Ashby 670bf0fd6e * Load fse stuff from menu.json. Will use form 0..n 2015-06-27 15:32:29 -06:00
Bryan Ashby 32fdbab88d * Very very early work on FSE module 2015-06-25 22:34:33 -06:00
Bryan Ashby 832442288e * Some mostly placeholder work for @art, etc. in View properties (e.g. menu.json)
* Lots of work on MultiLineEditTextView2. WIP text insertion, retrieval, etc.
* Tabs working good at a basic level
2015-06-06 19:34:55 -06:00
Bryan Ashby feab2e0233 * Some SyncTERM / EtherTerm key support for new key system
* Break long words for word wrap if required
* Lots of cursor movement improvements for MultiLineEditText2
* Code cleanup
2015-06-06 00:33:59 -06:00
Bryan Ashby 8a17ca694e * Most everything converted to new 'key press' system. Still WIP, some cleanup & probably a few keys to add for various BBS style terminals 2015-06-05 16:20:26 -06:00
Bryan Ashby dd0568f207 * Most of new key/DSR implementation in place... a bit more to go with separation of ch vs key & cleaing up the two handlers -> one onKeyPress 2015-06-04 22:29:14 -06:00
Bryan Ashby 0d9add70bd * Moved menus -> menus.json::menus
* Move prompts -> prompts.json::prompts
* Default to 80x25 if NAWS/ENV/CPR term size negotiations fail. Seeing this with Netrunner. May need more work.
2015-05-15 23:02:58 -06:00
Bryan Ashby a96af34a20 * Lots of code cleanup
* New standard MCI codes for labels
* WIP MaskEditTextView
* Extra styles for EditTextView
2015-05-14 23:01:00 -06:00
Bryan Ashby 4e2c21059a * Distinct "menus" vs "prompts" for theme.json so conflicting names can occur
* Add support for theming prompts
2015-05-14 14:56:02 -06:00
Bryan Ashby 34bf823f1f * Some solid progress on themeing / customization via theme.json 2015-05-13 22:21:55 -06:00
Bryan Ashby 767319e234 * Some notes 2015-05-12 23:23:22 -06:00
Bryan Ashby 2aa43295e3 * Start on new theme re-work
* theme_info.json -> theme.json
* Allow pipe codes for styleSGRx
2015-05-12 23:04:22 -06:00
Bryan Ashby 62da937bf0 * Support for textOverflow (e.g. "...") in TextView/EditTextView
* Show text starting from the begining when non-focus for long EditTextView
2015-05-07 22:13:12 -06:00
Bryan Ashby bd2253aec0 * justify can be specified via menu.json 2015-05-07 16:43:00 -06:00
Bryan Ashby cdfb7ce6f2 * Start work on VerticalMenuView changes allowing scrolling views. Lots to go. 2015-05-05 22:19:21 -06:00
Bryan Ashby 6dfda0e6d4 * Properly handle item spacing in VerticalMenuView 2015-05-04 15:39:48 -06:00
Bryan Ashby 3f92a7949d * Some code cleanup
* Lots of notes/thoughts
2015-04-30 22:29:24 -06:00
Bryan Ashby e8346779da * styleColor -> styleSGR1, styleSGR2 2015-04-30 16:41:43 -06:00
Bryan Ashby 04c85d2311 * Fix MCI colors. Everything working well so far! 2015-04-30 14:39:03 -06:00
Bryan Ashby 48be2f69be * Start work on new ANSI parser color/style system. Mostly notes. Will do in bulk later
* Start of styleColorX concept
2015-04-28 22:42:22 -06:00
Bryan Ashby 8bc2f31967 * Minor changes to demo mode. 2015-04-28 17:18:02 -06:00
Bryan Ashby 99fb3b34c7 * Mostly code cleanup & minor refactors 2015-04-27 22:40:05 -06:00
Bryan Ashby 028c5be418 + ToggleMenuView
* Start of hotkeys for menus
* General menu cleanup & rework
2015-04-27 16:04:41 -06:00
Bryan Ashby 7a643150e7 * Fixed double extra view redraws
* Redraw views when all of them are ready @ MCI init
* Moved a lot of properties of views to menu.json/prompts
* Allow scrolling editor for EditTextView
* New @config:path.to.property for menu.json view properties/etc.
2015-04-26 20:46:16 -06:00
Bryan Ashby 91d395e8bc * Again change ANSI font handling
* Add prompt.json
2015-04-23 23:00:48 -06:00
Bryan Ashby ec5f1836c5 * clearScreen -> cls for nostalgia
* module cleanup: some simple modules moved to general_menu_method.js @methods
* More work on menu configuration & options
- Removed formatting of args for now. Too tied to MCI, not really needed with argName stuff
2015-04-20 22:50:58 -06:00
Bryan Ashby 8db72430d3 * 'action' must be part of a *menu* not a prompt (they remain generic)
* Menus and prompts in better harmony
* Very eary WIP of converting login/apply/etc. to new system. These can now be helper scirpts and not full MenuModules (very simple!)
2015-04-19 22:58:18 -06:00
Bryan Ashby bac2f63c1a * Tons of work with menu/prompts refactoring -- more to come soon
* More work with menu/prompt accets
2015-04-19 02:13:13 -06:00
Bryan Ashby 5faa11664b * Lots of work with fonts: Support mappings of various cterm/SyncTERM fonts.
* Load font info from SAUCE
* Better work with defaults & theme values
2015-04-16 22:29:53 -06:00
Bryan Ashby 77600d3dde * Fix EtherTerm backspace key
* Better WIP apply art / module
* Better WIP 'enter' and 'leave' events from VC
2015-04-14 00:19:14 -06:00
Bryan Ashby b0103cb178 * Experimental enter/leave events for Views 2015-04-11 23:48:41 -06:00
Bryan Ashby 85a72935fa * Some work on User creation/persistance
* Fix some MCI parsing from menu.json
* Add 'options' to menu entries
2015-04-09 22:49:56 -06:00
Bryan Ashby 9219cc74a5 * Work on User and loading user from db with authenticate()
* Show login error in login.js experimental stuff
2015-04-06 00:18:08 -06:00
Bryan Ashby 3336caeec9 + Introduction of WIP asset system - menus, prompts, art, etc. @type:location/asset 2015-04-05 01:15:04 -06:00
Bryan Ashby 113e16df0d * Allow passing of arguments to menu's via menu.json including formatted parameters
* Fix menu.json setting of focus on view
2015-04-04 14:41:04 -06:00
Bryan Ashby ae71aa9feb * Rewrite of menu.json handling. More flexability
* Wildcards in menu.json
* Basic menu.json submit filtering working
2015-04-01 22:13:29 -06:00
Bryan Ashby 3274908586 * More work on menu system and form handling. Lots of work to do! 2015-03-30 21:29:06 -06:00
Bryan Ashby d6ffa2b26e * Lots of WIP around menu.json handlinge/etc. 2015-03-29 21:47:48 -06:00
Bryan Ashby 8c9b0e729f * WIP ViewController.loadFromMCIMapAndConfig() 2015-03-27 18:02:00 -06:00
Bryan Ashby 4c4b0de54c * Better form submit format
* Allow comments in menu.json
2015-03-25 23:23:14 -06:00
Bryan Ashby d242546458 * Some code cleanup
+ Bit of skeleton for TickerTextView
* Detach of events in ViewController
2014-11-04 00:34:54 -07:00
Bryan Ashby 4234e03008 * Work on forms
* More work on VerticalMenuView: setItems(), etc.
2014-11-02 12:07:17 -07:00
Bryan Ashby edc8266310 * A bit of work on VerticalMenuView
* Inheritance updates for Views
* Fixes and better handling of MCI factory
2014-10-31 16:25:11 -06:00
NuSkooler 1dff6a6906 * Default IDs, support for some basic TextView/labels via MCI 2014-10-27 21:58:34 -06:00
NuSkooler 668fdd9166 * Better view inheritance. Experimental ButtonView. User stuff 2014-10-23 22:18:38 -06:00
NuSkooler 381ded17a6 * Rewrite of Views functional. WIP more to come 2014-10-22 23:41:00 -06:00