Commit Graph

236 Commits (9edad026f4494de1a6f02ecc3f477faa27a361ef)

Author SHA1 Message Date
Cho 977d318ac8 CHUI-291 FIX New auto-replace feature does not work with chui text input boxes in conversation floater
Moved autoreplace hooks from LLLineEditor to LLTextEditor, and modified LLAutoReplace accordingly
2013-01-23 20:22:28 +00:00
ziree b539a588f4 Only allocate line editor menus when needed, save memory, gain speed in XUI building. 2013-09-10 18:29:17 +02:00
Tonya Souther 04fce8550a FIRE-11373: AUtoreplace doesn't work in nearby chat bar 2013-08-25 22:35:52 -05:00
Tank_Master d4640277d0 Merge LL 3.5.3 release. 2013-07-09 16:24:58 -07:00
Ansariel 7631668abd Some overall fixing of LLUI, re-adding missing stuff and comments 2013-07-01 00:48:14 +02:00
Tank_Master 14001c54df Gastly CHUI merge pass 1, don't count on anything to work. 2013-06-26 12:14:54 -07:00
Tank_Master ea86bb88c3 first pass merge 2013-02-04 10:52:32 -08:00
Don Kjer cf7eb79fa7 Removed most llappearance -> llui dependencies (LLTrans remains). Moved LLInventoryIcon::EIconName into LLInventoryType. Moved LLInventoryIcon back to newview. Moved LLUI gl_* functions into llrender. 2012-09-08 04:39:11 +00:00
Oz Linden eb227e4dbc merge spelling changes for UI review 2012-06-11 16:15:31 -04:00
Kitty Barnett 80b1a2c0a8 STORM-276 Insert braces around if/for/while loops 2012-06-11 13:39:45 +02:00
Ansariel dc81bda5ac Removed ugly forward depency includes 2012-09-01 23:03:16 +02:00
Tank_Master d9c7b9253d merge LL 3.4.0 viewer-beta 2012-08-31 00:18:30 -07:00
Tank_Master cb24ec2e0d merge LL 3.3.4 beta
autoreplace does not work (needs a hook in nearby chat), no cmd line option to add new stuff
spellcheck only works when packaged
2012-07-16 21:59:14 -07:00
Tank_Master 0d4ca6478f removed spellcheck, to be replaced by LL's version 2012-07-10 23:57:05 -07:00
Tank_Master 0d52c043d4 remove autocorrect, to be replaced by Auto Replace from LL 2012-07-09 23:30:54 -07:00
Oz Linden 3329291a5e merge latest fixes from Kitty 2012-06-01 09:27:23 -04:00
Kitty Barnett e2e33c0ed5 STORM-276 FIXED Last word in a line editor isn't spell checked 2012-05-31 20:47:14 +02:00
Oz Linden 925db41711 merge changes for storm-276 2012-05-31 14:26:15 -04:00
Kitty Barnett d7303541cc STORM-276 FIXED Line editor misspells are checked every frame 2012-05-31 17:37:19 +02:00
Kitty Barnett 1300f77fdd Merged with viewer-beta 2012-05-20 17:41:00 +02:00
Kitty Barnett 8199cc997a STORM-276 FIXED Right-to-left line editor selection becomes invisible if the cursor moves 2012-05-15 14:09:13 +02:00
Kitty Barnett 34e7226ac8 STORM-276 FIXED Squiggles overflow line editor height when font size is set to large
- Also reduced squiggle width from 6 to 4 and prevented running past the end of a word
2012-05-15 13:13:44 +02:00
Oz Linden 9bdb1d82f8 rename feature from "autocorrect" to "autoreplace", change names accordingly 2012-05-11 12:22:43 -04:00
Oz Linden 95090c5d1e merge changes for version 3.3.1 2012-05-08 15:51:56 -04:00
Oz Linden d3ec35fc6c merge changes for latest viewer-development 2012-04-20 06:56:33 -07:00
Ansariel c5894c2781 Merge with Firestorm LGPL 2012-06-08 22:43:34 +02:00
Ansariel fd6a004f36 Undid deletions in lllineeditor.cpp and lltexteditor.cpp and commented out according sections 2012-06-07 17:53:52 +02:00
Armin Weatherwax 5c66d2e669 fix: Linux primary "clipboard" tainted by auto-selection
This reverts to QT/Emacs style primary: only user selections go to the primary.
The Mozilla style LL decided for also takes auto-selected text to the primary,
which makes it pretty useless.
2012-06-06 17:30:07 +02:00
Tank_Master 1c55d5cbb6 Merge LL 3.3.2 release 2012-05-28 17:02:11 -07:00
Merov Linden f0a1b43f22 EXP-1841 : Use instance instead of getInstance on LLClipboard singleton. 2012-03-01 21:35:05 -08:00
Merov Linden 24789f11cc Pull from viewer-experience 2012-03-01 13:31:17 -08:00
Tank_Master e61c20d499 Merge LL 3.3.1 Viewer Release 2012-04-26 17:31:35 -07:00
Jonathan Yap 22f26725b9 STORM-1738 Autocorrect working for nearby chat and IM input boxes
warn-on-failure:open-license
2012-02-10 17:40:58 -05:00
Kitty Barnett 59bfc3f608 Minor fix for GCC 2012-03-25 19:50:46 +02:00
Merov Linden 9761375ac2 EXP-1841 : Refactoring of LLClipboard, simplify the API and make it behave like a normal clipboard. 2012-02-06 15:43:53 -08:00
Kitty Barnett 49e0c38ee8 STORM-276 Added preferences panel 2012-02-03 19:45:00 +01:00
Kitty Barnett 41e11a5083 STORM-276 FIXED Selecting a character in a line editor and replacing it doesn't trigger a spell check 2012-02-03 15:34:52 +01:00
Vadim ProductEngine 9721e4f783 Removing a call to llround() per Richard. 2012-02-02 20:45:08 +02:00
Vadim ProductEngine 8d6665b5c2 Restoring a call to llround() in lllineeditor.cpp mistakenly removed in changeset 0a9ef58e8f7d.
By the way, removing a pointless call to llround() in lldraghandle.cpp.
2012-02-02 13:29:24 +02:00
Merov Linden c1636911c8 EXP-1862 : Make LLClipboard an LLSingleton and clean up the internals (set up for toolbar and never used) 2012-02-01 19:09:29 -08:00
Jonathan Yap 59dfcba33d STORM-1738 Slight adjustment to callback 2012-02-01 10:28:45 -05:00
Jonathan Yap 4778d82ec6 STORM-1738 Initial callback work
warn-on-failure:open-license
2012-02-01 10:16:13 -05:00
Paul ProductEngine 1404ba1ffa fixed Linux build 2012-02-01 16:39:06 +02:00
Kitty Barnett f0d1afc226 STORM-276 Added spellcheck functionality to the LLLineEditor control 2012-01-20 18:07:35 +01:00
Tank_Master 1cc154166f STORM-1738 - Add autocorrect functionality
Ported with owner permission from Firestorm, inital work done by LordGregGreg Back
2011-12-20 22:17:20 -08:00
Vadim ProductEngine 8b7f4d4ea3 STORM-1600 FIXED Folder view stole "Delete" key presses from the line editor when renaming a newly created inventory item.
Reason:
LLFocusMgr::setKeyboardFocus() which is called from LLLineEditor::setFocus()
makes the folder view the edit menu handler, thus it receives the Delete key
presses instead of the line editor.

