Commit Graph

7077 Commits

Author SHA1 Message Date
Lirusaito
e284efa648 Improve notifications a bit (mainly lets you click links in notices)
Actually respect the color they're supposed to be by setting text AFTER creation
Don't double up with setEnabled, we're setting read only through the constructor
Be Mouse Opaque, handle mouse events beyond scrolling, match group notices
Don't call things more than once, that's nonsense.
2019-01-19 05:07:27 -05:00
Lirusaito
4a0b012f5b Oops, I never meant to stage this tentative change. 2019-01-18 23:56:43 -05:00
Lirusaito
e643bcfc98 Fix the ran off segmentation end bug properly (Torric's Notes bug)
Default segments are now any segment that have no distinct features,
these segments can be combined into a contiguous segment to save space
and to cut down on calculation complexity!
2019-01-18 23:21:23 -05:00
Lirusaito
526079d76c Text editor small sync with upstream 2019-01-18 05:48:02 -05:00
Lirusaito
0c8f2f1ea0 Cleanup and add back an opt in text editor 2019-01-18 02:14:31 -05:00
Lirusaito
6e05e8d84b Wake up Liru... how did this even build? 2019-01-17 21:20:44 -05:00
Lirusaito
cff27f33dc Wooops, no more setting the muted local chat editor invisible like that! 2019-01-17 04:43:57 -05:00
Lirusaito
ed67f77f9f Request: Add EmergencyTeleportSeconds to configure emergency teleport time 2019-01-17 04:43:01 -05:00
Lirusaito
eb0477f9d7 Fix profile notes being white and having a weird visual glitch 2019-01-17 04:41:55 -05:00
Lirusaito
5fa50192a7 Feature Request: Allow AO Enabled settings to be per account 2019-01-16 22:38:59 -05:00
Lirusaito
bba6ecba65 Request: Allow filtering nonlinks or links in the custom inventory filter 2019-01-16 22:34:22 -05:00
Lirusaito
dcc8013028 Allow scrolling and up and down arrows for slider manipulation. 2019-01-16 18:27:31 -05:00
Lirusaito
0ddfdad180 Fix ShowMutedChat setting not properly restoring. 2019-01-16 16:46:12 -05:00
Lirusaito
466b4bf5e4 Add keyboard shortcut Ctrl-Shift-C for Copy Raw 2019-01-16 14:34:27 -05:00
Lirusaito
a5632c08c7 Add "Copy URL" option to text editor right click menu when right clicking links. 2019-01-16 14:33:53 -05:00
Lirusaito
1dea1123de Fix the issue with profile font and selection
Thanks for testing, Router!
2019-01-16 14:32:31 -05:00
Lirusaito
c419c4d560 Add UI for the replacing of urls to System->Security at the bottom
Moves the region restart preferences into Vanity->main
2019-01-16 13:03:58 -05:00
Lirusaito
269576805b Replace URLs everywhere in text editors, like upstream.
This works for notifications, and profiles, and chats, and even updates!
Amazing, right?
SinguReplaceLinks is on by default, URL highlighting works regardless, no rogue labels with this off.

Select, right click, Copy Raw lets you copy the link with its hidden url shown
and you can paste it back the same way if you're wanting to paste it all over!

LLTextEditor overhaul synced the code with upstream LLTextBase as much as we could.
appendStyledText is now just appendText
Every setText appendText's now and adds a style based on the texteditor's color and font, this could slightly increase the weight of text editors (one extra segment) but it fixes a nasty bug with running past segmentation.
Also no longer update the utf8
Removed append() which was no longer being used
LLTextEditor and LLViewerTextEditor now have an extra boolean at the end of their constructors to have this replacement turned on at construction time (this also sets them read only)
Update TextSegments to have a Tooltip string, like upstream.
Hardened notecard previews so they don't accidentally replace the text when they go read only.

Thanks to Deltek and Router Gray for helping me test and debug this commit!
2019-01-16 01:01:19 -05:00
Lirusaito
0b52275e53 Fix radar popping up on right click focus if not announce when closed. 2019-01-15 17:36:28 -05:00
Lirusaito
9c06bbb8eb Fix the expand buttons in the remote toolbars looking like garbage 2019-01-14 20:02:07 -05:00
Lirusaito
da5717f66e Make the login screen destinations work
Syncs "location_login" from upstream LL viewer
2019-01-14 16:57:29 -05:00
Lirusaito
8250ec1872 Clean up repetitive code in llnotify.cpp 2019-01-14 15:14:13 -05:00
Lirusaito
1efc71db0c Fix mic lock being inverted. 2019-01-14 14:46:50 -05:00
Lirusaito
062b8da2d3 Allow right clicking notifications when on right clickable ui. 2019-01-14 01:08:10 -05:00
Lirusaito
15ef9140da Fix regression of not having a working viewer build without PACKAGE on 2019-01-14 00:35:52 -05:00
Lirusaito
2dc609ff6b Fix Linux compile? 2019-01-11 12:49:00 -05:00
Lirusaito
8c7fceb081 Resolve and link registered SLURLS that are in chat.
Adds handle_registered_urls function
Use this as a drop in replacement for appendStyledText where applicable
2019-01-11 09:11:20 -05:00
Lirusaito
778b89d5c9 Feature request: When creating a new AO notecard, actually show it! 2019-01-11 08:33:49 -05:00
Lirusaito
b61cba8e01 Clean up and optimize the AO
Added the feature of selecting an animation from combo boxes and it playing automatically if it should be at this moment.

Now for the stuff only developers will understand:
FloaterAO is now a FloaterSingleton, because it should've been behaving that way all along.
Refactors a lot, simplifies a lot, best view without space changes.
Reduces a lot of redundant blocks.
Creates some functions to make things like AOStates easier to get
AOStates are now an enum instead of a bunch of const ints.
Cleaned up includes.
NULL -> nullptr, virtual->override, BOOL->bool, for->foreach
Removed struct_tokens,  it was redundant and actually just took up space.
No longer set all the children invisible, their parent does a good job of that.
Relate ComboBoxes to their states, so that we can easily get a setting and do a whole bunch of things with a lot less code.
Remove unused parameters and functions and variables
Remove unused boolean returns from functions.
Don't clear combo boxes just because one id is null.
2019-01-11 06:17:58 -05:00
Lirusaito
0c585aca39 Random cleanup lines here and there before I refactor the AO entirely 2019-01-10 17:44:13 -05:00
Lirusaito
da2a9a5bf5 Add Typing AO
Like scripted AOs, this works whenever you type and AO is ON
Even if the Linden typing animation is not playing.
2019-01-10 17:42:59 -05:00
Lirusaito
47797f4cec First pass at Swimming AO 2019-01-09 23:08:23 -05:00
Lirusaito
aef77312aa Wooops, fix minor bug introduced in the conference thing. 2019-01-09 22:03:20 -05:00
Lirusaito
9a424ff264 Fix SV-2245: Viewer AO Doesn't respond instantly 2019-01-09 13:14:24 -05:00
Lirusaito
022fba2ba4 Add option "Add to Conference" to Conference chats and Instant Messages
Sync code from upstream for inviting people to conference via Avatar Picker
2019-01-08 11:27:51 -05:00
Lirusaito
adba4cf1fa Beware the coral, it adds the reef factor 2019-01-07 17:39:54 -05:00
Lirusaito
0e21b53c2f Sync installer with Alchemy for NSIS 3 support
Add a checkbox for creating desktop shortcut, restoring this functionality.
Fix install folder defaulting to 64-bit for 32-bit.

NOTICE: We now only support NSIS 3, no we don't care about your set up,
see our build-windows page for updated details on this.
2019-01-06 14:52:29 -05:00
Lirusaito
13816b696f Fix reporter spawning notifications over and over
The user needs only one per session if that.
Also no longer have reporter processRegionInfo when it doesn't use that.
2019-01-06 09:46:14 -05:00
Lirusaito
252fdcdd1e Collab with RouterGray to set Startup project automatically via CMake.
Also thanks to Alchemy, we think.
2018-08-27 18:42:27 -04:00
Lirusaito
13e2af8990 Request: Add setting SinguMotionResetsCameraReset to let the user decide if SinguMotionResetsCamera will Reset without their explicit action. 2018-08-27 12:33:02 -04:00
Lirusaito
8ecbf79199 Fix this because it shoulda been this from the start, oops. 2018-08-27 12:29:48 -04:00
Lirusaito
03d686a246 This is unused, remove it. 2018-08-27 12:27:40 -04:00
Shyotl
f03249f5d5 Update manifest and lldir_linux to use new crt file. 2018-08-12 19:53:07 -05:00
Shyotl
0d8dfb41bc Fix gcc 4.9 build errors. 2018-08-12 18:26:07 -05:00
Shyotl
38c6302f11 Attempt to make mesh loading a little less choppy. 2018-08-11 01:09:04 -05:00
Shyotl
dcc13b447c Fix compile post liru merge. 2018-08-10 23:07:27 -05:00
Shyotl
5d2eb3e4cf Fixed hot spot in volume generation. 2018-08-10 23:07:13 -05:00
Shyotl
c8427140bd Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer.git 2018-08-10 19:30:01 -05:00
Shyotl
23228e111c Ohgodthistypobrokeeverything. 2018-08-10 19:29:08 -05:00
Shyotl
2257e8ebe7 Add new required lib to newview. 2018-08-10 18:58:29 -05:00