Commit Graph

487 Commits

Author SHA1 Message Date
Lirusaito
8fef329437 Fix UB, thanks Router and Clang for the heads up 2019-06-29 21:23:07 -04:00
Lirusaito
bf176ffd4d Prevent the texteditor from parsing highlights when it shouldn't 2019-05-11 22:49:56 -04:00
Lirusaito
6a7695a8f0 Refactor appendAndHighlightTextImpl's Highlight impl and fix selection 2019-05-11 22:40:17 -04:00
Lirusaito
2a40ca6295 LLTextEditor's setText and setWText shouldn't always enforce linking 2019-05-10 16:45:20 -04:00
Lirusaito
93af7491ee Attempt at fixing beware's selection lost bug once and for all 2019-05-07 01:07:48 -04:00
Lirusaito
2075d92369 Fix crash when SinguReplaceLinks is false reported by Beware 2019-05-07 00:33:39 -04:00
Lirusaito
3d21dc309c Views fromXML can have sound_flags now 2019-05-04 03:40:08 -04:00
Lirusaito
b34021abd5 Fix Beware's notecard embed crash by immediately reflowing upon remove
We'll want to revisit this later and more optimally fix it.
2019-04-28 06:22:42 -04:00
Lirusaito
b8c9d9c0f3 Clean up LLScrollListCtrl and add ability to getSortColumns() 2019-04-27 03:02:47 -04:00
Lirusaito
190e3e8c2f Fix link replacement being enforced improperly, thanks Beware! 2019-04-21 22:06:33 -04:00
Lirusaito
0464e611c7 Sync with future branch for urls 2019-04-21 20:39:54 -04:00
Router Gray
002cbce499 Regextra. Fix URLs with '?' params and probly other stuff too. Thanks Liru. 2019-04-20 09:21:20 -04:00
Lirusaito
8ef3e923e8 Allow bare minimum urls in [url text] syntax 2019-04-19 20:07:46 -04:00
Lirusaito
308a249891 Pie menus were looking up settings each frame...
How am I the first to notice this.
Also, while we're here, let's clean up duplicate code and make some constexprs
2019-04-19 02:29:12 -04:00
Lirusaito
1244d5df03 Fix the chat bug, save the world~
Also fix badly written parts of LL stuff synced.
2019-04-19 01:16:27 -04:00
Lirusaito
8979f12111 Fix the chat bug, I think... also momre text base sync, yay! 2019-04-18 14:45:21 -04:00
Lirusaito
41ebd51fca C'mon, reallly? 2019-04-18 10:16:48 -04:00
Lirusaito
5228451c9c Fix a lag bug of chat vanishing at the start, 'cause that's wrong.
This might break chat, but I'm sleepy, so you get it untested...
do the math yourself if it's wrong.
2019-04-13 03:09:12 -04:00
Lirusaito
00e9960d77 Fix compile 2019-04-11 06:14:35 -04:00
Lirusaito
7fc90d3dce Feature Request: Add SinguAlwaysUnderlineLinks to always underline links 2019-04-11 04:15:12 -04:00
Shyotl
3724cf0e68 Fixed some more header issues. 2019-04-11 03:12:48 -05:00
Lirusaito
7be177e9ab Fix a text editor bug with selection being lost when url segments updated
By doing it the right way, and calculating where the selection should be
after the change is applied.
Also no longer consider text editor modified if nothing was changed.
Also update cursor position so it doesn't move to the wrong place on update
2019-03-26 05:10:21 -04:00
Lirusaito
627c0a6b57 Fix overzealous regex not letting ) be part of secondlife.com urls
Thanks to Bitten and Router for reporting and testing.
2019-03-18 18:16:54 -04:00
Lirusaito
c58df7a3d9 Make the viewer lighter by one or two BOOLs per slider! 2019-03-13 18:59:18 -04:00
Lirusaito
4e34328156 Fix resolving grid uri on login screen looking bad 2019-03-12 16:54:31 -04:00
Lirusaito
a3493f5f6b Fix a crash, make Statistics look prettier
Thanks, Aru!
2019-03-08 16:09:19 -05:00
Lirusaito
324f12641a Remove redundant casts from c_str to string
Thanks Aru
2019-03-06 16:11:42 -05:00
Lirusaito
f0b3527bb5 Fix crash on saving notecards noticed by Torric 2019-03-06 15:58:19 -05:00
Lirusaito
4fdc1f3311 hide_border should save to xml 2019-03-05 13:50:36 -05:00
Lirusaito
4218011417 Merge branch 'master' into ManagedMarketplace 2019-03-03 12:56:03 -05:00
Lirusaito
58ba9e3617 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2019-03-02 19:01:49 -05:00
Lirusaito
fb39f2d511 Merge branch 'master' into ManagedMarketplace
# Conflicts:
#	indra/newview/llinventorybridge.cpp
#	indra/newview/lltooldraganddrop.h
2019-02-28 23:58:08 -05:00
Lirusaito
0269affb69 I need less unstaged code
Here's pieces of the WIP offline->IM->online fix
2019-02-15 19:33:22 -05:00
Lirusaito
2493c401f9 Force replacing registered urls everywhere that's not from another user
I think I covered all my bases:
Local Chat, IMs/Group/Conference Chats
Script Dialogs
Group Notices

There are a few others maybe, like notifications EMs can spawn but if
those are intentionally tricking people, grid owners should be informed.
2019-02-09 16:51:15 -05:00
Lirusaito
90285944d9 Line editors need to commit on return 2019-02-07 01:34:09 -05:00
Lirusaito
62628a66bd Have a menu for agent slurls with name types. 2019-02-03 18:36:49 -05:00
Lirusaito
0478d90578 Right click linked names/groups/objects in chat, copy key 2019-02-03 17:38:43 -05:00
Lirusaito
0d22841da1 Woops, that's some inverted logic! 2019-02-01 10:13:07 -05:00
Lirusaito
d20dbaa7d2 Feature Request: Allow use of a separate color for linked usernames.
The setting is HTMLAgentColor, I will not add this to preferences for now.

Note that usernames before the colon in the chat are cached,
set before login to change it for everyone or relog.
Also hook up getStyle() for the registered urls,
cleans up some code in lltexteditor.
2019-02-01 08:12:12 -05:00
Inusaito Sayori
f140b4f35c Giant VMM merge, still need to compile it and fix llfloatermarketplacelistings
Merge VMM up to change 187902d9c4afd2990acddeb964c928179a52d189

mAllowWear=>mAllowOpen (should probably just remove this altogether though
inventory_panels now accept the "show_root_folder", "allow_drop_on_root", "allow_open", and "use_marketplace_folders" attributes.

Other stuff in this commit:
LLPanelInjector~
Sync lltooldraganddrop to alchemy
Sync notifications up with alchemy
Reorganize notifications some, to better merge with upstream
Remove duplicate InventorySortOrder in settings map
There's a bit of a weird folderview merge mixed into here, I wouldn't trust it, but this thing is so god damn tangled I can't go back now~

Wouldn't have been possible without help from Shyotl and music by Amanda Palmer
2019-01-25 19:33:15 -05:00
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
621c0a0249 Don't double up separators in the context menu 2019-01-22 00:49:09 -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
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