Fix:
Make sure the line editor becomes the edit menu handler whenever it's focused,
no matter is it a child of a folder view or not.
2011-09-16 19:09:37 +03:00
Leslie Linden f2acd554bc Clean up erroneous XUI parsing errors. 2011-09-08 16:34:54 -07:00
Richard Linden b183b6f141 EXP-1196 FIX Fix param block template ordering
changed ordering of template loading relative to constructor setting of params
moved a lot of constructor-set params to template files
reviewed by Leslie
2011-09-06 14:45:11 -07:00
Oz Linden 44c7c6feaa merge changes for storm-1315 2011-07-11 16:52:00 -04:00
Kadah_Coba c47d42d945 STORM-1315 Ability to do simple math in numeric edit fields 2011-06-29 23:40:20 -07:00
Oz Linden 551d17f819 merge latest changes (post-2.7.0) from viewer-development 2011-05-23 11:38:33 -04:00
Paul ProductEngine 5daeefd35e STORM-1202 Code cleanup for LLLineEditor
- Removed code duplication

- Renamed prevalidateInputText to prevalidateInput
2011-05-16 17:59:05 +03:00
Paul ProductEngine 2d19b297a9 STORM-1202 FIXED Time spin control
Implemented time spin control which is like spin control, but shows and allows to edit time string in "hh:mm PM/AM" format.
Implemented according to the WLRS spec.
2011-05-13 18:23:11 +03:00
Oz Linden a1a5a793a7 fix line endings (one missing, two files of DOS) 2011-04-06 08:13:44 -04:00
Jonathan Yap 567035a2f7 STORM-1094 Chat preferences > font size should increase size of input text in IM window 2011-03-25 17:58:20 -04:00
Dave Parks 3b5d6eed12 merge 2011-04-19 14:55:11 -05:00
Loren Shih 5f99331f4a Automated merge up from viewer-development 2010-12-29 13:23:02 -05:00
Monroe Linden dee57bea25 Merge from viewer-development. 2010-12-20 11:21:17 -08:00
Loren Shih 618249155a Automated merge up from viewer-development 2010-12-13 10:08:55 -05:00
Richard Linden ca2141ce90 merge with viewer-dev 2010-12-08 16:04:07 -08:00
Loren Shih 6a59861bde Automated merge up from viewer-development 2010-12-07 14:56:36 -05:00
Monroe Linden 598450785b merge 2010-12-02 14:51:16 -08:00
Monroe Linden 1e050c2ed8 merge 2010-12-02 14:33:42 -08:00
Paul Guslisty e997a09343 STORM-593 FIXED Make transparent texteditor and lineeditor
Reason: If some child of transparent LLFloater has a visible non-transparent background then this part of floater is non-transparent. As a result floater became partially transparent.

