Commit Graph

40 Commits

Author SHA1 Message Date
Lirusaito
94cf62f510 Fix issue of Enter not reliably opening items 2019-07-10 03:33:05 -04:00
Lirusaito
a3bf40fd69 Boost unordered containers in places, like for uuid types! 2019-04-04 22:22:21 -04:00
Lirusaito
90e9bce8de Boost::unordered is better than std::unordered, apparently 2019-03-27 22:28:29 -04:00
Lirusaito
9f23dcb0c4 [InvOpts] Folder View unordered opt pass 2019-03-22 02:10:43 -04:00
Lirusaito
7d97ebf581 [VMM] Fix the labels over labels issue
Reintroduces a searching bug, but only for marketplace top level folders
Arguably a better bug than what appears to be character corruption due
to labels drawing over each other.
2019-03-11 20:45:26 -04:00
Lirusaito
2b40e044c4 [VMM] Opts 2019-03-11 20:40:29 -04:00
Lirusaito
2bc0360d8e Revert "Don't draw what's being filtered!"
This reverts commit eb348c08ad.
2019-03-11 18:52:18 -04:00
Lirusaito
8c31a0e2c5 [VMM] Dirty children's filters when dirtying our filter
Fixes inability to expand folders that show up in areas they were
previously filtered in. Yay, VMM is pretty much ready.

Drop Target doesn't work and we're hiding the sort menu because it's
glitchy, but GG!~
2019-03-11 13:50:23 -04:00
Lirusaito
a3365512b3 [VMM] Opt: Only do this when rearranging, actually. 2019-03-11 12:43:36 -04:00
Lirusaito
4a0e78fcbc [VMM] Fix the stutter
Introduces a bug where previously filtered folders cannot be opened
2019-03-10 20:01:42 -04:00
Lirusaito
eb348c08ad Don't draw what's being filtered! 2019-03-10 18:57:15 -04:00
Lirusaito
e15a284ae5 [VMM] It's glitchy, but this hides the folders according to filter 2019-03-10 18:56:51 -04:00
Lirusaito
2f0b6e1e09 Small opt for filter stuffs 2019-03-10 16:45:04 -04:00
Lirusaito
a94ad1c1fa [VMM] Sync with upstream for setting mHasVisibleChildren 2019-03-09 17:51:38 -05:00
Inusaito Sayori
758d45af68 LLInventoryFilterParams and other stuff to merge. 2019-01-25 19:33:19 -05:00
Inusaito Sayori
7c1af50bda Double check vmm merge against alchemy. (sync) 2019-01-25 19:33:18 -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
Inusaito Sayori
167d336274 Up to compile phase
at 20fd3e98b4
2019-01-25 19:32:15 -05:00
Shyotl
4a9ff22eeb I was critically damp once. It was okay. 2017-03-14 01:44:26 -05:00
Shyotl
899ba7fded Fixed folder collapse state not being properly restored after clearing search string.
Updated inventory filter classes.
LLInventoryView renamed to LLPanelMainInventory for easier diffing.
2016-05-26 02:22:19 -05:00
Shyotl
be5d2f20bc llrender and lldir merge. Removed duplicate assets from skins. cleaned up skin textures.xml files to only include changes from default. 2016-04-11 02:51:08 -05:00
miKaぴょん
bc838629d9 Pass screen coordinates on folder item drag events
Thanks Lirusaito for guiding me while trying to
find this.
2015-11-20 00:11:54 +01:00
Shyotl
1c627317ec No longer include llerrorlegacy.h. Updated llstl to include deletion utilites. 2015-06-19 03:54:20 -05:00
Inusaito Sayori
72080e79e9 Sync llcommon with Alchemy a bit.
llmath::llround->ll_round
LL_ICC->LL_INTELC
Add llpredicate
Add LL_CPP11 macro
Remove llhash
Update llinitparam, llsd and all relatives of it.
2015-03-20 22:04:04 -04:00
Inusaito Sayori
585465d8c3 Patch Issue 1850: Graphical anomaly when searching inventory via creator 2015-03-09 18:57:58 -04:00
Drake Arconis
948ebe5213 All your codebase are belong to us. 2014-08-22 00:15:09 -04:00
Aleric Inglewood
a8cded0cf6 Allow calling LLNotificationsUtil::add from any thread.
This makes LLStringUtil thread-safe by removing a rather unnecessary
LLFastTimer from LLStringUtil::format.

