Liru Færs
497012f98e
Clean up focused UI menu code and opt out a common dynamic_cast
...
Initially I null checked this in testing and debugging, and since
then this code has just lowered performance, ugh.
2019-09-07 13:36:08 -04:00
Liru Færs
4b97f76aa7
Make the right click avatar slurl menu as good as the list ones
2019-08-30 15:24:05 -04:00
Liru Færs
29236442de
A scroll list doesn't always handle double clicks
2019-08-18 17:27:52 -04:00
Liru Færs
b93f4fa879
Do hitItem opted like drawItems, and be able to click on item slivers
2019-08-18 17:08:00 -04:00
Liru Færs
971083415c
This should fix Nai's issue, maybe?
2019-08-18 16:20:26 -04:00
Liru Færs
a1a23cf6c5
At least draw the hidden item... I'll fix this later
2019-08-18 03:33:15 -04:00
Liru Færs
51974891a8
Harmless change
2019-08-18 03:32:37 -04:00
Liru Færs
7670094e7d
Rearrange these to where they're needed, and opt draw more
2019-08-18 02:07:37 -04:00
Liru Færs
69addc1d52
Use Cached Control during draw call
2019-08-18 01:33:42 -04:00
Liru Færs
ab4e0127c5
Further optimize LLScrollListCtrl::setFilter for contracted filter cases
2019-08-18 01:22:02 -04:00
Liru Færs
ba9e7d8056
Fix filtering scrolllist scrollies
...
filterItem now returns a bool whether or not the item was filtered.
2019-08-18 01:13:26 -04:00
Liru Færs
878b200217
Don't bother updating scroll list scrollbar rect when invisible
2019-08-17 23:54:30 -04:00
Liru Færs
1ffa9f7c0c
Fix and optimize redundant scroll list drawing logic
2019-08-17 23:52:43 -04:00
Lirusaito
37c6636788
A function to set scroll list sort order
...
Renames getSortColumns to getSortOrder
2019-08-02 20:05:58 -04:00
Lirusaito
2580ca7afd
Fix paused frame overflow, thanks Rye!
2019-07-31 14:22:27 -04:00
Lirusaito
5f2b3a10ff
X-Grid Protocol resolution support
2019-07-26 20:44:17 -04:00
Lirusaito
ac7e5cb742
Merge branch 'animesh' of git://github.com/Shyotl/SingularityViewer into animesh
2019-07-26 04:22:43 -04:00
Shyotl
2dbbec88f7
Fixed bug with LLStat median calculation. Clean up llstatbar a bit.
2019-07-25 23:43:04 -05:00
Shyotl
6dc9210a7e
Const is good. Use it for viewer stats.
2019-07-25 22:30:44 -05:00
Lirusaito
0f24c79ce9
Restore storage of list maximum column width
...
Fixes thin lists in comboboxes and flyout buttons
2019-07-23 02:07:40 -04:00
Lirusaito
d66c730c30
Back down on overzealous list filter checking and explicitly default filter
...
For clarity to others in the future: getFiltered() checks are meant for
functions where the user is interacting the scroll list in some way
or we're displaying the scroll list.
2019-07-22 23:38:45 -04:00
Lirusaito
3654ff5f5c
Fix up EAM to work (Part 2)
...
Did you know you could type into a list to search it by prefix?!
The Lindens didn't!!
Let's make this search bar an ACTUAL FILTER!
To do this, we add support for filtering to all scroll lists,
so that's cool. Also filtered items will be selected.
Also optimized item selection loop to perform better when selecting in
massive lists (like group members)
Changed the text on the Copy Button to reflect that it copies everything,
not just the applied filter... if you wanted that, you could just
ctrl-a, ctrl-c... I mean, reallly
2019-07-22 08:39:06 -04:00
Lirusaito
8126418ef3
Sync with upstream to kill dependent floaters appropriately
2019-07-20 18:43:10 -04:00
Lirusaito
d0a6772245
Merge in EAM from viewer-release
...
Remove the derpy stuff lindens like to do
Wide strings aren't normal strings
Make it all a bit better~
Redid the Duration floater because it was kinda icky,
gave it more flexibility~<3
Display parcel ban and access durations as dates instead of text, sortable!
Reworked the rather icky lookin' Access panel control ordering
Enabled lowering parcel ban time without needing to find and remove first
2019-07-20 18:27:47 -04:00
Lirusaito
3f921251ee
Add getAllIDs to LLScrollListCtrl, and make getSelectedIDs a little better
2019-07-18 20:09:47 -04:00
Lirusaito
cf94149dc1
Scroll List Dates need a default format
2019-07-18 18:55:05 -04:00
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