Liru Færs
a687273d57
Default column sorting to list sort_ascending attribute value
2020-01-10 16:07:37 -05:00
Liru Færs
28f13b806c
Some harmless reorganization
2020-01-10 16:06:44 -05:00
Liru Færs
f1342d7bb8
Fix Name List xml processing (and typing into them to +find names!)
...
LLNameListCtrl::fromXML was ancient,
and LLScrollListCtrl::fromXML had been getting updated
but that processing should be done in a common virtual function so we have
a valid hierarchy! This fixes that!
Now all of the modern amenities added to scroll lists are in name lists.
2020-01-10 15:49:12 -05:00
Liru Færs
c3428c6d57
When chat scrolls, IDBearer URL menus shouldn't lead to the wrong place
...
Optimizes away multiple iterations over scroll lists and
multiple parsings of urls to determine the target(s)
At the cost of the last selection being stored statically in a vector
Removes virtual LFIDBearer::getNumSelected
2020-01-10 14:46:54 -05:00
Liru Færs
31003f13af
Fix Crash on text editor right click
...
Fixes Crashes N and P
Missing nullcheck, my bad
Never expected there not to be a menu segment url when a menu is open
2020-01-08 10:25:44 -05:00
Liru Færs
66b2ad5f30
Actually fix crash 1, 5, and J
...
Removes a bad fix for beware's crash from forever ago
2020-01-07 08:12:01 -05:00
Liru Færs
6839cba56a
Encapsulate LFIDBearer::sActive, set with member setActive
...
This function caches the current type when active,
in the future it could be more useful than that.
sActive is now const, getActive returns const,
IDBearers display information, the interface should only be used for that
2020-01-06 12:22:31 -05:00
Liru Færs
f73fb6424b
Const qualify copy
2020-01-06 12:14:13 -05:00
Liru Færs
8e01fcb7f0
Merge branch 'master' of https://github.com/RouterGray/SingularityViewer
2020-01-02 01:55:02 -05:00
Liru Færs
3cddb0df2e
Fix Crashes 1 and 5: LLTextEditor::replaceUrl, call to member
...
When a boost bind is converted into a suitable slot_function_type,
trackables will no longer be tracked, thus using ternary or static casts
breaks tracking, so old text editors were still receiving signals.
2020-01-01 21:35:07 -05:00
Router Gray
af8f0e1155
Fix gcc error 'extra qualification on member'.
2020-01-01 06:53:08 -06:00
Liru Færs
5df00a481d
Code cleanup, now that erase is a member function
2020-01-01 02:59:52 -05:00
Liru Færs
d299c55ea4
Ve must erase ze kinderlach!!
...
Fixes Error 3, which was caused by deref of invalidated iterator
2020-01-01 02:59:23 -05:00
Liru Færs
d9d83a6807
Fix potential crash when SinguReplaceLinks is off.
2019-12-31 05:27:06 -05:00
Liru Færs
3fec94bb94
Clean up spell check entries properly, yikes.
...
Thanks for pointing this out, Torric!
2019-12-28 05:54:11 -05:00
Liru Færs
09926d12bb
Fix compile, again, oops.
2019-12-28 04:10:21 -05:00
Liru Færs
19bcdae6ac
LineEditor: Automatically hide spell check separator when it's not in use
...
That's the line that likes to linger beneath the menu, looking dumb
so now it won't, yay!
2019-12-28 04:09:35 -05:00
Liru Færs
36025384f4
Space change, remove excess check
2019-12-28 02:22:30 -05:00
Liru Færs
4bdbb89e6f
TODONE: create accessor methods for mItems
...
Adds LLMenuGL::end, LLMenuGL::getItems
Changes LLMenuGL::find to a const function returning a const_iterator
2019-12-28 01:43:01 -05:00
Liru Færs
e94314dc95
LLMenuGL::getItemCount should be const and return size_type
...
Also put it in the header.
2019-12-28 01:21:33 -05:00
Liru Færs
5dd68a4055
Actually make use of the item_list_t typedef
2019-12-28 00:31:45 -05:00
Liru Færs
fff4e9b4b8
Add optional name parameter to addSeparator
2019-12-28 00:23:46 -05:00
Liru Færs
841bd0e515
Add Group menus to group search, profiles, and groups floater
...
Also expand Group SLURL menu items for links in chat
Calculate ID Type from mPopupMenu's presence in sMenus, if possible.
2019-11-24 07:53:36 -05:00
Liru Færs
6d5df7c9af
Make TextEditor an IDBearer, via slurl segments!
2019-11-24 06:03:46 -05:00
Liru Færs
1b913443ad
Add in menus for groups, and rework LFIDBearer to handle its menus
...
Also allow List.StartIM for multiselect
Add IsInGroup, NotInGroup, Leave, Join, and Activate "List." menu options
2019-11-24 00:27:19 -05:00
Liru Færs
5a561e03b8
Introduce Types for ID Bearer IDs
2019-11-23 23:05:33 -05:00
Liru Færs
fb20751330
Create LFIDBearer default virtual functions for IDs and counts for 0/1 ID
2019-11-17 22:42:53 -05:00
Liru Færs
7d0cbf6d02
Add a tiny hack to support <nolink> tag
2019-11-16 15:46:36 -05:00
Liru Færs
0b4f576c54
Touch up merge for llurlentry
2019-11-16 15:36:11 -05:00
Shyotl
79bafbb943
Merge remote-tracking branch 'singularity-viewer/master'
2019-11-05 21:50:08 -06:00
Shyotl
36bfaf0f05
Clean up appearance editor.
2019-11-05 21:48:12 -06:00
Liru Færs
021ba21b4f
Fix Show/Hide spell check clutter
...
This patch is needed until the future where we discard menus on close
2019-10-30 00:32:21 -04:00
Liru Færs
3fa4f73b6f
Fix linux build, for the millionth time... is there a record?
...
Thanks for the help, damian
2019-10-22 01:55:06 -04:00
Liru Færs
d5af2588bc
Let combo box label be default selection via xui
2019-10-21 16:48:14 -04:00
Liru Færs
ebcbf79237
Rearranging and cleaning up some assorted code
2019-10-20 01:36:41 -04:00
Liru Færs
f5fd05a1e4
Remove unused gPopupMenuView and MENU_BAR_WIDTH and other associated code
2019-10-20 01:32:56 -04:00
Liru Færs
daffb602bb
Clean up a bunch of spelling suggestion code that's annoyed me forever
2019-10-19 08:24:33 -04:00
Liru Færs
0f28a1bd86
These are things, I'm sleepy
2019-10-19 07:24:30 -04:00
Liru Færs
bd2c67e8ec
Fix win32 warnings
2019-10-11 16:28:48 -04:00
Liru Færs
43163b400d
Add support for a bunch of v3isms to scroll list xml parsing
2019-10-10 18:57:42 -04:00
Liru Færs
2f72ed2e80
Revert addition of now unused LLLineEditor::mFontStyle
2019-10-10 11:41:58 -04:00
Liru Færs
9824cc7068
Display Name UIs as links when they can be interacted with
...
Adds font style member to line editors, might be useful in the future?
2019-10-10 03:31:31 -04:00
Liru Færs
f5ffa65ea7
Merge Line Editor menu and Text Editor menu, and use EditMenu listeners
...
Cleans up a ton of logic and some excess memory usage
Translates Line Editor menu, finally
2019-10-09 17:12:10 -04:00
Liru Færs
bce8a3b3cc
Add extending existing xml menus by using filename attribute
2019-10-09 15:36:36 -04:00
Liru Færs
8f3b10875e
Introduce LFIDBearer, a Class for menu bearing UI that offers IDs to menus
...
Move menu code from scroll list into there
Separate out interface for getting IDs
No longer bother with the focus manager, for menus where not necessary,
this ensures that if focus suddenly changes, it won't break menu UX flow.
Clean up all the static functions by using new static class functions
2019-10-07 23:46:09 -04:00
Liru Færs
33ef6cc3f7
Initial alteration of namebox for clicky stuffs
...
Should allow left clicking of certain name textboxes to bring up profiles
Removes old dead variables
Cleans up includes
2019-10-07 23:38:34 -04:00
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