-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://codereview.secondlife.com/r/581/
-----------------------------------------------------------

Review request for Viewer and Richard Nelson.


Description
-------

Add the ability to configure lists of keyword/replacement pairs.

When a keyword is entered in a chat input bar either at the beginning of a line 
or preceded by any non-word character (the definition of a "word" character 
depends on the chosen language), and is followed by a space (' ') character, 
the keyword is removed from the chat input bar and replaced with the configured 
replacement. Replacement can be prevented for an entered keyword by following 
it with a non-breaking space character (alt-space on Mac or Linux, 
control-space on Windows).

If the same keyword appears in more than one list, the one in the highest list 
in the preference order is used.

A list may be exported to an xml file, and then imported from that file.


This addresses bug STORM-1738.


Diffs
-----

  indra/llui/lllineeditor.h 675668bd24d3 
  indra/llui/lllineeditor.cpp 675668bd24d3 
  indra/newview/CMakeLists.txt 675668bd24d3 
  indra/newview/app_settings/autoreplace.xml PRE-CREATION 
  indra/newview/app_settings/settings.xml 675668bd24d3 
  indra/newview/llautoreplace.h PRE-CREATION 
  indra/newview/llautoreplace.cpp PRE-CREATION 
  indra/newview/llfloaterautoreplacesettings.h PRE-CREATION 
  indra/newview/llfloaterautoreplacesettings.cpp PRE-CREATION 
  indra/newview/llfloaterpreference.h 675668bd24d3 
  indra/newview/llfloaterpreference.cpp 675668bd24d3 
  indra/newview/llimfloater.cpp 675668bd24d3 
  indra/newview/llnearbychatbar.cpp 675668bd24d3 
  indra/newview/llviewerfloaterreg.cpp 675668bd24d3 
  indra/newview/llviewermenu.cpp 675668bd24d3 
  indra/newview/skins/default/xui/en/floater_autoreplace.xml PRE-CREATION 
  indra/newview/skins/default/xui/en/notifications.xml 675668bd24d3 
  indra/newview/skins/default/xui/en/panel_preferences_chat.xml 675668bd24d3 

Diff: http://codereview.secondlife.com/r/581/diff/diff


Testing
-------

In QA now.


Thanks,

Oz Linden

_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to