Commit Graph

59 Commits

Author SHA1 Message Date
Bryan Ashby ac1433e84b * Code cleanup and eslint since -- remove unused variables, clean up RegExs, so on... 2018-01-15 12:22:11 -07:00
Bryan Ashby 8002bbe8fe Start using new enig assert vs standard assert 2016-08-26 21:30:25 -06:00
Bryan Ashby d50e505bd7 * Allow for clients such as ConnectBot that see "home" as 0,0 vs ANSI-BBS standard 1,1 by offsetting CPR values
* Some code cleanup
* Don't assert in View.js setPosition(); Instead, sanatize values
2016-08-14 11:45:31 -06:00
Bryan Ashby 30ba609fb4 * Add rumorz mod
* ANSI/pipe working properly in VerticalMenuView
* Fix bug in renderStringLength()
* Make initSequence() part of prototype chain for inheritance
* Use proper 'desc' field vs 'status' for menus when setting client/user status
* Move pipeToAnsi() to setItems/setFocusItems vs every render
* Add %RR random rumor MCI
* Predefined MCI's can be init @ startup - RR uses random as a test bed
* Add some StatLog functionality for ordering, keep forever, etc.
* Fix TextView redraw issue
* Better VerticalMenuView drawItem() logic
* Add 'key press' emit for View
* Enable formats for BBS list - works with MCI
* Remove old system_property.js
2016-08-10 22:48:13 -06:00
Bryan Ashby a9490d8fd2 Formatting 2015-12-24 11:54:38 -07:00
Bryan Ashby 490d71c180 Remove console.log() 2015-12-10 21:44:36 -07:00
Bryan Ashby 964b899fe5 * 'validator' property 2015-12-10 00:03:58 -07:00
Bryan Ashby b2592d0e71 * Fixes to actionKeys with new focus changes
* Various fixes, minor changes
2015-09-20 19:10:09 -06:00
Bryan Ashby 6d49e5e55f * Pass 'key' object to actions & submit form events 2015-08-13 16:05:17 -06:00
Bryan Ashby 4a342ba2fa * Functional last callers mod
* Notes
* Some cleanup
2015-07-27 22:10:20 -06:00
Bryan Ashby 99ea870ebc * @method for view properties. WIP... hacked in, needs cleaned up & DRY
* Messing around with different approaches to last callers...
2015-07-26 22:51:06 -06:00
Bryan Ashby 316a9c8b7f * Fix issue with submit matching when argName used 2015-07-13 13:41:21 -06:00
Bryan Ashby aab07bb330 * Fix crash with JuiceSSH
* Lots of WIP on FSE
* Various notes & fixes
2015-07-11 16:39:42 -06:00
Bryan Ashby 1f409435f4 * Fix bug assigning wrong default submit view ID 2015-07-10 11:11:08 -06:00
Bryan Ashby 3d5d21bcb5 * Lots of WIP on FSE demo
* WIP emit position from MutliLineEditTextView
* ansi.rawWrite() when no iconv/lfs to be processed
2015-07-05 19:05:55 -06:00
Bryan Ashby a241f91546 * A few updates to experimental per-client child logging
* StatusBarView skeleton
* Code cleanup
* Menus scan specify emulated baud rate
2015-07-02 23:28:39 -06:00
Bryan Ashby c1469a1f9c * isSpecialKeyMapped() renamed to isKeyMapped()
* Functional HorizontalMenuView
* Minor updates
2015-07-01 20:18:34 -06:00
Bryan Ashby d346fe72ee * Lots of minor code cleanup
* WIP work on HorizontalMenuView
* Initial art for HorizontalMenuView demo
2015-06-30 22:45:27 -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 8a5f890bee * Start work on setProperty() functionality -- this will replace some of the view controller work 2015-06-28 22:45:57 -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 e401e4a1a0 * A lot more work on cursor movement/etc. for MultiLineEditTextView2
* Start mostly placeholder stuff for regular key press / insertion of text
2015-06-03 22:00:33 -06:00
Bryan Ashby eaa4feeebd * Rename position x/y stuff to row/col. X/Y were backwards anyway :) 2015-05-18 11:31:35 -06:00
Bryan Ashby 3bf34487d7 * Start (mostly placeholder) for MultiLineEditTextView 2015-05-16 14:39:14 -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 37adeb5f90 * Fix some handling of height, itemSpacing, etc. in VerticalMenuView
* Change auto scale to be height/width dependent
2015-05-07 16:14:16 -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 a01f5d2f24 * Just some notes 2015-05-04 22:04:36 -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 3f29e3dba4 * Start of work on re-write of SGR stuff related to MCI codes 2015-04-29 15:38:20 -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 cb5fc13da5 * Merged changes 2015-04-27 20:23:21 -06:00
Bryan Ashby 75bb9e91e4 * Some work on cursor hiding while redrawing. WIP. 2015-04-27 20:19:17 -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 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 2bac8e006e - Remove inputType from previous check in. Will replace with MaskEditTextView stuff
* Cleanup self.options in Views. Just use self.XXXXXX and pass in options to configure
* View's take one param for ctor: options. Including options.client
* Experimental / WIP cursor show/hide in Views
2015-04-08 22:54:13 -06:00
Bryan Ashby 6d84018ef5 * Some WIP inputType 2015-04-07 23:15:34 -06:00
Bryan Ashby 6c841105ab + MCI support for focusArgs, e.g. 'focusTextStyle'
+ TextView initial support for fillChar and justify
+ Add color support to string_util.js::pad()
* Better color handling in Views
2014-11-03 16:49:15 -07:00
Bryan Ashby 4234e03008 * Work on forms
* More work on VerticalMenuView: setItems(), etc.
2014-11-02 12:07:17 -07:00
Bryan Ashby 4f3a8ac500 * VerticalMenuView up/down working 2014-11-01 09:50:11 -06:00