aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/predictive.cpp
AgeCommit message (Collapse)Author
2012-03-25GUI: Move predictive dialog to common guiOleksiy Kurochko
2012-01-06AGI: Fix stuck next button when switching back to predictive modeWillem Jan Palenstijn
2012-01-06AGI: Clean up predictive matchingWillem Jan Palenstijn
Specifically: * Don't enable the 'next' button in predictive mode when we don't have a full match. Doing this didn't make sense since you'd iterate over a seemingly arbitrary set of completions instead of all possible ones. * Do only a single binary search. * Fix the width of the mode button for mouse press detections.
2012-01-06AGI: Fix ignoring some exact matches in predictive inputWillem Jan Palenstijn
The matcher now always tries an exact match before trying an inexact one. Together with 41ba2433f, this fixes bug #3470080.
2012-01-06AGI: Fix predictive input binary searchWillem Jan Palenstijn
Note that there are still issues with this input mode. If the binary search hits a prefix match before finding the full match, it won't recognize the full match. (Example: typing "buy" will show "buz" because it's aiming for "buzzard" without realizing "buy" exists.)
2011-12-10AGI: Replace usage of 'goto'.D G Turner
2011-06-08AGI: Fix Engine Exit While Predictive Dialog Is Open.D G Turner
2011-06-08AGI: Fix Broken Predictive Text Input.D G Turner
This was a regression introduced by 4b2f92b5e56a1fc273c8c8d2e69b747f938ea92f (r55135)
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-01-06AGI: Rewrote predictive code matcherMax Horn
The new code is simpler, avoids a potential buffer overrun (by avoiding to to use a buffer in the first place), and hopefully has slightly more sane matching properties. svn-id: r55135
2011-01-05AGI: cleanupMax Horn
svn-id: r55124
2010-11-01ENGINES: Replace many printfs by warning/debug/debugNMax Horn
svn-id: r54031
2010-10-11AGI: Fix one more strncpy/strncat issueWillem Jan Palenstijn
svn-id: r53148
2010-10-11AGI: Fix possible buffer overflow.Johannes Schickel
This is based on patch #3085298 "overflows in agi and parallaction". svn-id: r53147
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-03-18COMMON: Move typedef StringList from str.h to new header str-array.hMax Horn
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282
2010-01-31Silenced some more cppcheck warnings.Torbjörn Andersson
svn-id: r47785
2010-01-03Reduce header dependencies for AGI engine.Eugene Sandulenko
svn-id: r46942
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-06-06CleanupEugene Sandulenko
svn-id: r41254
2009-06-06Whitespace fixes and C++ commentsEugene Sandulenko
svn-id: r41239
2009-05-13Fix some variable may be used uninitialized warnings.Johannes Schickel
svn-id: r40528
2008-09-29Don't use File::name() needlessly (i.e. if you still know which file you ↵Max Horn
just opened :) svn-id: r34685
2008-04-09Fixed warnings for msvc9.Johannes Schickel
svn-id: r31460
2008-03-30Removed char &operator [] from class String -- it had the potential to wreak ↵Max Horn
havoc when used on shared strings (thanks to tramboi for pointing this out) svn-id: r31334
2008-03-28Added FIXME comment regarding sorting of pred.dic; replaced weird binary ↵Max Horn
search code with simple binary search code ;-) svn-id: r31291
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-19fixed potential unitialized variables, one array overflowPaweł Kołodziejski
svn-id: r30571
2008-01-13IndentationKari Salminen
svn-id: r30478
2007-09-11Remove/clarify several FIXMEsEugene Sandulenko
svn-id: r28892
2007-09-11Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME ↵Max Horn
comments; and some other related cleanup svn-id: r28890
2007-07-16Porting DS word completion keyboard changes from branch0-10-0.Neil Millstone
svn-id: r28125
2007-07-10Make AGI's button drawing use AgiButtonStyle. Doesn't use Amiga-style yet. ↵Kari Salminen
It's next. svn-id: r28014
2007-06-13Some cleanup to the pred.dic AGI codeMax Horn
svn-id: r27386
2007-06-13implement predictive dictionary using ascii based operations, replacing the ↵Kostas Nakos
10ary tree svn-id: r27383
2007-06-10Move hardcoded predictive dictionary name to config manager.Eugene Sandulenko
svn-id: r27315
2007-06-09oopsKostas Nakos
svn-id: r27246
2007-06-08Updated Symbian OS Prediction handlingLars Persson
Updated AGI to only enable predictive input after dictionary was found. svn-id: r27206
2007-06-08adding navigation with arrow keys and enter; did away with some ugly gotosKostas Nakos
svn-id: r27193
2007-06-03Adding the new kFeatureDisableKeyFiltering OSystem feature.Kostas Nakos
This feature is used by agi's prediction dialog and is a hint to the backend to temporarily switch off any keyboard mapping, used in devices with limited keyboard input. Also, supply some comments to the newly added event & feature. svn-id: r27069
2007-06-02Silence an MSVC8 warningFilippos Karapetis
svn-id: r27059
2007-06-02implement most-recently-used scheme for dictionary wordsKostas Nakos
svn-id: r27058
2007-06-02better handle mode changes and command line lengthKostas Nakos
svn-id: r27057
2007-06-02adding multi-tap alpha inputKostas Nakos
svn-id: r27056
2007-06-02oops, remove debugging outputKostas Nakos
svn-id: r27048
2007-06-02permit only one instance of predictive dialog, add handling of keypad keysKostas Nakos
svn-id: r27047
2007-06-02kill misplaced cursor, refresh only when necessary, add some (cheap) visual ↵Kostas Nakos
feedback on keypress svn-id: r27046
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-30fixed predictive dialog messing up state if another dialog was already shownKostas Nakos
svn-id: r27023