Solution: When transparent floater changes focus, iterate through its children and set corresponding (corresponding to whether control in active or in inactive floater see STORM-535) transparency value.

- Added method LLUICtrl::getCurrentTransparency. This method calculates transparency level of a control. Calculated value should be used as an alpha chennel value in case we want this control to be transparent. For now this method is used by LLFloater to adjust transparency of its children.

- Added calculating of transparecny level for: LLLineEditor, LLTextBase, LLinventoryListItem, LLScrollContainer, LLScrollListCtrl, LLAccrodionCtrlTab.

- Added method LLFlaoter::updateChildrenTransparency which updates transparency value of its children
2010-11-24 19:12:02 +02:00
Richard Linden ecd8290b3f SOCIAL-266 WIP HTTP AUTH dialogs no longer work in LLQtWebKit 4.7.1
factored out llwindowshade control for slide-in notifications
2010-11-19 19:18:17 -08:00
Richard Linden 50d21a75a7 merge 2010-11-15 15:52:54 -08:00
Kyle Ambroff f940b49d0f Merge with andrew 2010-10-21 15:56:13 -07:00
Nicky fc83641ede FIRE-2250; In autocorrection process all strings as unicode so we get proper indices and length values. 2011-11-28 20:11:09 +01:00
Nicky 611955919c FIRE-2250; When calculating diff of word length in autocorrection use unicode strings. 2011-11-28 15:15:12 +01:00
Arrehn 7394730eaa Merge up to LL FUI 2011-10-28 02:00:09 -04:00
WoLf 65185139cc First sweep of changes for settings (and a few functions) from Phoenix prefix to FS. 2011-10-10 06:10:45 +02:00
Kitty Barnett f678ff9919 Merged in spell checker branch 2011-09-18 19:37:29 +02:00
Kitty Barnett 06d5fc49eb - fixed : the first word of a line or text editor is shown as misspelled if it doesn't start with an alpha character
-> i.e. "/0Hello world" on the nearby chat bar would show "Hello" as being misspelled

--HG--
branch : Misc-Spellcheck
2011-09-18 15:12:32 +02:00
Kitty Barnett 095c0b6a8a - fixed : right-clicking on a right-to-left selection deselects the current selection
-> in a right-to-left selection mSelectionEnd < mSelectionStart so the user was always seen as clicking "outside" the selection

