Commit Graph

257 Commits (bdc94eac5cda3dd6700a1cd462178b7ac3c4cfec)

Author SHA1 Message Date
Mnikolenko ProductEngine 7bd45ab362 MAINT-4790 WIP Show focused background image for login text fields. 2015-01-19 13:09:24 +02:00
callum_linden 23711c9275 Rename llround(..) to ll_round(..) because of a collision with MS llround (long long round) in VS2013 2014-12-10 08:44:08 -08:00
Ansariel a7e1243c57 FIRE-15763: Right clicking on navigation bar not displaying all menu options 2015-03-23 23:52:53 +01:00
Ansariel 7dad1bdad3 Fix assertion failure in LLLineEditor:
The origin of this assertion failure is the changed main_view.xml that will create
the navigation bar from panel_navigation_bar.xml, including 3 LLLineEditors. However,
the menu holder is needed for the context menu of the LLLineEditor is created after
main view has been created. But since we create the context menu for a LLLineEditor
only if required and not when a new instance of LLLineEditor is created, this
assertion failure doesn't affect us and the assertion itself was moved to the
right place where it belongs in our code.
2015-01-21 12:52:33 +01:00
Ansariel 48fc17d6e1 Merge LL V3.7.16 2015-01-14 17:36:30 +01:00
Ansariel e1ce6e3d58 Merge Firestorm LGPL tip 2015-01-08 23:12:58 +01:00
Ansariel f4bfb1aadf Merge LL V3.7.9 (AIS3 + SSA) 2014-10-22 02:02:08 +02:00
simon d760a6889d Merge downstream code 2014-06-18 19:02:25 -07:00
simon a5568f942b Merge downstream version 3.7.8 code 2014-05-07 15:28:13 -07:00
Stinson Linden 001621dfc2 MAINT-4009: Patching a small memory leak for when menu items were being created before the viewer window initialization had created the menu holder. Also, added llasserts in other cases when referencing the menu holder to ensure the holder is non-null. 2014-05-05 23:24:34 +01:00
andreykproductengine e96fad30ac MAINT-1180 FIXED Cannot delete object description. 2014-04-01 19:00:21 +03:00
Tank_Master 6babf8abd2 Merge LL 3.7.7 2014-06-09 11:29:57 -07:00
Ansariel 00bfbfae2b Tag Firestorm-specific code in last commit 2014-10-28 22:39:16 +01:00
Lirusaito caa86284e1 Ctrl-Backspace and Ctrl-Delete for removing whole words when editing text 2014-08-27 00:04:47 -04:00
Richard Linden e340009fc5 second phase summer cleaning
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-08-09 17:11:19 -07:00
Richard Linden a2e22732f1 Summer cleaning - removed a lot of llcommon dependencies to speed up build times
consolidated most indra-specific constants in llcommon under indra_constants.h
fixed issues with operations on mixed unit types (implicit and explicit)
made LL_INFOS() style macros variadic in order to subsume other logging methods
such as ll_infos
added optional tag output to error recorders
2013-07-30 19:13:45 -07:00
Oz Linden ddd5659f81 merge changes for DRTVWR-294 2013-04-19 10:11:29 -04:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
prep@lindenlab.com f2948cb1eb Merge with viewer-chui 2013-03-20 17:53:51 -05:00
Nyx Linden 1586107e87 SH-3944 WIP CHUI merge fixing
re-introduced don's refactor of low-level openGL calls pulling out of llui
and putting them into llrender. Took the new code from their updated versions
from the CHUI merge, but put them in a place accessible to appearance utility.
2013-03-12 22:34:15 +00:00
Merov Linden 4458986cf2 CHUI-705 : Fixed! Force hide context menu when deleting line editor widget 2013-03-06 18:44:02 -08:00
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