Commit Graph

7107 Commits

Author SHA1 Message Date
Lirusaito
77cdc0fa4c Stop spamming the log whenever preferences opens!! 2019-01-24 12:30:14 -05:00
Lirusaito
3bdf6e553d Add InactiveFloaterTransparency and ActiveFloaterTransparency settings
Dear Users,
This removes FloaterUnfocusedBackgroundOpaque, to achieve the same effect,
modify InactiveFloaterTransparency, 1.5 should do the trick.

PS: The settings are in the Vanity tab at the bottom.

Now for developer nonsense:
Also sync a bunch of the UI code with upstream Alchemy for opts and shtuff.
Also let's translate the tooltips on the buttons on the top right of floaters
Translators note that not all new strings have been translated yet as not all are upstream.
2019-01-24 11:57:44 -05:00
Lirusaito
546422609a Cleanup and simplify Script Count code 2019-01-23 23:37:54 -05:00
Lirusaito
b971799638 Woah, woops! Fix double click crash!! 2019-01-23 22:23:15 -05:00
Lirusaito
bedb567eba Don't RenderHiddenSelections, it makes mesh select bad.
This change snuck into upstream in 2010 in a commit by Dave Parks titled
Fix for bad zipping of meshes and add mesh icon back to repository.
2019-01-23 21:35:49 -05:00
Lirusaito
b4cf0b429b Sync LLSelectMgr with upstream Alchemy 2019-01-23 05:05:36 -05:00
Lirusaito
ca5fb91350 We C++14 now. 2019-01-22 03:31:07 -05:00
Lirusaito
621c0a0249 Don't double up separators in the context menu 2019-01-22 00:49:09 -05:00
Lirusaito
d0b7a983d1 Fix an edge case where the radar could now crash loop, woops.
Thanks to Deltek and Router Gray for reporting and testing! <3
2019-01-21 23:38:23 -05:00
Lirusaito
54cf0a6a91 Set up LLButton::Params and LLButton::initFromParams 2019-01-21 23:37:28 -05:00
Lirusaito
bde8782328 Add in LLLoadingIndicator 2019-01-21 22:31:18 -05:00
Lirusaito
c8d95e58c3 LLMenuGL Sync 2019-01-21 22:31:13 -05:00
Lirusaito
95cd6cf775 Sync up textures.xml a bit 2019-01-21 22:31:07 -05:00
Inusaito Sayori
dd7ab5a0ff Underline all registered urls on hover 2019-01-21 08:48:54 -05:00
Lirusaito
865061faf0 Don't split link underlines, since we're not even using the query color 2019-01-20 15:46:29 -05:00
Lirusaito
02c06f1654 Don't leave links underlined if the mouse leaves 2019-01-20 15:45:52 -05:00
Lirusaito
0aa6fa9302 Fix scrolling not taking effect on certain sliders 2019-01-20 14:36:57 -05:00
Lirusaito
8a08964755 Request: Underline links when hovering over them, for distinguishability 2019-01-20 14:25:56 -05:00
Lirusaito
413c24bde8 Bug Fix/Feature: Make the spam of radar on open/close and login optional
Adds RadarAlertFlood and RadarAlertFloodLeaving
RadarAlertFloodLeaving requires RadarAlertFlood
Radar uses new announcements for these events.
These settings are off by default,
Find them in your local debug settings!
2019-01-20 14:23:43 -05:00
Lirusaito
f9fe8a056a Remove duplicate and old/invalid code from llviewertexteditor.cpp 2019-01-20 12:12:27 -05:00
Lirusaito
d8c95f844f Add url menus to the text editor!!
Hey there, Alpha User! This commit is riddled with complex words,
but here's what matters to you: This adds the ability to right click a
Name, URL, SLURL, or Object Name, or even an Email, and get some awesome
options just like v3 gets! Buuuut, unlike V3, if there was something else
you might want to do, we've still got you covered in the same menu!!

Also make the text editor's default menu an xml
Synced a lot from upstream
Unlike Upstream, actually combine the base menu with the url menu if we have a selection
Unlike Upstream and previously, don't create a new menu per text editor
Unlike Upstream, don't create a separate FriendSignal and ObjectBlockedSignal per text editor we need it in!!
Unlike Upstream, always show a Select All option
2019-01-20 09:40:56 -05:00
Lirusaito
61b1128d76 Allow menu xmls from v3 that use context_menu tag instead of menu
Just parse them as LLMenuGL for now, that's what they basically are.
2019-01-20 09:32:13 -05:00
Lirusaito
1317f26d04 Remove debug spew, my bad 2019-01-20 09:24:44 -05:00
Lirusaito
7112e163e6 Update our url stuffs!
Adds support for JIRA link labels from Alchemy. (Made less of a mess by me)
Adds support for x-grid-info, the future of x-grid-info-location from Alchemy.
Updates uriparser latest from Alchemy.
Updates llstring to be more in line with upstream Alchemy.
Fixes our LLURI Implementation
Updates LLURLAction to modern C++ stuffies~
Adds Email protocol support from alchemy
Sync LLSLURL with Alchemy, adding x-grid-info support.
Also keep NoProtocol Support because yaaassss~
(also we won't suffer from MAINT-5019 because we're not dumb.)
2019-01-20 09:13:05 -05:00
Lirusaito
4b4c8c8e37 Woops, each link needs its own style! Thanks for testing, Torric! 2019-01-20 04:37:53 -05:00
Lirusaito
3a159111f3 Don't duplicate code, that's silly. 2019-01-20 04:36:39 -05:00
Lirusaito
f6beee3693 Don't look for clicking urls during draw, do that later upon click 2019-01-20 04:35:21 -05:00
Lirusaito
4f32024d3b Fix nearby media panel fading after time on Nearby Media Floater
How did no one notice I broke this in syncing over two years ago?
2019-01-19 10:47:21 -05:00
Lirusaito
edb6c0e8e9 Feature Request: Add a stop button to MOAP hover controls
Also raise up the speaker button two pixels so it doesn't look so bad.
2019-01-19 10:03:21 -05:00
Lirusaito
74af7dc80e Add LLTextEditor::setLinkColor for when links need to be another color!
This fixes blue on blue in notices for the classic skin,
while it does affect other skins, it's not very noticeable.
Actually this change kinda makes links match skins better overall...
2019-01-19 06:18:44 -05:00
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