--HG--
branch : Misc-Spellcheck
2011-09-16 02:02:13 +02:00
Kitty Barnett 868e6516c0 - fixed : toggling the spell checker or switching dictionaries should recheck all text
--HG--
branch : Misc-Spellcheck
2011-09-06 23:33:19 +02:00
Kitty Barnett f3824ea331 Merged with default tip (Revision 0fd2a1181a96)
--HG--
branch : Misc-Spellcheck
2011-08-21 01:26:40 +02:00
Arrehn 9fd0edb326 Initial 2.8.3+ merge, Tozh & Arrehn
Issues: Graphics preferences tab, lighting, depth of field
Issues: Color preferences tab, new direct chat
Issues: Build floater Mesh build tab
Issues: German translations of build, viewer menus
Issues: pipeline issues with mac, possibly other things
Issues: uploading content / temp content
Issues: Windlight quickprefs, parcel windlight, RLVa windlight
2011-08-26 11:18:49 -04:00
Arrehn e277b8a4ac Merge with LL 2.6.9, initial work. Needs tests, extra XUI merging with particular skins. 2011-08-04 11:53:40 -04:00
Kadah_Coba 6b1d99d76c Merge with STORM-1315 changes 2011-07-02 22:13:39 -07:00
Kitty Barnett 1934dd55ee - internal : reviewed for SL-2.7.1
--HG--
branch : Misc-Spellcheck
2011-07-02 14:27:18 +02:00
Tonya Souther 1503a7f0f1 Fix compile error on non-Windows platforms. 2011-06-30 12:51:12 -05:00
LordGregGreg 4dd746149b Porting AutoCorrect Macros from Phoenix to Firestorm... More Bellow
Drag and Drop notecard importation not yet ported
em prefexes removed
2011-06-30 06:53:28 -05:00
Kitty Barnett e773239562 Merged with default tip (Revision beea7b8a7669)
--HG--
branch : Misc-Spellcheck
2011-06-23 23:58:50 +02:00
Kadah bc1c219181 Build Improvements: LLCalc (by Aimee Walton) 2011-06-22 13:33:43 -07:00
Arrehn 10e88f3891 Merge with RLVa-LL2.5.2 2011-04-09 22:24:22 -07:00
JessicaLyon 27bf828209 Applied 1 line patch from Satomi Ahn, FIRE-324. Nearby and IM chat bars forget what was written after browsing history. Issue exists in the LL Viewer. Thanks for the patch! 2011-01-21 17:16:00 -05:00
Kitty Barnett a0eb817c02 - changed : don't provide feedback on the current word while it's still being typed/edited
--HG--
branch : Misc-Spellcheck
2010-12-24 03:00:58 +01:00
Kitty Barnett bd4eb79446 - internal : minor clean-up in lllineeditor.cpp
--HG--
branch : Misc-Spellcheck
2010-12-24 00:48:01 +01:00
Kitty Barnett 6a5032eafd - added : "Add to Dictionary" and "Add to Ignore" context menu options
--HG--
branch : Misc-Spellcheck
2010-12-24 00:37:39 +01:00
Kitty Barnett 7f0a348dee - internal : don't enable "Add to Dictionary" until we've actually implemented it
--HG--
branch : Misc-Spellcheck
2010-12-23 21:43:37 +01:00
Kitty Barnett 131ef53fe5 - added : replace the current (misspelled) word with the selected suggestion from the context menu
--HG--
branch : Misc-Spellcheck
2010-12-21 07:09:03 +01:00
Kitty Barnett 5934f0b646 - fixed : current selection on the line editor shrinks when right-clicking within the selection
--HG--
branch : Misc-Spellcheck
2010-12-21 05:53:25 +01:00
Kitty Barnett c8113bc990 - changed : show/hide spell checking related menu options from the context menu as needed
--HG--
branch : Misc-Spellcheck
2010-12-21 05:21:30 +01:00
Kitty Barnett bb282e82dc - fixed : current selection on the line editor extends when right-clicking outside of the selection
--HG--
branch : Misc-Spellcheck
2010-12-21 04:27:30 +01:00
Kitty Barnett c3638ecea8 - fixed : misspell indices are relative to the start of the first (partially) visible word
--HG--
branch : Misc-Spellcheck
2010-12-21 03:58:26 +01:00
Kitty Barnett 0bcc1cd25e - fixed : LLLineEditor::getMisspelledWord() uses the wrong substring length
--HG--
branch : Misc-Spellcheck
2010-12-21 02:15:36 +01:00
Kitty Barnett 50b9a0aeca - changed : move the cursor position of the line editor to where the user right-clicked
--HG--
branch : Misc-Spellcheck
2010-12-21 02:08:48 +01:00
Kitty Barnett 74978062c1 - added : basic misspell suggestion functionality to the LLLineEditor context menu
--HG--
branch : Misc-Spellcheck
2010-12-20 07:28:05 +01:00
Kitty Barnett 9161570b85 - added : minimal implementation of spell checking for the LLLineEditor control
--HG--
branch : Misc-Spellcheck
2010-12-19 06:34:06 +01:00
Loren Shih 7687653871 Automated merge up from viewer-development 2010-10-20 12:18:33 -04:00