Same thing for LLTrans::getString and LLTrans::findString, where
even a comment stated that the author wasn't interested in measuring
cpu time at all. In this case I added some code back to make sure
that we're not calling LLTrans::getString() in an inner loop, which
was the reason that the LLFastTimer was added.

Made one string static to avoid 45000 look ups during login, which
kinda triggered the above test.

Finally, LLNotificationsUtil::add is made thread-safe by making
LLNotificationChannelBase::mItems thread-safe and defering a call
to LLNotifications::updateItem to the main thread when called
from another thread (using a little statemachine).
2013-11-15 17:52:52 +01:00
Aleric Inglewood
85ff52be30 Bug fix: circumvent using LLs notify system.
Can't use LLs LLFolderViewItem::rename from
LLInventoryPanel::modelChanged because it's nonrobust spaghetti code
and causes randomly sized loops.

Also cleaned up the number of unused nameOrDescriptionChanged functions
introduced in a previous commit.
2013-07-20 18:28:52 +02:00
Aleric Inglewood
95a228b2e9 Actually use LLWearable::mDescription.
Set LLWearable::mDescription and keep it up to date.
This allows to export (and import) the description of wearables.
2013-07-19 21:17:42 +02:00
Shyotl
a5dad6be5c UI cleanup.
-Added ui-local transformation matrix.
-Gutted legacy commitcallbacks throughout ui widget ctors.
-Created filter_editor ui widget which issues commit on keypress
   -search_editor commits on focus loss/enter press
   -search_editor and filter_editor now have a built in 'x' button to clear text.
-LLComboBox::setPrearrangeCallback now uses boost::function
-LLComboBox::setTextEntryCallback now uses boost::function
-LLLineEditor::setKeystrokeCallback now uses boost::function
-LLLineEditor::setPrevalidate now uses boost::function
-LLPanel::childSetKeystrokeCallback removed
-LLPanel::childSetPrevalidate removed
-LLPanel::childSetActionTextbox now uses boost::function
-LLTextBox::setClickedCallback now uses boost::function
-LLTextEditor::setKeystrokeCallback added.
-Cleaned up JCFloaterAreaSearch
2013-04-16 00:25:59 -05:00
Lirusaito
d0a0aa7a65 Fix handle_secondlifeprotocol.sh, and sync with v-d.
More translation strings~
Log inventory offers to those we're not chatting with.
"SDL deiconification state switched to " now lldebugs instead of llinfos, far too spammy..

(Pre-outbox commit, may contain pieces of outbox work.. and unmentioned harmless sync)
2012-11-06 18:50:45 -05:00
Shyotl
945c663359 Updated LLInventoryModelBackgroundFetch and LLInventoryModel(code migration) 2012-06-11 06:57:54 -05:00
Shyotl
0fdab061b9 Some spring cleaning. 2012-03-21 02:22:27 -05:00
Shyotl
2f632d3324 Worn items have bold text in inventory. Also made label text for worn items more legible. 2012-02-27 19:04:47 -06:00
Shyotl
2bf940e15d Fixed up inventory filter. Basic folders now have an 'open' icon. Tweaked the indent size for inventory (looks a little nicer imo) 2012-02-27 02:53:12 -06:00
Shyotl
5c66c70546 Display an arrow overlay on item links. 2012-02-23 14:31:43 -06:00
Shyotl
b0240320ee Inv menus appear now. Still need to update llmenugl and its variants, since our current version is buggy. Also need to look into why inventory postfixes aren't appearing. 2012-02-18 01:59:02 -06:00
Shyotl
ae7b12f230 Interim commit before diving into reworking the inventory panel. 2012-02-16 19:25:59 -06:00
Shyotl
a90d7bbb46 Innitial commit. Pulled minor changes out of bulk of changes comming for multi-wearables. 2012-02-16 12:00:38 -06:00
Shyotl
a6f95d21af LLFolderViewItem and LLFolderViewFolder migrated to llfolderviewitem.cpp/h. 2012-01-26 12:54:38 -06:00