Compare commits

...

2990 Commits

Author SHA1 Message Date
Rye Mutt
7709a275d6 Update FMOD 2022-09-30 23:58:50 -04:00
Your Name
ca7ea4a541 Correctly use Python2 2021-07-18 15:33:42 -04:00
Liru Færs
e6dc4d404f Don't forget to upload the 32-bit build! 2021-02-18 23:22:20 -05:00
Liru Færs
33cdb8a01f Make a function for trying to upload a platform's build 2021-02-18 23:08:00 -05:00
Liru Færs
dfcdb6ba09 Make gitlab ci work even if there's no linux build 2021-02-14 17:15:37 -05:00
Liru Færs
ae244983b0 Nope, this was broken, woops!~ 2021-02-14 14:36:45 -05:00
Liru Færs
8d2bdd4a18 New year, new gitlab-ci; thanks Rye!~ 2021-02-14 13:51:07 -05:00
Liru Færs
246db973b4 These changes look harmless 2021-02-14 12:43:19 -05:00
Tarocco
d49c38bf18 Refactor LLDAELoader
- Many instances of null-checking if statements include both variable declaration and initialization (for scoping)
- Modern(ish) C++ conventions (e.g. range-based for loops, auto keyword)
- Local variable caching for array/iterator elements
- const keyword for variables that should not be mutated (optimization possible)
- const keyword for instance methods that should not mutate (affects LLModelLoader in one case)
- Consistent usage of un/signed types for array indexing
- Better readability/simplicity of branching
- Consolidated extractTranslation/ViaElement logic (reusability)
- Formatting
- Changes based on code review
2020-10-11 19:32:16 -04:00
Liru Færs
c1aa88c720 Fix bad VLC experience in installer. Thanks Rye~ 2020-10-07 20:02:49 -04:00
Tarocco
937618b177 Model-space transformations applied to skinned model and bind shape matrix
Skin data is retrieved in processElement() by instance_controller elements, and calling processDomModel(), replacing the daeDatabase method
2020-10-07 09:05:26 -04:00
Rye Mutt
4a0936a4b5 Enable running master builds from web 2020-10-01 00:17:09 -04:00
Rye Mutt
891286c447 Merge pull request #35 from tarocco/meshupload
Improved mesh model (DAE) loader compatibility
2020-10-01 00:10:21 -04:00
Rye Mutt
04db5d1075 Merge branch 'master' of https://github.com/RouterGray/SingularityViewer into master 2020-09-29 23:33:09 -04:00
Rye Mutt
997037a232 Update fmodstudio to 2.0.04 build 417 2020-09-29 22:52:11 -04:00
Rye Mutt
f0dfb0b080 Update openjpeg with alchemy changes 2020-09-29 22:48:31 -04:00
Tarocco
f9c07b4806 only use SID if it is not empty 2020-09-24 20:14:19 -07:00
Tarocco
9f9a21bb73 refactor: reuse local variable 2020-09-24 20:04:43 -07:00
Tarocco
386528a892 Improved mesh model (DAE) loader compatibility
Added dynamic SID joint resolution for skinning (adds compatibility for DAE files made using MAXON Cinema 4D)
2020-09-06 21:11:15 -07:00
Router Gray
4efe28cf52 Merge in offline item deliveries fix from upstream. This also reverts commit 24f54572. 2020-07-21 00:23:19 -05:00
Router Gray
2528f71bbf [Media] Add https to allowed audio urls 2020-06-16 10:57:04 -05:00
Router Gray
5610eaa839 [UI] Let the 'Dimensions' text on texture preview floaters be as wide as it wants to be so enbiggenized font sizes don't truncate it. 2020-06-16 10:57:04 -05:00
Router Gray
881cc46aa9 Add missing strings to floater_model_preview.xml 2020-06-16 10:57:04 -05:00
Router Gray
81f342e9bf [Windows][Installer] Add CRC check, add 7z to plugin reserves, remove old MS DLLs, use https for LL web start menu shortcuts 2020-06-16 10:56:49 -05:00
Router Gray
fe9d670800 [Linux] Update the debugging instructions in the viewer launch script to reflect unpackaged unstripped binary availability. 2020-06-05 13:19:32 -05:00
Router Gray
ffb54802d4 [Media] Nuke unused llmime and associated build tests, also remove unneeded includes in llmimetypes header. 2020-05-28 12:14:03 -05:00
Router Gray
518da73ad2 Drop some unused boost lexical_cast includes and associated MSVC pragmas. 2020-05-22 14:48:35 -05:00
Router Gray
3e78b74474 Now that fmt plays nice with gcc let's actually use it: replace std::to_string, boost lexical_cast and a couple miscellaneous llformats with fmt. (Alchemy sync-ish) 2020-05-20 21:07:18 -05:00
Router Gray
34a7ebf53f [Linux] Port some bits from Alchemy & future to stop using dark-ages deprecated GDK/GTK.
Todo: Revisit this and clean up some code duplication I stumbled over in the process. (legacy.cpp llwindowsdl.cpp)
2020-05-19 21:48:57 -05:00
Router Gray
45be739fea [Lib][Linux] Use system SDL not prebuilt. 2020-05-19 21:42:56 -05:00
Router Gray
68ae8afaf9 [Lib] Update abseil and fmt. 2020-05-19 16:51:29 -05:00
Router Gray
2bdcd9d07f [Linux] Target SSE 4.1. (I will make custom builds if anyone on older cpu's turns up. - RG) 2020-05-19 16:50:36 -05:00
Router Gray
24f5457203 Add setting to allow legacy UDP offline message fetch till LL fixes the cap. 2020-05-19 16:46:52 -05:00
Liru Færs
f941bc4334 [RLVa] Lie about our version of the spec, for now, I'll fix this later
RLV_VERSION is supposed to follow Marine Kelley's version,
we support most 2.9.0 features, but no 2.9.20 ones. So this is correct.

RLVa_VERSION is undocumented, play pretend by matching Kitty's version
Kitty's version has no documentation about version differences
that I can find. So we're just going to pretend to be up to date.
2020-05-19 14:00:01 -04:00
Shyotl
ab5bce69ee Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git 2020-05-16 22:52:08 -05:00
Shyotl
050a8c3923 Use sse copy for vertex and texcoord data. 2020-05-16 22:48:41 -05:00
Shyotl
8817bf53e3 Fix loading of texture precache list. 2020-05-16 22:45:50 -05:00
Shyotl
5e21037230 Fix rare shutdown crash 2020-05-16 22:44:03 -05:00
Liru Færs
cabaf0fd1c Don't use buildHTTP for login page, it might be https! Copy entire uri! 2020-05-13 19:40:52 -04:00
Shyotl
bd92a09a48 Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git 2020-05-09 04:51:12 -05:00
Shyotl
61f90c665a Fix issue with persistent notifications. open_notifications.xml was accumulating inaccessible notifications. Added MaxPersistentNotifications to cap notifications. Notifications new stored per account per grid. Startup should be faster too. 2020-05-09 04:50:01 -05:00
Router Gray
32dbd40e64 Unhack the string_view workaround in llpreviewgesture, with a slightly less hacky hack in llstring. lol. Thanks Liru for making this as lean as ancient gcc can stand it to be. 2020-04-26 08:44:23 -05:00
Router Gray
a69e04a817 [Lib] Update Fmtlib, and enable it for Linux builds. This is bare bones; only removing the Linux workarounds in Cmake. 2020-04-26 00:05:02 -05:00
Router Gray
159de683e8 Correct a logical OR in llrender, and add guards against mCount dropping below zero. (Alchemy and LL sync) 2020-04-26 00:04:48 -05:00
Liru Færs
a9dbaf5e0a Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer 2020-04-23 23:23:38 -04:00
Shyotl
3c3d8c2400 Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git 2020-04-23 14:57:55 -05:00
Shyotl
b4080f8e2d Demote this to llassert. 2020-04-23 14:57:30 -05:00
Shyotl
5de94d6610 Address several remaining 1.8.9.8373 crashes reported on 2020-04-23 14:56:47 -05:00
Shyotl
829045c262 Haphazard unsigned to signed casts causing problems? Shocker. 2020-04-23 14:51:06 -05:00
Liru Færs
b02d70fba0 Merge stuff from future branch and a logic bug fix by Router 2020-04-23 11:43:22 -04:00
Liru Færs
64ed6e99f0 Fix [NAME] appearing in certain i18n notifications instead of slurls
Thanks for catching this, Nai
2020-04-19 20:12:23 -04:00
Liru Færs
33d3bb2870 [Chat Logs] When migrating file to new name, respect possible new name file
If a new name file exists, copy its contents into our currently tracked
file, because we update our tracked file, the new file can only contain
more recent text (unless a name change back and forth and back happened
since last run, but then the out of order text isn't entirely our fault)

So we copy the new file's text to the bottom of our old file and then
remove the new file, so we can rename our old tracked file to the updated
name.

If we cannot perform the copy, or the delete, we bypass the migration,
leaving our old tracked file as a remnant and begin to track the new name
file because that is more proper than clinging to the old one, and thus
no history is lost to failure.
2020-04-19 20:04:25 -04:00
Liru Færs
4df2193a4c [Chat Logs] Always read from name cache on start to try to update ID Map 2020-04-19 16:40:17 -04:00
Liru Færs
343be08467 [Chat Logs] Break out migrateFile from makeLogFileName for use elsewhere 2020-04-19 15:50:50 -04:00
Liru Færs
788b83bff3 Woops, thanks for catching this, Shyotl! 2020-04-18 19:15:49 -04:00
Liru Færs
c201ac90ba Track log names in a json map AND Fix processing local log load as system
Update old style callbacks for chatFromLogFile functions to lambdas
Keep track of people's log's name using their IDs, but don't rename.
Fallback on ID if name is empty (if the grid is a meanie)
Also track group names this way, sometimes those change.
Prefer std::array, since we're in the area.
2020-04-18 00:17:05 -04:00
Shyotl
af3c66ad08 Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git 2020-04-16 02:23:32 -05:00
Shyotl
9bffc4bb82 Attempt to squash spatial partition crash. 2020-04-16 00:52:55 -05:00
Shyotl
132db6225e Make Debug configuration compile once more. 2020-04-16 00:49:42 -05:00
Shyotl
257086cbfc Revert texture fetching behavior back closer to v3. 2020-04-16 00:36:56 -05:00
Liru Færs
7755f1ec52 Merge branch 'master' of https://github.com/RouterGray/SingularityViewer 2020-04-11 10:28:04 -04:00
Router Gray
c5f1ac808b Fix postcard sends, use cap for user info, stop using 'from' email as per upstream. Mark final and overrides. Thanks Nadira Fairport for reporting & Liru for help. 2020-04-11 09:22:26 -05:00
Liru Færs
1a8660909d Copy Folder ID and Open Folder In New Window for ANY folder 2020-04-10 17:40:06 -04:00
Shyotl
e6826a4c7c Fix 'is typing...' notifications never going away. 2020-04-10 16:28:37 -05:00
Router Gray
801bb8a075 Compile fix, make types agree in terniary in octree. Thanks Liru. 2020-04-10 13:21:57 -05:00
Shyotl
b2c965e22d Do not apply internal windlight parameter scaling on the sliders themselves. 2020-04-09 14:20:55 -05:00
Shyotl
be3cbc642b Update current region debug string upon cap seed request. Carry over seed cap if dead region is replaced with new. 2020-04-09 02:12:36 -05:00
Shyotl
24331d3c90 Prefer LLPointer over potential for dangling LLSpatialGroup pointers. 2020-04-09 01:56:32 -05:00
Shyotl
8a16e6c99f Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git 2020-04-08 18:18:19 -05:00
Shyotl
f36e8fbeca Better crashdump context. 2020-04-08 18:11:09 -05:00
Liru Færs
718ef09adf Fix removing/exporting picks when unable to add more
Wooops, wrote that wrong, must've been tired or something
2020-04-08 09:21:21 -04:00
Liru Færs
6443849ea9 Do not lookup strings in the toolbar per frame, ack! 2020-04-08 08:33:41 -04:00
Liru Færs
cbb7e473ba Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2020-04-08 06:59:48 -04:00
Liru Færs
118957362f Fix mismatched tag 2020-04-08 05:11:11 -04:00
Shyotl
ed7f73769f Potentially fix crash in LLSurface 2020-04-07 23:30:12 -05:00
Liru Færs
ae15dcb318 Merge 41224c57317b6c1b44528aa1dc1f13732cdffe6d from viewer-lion... sorta
Fixes broken default perms message sometimes popping up for certain avs
2020-04-07 16:55:58 -04:00
Liru Færs
c4af22481c Update mesh export code, cause why not. 2020-04-07 15:30:13 -04:00
Liru Færs
ae17f76bb4 Remove now unused LLIMInfo 2020-04-07 10:49:48 -04:00
Liru Færs
7e62d17fda Don't try to use region if it's null for permissions defaults 2020-04-07 05:56:06 -04:00
Liru Færs
f9185e8bc8 Fix mutelist popping up, I think
LLMuteList::add should return false if nothing new was added
2020-04-07 05:55:24 -04:00
Liru Færs
1361f9b57d Simplify selection of mute 2020-04-07 04:29:45 -04:00
Liru Færs
b86eae026b Sync to fix using gMessageSystem when it may not have the right message 2020-04-07 04:29:20 -04:00
Liru Færs
79d938a4f4 Sync LLMuteList code with upstream 2020-04-07 02:51:08 -04:00
Liru Færs
23068a70a2 Select Mute when muting object via Object profile 2020-04-06 07:53:42 -04:00
Shyotl
0aa5e0bb88 Close 'default permissions' window on client disconnect. Nonfunctional after that point anyhow. Also applying setting crashes due to null region after dc. 2020-04-05 14:56:35 -05:00
Router Gray
5040275969 [CMake] Releases shouldn't speak Greek. 2020-04-04 06:47:39 -05:00
Liru Færs
1daccf40ee Move the FMOD Powered By text, for Torric and others 2020-04-04 07:28:19 -04:00
Shyotl
4fd302286b Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git 2020-04-03 06:02:48 -05:00
Shyotl
18f9f19e61 Textures mid-decode potentially processing of other textures until complete. Disabled UDP texture fetch fallback when connected to official grid. 2020-04-03 06:01:58 -05:00
Liru Færs
1de6d4461a Add missing EmergencyTeleportSeconds preference to System->Security
Thanks for the heads up about this missing preferences, and for the
Spanish translation, Damian!
2020-04-03 02:53:41 -04:00
Shyotl
4198f47ab6 Fix header breakage in debug/relwithdebug 2020-04-03 00:33:19 -05:00
Shyotl
d9049ba342 Handle AISAPI throttling and status 410 a bit better. 2020-04-02 21:47:07 -05:00
Shyotl
f75ac3e4c2 Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git 2020-04-02 20:09:53 -05:00
Liru Færs
06698deaca A couple more sim->region changes 2020-04-02 21:08:23 -04:00
Shyotl
445eb29bd3 Bring aisapi handling closer to LL (code 499 retry, match timeout values, etc) 2020-04-02 20:07:55 -05:00
Shyotl
cc034f6841 Fix inventory scrolling issue when navigating via keyboard. 2020-04-02 20:03:08 -05:00
Liru Færs
3c368651f1 Update crashpad, thanks Rye! 2020-04-02 20:39:01 -04:00
Damian Zhaoying
321730e384 More translations fixes in Area search and menu list owners. 2020-04-02 03:02:23 -03:00
Damian Zhaoying
c2fd88670f Fix some remaining spanish translations. 2020-04-02 02:36:20 -03:00
Liru Færs
7b03103a1f April Fools!
Ha, goteem
2020-04-01 20:52:44 -04:00
Liru Færs
ac3e19c91a Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2020-04-01 20:47:23 -04:00
Liru Færs
4c7d2224e3 Fix reverted xml change, fix formatting 2020-04-01 20:43:00 -04:00
Shyotl
3ab800d99e Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git 2020-04-01 19:26:41 -05:00
Shyotl
332cef0f84 Disable debug logging unless RelWithDeb 2020-04-01 19:26:23 -05:00
Damian Zhaoying
9de6d7627b A lot of updates and fixes for spanish language translations. 2020-04-01 20:44:41 -03:00
Liru Færs
98b42e88c1 Fix SV-2282: Incorrect terminology for TP Sound preference UI 2020-04-01 06:56:51 -04:00
Liru Færs
e642e9561a The sim is actually the region 2020-04-01 04:42:34 -04:00
Liru Færs
77f500cb64 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2020-04-01 01:59:42 -04:00
Liru Færs
d04a8fc677 Merge branch 'master' of https://github.com/RouterGray/SingularityViewer 2020-04-01 01:59:32 -04:00
Liru Færs
6028ae7b61 Fix group notices: Have a background for the header for certain skins. 2020-04-01 01:56:58 -04:00
Shyotl
347c2cbd8b Fall in line with LL octree code. 2020-03-31 19:07:55 -05:00
Router Gray
919ffb314b [UI] Add missing 'AlreadyInGroup' to strings.xml 2020-03-30 15:24:28 -05:00
Router Gray
c033d69d54 [Linux] More follow-through on earlier manifest tuning, make always really mean always. 2020-03-30 03:06:21 -05:00
Router Gray
356d289972 User request: Add last owner profile button to object inspect. 2020-03-29 19:16:52 -05:00
Router Gray
eeabbce377 [Lib] Update abseil. (Alchemy sync) 2020-03-29 16:39:16 -05:00
Router Gray
0b992fdd46 [Lib] Update nlohmann json and switch it to FetchContent instead of prebuilts. (Alchemy sync) 2020-03-29 16:38:53 -05:00
Router Gray
a7e56d2af9 Fix an accident in a ternary. 2020-03-29 16:31:40 -05:00
Router Gray
b10619e4d8 [Linux] Don't strip binaries, even when building release, unless packaging. Makes quick debugging in the dev checkout easier.
This may need more work if we want to support building an 'install' target, bypassing packaging, but I never hear of anyone doing that.  I'll address it if needed.
2020-03-29 15:24:10 -05:00
Router Gray
74518f299c Merge remote-tracking branch 'github-liru/master' 2020-03-29 15:21:22 -05:00
Liru Færs
407b527a55 [XPTools] Fix linux crash bug, make Cancel button close Experiences floater 2020-03-29 00:43:21 -04:00
Liru Færs
b21cc835b2 Clean up old Experience UI port code 2020-03-28 16:38:14 -04:00
Shyotl
4de8c3a38e Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git 2020-03-27 02:56:20 -05:00
Shyotl
72d8b8f78c Potentially harden against region teardown crash. Screw with branching to delve more information from callstacks since dynamic annotations don't seem to work with sentry.io using crashpad lib... sadface. 2020-03-27 02:55:12 -05:00
Liru Færs
45f4f601bf nopaque 2020-03-27 02:35:06 -04:00
Liru Færs
731283aa0b Friendship accepted notifications as tips with linked names 2020-03-27 00:51:45 -04:00
Liru Færs
89ce328ba5 Fix script dialogs showing UI SLURLs when SinguReplaceLinks is false
All interface SLURLs should be force replaced.
Also fixes text boxes not respecting setting at all
2020-03-26 23:31:52 -04:00
Liru Færs
28e5270d87 All agent SLURLs should use the name system names, not just profile ones. 2020-03-25 23:57:05 -04:00
Shyotl
4a237de72a Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git 2020-03-25 22:37:23 -05:00
Shyotl
e91aac1dd9 For science. Let's see if sentry.io accepts these annotations... 2020-03-25 22:35:29 -05:00
Liru Færs
7cab44a17d Merge branch 'master' of https://github.com/RouterGray/SingularityViewer 2020-03-25 05:47:34 -04:00
Liru Færs
cf57624688 Fix IsNearby check having invalid logic and hiding options because of it 2020-03-24 22:41:23 -04:00
Liru Færs
c7448f290d Fix inverted logic for benefits on opensim 2020-03-24 17:42:21 -04:00
Liru Færs
55f9937238 Fix looping over empty age strings on OpenSim, no longer retry on SL 2020-03-24 16:27:16 -04:00
Liru Færs
ac1ef4d1ba Hide temp upload on SL 2020-03-23 21:39:08 -04:00
Liru Færs
ee1baafb59 Actually Delete LLView copy constructor 2020-03-23 21:20:21 -04:00
Liru Færs
9522e385cd Merge viewer-benefits
Replace MAX_AGENT_ATTACHMENTS with sim based response
Replace max groups with benefits based response
Upload costs are now handled by sim response
Removed no-longer-needed lleconomy files and classes
Removed dead fields from hippolimits and hippogridmanager
Also removed lame LL code that is redundant and silly

On non SL grids, when values are not provided for benefits, they will be
set to the values granting maximum liberty.
Old standardized responses still work when benefits aren't implemented.
2020-03-23 20:15:59 -04:00
Router Gray
a9b047b168 Minor compile fixes: move a declaration out of a namespace, add an include 2020-03-23 11:47:17 -05:00
Liru Færs
8c6e6143c2 Fix accidental paste in aosystem init 2020-03-23 09:11:13 -04:00
Liru Færs
0704876dfd Comment out unused macros in llviewerregion.h 2020-03-23 09:10:46 -04:00
Liru Færs
54b75a3219 Add SinguOwnerSayAsErrors to make llOwnerSay spew to debug console instead 2020-03-23 08:44:25 -04:00
Liru Færs
11d59d1b00 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer
# Conflicts:
#	indra/newview/llsurface.cpp
2020-03-23 01:04:25 -04:00
Liru Færs
4e042db404 Merge branch 'master' of https://github.com/RouterGray/SingularityViewer 2020-03-23 01:03:25 -04:00
Liru Færs
0f6285b2e9 Split up floaterao.* into aosystem.* and aostate.h, also further refactor 2020-03-22 15:02:08 -04:00
Liru Færs
a3d2107bfd Fix an oopsie woopsie, thanks bready doggy 2020-03-22 10:46:30 -04:00
Liru Færs
a66c91bc5a Labels for agent slurls should use the default name system 2020-03-22 10:36:54 -04:00
Liru Færs
4602602a5f Link owner name in inventory offers from objects 2020-03-22 10:03:51 -04:00
Liru Færs
0511d5903a erase iters properly, please 2020-03-22 09:53:47 -04:00
Liru Færs
7597ce3b37 Force Swim button for AO, for when you wanna swim above water
Force Swim forces swims to be enabled
2020-03-22 09:52:54 -04:00
Liru Færs
7509d929d8 Make everyone upset! Reorganize group notices!
Feature request: clickable names and group names
Remove dead space in group notices that has always plagued us
2020-03-22 09:07:46 -04:00
Liru Færs
c7e03600aa Fix constant reallocation of texture fetch command queue because...who..uses a vector..for a fifo...
By Rye, thanks!
2020-03-22 07:46:20 -04:00
Liru Færs
4871f5ed8e AO Refactor
Should fix AO not turning on without opening floater first

Cleans up code
Reduces memory footprint, especially when not in use
Removes unused functions and parameters
Decouples AO from Floater class (AOSystem)
Removes duplicate Idle state
Formalizes singleton patterns of globals
Centralizes override handling into override structs
Fall back on simple english notecard explanation when missing config ini
Fixes sitting override playing when sitting is disabled (and acting weird)
Moves the bulk of override handling into override structs
No longer state-based, now tracks using per-struct playing field
2020-03-22 07:42:24 -04:00
Router Gray
e5a6f1e2d9 [CMake Linux] Fix my being too rushed in Copy3rdParty, restore openal 2020-03-16 03:38:55 -05:00
Shyotl
a29491658b Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git
# Conflicts:
#	indra/llmath/lloctree.h
#	indra/newview/llsurface.cpp
2020-03-15 00:53:20 -05:00
Shyotl
26976b715d Fixup minor use after free issues, and improper mutex usage in meshrepo. Also fixed some compiler warnings. 2020-03-15 00:46:57 -05:00
Liru Færs
8d564d6ed1 Follow Pilot algorithm tweak: Fly if already flying or target is above 2020-03-10 17:00:02 -04:00
Liru Færs
18fbac26dc Correct comment in follow pilot code 2020-03-10 16:32:14 -04:00
Liru Færs
9f82933149 Reduce repeated follow pilot code 2020-03-10 16:31:51 -04:00
Liru Færs
9b7aa959b0 Fix unresolved links in caution notifications 2020-03-10 16:30:37 -04:00
Liru Færs
1c46c26e6b Notifications with tooltips on buttons, for when text is too long! 2020-03-10 16:29:10 -04:00
Liru Færs
506c6aaa9e Use INetC instead of NSISdl, thanks Rye! 2020-03-10 16:27:48 -04:00
Liru Færs
dd61d475cb Prevent use of outdated notecard import by removing it from LLTextEditor
LLViewerTextEditor properly overrides this anyway.
2020-03-05 04:09:46 -05:00
Liru Færs
6e5eed7957 Fix focus on Object Owners
Just noticed this must've slipped out of a previous commit
2020-03-04 15:45:04 -05:00
Liru Færs
7859c0a191 Fix the ancient way of magic text box hack wherein multiple buttons works
Also when muting scripts through notification, properly pop mute dialog
2020-03-03 22:02:44 -05:00
Liru Færs
ef46d21582 Final 2020-03-03 21:51:54 -05:00
Router Gray
5071c1e0cf Merge remote-tracking branch 'github-liru/master' into NixTesting 2020-03-01 09:42:35 -06:00
Router Gray
ecd52a9e1a [Cmake] Comment out unused llplugincookiestore. 2020-03-01 09:42:00 -06:00
Router Gray
0a6a47a099 [Linux] Use system X11. 2020-03-01 09:42:00 -06:00
Router Gray
9880fe225e [Linux] Use system libraries for dbus-glib, gtk-atk-pango-glib, and ogg-vorbis. 2020-03-01 09:42:00 -06:00
Liru Færs
5d44552a60 Allow UI scale values as low as .5 to better meet HiDPI needs
Adapted from Rye's work on Alchemy, Thanks!
2020-03-01 09:21:59 -05:00
Liru Færs
ffa32f8c98 Fix linux compile 2020-03-01 03:51:47 -05:00
Liru Færs
b7086a993d Merge branch 'master' of git://github.com/Shyotl/SingularityViewer
# Conflicts:
#	indra/llmath/lloctree.h
#	indra/newview/llsurface.cpp
2020-03-01 03:39:30 -05:00
Shyotl
d2d172f6ec Allow oversized images when performing raw snapshots. 2020-02-29 22:51:45 -06:00
Shyotl
34f6ea4db2 Rework LLSurface[Patch]. Abuse weak_ptr for now. Rewrote connectNeighbor. LLSurfacePatch no longer calls parent LLSurface with this poiter, instead parent surface just handles return value and controls its own behavior [Requred for weak_ptr/shared_ptr change. 2020-02-29 22:33:51 -06:00
Shyotl
d8c4db17f2 Make gcc happy again.. 2020-02-29 22:15:46 -06:00
Shyotl
c340dde03d Speculative fixes. 2020-02-29 22:15:27 -06:00
Liru Færs
e502b87b63 Ooops, forgot to save the rewrite of this that actually fixes it 2020-02-29 11:16:46 -05:00
Liru Færs
d6f320fb5e Clean up Object SLURL right click menu with a few submenus 2020-02-29 08:20:50 -05:00
Liru Færs
e4eca079e6 Allow right clicking object UI labels to interact with their owners! 2020-02-29 08:19:41 -05:00
Liru Færs
68ceac3678 llDialog & llTextBox with linked owner name and object name 2020-02-29 06:46:20 -05:00
Liru Færs
991d603a0c Don't copy around strings and UUIDs, LL... pls 2020-02-29 05:57:36 -05:00
Liru Færs
74a6f7382a When possible, populate the owner id of our llviewerobjects 2020-02-29 05:51:07 -05:00
Liru Færs
9264482dc3 Small patch to french translation, thanks Nomade 2020-02-29 04:47:53 -05:00
Liru Færs
1a61c49fc7 Display name change notifications that link to the user 2020-02-29 04:47:17 -05:00
Liru Færs
c2480d7227 When muting an object via pie menu, select it in the mute floater 2020-02-29 04:46:15 -05:00
Liru Færs
72b5976605 Merge to fix missing agent slurl handler for removefriend and (un)block 2020-02-29 04:45:37 -05:00
Liru Færs
1b742aa933 Menu finals and overrides 2020-02-28 22:33:37 -05:00
Liru Færs
9412f631fa Object->Derender from Object UIs 2020-02-28 01:31:34 -05:00
Router Gray
be07df3043 [Lib] Update Linux dullahan 2020-02-26 23:54:22 -06:00
Router Gray
8f89127900 [CEF] Catch a missed change for dullahan update. OCDly fix an indentation. 2020-02-26 23:24:36 -06:00
Router Gray
c72059e73f [CMake CEF] How was this even working? Set dependencies and link targets to cef instead of webkit. 2020-02-26 07:21:48 -06:00
Router Gray
2fc2b7c12b Sync some mime types with upstream, also remove erroneous 'video/libvlc' mimetype. There is no such mimetype. 2020-02-26 07:05:41 -06:00
Liru Færs
a652cb4f0a Collaboration between myself and Router the Gray to Flinux 2020-02-25 13:25:12 -05:00
Liru Færs
16b8980d28 Fix the new window inventory folder floater, and opt it to squeak! 2020-02-25 12:52:41 -05:00
Liru Færs
841a55c266 Remove duplicate setText line that was failing anyway. 2020-02-25 10:23:37 -05:00
Liru Færs
2aa6adfd46 Pip, Squeak. 2020-02-25 08:04:31 -05:00
Liru Færs
bac0b3d745 Update FMOD Studio to 2.00.07 2020-02-25 06:55:05 -05:00
Liru Færs
b08b597397 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer
# Conflicts:
#	indra/llcommon/llsd.cpp
#	indra/llcommon/llsdserialize.cpp
#	indra/newview/llspeakers.cpp
#	indra/newview/llviewermessage.cpp
2020-02-25 06:51:41 -05:00
Shyotl
25cb81221e Don't use clamp mode on av mesh. 2020-02-25 02:36:32 -06:00
Liru Færs
4f5749878f Merge branch 'master' of https://github.com/RouterGray/SingularityViewer
# Conflicts:
#	indra/newview/llexperiencelog.cpp
2020-02-25 03:33:49 -05:00
Liru Færs
2aa3ba4d36 Fix crashes that were reported when using object right click menu
Menu entries that cannot work when an object vanishes will gracefully fail.
2020-02-25 03:29:41 -05:00
Liru Færs
6a2421e2e7 Fix dumb build warning on windows 2020-02-25 03:27:37 -05:00
Liru Færs
e78061b077 Hide group voting tab on secondlife, it is no longer used there. 2020-02-25 03:27:06 -05:00
Liru Færs
379f97e15a Buncha small fixes, mainly from alchemy
Update firestorm jira url
Maintain sorting and and scroll position when refreshing region tracker
Add missing CrashHostUrl setting
And a buncha other tinies, probably a crash fix or two.
2020-02-25 03:26:33 -05:00
Liru Færs
2afd2c500b Update VLC and Dullahan. Update vcredist deployment. Thanks Alchemy! 2020-02-25 03:21:27 -05:00
Liru Færs
0c3e144547 Properly sized FMOD logo, 40 pixels high. Inspired by Alchemy, thanks Rye!¶ 2020-02-25 03:08:01 -05:00
Liru Færs
842d1b8d93 Add LLIMProcessing and support for new message caps! And UserInfo cap!
Also delayed sound support!
Fixed memory leaks and pass by values that LL likes to introduce.
Extended LLCoroResponder to have a responder for Raw strings, also clean it
Adds friend request message logging.
2020-02-25 03:04:58 -05:00
Shyotl
5c2c2a8c01 Minor cleanup. Octree vfunc reduction. Range-based for loops with map/array llsd types. 2020-02-25 01:50:50 -06:00
Router Gray
61f0837114 Make Linux and LLExperienceLog play nice. Thanks Liru. 2020-02-24 17:30:40 -06:00
Router Gray
aa95d8fe3d [LL] Update the login splash page for LL grids. 2020-02-24 06:37:42 -06:00
Router Gray
a52c4779c8 Make event notifications say 'Dismiss' instead of 'Cancel'. 2020-02-23 13:44:24 -06:00
Router Gray
1ece0e6051 [UI] Add Copy Folder UUID to inventory actions 2020-02-19 12:40:33 -06:00
Liru Færs
6a56d048c0 Don't confuse the user by showing loading when refreshing item's experience
Also reorganize some code in that area to be cleaner
2020-02-11 20:19:04 -05:00
Liru Færs
e34999b6a9 Fix missing string for experience profile button tooltip in scripts 2020-02-11 19:49:11 -05:00
Liru Færs
103b2c0f33 Fix layout of item properties floater 2020-02-11 19:07:39 -05:00
Liru Færs
2fe45cb8c2 Fix group inventory receiveds not displaying properly in chat history
Also fix linking to an avatar profile when a group's object gives an item
2020-02-11 18:34:45 -05:00
Liru Færs
64a44d6c1b Fix size and position of folder floaters not being restored from setting 2020-02-11 18:31:47 -05:00
Liru Færs
3073a175d7 Add LiruUseMarkedColor to disable use of mark color in the new places 2020-02-11 17:39:46 -05:00
Liru Færs
3b550c3a93 Fix the Jira URL bug we brought up at the last TPV meeting 2020-02-11 15:13:42 -05:00
Liru Færs
1d2c0cb8c6 Script permission dialogs should link back to the object and its owner 2020-02-11 15:09:48 -05:00
Liru Færs
2f369299c5 Object info with right-clickable owner naame, also improve code overall 2020-02-11 15:06:39 -05:00
Liru Færs
e65b513562 Syncy stuffs 2020-02-11 13:04:05 -05:00
Liru Færs
6959b688be Fix the issue with thin resize space in inventory folder floaters 2020-02-11 12:20:33 -05:00
Liru Færs
7db999d801 Fix copyright being 2019, thanks Del 2020-02-11 12:17:05 -05:00
Liru Færs
703ad01c8b AntiSpam refactor!
Adds SLURLs to antispam notifications
Reduces weight of antispam to either global queue, multiple queues, or none
Renames variables to make more sense
Repositions code, cleans up code, uses modern C++, etc
This fixes a bit of a leak or two, especially with antispam turned off!
Also fixes the endless leak of queue expansion by cleaning up while idle
When changing between global and individual queues, they're now purged.
Also made some improvements to previous commit, woops.
Also fix wrong logic for is_linden and chat source type for objects
2020-02-11 12:16:44 -05:00
Liru Færs
199879aea8 Break out functions for getting object owner, owner and object slurls 2020-02-09 18:52:06 -05:00
Liru Færs
eefa0f07a7 Reduce reused getBOOL 2020-02-09 18:28:48 -05:00
Liru Færs
6e6fb44bdb Fix potential crash, thanks Rye and Testicular! 2020-02-09 18:28:10 -05:00
Liru Færs
0892d14933 Fix debit permission Allow being too long, and remove newlines from it 2020-02-09 04:34:55 -05:00
Liru Færs
400da6ec92 Fix out of order and duplicate preferences 2020-02-09 04:33:20 -05:00
Liru Færs
18539831d1 Request: Just show viewer's short name in update notification, not channel 2020-02-09 04:32:27 -05:00
Liru Færs
9548270306 Buncha tinies
Link name in inventory offer received chat message
Fix shupdate compile missing ; and include from two commits ago
Update links used in menu_viewer.xml, I have things to do today...
And move inventory button on toolbar to between favs and received
2020-02-07 09:00:03 -05:00
Liru Færs
44aec1384a Fix crash in object weights when null selection 2020-02-07 08:03:57 -05:00
Liru Færs
42139835d5 Redo update checker responder to be more like unstable branch 2020-02-07 08:02:44 -05:00
Liru Færs
49f0f8e28f [XP Tools] Further UI beautification
Refix all the panels that weren't good enough.
Fix settingss and default rects
Remove unused
Fix toolbar prefs floater
Use text editors for "URLs" we can't control, they resolve nicer anyway
Fix Texture Ctrl on profile not popping out on click
Fix Maturity string on profile not displaying
Also update about floater credits according to modern data.
2020-02-07 07:48:58 -05:00
Inusaito Sayori
36b75b2398 A Massive Experience Tools (and Unstable Branch) Merge
[XP Tools] Initial merge Cherry Pick

Also modernize llfloaterauction internally, but leave the ui the same for now.
Breaks out script_question_mute() in llviewermessage.cpp to better sync with upstream
Adds support for UnknownScriptQuestion notification (translators need to translate this one~)
RLVa note: Rewrote RLVa permissions handling block just a bit.
Added 13 new capabilities from the XP Tools, I doubt all of them really exist.
Minor update to LLComboBox, decided against implementing LLIconsComboBox for now.
Modified LLExperienceLog::notify to lookup names and display them along with the slurls since our editors don't do that automatically.
Experience tweak: Changed a few notify's to notifytips so that we can click the links to experience profiles from chat instead of via hacked in buttons
Migrated LLFloaterCompileQueue to a proper Instance Tracker so we can call getKey
Modernized LLSD, gives us reverse iterators and the new debugging impl. We needed the reverse iterators.
Experience tweak: Added virtual destructors to responders.
Updated llhandle.h to allow calling getDerivedHandle in public.
Updated LLScrollContainer and LLScrollBar to be more modern.
Added LLFlatListView/flat_list_view from upstream - these don't seem work though?
Added some newer login/logout strings to strings.xml
Thanks for the default timeout policies, Aleric~
To avoid needing to scroll through tabs, about land tabs now are as big as they need to be to display their labels, same on groups
Group Members and Roles has been renamed to just Members because this allows the new Experiences tab enough room to display.
Thanks to Henri Beauchamp (Cool VL Viewer) for the setupList augmentation. (without it, I'd still be stuck)
Thanks to Shyotl for the helpsies~
Added the LSL constants, events, and functions that LL neglected to put in.
Added click callbacks and name lookups for profile linky texts~

Merge is up to 22b4cdc
Old TODO: Get the uis looking nice (profiles? Experiences... floater) - done
Old TODO: Make sure flatlistviews look okay... - Not using
Old TODO: Fix LLFloaterExperiencePicker, right now the panel does not show. - unsure
Old TODO: Remove the llfloaterabout.cpp change. - done

Merges llexperiencecache with upstream and unstable
Introduces LLCoroResponder, TODO: Make everything use this.
Updates Reporter floater to the latest, supports the new cap thingy

Also adds these commits/changes:
[XPTools] Double clicking experiences in namelists should open the profile
Add List.CopyNames support for Experiences
[XP Tools] Some UI work, I'll do more later
[XPTools] More UI Stuff, Later is now!
Allow getSLURL for experiences
WIP Experience list menu
Also make EXPERIENCE > OBJECT, because mainline started OBJECT already
[XPTools] Add Experience support to Name UI
[XPTools] Fix experience profile UI 9c3067e843265587e91c659200a8d783acf2d9b2
[XPTools] Fix experience location showing "last" and getting set to "last"
[XPTools] Move Experiences floater from view menu to world menu
[XPTools] Fix up more UI
[XPTools] Fix experiences panels
[XPTools] Hide pieces of the Experiences menu when they're not usable
[XPTools] More UI work, mostly to get the menus working
[XPTools] The events list is for events, not experiences, remove menu

# Conflicts:
#	indra/llcommon/llsd.cpp - merge with unstable branch
#	indra/llmessage/message_prehash.cpp
#	indra/llmessage/message_prehash.h
#	indra/llui/llscrollbar.cpp
#	indra/llui/llscrollcontainer.cpp
#	indra/llui/llurlentry.cpp
#	indra/llui/llurlregistry.cpp
#	indra/newview/app_settings/keywords.ini
#	indra/newview/app_settings/settings.xml
#	indra/newview/llappviewer.cpp
#	indra/newview/llappviewer.h
#	indra/newview/llassetuploadresponders.cpp
#	indra/newview/llcompilequeue.* - merge stable
#	indra/newview/llfloaterabout.cpp
#	indra/newview/llfloaterland.* - merge unstable
#	indra/newview/llfloaterproperties.cpp
#	indra/newview/llfloaterregioninfo.* - merge unstable
#	indra/newview/llmenucommands.cpp - merge unstable
#	indra/newview/llpreviewscript.cpp - merge unstable
#	indra/newview/llviewermessage.cpp - merge unstable
#	indra/newview/llviewerregion.cpp - merge unstable
#	indra/newview/skins/default/textures/textures.xml - merge unstable
#	indra/newview/skins/default/xui/en-us/strings.xml - merge unstable
2020-02-04 21:18:47 -05:00
Liru Færs
9a53824d6d Move click_for_profile into LLNameUI base for use in nameboxes
This allows having a linked name text on profiles without it stealing mouse
2020-01-31 14:32:45 -05:00
Router Gray
a9e2672820 [Lib] Update Linux Fmod to 2.00.07 2020-01-22 01:40:52 -06:00
Router Gray
138cf5d4f8 [AIS] Apparently friending a class isn't friendly enough. 2020-01-22 01:38:40 -06:00
Liru Færs
4b2e358783 Sync LLInventoryModel and LLViewerInventory with upstream 2020-01-21 03:18:44 -05:00
Liru Færs
851b3659ee Improve AISv3 code to retry less aggressively
Syncs LLAISAPI with upstream alchemy
Thanks to Kitty Barnett for Appearance-SyncAttach patch
Fixes typos, uses more modern C++ features,
Accounts for VERSION_UNKNOWN so the viewer won't get stuck
Adds in support for 410 GONE response
No longer retries on empty map, malformed response.
2020-01-21 03:18:43 -05:00
Liru Færs
27d4e05f2b Prevent crash 37 2020-01-21 03:18:43 -05:00
Liru Færs
deade4438d Fix login favorites and copy Landmark SLURL missing z-axis (height) 2020-01-21 03:18:43 -05:00
Liru Færs
deafc6814d Fix crashes from badly formed json responses (LL's fault)
Adds LlsdFromJsonString, an exception-free wrapper for parsing json strings
LLSD objects that failed to parse through this will be the type Undefined.

Fixes crashes 36, 1G, 33, 21, and 3A.
2020-01-21 03:18:43 -05:00
Liru Færs
1fd6e91c68 Clean up update checker dependencies 2020-01-21 03:18:42 -05:00
Liru Færs
67126ab494 Wooops, our update checker is broken since the beta started! 2020-01-21 03:18:42 -05:00
Router Gray
e3318fb0d2 Add missing Nvidia GTX cards to gpu table. Used Cool VL Viewer's source, thanks Henri Beauchamp 2020-01-20 16:55:40 -06:00
Liru Færs
e9d28ee5c1 Inventory offers should link offerer avatar/group name 2020-01-17 23:44:41 -05:00
Liru Færs
2ffc99aecf Clean up useless code 2020-01-17 23:35:55 -05:00
Liru Færs
450afff50b [VMM] Drop zone is no longer WIP, and neither are the tabs
Searching tabs is still kinda wonky though... This needs investigation
2020-01-17 17:20:31 -05:00
Liru Færs
570b0d3c5b [VMM] Make the marketplace panel a dropzone, drag and drop anywhere~
Fixes Deltek's issue with not being able to drop in the zone
nor in the empty space where there are not folders in the listings
2020-01-17 17:19:01 -05:00
Liru Færs
09daa2a865 [VMM] Background transparency is important, even in marketplace drop zone 2020-01-17 17:14:25 -05:00
Liru Færs
e97837e103 Friendship Offered should link receiver's name 2020-01-17 14:33:38 -05:00
Liru Færs
84add2d864 This comment forgot to be saved 2020-01-17 10:54:07 -05:00
Liru Færs
4c224def62 Update FMOD Studio 2020-01-17 02:29:52 -05:00
Liru Færs
2242a1d101 Fix a bunch of disconnectNeighbor crashes in LLSurface 2020-01-17 02:27:56 -05:00
Liru Færs
b957c0930d Fix dumb in LLSurface, don't do dumb math 2020-01-17 02:27:48 -05:00
Liru Færs
f7434711ad [Follow] Reset No Progress count when target's position changes 2020-01-17 02:26:40 -05:00
Liru Færs
5f0b23edd7 [Follow] Try to sit on far away objects by moving closer
Groundsit if that still fails
2020-01-17 02:25:45 -05:00
Liru Færs
2eff62ad0d [Follow] Fix orbiting leader after follow sitting and standing up 2020-01-17 01:32:05 -05:00
Liru Færs
686795618a If object sitting while following, bypass follow logic block 2020-01-17 01:30:39 -05:00
Liru Færs
5c8c5a2c45 Condense autopilot no progress code into getAutoPilotNoProgress() 2020-01-17 00:04:31 -05:00
Liru Færs
d98b99f7b3 [Follow] Fall into walking code if RLV Sit restricted
Mostly space changes
2020-01-16 17:47:17 -05:00
Liru Færs
8d472a9c7b Rearrange some Follow code 2020-01-16 17:43:14 -05:00
Liru Færs
3747d79143 [Follow] Fly if we aren't rendering the avatar 2020-01-16 17:40:50 -05:00
Liru Færs
910a5557ab Sync some code in hopes to squish Marketplace wire chewed popups
A query url will no longer be built in making the request
The status of marketplace will no longer get reset to uninitialized upon
region change.
Merchant status will no longer be requested on regions without the DD cap
2020-01-16 17:10:08 -05:00
Liru Færs
8163448a6c [RLVa] Always show your own hover tip 2020-01-15 23:55:42 -05:00
Liru Færs
ac0e93dcad People don't seem to know what an ARC is... it's Complexity 2020-01-15 23:55:13 -05:00
Liru Færs
ed420c3645 Add Edit and Add to Selection to Object UI menus 2020-01-15 19:46:49 -05:00
Liru Færs
b872860443 Fix crash in land floater init when null region (disconnected?)
Fixes crash 2E
Cleans up code
2020-01-15 14:00:00 -05:00
Liru Færs
992f4c7b5d Modernize/sync LLSpeakers code 2020-01-15 12:57:58 -05:00
Liru Færs
8f15478ba4 Condense code~ 2020-01-15 12:56:56 -05:00
Liru Færs
1c371e7be6 Allow touching multiple objects in succession 2020-01-14 19:37:53 -05:00
Liru Færs
937c80f694 Fix an oopsie in Debug Settings, Thanks for the heads up, Yuriko 2020-01-14 15:53:42 -05:00
Liru Færs
15bd41bd71 Add Touch to object ui menus 2020-01-14 15:52:58 -05:00
Liru Færs
b9156b7955 Combine send_ObjectDeGrab and send_ObjectGrab repetitive code 2020-01-14 10:49:46 -05:00
Liru Færs
623a484ae3 Woops, gotta do a char array for that, also set errno to 0 2020-01-13 18:35:08 -05:00
Liru Færs
2ace698101 [Follow] Automatically accept Teleport Requests/Offers from the leader 2020-01-13 02:20:33 -05:00
Liru Færs
34e0c722e7 Don't cancel autopilot when escaping out of customize appearance 2020-01-13 01:34:06 -05:00
Liru Færs
82ee06a6bd Add Find on Map to avatar UI menus 2020-01-13 01:33:26 -05:00
Liru Færs
584ee8fffe const byref autopilot accessors 2020-01-13 00:29:51 -05:00
Liru Færs
d80d232ee5 Don't cancel follow if the target disappears, wait for them 2020-01-12 23:57:20 -05:00
Liru Færs
de47736038 Ignore object kills if our region is null
Fixes crash 1R
2020-01-12 20:06:01 -05:00
Liru Færs
0da16e6034 Some days, I scream in the faces of cats 2020-01-12 16:27:19 -05:00
Liru Færs
6c9a156610 Maybe fix pusssycat's issue with clicking for group profile being broken 2020-01-12 14:47:52 -05:00
Liru Færs
1726c27078 Fix for Linux file rename failures, thanks Taya and Router! 2020-01-12 13:23:02 -05:00
Liru Færs
64b43a47b5 Clean up ScriptCounter code more 2020-01-12 12:33:10 -05:00
Liru Færs
8005a58ed5 Script Counting on an avatar now shows their SLURL, instead of just a name 2020-01-11 21:53:29 -05:00
Liru Færs
d1d42701f5 Fix taya's linux crash, thanks to taya and router!
Crash was due to invalidated iterator
2020-01-11 21:00:16 -05:00
Liru Færs
c57fceff17 Modernizing scriptcounter code 2020-01-11 20:23:31 -05:00
Liru Færs
265336463d Add FMOD Logo to login screen to comply with licensing
Adds code to hide the new UI when compiled without FMOD Studio
2020-01-11 04:32:42 -05:00
Liru Færs
3ba1c88672 Remove reference to dead control 2020-01-11 03:01:28 -05:00
Liru Færs
90e6afe159 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2020-01-10 17:14:39 -05:00
Liru Færs
3209507b6c [Follow] Sit if target is sitting, stand when they stand
Does object and ground sitting.
May fly to sitting target if they're in air
Ground sits as close as it can get if cannot reach ground sitting target

Optimizes following when within desired range of target

Moves sitting/standing autopilot cancels to more proper places
2020-01-10 17:13:28 -05:00
Liru Færs
fa97d8497a [Follow] If the user decides to sit/stand, that should cancel following 2020-01-10 16:47:52 -05:00
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
0efddbd9ff Add Pay to Object UI Menus 2020-01-10 13:12:13 -05:00
Liru Færs
be0aba4bfa Woops, fix this 2020-01-10 03:34:57 -05:00
Liru Færs
c3f03b6bbf [Follow] Specify that Follow has been cancelled, with Cancelled notice 2020-01-10 03:11:19 -05:00
Liru Færs
e15839a2cb Move autoPilot Agent Avatar Valid check to beginning 2020-01-10 02:42:48 -05:00
Shyotl
e0efbd7d26 Fix two race conditions in meshrepo. 2020-01-10 00:09:35 -06:00
Liru Færs
8e57288819 Stand Up by user should cancel autopilot 2020-01-10 01:01:38 -05:00
Liru Færs
107f512545 Teleport notifications now use avatar slurls 2020-01-09 22:53:16 -05:00
Liru Færs
14dc348179 Add Sit On to Object UI Menus
Breaks handle_object_sit out of handle_object_sit_or_stand,
parameterizes offset so that one doesn't need to select a side
still respects RLV, yay~
2020-01-09 22:14:06 -05:00
Liru Færs
eccbd98d79 Change some enables to visibles 2020-01-09 21:18:31 -05:00
Liru Færs
a5115aa69e Fix Crash T, someone broke their install, but we should gracefully exit 2020-01-09 12:41:43 -05:00
Liru Færs
327574db7c Cancel autopilot when user initiates a goto 2020-01-08 22:32:17 -05:00
Liru Færs
8b4a29cbd3 Break simulator autopilot out into its own function 2020-01-08 22:31:18 -05:00
Liru Færs
544feee19f Fix Copy Names in Object Menu not working, oops!! 2020-01-08 20:48:48 -05:00
Liru Færs
bee60da089 Break out get_obj_data into its own function 2020-01-08 20:43:47 -05:00
Liru Færs
c466b44143 Introduce rudimentary objects list menu for Area Search
Enables multiselect in areasearch
2020-01-08 20:09:46 -05:00
Liru Færs
27222d524c Add Object support to List.ShowProfile, via get_slurl_for 2020-01-08 19:49:52 -05:00
Liru Færs
b99e2cbbdd Add support for OBJECT type to get_slurl_for
Caveat: Requires area search to be instantiated (should we break this out?)
Only includes location if in object list
2020-01-08 19:48:50 -05:00
Liru Færs
a5bdc24a14 Refactor get_slurl_for 2020-01-08 19:46:42 -05:00
Liru Færs
0b6d94f202 Request: Change "Log" button on IM Floater to "History"
This is more clear and consistent with all the other places this is used
2020-01-08 19:43:27 -05:00
Liru Færs
bf5035388b Expose ObjectData from AreaSearch 2020-01-08 19:22:36 -05:00
Liru Færs
640c136bcc Add Cam To to Object URL menu 2020-01-08 19:13:36 -05:00
Liru Færs
6ebd2eef00 Feature Request: Add Chat History to Group right click menus 2020-01-08 19:11:46 -05:00
Liru Færs
c954d02125 Add missing Go To to object pie menu 2020-01-08 18:00:51 -05:00
Liru Færs
a34414849c Sync some of llcommandlineparser with alchemy
Might fix Crash R
2020-01-08 17:07:49 -05:00
Liru Færs
c1ffb1b332 [Follow] Do not fly unless flying avatar target or already flying 2020-01-08 16:58:54 -05:00
Liru Færs
d06448cdfd Remove dead german menu entry 2020-01-08 16:53:23 -05:00
Liru Færs
117ef68916 Put object pie Follow where it was actually supposed to go
Thanks for the heads up on this mistake, Router!
2020-01-08 16:07:23 -05:00
Liru Færs
83b384ab97 Combine Marking from Minimap with Radar Mark
Color people right from the Radar!
Mark button on Radar now uses Red.

Removes "Radar.Mark" and its associated code
Thanks for the help on linux, Router!
2020-01-08 15:54:43 -05:00
Liru Færs
5ee5ba473b Small refactor of minimap marking code
Mark is now encapsulated
mm_setcolor is no longer part of LLNetMap
mm_clearMark is now used to erase mark from container
Introduces mm_getMarkerColor that returns a pointer,
instead of needing a ref every time.

Also mark isAgentUnderCursor const
2020-01-08 15:39:49 -05:00
Liru Færs
4055af4afd Add Mark menu to radar 2020-01-08 15:23:51 -05:00
Liru Færs
65dad7acfd Remove weird double newline between single avatar on minimap and distance 2020-01-08 14:53:08 -05:00
Liru Færs
a21927e510 [Follow] If target av isn't rendered, still try to get their position
Mainly moves code around, rather small change.
2020-01-08 13:15:37 -05:00
Liru Færs
094c948a87 Move Minimap Mark submenu back out of Selected Avatars menu for convenience 2020-01-08 13:12:13 -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
Router Gray
c1f39e167c Bang bang on the list baby 2020-01-07 20:00:50 -06:00
Router Gray
0e28436aa9 Fix invalid initialization of non-const reference 2020-01-07 19:59:53 -06:00
Liru Færs
bc1c816b99 Fix right click local avatar url menu's Focus being broken 2020-01-07 19:21:06 -05:00
Liru Færs
32424e5640 Fix up presentation of radar and local avs menus 2020-01-07 19:19:05 -05:00
Liru Færs
760f1308f3 Add SinguFollowDistance for setting minimum follow distance 2020-01-07 18:51:49 -05:00
Liru Færs
dfe8e364be Add Follow to pie and right click UI menus for objects and avatars 2020-01-07 18:51:18 -05:00
Liru Færs
33feeb0a01 Make Follow Great Again! 2020-01-07 17:40:43 -05:00
Liru Færs
50eb21ce23 This never got reset... weird 2020-01-07 16:48:27 -05:00
Liru Færs
d2052b9e4c Teleport and move to objects by their IM name links 2020-01-07 15:00:31 -05:00
Liru Færs
2c5ad97697 *Shakes cane* Get off my lawn, you young whippersnapper! 2020-01-07 14:21:24 -05:00
Liru Færs
8283422717 Rename Radar.TeleportTo to List.TeleportTo, and move the code 2020-01-07 11:53:23 -05:00
Liru Færs
4a293ff1e1 Clean up excess teleport to code using get_av_pos 2020-01-07 11:46:06 -05:00
Liru Færs
828307ca96 Sync LLSDSerialize with alchemy, and merge fix for Crash K 2020-01-07 11:00:21 -05:00
Liru Færs
a83901d2e4 Add ARC to avatar hover tips 2020-01-07 10:57:58 -05:00
Liru Færs
878ba534b5 Add Land Impact to object hover tip 2020-01-07 10:46:39 -05:00
Liru Færs
f17e6637d6 Use findAvatar instead of findObject 2020-01-07 10:39:56 -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
463151c830 Fix crash and generaly wrong duplicate attribute name
NameUI "type" is now "id_type"
Thanks for the help, Router!
2020-01-07 06:19:24 -05:00
Liru Færs
77b6a903ac Remove spurious extra /* in rlvactions.h, thanks Router! 2020-01-07 05:13:37 -05:00
Liru Færs
1813a7bf8b [LLNameUI] Handle LFIDBearer::Type instead of jusst group or not
Removes "is_group" and switches it out for "type"
setValue no longer takes "group", instead it takes "type"
Constructors and setNameID now take Type instead of a boolean
setIsGroup is now setType
2020-01-06 12:31:43 -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
af2ae76ca2 [NameUI] Remove pointless is_group check in refresh 2020-01-06 07:54:18 -05:00
Liru Færs
a870534ea0 This slipped out of an earlier commit, woops. 2020-01-06 03:03:04 -05:00
Liru Færs
ba61314c32 Add Copy Name to radar menu and Move To to radar and avatar url menus 2020-01-06 02:40:22 -05:00
Liru Færs
d32e478456 Clean up some string character literals 2020-01-06 02:16:44 -05:00
Liru Færs
1b29210f16 Feature Request: Add a setting to control the output of key2name command
AscentCmdLineKeyToNameNameSystem
2020-01-06 01:57:26 -05:00
Liru Færs
760f23b370 Sync with upstream to make the simulator version change notification useful 2020-01-06 01:54:30 -05:00
Liru Færs
a7cba5f1a3 Add Alchemy's /sethome command 2020-01-05 23:27:51 -05:00
Liru Færs
27033f4ebb Add /setchannel command to set the nearby chat channel, from Alchemy 2020-01-05 23:27:13 -05:00
Liru Færs
c772179149 Add RlvCommandOption support for Attachment UUID 2020-01-05 23:26:09 -05:00
Liru Færs
4c7eacf4fc Remove unused code 2020-01-05 23:25:36 -05:00
Liru Færs
672037d1f2 Sync LLChatBar with alchemy's LLChatBar and LLChatUtilities
Stops typing anim on chatbar focus loss
Makes a couple classes final
Adds checkChatVolume and canSendChannel to RlvActions
Updates other bits of Rlv, but adds no functionality
2020-01-05 23:25:22 -05:00
Liru Færs
80cedb913a Make Folder inventory window prettier 2020-01-05 17:41:26 -05:00
Liru Færs
734621be82 Add Move To to avatar right click menus 2020-01-05 16:25:55 -05:00
Liru Færs
dd3944161d Fix uninitialized member variable 2020-01-05 15:45:14 -05:00
Liru Færs
1aabbb13c0 Woops, this slipped out of a previous commit. 2020-01-05 15:44:46 -05:00
Liru Færs
5574f263b1 Fix crash in LLControlAvatar::matchVolumeTransform() from Kitty Barnett 2020-01-05 15:44:31 -05:00
Liru Færs
2117c66c9a Further LLControlAvatar sync with Alchemy 2020-01-05 15:41:22 -05:00
Liru Færs
1fbfc498bf Change signature of handle_go_to to be more versatile 2020-01-05 15:39:35 -05:00
Liru Færs
a02693e4dd [Animesh] Hook up more missing parts of LLControlAvatar, maybe fix stuff? 2020-01-05 00:08:26 -05:00
Liru Færs
24118e8e67 [Animesh] Hook up isImposter override for control avatars 2020-01-05 00:07:36 -05:00
Liru Færs
19ad64cc96 AlchSync: Change dynamic_casts to LLVOVolume to asVolume() 2020-01-04 23:31:15 -05:00
Liru Færs
e81affce51 Harmless Alchemy sync
CachedControls, autos, cleaner loops, remove overkill dynamic cast,
and override and final
2020-01-04 23:25:29 -05:00
Liru Færs
dec0bff972 Fix Crash C: mRootVolp wasn't being set null on mark for death 2020-01-04 21:36:47 -05:00
Liru Færs
5daf4aa777 Fix a shutdown crash (Crash B) 2020-01-04 19:46:17 -05:00
Liru Færs
2f24a53a01 Clean up some code 2020-01-04 12:15:00 -05:00
Liru Færs
28af96229b Cleaner port of Ansariel's fix for Attachment loss on TP/Crossing 2020-01-04 12:07:59 -05:00
Liru Færs
6d776632a9 Fix incorrect Link number in build floater. 2020-01-04 09:39:11 -05:00
Liru Færs
1853500e10 Fix Crash A: mFolders was being used without a null check 2020-01-04 02:57:40 -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
Liru Færs
37c4a4bbcb Fix possible unlinked and bad looking names in general tab of build tools 2020-01-01 13:07:49 -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
8a6f5b49a3 Merge branch 'master' of https://github.com/RouterGray/SingularityViewer 2019-12-27 20:19:49 -05:00
Router Gray
c8290b913e [CMake] Change remaining WORD_SIZE references to ADDDRESS_SIZE. 2019-12-27 06:16:59 -06:00
Liru Færs
e6e6d811c6 Updating crashpad 2019-12-25 21:33:51 -05:00
Router Gray
cdc35b3c32 [CMake] Remove add_dependency entries for items listed in target_link_libraries. Superfluous. (Alchemy sync)
Fixes Linux build errors.
2019-12-25 09:08:56 -06:00
Router Gray
c68e00730e [CMake Linux] Only include pthread and rt in target_link_libraries for ld.gold support (Alchemy sync)
Fixes CMake warnings on Linux
2019-12-25 09:08:48 -06:00
Router Gray
0496374328 [CMake] Use POSITION_INDEPENDENT_CODE property instead of manually setting -fPIC (Alchemy sync) 2019-12-25 09:08:40 -06:00
Liru Færs
6608dd0b8d Fix disabling crashpad and disable using crashpad on win32
Thanks Rye!
The Win32 build is a mess and won't have crash support for this release

We'll fix this all later
2019-12-24 05:33:12 -05:00
Liru Færs
432b4ab69d Allow right clicking to navigate through notify tips that aren't gone
Also clean up logic, since we're now always handling right clicks
2019-12-22 21:56:59 -05:00
Liru Færs
967b3646a6 Allow complex user interaction with notify tips
Hover and active right click menu now maintain their presence
2019-12-22 21:35:53 -05:00
Liru Færs
4110d1975a Give priority to a notify tip's children handling a left click 2019-12-22 21:16:07 -05:00
Liru Færs
b1862ce1c1 Shove textbox pointer of notifies into a member var
Used in future commit, separated for ease of reading
2019-12-22 21:14:14 -05:00
Liru Færs
a432c3429c Mark notify stuffs final/override 2019-12-22 21:06:37 -05:00
Liru Færs
949190b48d Clean up llnotify includes 2019-12-22 21:04:14 -05:00
Liru Færs
6885bf6368 Hack to get right click copy group name to work on my groups floater 2019-12-22 19:04:24 -05:00
Liru Færs
78f354925c Tiny refactor, harmless 2019-12-22 18:35:59 -05:00
Liru Færs
a87b7603d1 Feature Request: Move Tiny Build Floater button to floater's top bar 2019-12-22 18:26:00 -05:00
Liru Færs
1f3a232a9d Add Copy Name/Copy Names to avatar namelink menus 2019-12-22 01:44:06 -05:00
Liru Færs
99346d6486 This should've been committed in f3609b06d7 2019-12-21 04:58:57 -05:00
Liru Færs
067bd3cbd7 Sync with alchemy
Minor installer fix
Fix MSVC update breaking crashAndLoop
Move Variables to their corresponding places
Sync parts of deps/CMakeLists.txt
Update Abseil and fmt
2019-12-19 21:04:01 -05:00
Liru Færs
6e716fe3c5 Sentry and CI improvements from Rye. 2019-12-19 20:35:33 -05:00
Liru Færs
831c7f53b2 Fix bad spacing in Variables.cmake 2019-12-18 19:54:03 -05:00
Liru Færs
1c5a829e82 More of Rye's gitlab CI changes <3 2019-12-18 19:51:29 -05:00
Liru Færs
4751949628 Cleanup and further sync with upstream 2019-12-18 16:27:17 -05:00
Liru Færs
f8abafdefa Code cleanup/sync 2019-12-18 00:05:59 -05:00
Liru Færs
4798d1e3b3 Finish migration from summary.json to build_data.json 2019-12-18 00:00:22 -05:00
Liru Færs
10140d143c Wooops, branding ID separation is necessary, revert that change
Set up VIEWER_BINARY_NAME based on VIEWER_BRANDING_ID, make spaces dashes.
Fix VIEWER_EXE_GLOBS being wrong on Linux, thanks Router!
2019-12-17 23:49:37 -05:00
Liru Færs
f3609b06d7 Further CI/CD & building sync with alchemy
Reorder Variables.cmake for mergeability
Renames CMake Variables:
FMODSTUDIO->USE_FMODSTUDIO, NVAPI->USE_NVAPI,
VIEWER_CHANNEL_BASE->VIEWER_CHANNEL_TYPE
VIEWER_BRANDING_ID->VIEWER_BINARY_NAME,
VIEWER_PRODUCT_NAME->VIEWER_CHANNEL_BASE

Remove unused variables:
VIEWER_PACKAGE_ID, VIEWER_EXE_STRING, VIEWER_SHORTCUT_STRING, VERSION_BUILD

PACKAGE now defaults to on, USE_FMODSTUDIO now defaults to off

Use list append instead of set in some more places

Adds support for Project channels.
2019-12-17 19:31:08 -05:00
Router Gray
f25577649a [BOM] Fix universal wearables more, and correctly: Sync WT_COUNT and WT_UNKNOWN constants in llinventory.cpp and llwearable.h
Reverted previous changes to textures.xml regarding this issue
2019-12-17 06:34:27 -06:00
Liru Færs
cf5586037e Move to gitlab for CI (Rye's work but ported)
d3ddcdae: Update various urls from bitbucket to new alchemy gitlab
c24b176d: Standardize on one vc directory name for ease of build automation
Also add .gitlab-ci.yml

Thanks for the help, Rye!
2019-12-14 23:01:07 -05:00
Liru Færs
c6e3c31fae Clean up logic 2019-12-12 20:21:14 -05:00
Router Gray
0c3e1f602a [BOM] Fix universal wearables: sync a missed change from upstream, and make the inventory icon load. 2019-12-09 01:39:29 -06:00
Router Gray
d3a35e3f8d Fix ancient bug in appearance editor
(ref viewer-release "MAINT-2564 FIXED Alpha mask does not hide hair in the Outfit Editor" and "MAINT-3399 Hairbase renders incorrectly in edit appearance mode")
2019-12-02 22:56:27 -06:00
Router Gray
b34bafc348 [UI] Make graphics preferences Object LOD value limit agree with QuickPrefs limit 2019-12-02 18:03:42 -06:00
Router Gray
cdb316834a Exclude animesh from the AlwaysRenderFriends (and self) complexity exemptions. 2019-12-02 18:03:17 -06:00
Liru Færs
8b30e2e931 Also groups list for EAM panel 2019-11-24 08:04:34 -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
90677188ec Fix Minimap menu not working 2019-11-24 06:28:49 -05:00
Liru Færs
6d5df7c9af Make TextEditor an IDBearer, via slurl segments! 2019-11-24 06:03:46 -05:00
Liru Færs
79e1830ba9 Fix compile 2019-11-24 02:54:23 -05:00
Liru Færs
f0db784b46 Oh, this change is needed for the future. 2019-11-24 00:42:42 -05:00
Liru Færs
ef5c9f0175 Make sure that when we open pictures they stay on screen 2019-11-24 00:33:50 -05:00
Liru Færs
84081286f0 Buncha assorted changes 2019-11-24 00:32:58 -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
f5c19b9e5c Add List.EnableUnmute and List.CopyNames to menu callbacks 2019-11-23 23:07:13 -05:00
Liru Færs
5a561e03b8 Introduce Types for ID Bearer IDs 2019-11-23 23:05:33 -05:00
Liru Færs
ab207727fd Buncha loopy changes 2019-11-23 22:44:35 -05:00
Liru Færs
b3231883f6 Remove unused menu_url_agent_mini.xml 2019-11-23 22:38:08 -05:00
Liru Færs
d9ff42ab3c Add name_system attribute to NameBoxes and NameEditors
Uses the main one by default.
Removes old show complete names on profile setting in favor of
ProfileNameSystem, which is now offered under Adv. Chat->Chat UI

Forces nameui to refresh on name setting update, or should, not important though
2019-11-23 22:37:50 -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
c5bf72f0b3 Merge NameBox initialization up to NameEditor's initialization 2019-11-17 22:34:44 -05:00
Liru Færs
cfdcb8b3df Some finals 2019-11-17 22:33:03 -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
Liru Færs
d93bed216a Fix careless mistake breaking item properties floater 2019-11-16 12:34:36 -05:00
Liru Færs
89abfe6f86 Fix group names on certain group profiles sometimes never Loading in 2019-11-16 11:17:42 -05:00
Liru Færs
78fbc214ca Make chat loaded from log file be in LogChatColor instead of hardcoded grey 2019-11-16 10:02:01 -05:00
Liru Færs
fc649854ff Add Selected Avatars submenu to minimap menu
Minimap refactor, make it an LFIDBearer!

Moves listeners to cpp file, no need for header exposure
Removes duplicate ToggleControl listener just for minimap
Removes excess code from ToggleOverlay, we can use two on_clicks instead
Caches direction labels instead of looking them up each frame
Removes weird userdata look up on camera center menu item, fixing it
Respect RLVa by hiding the submenu, shortcutting lookups per child
2019-11-16 09:14:19 -05:00
Liru Færs
60e71f5724 Fix Beware's issue with SinguReplaceLinks failing for system messages
Fixes Teleport Offers in local being links
Fixes System Messages in IMs not enforcing link replacement
Fixes IM Chat History being loaded with replacement support,
at the log point, we can only consider it text from an outside source.
Changes IM Chat History color from hard coded grey to SystemChatColor
2019-11-16 03:49:47 -05:00
Liru Færs
b78807e5ed Merge llnameui changes from future branch to use lighter rlv headers 2019-11-07 13:55:07 -05:00
Liru Færs
4e39027958 Fix Linux build, thanks Router~ 2019-11-07 13:23:50 -05:00
Liru Færs
b527918350 Shorten format string 2019-11-07 12:47:59 -05:00
Liru Færs
16a352c70a Fix Bridge Autodetach yet again, thanks for the report Beware! 2019-11-07 12:30:11 -05:00
Liru Færs
5035f9c3d6 Fix Track item in slurl menus being broken 2019-11-07 11:33:27 -05:00
Liru Færs
a662318417 We must download LibVLC during installation 2019-11-07 09:24:14 -05:00
Liru Færs
573934e505 Disable Breakpad symbol generation, not needed for crashpad 2019-11-07 06:30:37 -05:00
Liru Færs
927e86bdc9 Feature Request: Link names in transaction messages 2019-11-06 06:42:45 -05:00
Liru Færs
cfa2c4e424 Fix Beware's issue with SinguReplaceLinks being partially broken recently 2019-11-06 06:42:13 -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
3d7da6e858 Router's fix for manifest borkage, thankies! 2019-11-03 18:40:41 -05:00
Liru Færs
f81f374ab9 Fix name ui hover handling bypassing necessary base call. Woops. 2019-11-03 18:33:03 -05:00
Liru Færs
82050a5e46 Woops, actually do the script debug link thing. 2019-11-03 18:30:00 -05:00
Liru Færs
9cf26e1fc2 Link names! Online/Offline notifications, Make group item declines better 2019-11-03 16:17:32 -05:00
Liru Færs
fa869f21ad Script Debug should link to object, when possible 2019-11-03 16:08:43 -05:00
Liru Færs
6af65004a5 Don't const_cast LLChat, just accept it as non-const. 2019-11-03 15:36:58 -05:00
Liru Færs
d189aadd12 Squeak
Links for teleport offers, show autoresponded with item to muted in local,
autounmute notification (so you can remute easily :P).

Cleanup redundant strings
2019-11-03 15:12:05 -05:00
Liru Færs
6048019926 When giving inventory to someone, use preferred name and link it in log. 2019-11-03 12:39:28 -05: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
96b7612d73 EAM Dates now respect ShortDateFormat 2019-10-26 15:17:40 -04:00
Router Gray
7e8ebdb852 [UI] Let clickable link name boxes and name editors have hand cursors instead of I-beams. 2019-10-24 22:49:06 -04:00
Router Gray
2e52fe64b8 [UI] Make avatar profiles honor ShortDateFormat. Thanks Liru.
Feature request/improvement suggested by Torric Rodas.
2019-10-24 22:49:06 -04:00
Router Gray
8b367c8eab Fix a missed variable replacement in the debug settings merge. 2019-10-24 22:49:06 -04:00
Router Gray
68481b8921 [Notifications] Make cpp agree with xml to fix Restore In World confirmation on no-copy inventory items.
Thanks Torric Rodas for reporting.
2019-10-24 22:49:06 -04:00
Liru Færs
a5aeac312c Merge debug settings against my updated alchemy version, gain tooltips! 2019-10-24 00:25:58 -04:00
Router Gray
d29d35ab23 Typo fix in autobuild xml. 2019-10-22 20:37:05 -05:00
Liru Færs
20eb6a3eca Hide http disablers on SL, UDP doesn't work anymore so they do nothing 2019-10-22 21:26:19 -04:00
Liru Færs
54c4b1de83 Fix the common crash, not quite sure why LL doesn't get this one
This fix does a few things:
1. LLMaterialID initializing an LLSD implicitly from a uuid and
thus not having it be a Binary, and not overriding LLSD::asBinary,
UUIDs are now checked for when receiving an LLSD in constructor
2. Implicitly using a UUID shortcuts to just calling set with the mData.
2019-10-22 21:00:17 -04:00
Liru Færs
d3572dd4ec Fix silly warning 2019-10-22 19:23:35 -04:00
Liru Færs
696a5f967d Forgot to rip this out of the headers for nonwindows, woops 2019-10-22 17:45:54 -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
afbafbe689 Merge branch 'master' of https://github.com/RouterGray/SingularityViewer
# Conflicts:
#	indra/newview/CMakeLists.txt
2019-10-22 01:03:45 -04:00
Liru Færs
18b02594cb Only have texture picker handle clicks with cb if on a visible portion
Fixes the bug wherein clicking the top of the a profile's groups list
would open that avatar's picture
2019-10-22 00:52:04 -04:00
Liru Færs
8288de7f79 Add Selected Face: display to build floater 2019-10-22 00:49:29 -04:00
Liru Færs
1693c97924 Add translatability to Selected prims/objects and Link number text
Also clean up this area's code a bit.
2019-10-22 00:49:15 -04:00
Router Gray
e3d69b4d8e [Audio] Make Fmod cooperate with the new PCH shiny. Also fixes OpenAL in Windows. 2019-10-21 20:23:55 -05:00
Liru Færs
f8eef33b7b This is fixes the build, woops 2019-10-21 17:31:28 -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
432bf03f0a Port Crashpad support from alchemy, with some small tweaks
Moved initCrashReporting into LLAppViewer, everything we use there is
crossplatform enough that duplicating code is silly

Removes unused gCrashSettings
Adds MBFatalError, that's right, Crash Loop is now translatable!
Adds consent notification prompt to first login... enjoy that, everyone.
2019-10-21 16:25:29 -04:00
Router Gray
2ba3ff852c [Linux] Switch to Ninja build system. Use compiler feature detection to accomodate the new PCH module. 2019-10-20 22:15:09 -05:00
Router Gray
76e9d912d6 [Linux] Drop prebuilt freetype and fontconfig, use system libraries. 2019-10-20 22:15:03 -05:00
Router Gray
29e71bec86 [CMake] The COMMENT directive needs quotes on output. 2019-10-20 22:14:57 -05:00
Router Gray
1d1857e5a7 [LL] Null checks, and demote a LL_ERRS to LL_WARNS. 2019-10-20 22:14:50 -05:00
Liru Færs
8a2407ecbb fmt, just not for linux 2019-10-20 05:54:05 -04:00
Liru Færs
05146faacf Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2019-10-20 01:49:28 -04:00
Liru Færs
b7fb8fb0ca Restore intentional removal of mGroupName caching
This field rarely changes, once if ever, as far as I can see...
perhaps we shoulld reduce the amount of setValue calls it receives but
they're not hurting too much for now.
2019-10-20 01:49:09 -04:00
Liru Færs
5ddab7d3b2 Feature Request: Link name in "Autoresponded to <name>" text 2019-10-20 01:37:28 -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
a644b2dee5 Let's let gesture triggers and replacements be 128 characters, why not? 2019-10-20 01:20:20 -04:00
Liru Færs
1d073cd0d9 [BOM] Add a checkbox for Universal wearables to Create New Outfit floater 2019-10-20 01:18:20 -04:00
Liru Færs
a1e74c3286 MakeOutfitDialog should use deltas for xui 2019-10-20 01:17:40 -04:00
Liru Færs
a6cc7eda61 This has been unstaged for too long by accident 2019-10-20 01:15:06 -04:00
Shyotl
a36e128e57 Re-enabling NSIS invocation (???) 2019-10-19 18:41:18 -05: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
Shyotl
4043130f75 Update texturelist/volumetexture management with changes from upstream. Note: TEX_LIST_SCALE not utilized in singu... yet. 2019-10-19 04:05:34 -05:00
Shyotl
835083a741 Added a few missing BoM pieces. 2019-10-19 04:00:51 -05:00
Shyotl
daf63eb418 Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git 2019-10-19 00:01:59 -05:00
Shyotl
4d5e5e1635 Merge branch 'animesh' of https://github.com/singularity-viewer/SingularityViewer.git into animesh 2019-10-19 00:00:50 -05:00
Shyotl
15c3ff0544 Minor bits and bobs from upstream. 2019-10-18 23:59:41 -05:00
Router Gray
68d19cd6fb [BOM] More BoM hooking up. 2019-10-18 16:16:16 -05:00
Liru Færs
ecc1730912 GCC 4 is why we can't have nice things... yet 2019-10-18 15:14:05 -04:00
Liru Færs
9c2d062886 Finish up ninja support, thanks Rye! 2019-10-17 23:04:21 -04:00
Liru Færs
7b3c3b9fab Burst Commit for building with ninja and more, thanks Alchemy!
GeneratePrecompiledHeader - Cinder and Rye
Ninja Support - Rye
Fetch Content instead of prebuilds - Rye
Visual Studio Native CMake Support - Rye
2019-10-17 21:15:30 -04:00
Liru Færs
a37299b4ae Cinder's randumb startup messages 2019-10-17 18:41:39 -04:00
Liru Færs
0c2ec8cb71 Merge branch 'master' of https://github.com/DamianZhaoying/SingularityViewer 2019-10-17 18:32:48 -04:00
Router Gray
7c2af68e3c [BOM] Add the magic BoM defines to isFullyBaked() and applyParsedAppearanceMessage(). 2019-10-17 03:48:53 -05:00
Damian Zhaoying
c0ec1d2c9a New spanish translations for BoM 2019-10-15 08:03:07 -03:00
Liru Færs
28911f03a7 Harmless change that is more right to do than not 2019-10-14 22:13:15 -04:00
Liru Færs
c65b0eb544 Silence these noisy Customize Appearance debugs 2019-10-14 22:12:44 -04:00
Liru Færs
f11eb17313 Woops, forgot partway through why I'd made this early change, needed! 2019-10-14 22:10:29 -04:00
Liru Færs
453386a49a Prevent warnings about missing ui from places it would never be
Layer interaction buttons for single layer wearable types
Buttons for subparts in types with only a single subpart
Take Off button for body parts
2019-10-14 22:05:53 -04:00
Liru Færs
accd69386a Small opt for null ids on name lists 2019-10-14 22:00:25 -04:00
Liru Færs
610d592f5a Let's do participants lists treating them as actual name lists
Adding items to these lists should be somewhat faster now, and that's good
because we usually add a bunch at a time with large groups.
2019-10-14 22:00:04 -04:00
Liru Færs
2b955eb00d Fix the participate lists loading usernames as images bug 2019-10-14 21:56:14 -04:00
Liru Færs
f38d200e93 Fix estate's access panel having an opaque background 2019-10-14 21:55:03 -04:00
Liru Færs
0b1f605bba Fix missing word and words going off the edge of customize info text 2019-10-14 21:54:17 -04:00
Liru Færs
278b617290 [BOM] Add Universal wearables functionality 2019-10-14 21:53:01 -04:00
Liru Færs
27c259bf7c Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer 2019-10-13 05:23:59 -04:00
Liru Færs
f520251935 Seriously, don't rush things when an Uber is coming
Fixes optional behavior to disable left click for profiles in name editors via xui not working because it wasn't listening to the variable passed in, woops. Yay randomly initialized pods!
2019-10-13 04:48:55 -04:00
Liru Færs
aa888c704e Fix bug noticed by gcc noticed by router 2019-10-13 04:16:08 -04:00
Liru Færs
bbd3cb3469 Fix compile 2019-10-11 16:44:59 -04:00
Liru Færs
bd2c67e8ec Fix win32 warnings 2019-10-11 16:28:48 -04:00
Liru Færs
b5afce0bbd Add flag to enable line editor style left clicks on name editors
Enable this flag on the profile name editor, but not the partner one.
2019-10-11 15:38:38 -04:00
Liru Færs
c5f714def8 Fix build on Linux
Thanks for the heads up and testing, Damian
2019-10-11 14:40:38 -04:00
Liru Færs
fdeb194d0e Fix Creator and Last Owner not showing in edit tools
Also fix special cases where there are owners that are not a single user
2019-10-11 05:33:54 -04:00
Liru Færs
975f3b420e Woops, don't be so tired or you'll miss silly things...
or be super tired and see everything.

This fixes right click name editor logic causing constant menu swaps
every right click, but hey, at least we know that works, right?
2019-10-11 04:55:10 -04:00
Liru Færs
8d5f1191dd Fix Windlight Editor not updating to current windlight's colors
This bug came whenever the color swatches were switched to sliders,
that's a long while ago! Eep!
2019-10-11 04:13:53 -04:00
Liru Færs
7c89a8b178 Remove old pointless code
Somehow fixed my BOM crash
2019-10-11 03:42:20 -04:00
Liru Færs
7c24e67c50 The UI portion of Bakes on Mesh... and the entire thing, sure, why not?
Also let's now select the proper tab when we input an ID or select a face
with an asset ID that we can find in a tab, but that never works for BOM
when applied.
2019-10-11 03:41:42 -04:00
Liru Færs
1cb9ea16da Unlimit the width of a bunch of the name_boxes 2019-10-10 20:28:20 -04:00
Liru Færs
c4a9532784 Feature Request: Option to render only self: AlwaysRenderFriends set to 3 2019-10-10 19:40:01 -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
93e30f44c0 Woops, this looks like it should have been staged a while back 2019-10-10 18:56:57 -04:00
Liru Færs
b6b44a2c86 Texture Picker redesign, more room, better presentation <3 2019-10-10 18:55:44 -04:00
Liru Færs
cb53a4f923 Rename local texture picker tab to Local, Computer is so old school 2019-10-10 15:22:35 -04:00
Liru Færs
85f147f679 Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer into animesh 2019-10-10 15:09:43 -04:00
Liru Færs
17cb8bd764 Clean up and update all the translations where name ui was switched to
vim macros are powerful
2019-10-10 14:42:01 -04:00
Liru Færs
b2eb4ea70c Remove now redundant partner profile button 2019-10-10 13:14:52 -04:00
Liru Færs
c6089637e7 On second thought, clicking a name editor should open up the profile, too
The initial thinking behind this decision was that people may want to
select, if they do, they can right click for this very rare use case.
2019-10-10 12:37:47 -04:00
Liru Færs
2f72ed2e80 Revert addition of now unused LLLineEditor::mFontStyle 2019-10-10 11:41:58 -04:00
Liru Færs
7b6a4d76a8 Actually, we don't underline links, I forgot, oops! 2019-10-10 11:39:59 -04:00
Liru Færs
8c7e498861 Some opts to avoid things that won't happen 2019-10-10 11:34:40 -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
d16ff5cb5c Bunch of excess clean up from while I was working on things 2019-10-10 02:49:17 -04:00
Liru Færs
0409a81e36 Renable old feature: Display complete names on profiles 2019-10-10 02:48:30 -04:00
Liru Færs
e0883b72dc All Name UI now uses the user's NameSystem selection instead of legacy 2019-10-10 02:43:02 -04:00
Liru Færs
b592b3c658 Fix whoopses from mid-development commits
Fixes compiles and fixes menu crash and missing menu file
2019-10-10 02:39:11 -04:00
Liru Færs
d277f1750d All places just av/group names were being used are now name ui
Since NameBoxes are clickable, remove redundant profile buttons.
Removes a ton of RLV logic, now centralized inside LLNameUI
Removes excess functions that went largely unused

May no longer show if parcel sale is pending under the owner field,
this is weird and it's hard to keep this behavior

Also includes the missing setValue and getValue so this compiles,
that should've been committed way earlier, oops

Also adds ability for name_box to have is_group attribute, too!
2019-10-10 02:32:47 -04:00
Liru Færs
d54bf78c08 Allow Name UI to be marked rlv_sensitive (via xui)
This allows these parts of UI to be hidden when they need to be
2019-10-09 20:47:21 -04:00
Liru Færs
b1be8bb7f3 Clean up a section of RLVa code 2019-10-09 20:13:16 -04:00
Liru Færs
0b7061afb7 Name UI flag to disallow user interaction
Also bypass setting name text for null ID
2019-10-09 20:07:29 -04:00
Liru Færs
b132578692 Bit of refactor in prep for bigger changes 2019-10-09 20:03:26 -04:00
Liru Færs
c18bdddb60 Woops, forgot to stage this file! 2019-10-09 17:57:10 -04:00
Liru Færs
6cd07b23f1 Name Editors sometimes need to be scrolled through, show tooltip instead 2019-10-09 17:44:31 -04:00
Liru Færs
ab546f54ab Remove unnecessary function 2019-10-09 17:43:26 -04:00
Liru Færs
11068eee38 Woops, these are needed since the change of name to line editor 2019-10-09 17:42:22 -04:00
Liru Færs
f80e23ac5e Name Editors are Name UI too! 2019-10-09 17:30:27 -04:00
Liru Færs
513a4fd16c When a profile is being reused, disable partner info button 2019-10-09 17:23:41 -04:00
Liru Færs
98b3c8a812 These are not name editors, they are line editors. Get it right. 2019-10-09 17:22: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
Rye Mutt
a559a09217 Fix a ton of small bugs in 64bit memory value handling 2019-10-09 16:52:46 -04:00
Liru Færs
3cb831bb56 Add the Photo Tools Windlights from FS, thanks FS/original authors 2019-10-09 15:52:12 -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
65ee3a5345 Move duplicated logic out of NameBox and into new base class LLNameUI
Also clean up includes.
2019-10-09 01:34:00 -04:00
Liru Færs
3c8a8efc03 Merge branch 'animesh' of https://github.com/singularity-viewer/SingularityViewer into animesh 2019-10-07 23:59:45 -04:00
Liru Færs
99facf6764 Make namebox an IDBearer, so now it has a right click menu, yay! 2019-10-07 23:47:35 -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
Rye Mutt
bcadee8575 Apply a lil alchemy blackmagic 2019-10-07 12:40:30 -04:00
Rye Mutt
77f8855fd6 Swap to absl hash maps on two extremely hot paths 2019-10-07 12:07:00 -04:00
Rye Mutt
b4243dc95b Enable larger resolution media surfaces for ultrawide monitors 2019-10-07 12:06:42 -04:00
Rye Mutt
2f4d254bc6 Fix calling cmake -E to use proper cmake var 2019-10-07 12:03:15 -04:00
Rye Mutt
e98e9391bf Ignore pip lockfile 2019-10-07 11:57:39 -04:00
Rye Mutt
e1757d68a5 Enable cmake IDE folder generation 2019-10-07 11:56:46 -04:00
Rye Mutt
a46f1145f5 Properly disable WER reporting 2019-10-07 11:56:31 -04:00
Liru Færs
d21e5db701 Fix the group founder name 2019-10-05 01:54:06 -04:00
Shyotl
1c1e64f48f Merge branch 'animesh' of https://github.com/singularity-viewer/SingularityViewer.git into animesh 2019-09-29 19:29:28 -05:00
Shyotl
4b6d1934c3 Clear out VAOs properly. 2019-09-29 19:29:03 -05:00
Rye Mutt
8561af1f84 Add abseil hashmaps and use in texture list, also fix bugs in texture list insertion 2019-09-28 19:03:49 -04:00
Rye Mutt
0880c762c9 Update nvapi to new location 2019-09-26 20:35:43 -04:00
Rye Mutt
886619a099 Add files needed for python venv 2019-09-26 20:11:43 -04:00
Liru Færs
64f4df5005 scroll_list -> name_list in translations 2019-09-11 15:21:10 -04:00
Damian Zhaoying
fd5e9fa85f Update spanish translations - Avatar menu 2019-09-10 01:57:08 -03:00
Damian Zhaoying
6a0506386d Merge branch 'animesh' of https://github.com/Lirusaito/SingularityViewer into animesh 2019-09-09 14:52:48 -03:00
Liru Færs
c5787381aa Fix up inactive translations to have the new submenus translated 2019-09-09 13:11:13 -04:00
Damian Zhaoying
22ed61f69c Merge branch 'animesh' of https://github.com/Lirusaito/SingularityViewer into animesh 2019-09-09 13:19:33 -03:00
Liru Færs
f6e204e4fb Merge branch 'animesh' of https://github.com/DamianZhaoying/SingularityViewer into animesh 2019-09-09 12:14:55 -04:00
Liru Færs
6f5abf105d Fix PT translation graphics reset button overlap 2019-09-09 12:05:30 -04:00
Liru Færs
8106a949bd Actually show tooltip for account info on profile 2019-09-07 18:02:05 -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
46f57756e7 Fix invalid TimestampFormat being generated by custom/old date setting
New Behaviors:
If you have a custom date setting, your TimestampFormat will not be set
(you'll need to set it yourself).
If you have a custom time setting and not a custom date setting, your
TimestampFormat will end with your ShortTimeFormat.
2019-09-07 12:26:09 -04:00
Damian Zhaoying
6a6f3d61bb Merge branch 'animesh' of https://github.com/Lirusaito/SingularityViewer into animesh 2019-09-02 13:45:53 -03:00
Damian Zhaoying
956af9177e Update Spanish Translations 2019-08-30 18:55:58 -03:00
Liru Færs
f2d1c820f5 Update FMODStudio for more platforms, yay!~ 2019-08-30 16:58:57 -04:00
Liru Færs
5999998ead On second thought, let's reorganize that menu to be more chat oriented
Send IM should be exposed top level
Profile should be inside the submenu
The submenu should be called Actions
2019-08-30 15:56:12 -04:00
Liru Færs
293820747f Add the Avatar submenu to the agent menus and create parity between them
A little mouse hover to open a submenu is better than an unwieldy menu
Moves Focus into the avatar section
2019-08-30 15:39:23 -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
2e465ba04a Improve List menu with IsNearby check
Teleport To is now available whenever a user is nearby, regardless of list
The local avs menu's Moderation submenu, Focus, and Track/Untrack has been
adopted into the main avs list menu making the only difference submenuing

Fix track/untrack not working, since it requires the radar to work right
2019-08-29 17:45:55 -04:00
Liru Færs
7c367d4e9c Participant Lists should be name_lists 2019-08-29 13:38:21 -04:00
Liru Færs
773ee898f7 Update fmodstudio 2019-08-29 13:32:23 -04:00
Liru Færs
8b85b9b06b Add Copy Page URL to media right click menu 2019-08-26 09:00:32 -04:00
Liru Færs
7c092411b0 Fix the scrollbar being missing on the estate access lists
Also make the access tab more beautiful overall
2019-08-26 08:59:37 -04:00
Liru Færs
e237c02295 Sometimes account into is too long to display on profiles, show tooltip 2019-08-26 08:38:22 -04:00
Liru Færs
4b36cd4a58 [OpenSim] Sometimes we are given invalid born strings, don't crash! 2019-08-26 08:36:11 -04:00
Liru Færs
a20f4450e9 Revert "update sources"
This reverts commit ce4b35ba1a.
2019-08-25 17:24:02 -04:00
Liru Færs
bc99ceee12 Merge branch 'animesh' of https://github.com/RouterGray/SingularityViewer into animesh 2019-08-25 17:21:56 -04:00
Liru Færs
2c3e37024e A Name List that's double clicked should open a profile
Unless other behavior already exists, name lists aren't all scroll lists,
void where prohibited, other restrictions may apply.
2019-08-25 17:02:48 -04:00
Liru Færs
a399bd7b62 Rework Name List Items to store the name type fully
It's more proper this way, but this will create some merge fighting
2019-08-25 15:51:29 -04:00
Router Gray
c90c303fd4 [Linux] Fix 'error: invalid initialization of non-const reference'. 2019-08-20 21:05:50 -05: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
Liru Færs
d46b8f9963 Profile 2nd Life tab gets a much needed facelift 2019-08-17 21:54:42 -04:00
Liru Færs
1b52b3e685 Merge branch 'animesh' of git://github.com/Shyotl/SingularityViewer into animesh
# Conflicts:
#	indra/llcommon/llindexedvector.h
2019-08-15 20:50:36 -04:00
Damian Zhaoying
5eef36c47a More updates to spanish language
# Conflicts:
#	indra/newview/skins/default/xui/es/floater_toolbar_prefs.xml
2019-08-15 20:45:38 -04:00
Shyotl
5c156a9d86 Added ll(Start/Stop)ObjectAnimation lsl function awareness 2019-08-11 20:37:00 -05:00
Shyotl
4f72de8289 Make gcc happy with closer to standards compliant code.. 2019-08-10 01:16:37 -05:00
Shyotl
a9c165f8a4 These should be inline now that they arent member functions. 2019-08-09 23:49:16 -05:00
Shyotl
767bdc1a30 Make linux happier? 2019-08-08 13:48:13 -05:00
Shyotl
f09b828217 Use wgl shared context lists to avoid re-creating gl context from scratch. 2019-08-07 23:02:34 -05:00
Shyotl
d2b28f60ff Speed up object param lookups. 2019-08-07 22:50:08 -05:00
Shyotl
21b1d5b52e Hotspot elimination. 2019-08-07 21:21:36 -05:00
Router Gray
f61becccb3 [gpu table] Add AMD Radeon/Asus RX series. 2019-08-07 21:05:00 -05:00
Router Gray
0da6696e83 [gpu table] Make the AMD Vega wildcard wilder. Add Nvidia RTX series cards.
Also banish the VE to near bottom of the AMD/ATI list
2019-08-07 11:47:18 -05:00
Shyotl
4091bf9da5 Template abuse to clean up llkeyframemotion. Only functional change: std::map<F32, curve> to std::vector<std::pair<F32, curve>>. Sorry in advance Linux. 2019-08-06 02:21:56 -05:00
Shyotl
da86dd08c4 Throttle avie complexity calculation frequency to once per 5s per avie. 2019-08-06 00:09:59 -05:00
Liru Færs
59a12dfe1d Clean up some last few QuickTime things 2019-08-05 21:13:32 -04:00
bittenbythedark
468f28941f Remove unneeded notifcations 2019-08-05 21:10:20 -04:00
bittenbythedark
a987bcac6f Fix MP4 Playback on windows, alchesync 2019-08-05 21:08:13 -04:00
Liru Færs
782d71a745 This probably will fix the active voice list issue 2019-08-05 21:03:25 -04:00
Lirusaito
212bd47d36 Revert "This probably won't fix the active voice list issue"
This reverts commit 466f901105.
2019-08-05 16:41:28 -04:00
Lirusaito
bcf301ce6a Add Marketplace option to toolbar and add to world menu
Also hidden in this commit is the ability to add buttons/menu entries for
your favorite websites to be opened in the in-viewer browser
Just make a button that calls "ShowWebFloater" and passes the URL as param
2019-08-03 20:17:30 -04:00
Lirusaito
01b4f52fb0 Add support for better speakerlist for conferences 2019-08-02 20:30:15 -04:00
Lirusaito
2cc41405d2 Restore Access Management lists' sort orders after populating them 2019-08-02 20:09:11 -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
80c24532ba Remove excess getChilds from llfloaterland 2019-08-02 17:55:22 -04:00
Lirusaito
4702e3d586 Fix parcel access management 2019-08-01 22:27:29 -04:00
Lirusaito
466f901105 This probably won't fix the active voice list issue 2019-08-01 16:51:17 -04:00
Router Gray
ed4e91ee7f [Linux] Cmake fix to not do manifest copy twice when packaging. 2019-08-01 08:48:57 -05:00
Router Gray
ee6f919ea7 [Linux] Properly detect full screen resolutions. Thx Laffalott reporting and Henri Beauchamp for code. 2019-08-01 08:48:15 -05:00
Lirusaito
9f84fe6d5a Make it Squeak 2019-07-31 19:43:33 -04:00
Lirusaito
2580ca7afd Fix paused frame overflow, thanks Rye! 2019-07-31 14:22:27 -04:00
bittenbythedark
aee0e75971 Merge branch 'animesh' of https://github.com/Lirusaito/SingularityViewer into animesh 2019-07-31 00:55:19 +02:00
bittenbythedark
ce4b35ba1a update sources 2019-07-31 00:53:30 +02:00
Router Gray
dc77a053ea [Alchemy sync] Switch from shipping vc_redist to shipping the dll's from the build host. 2019-07-29 23:04:26 -05:00
Router Gray
565153c5f7 Fix weird gesture deactivation and state-save bug with weird fix.
Also OCDly replace a NULL with nullptr (not part of the above fix).
2019-07-29 17:55:48 -05:00
Lirusaito
6aab72beb8 Remove iffy EAM change 2019-07-29 11:21:00 -04:00
Lirusaito
c8bd1f5f5b Fix the duplicate squeaks 2019-07-26 21:17:02 -04:00
Lirusaito
5f2b3a10ff X-Grid Protocol resolution support 2019-07-26 20:44:17 -04:00
Lirusaito
1466539d88 [Feature Request] Open Muted List Profiles via Double Click 2019-07-26 20:27:17 -04:00
Lirusaito
01b02fd6b1 We must prompt the user before giving them support the first time 2019-07-26 20:24:09 -04:00
Lirusaito
16a6af820a Fix the duplicate squeaks 2019-07-26 19:09:36 -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
4a6031ba38 How did this happen? 2019-07-25 22:00:37 -04:00
Lirusaito
466cc0b98d Chocolate must be really bad for me, I'm super dizzy and dazed... 2019-07-25 11:07:56 -04:00
Lirusaito
ed6dcb6a5b More code cleanup to fix compile 2019-07-25 10:56:20 -04:00
Lirusaito
ec8d2646cd Fix ancient dumb code breaking shiny modern features
Now if you have your date or time format set via debug settings,
they'll only be overwritten if you use the preferences UI for them

Be warned that the cancel button will not restore your custom formats
debug settings are nice to use, but you are an edge case power user

This commit cleans up a buncha duplicated code and makes it look nice and neat
Thanks to Router for making sure I wasn't crazy~
2019-07-25 10:35:50 -04:00
Router Gray
bca94dc4be Fix linux64 dullahan link bc some browsers are so smart they're dumb. Thanks Tazy Scientist. 2019-07-24 21:15:37 -05:00
Router Gray
8e00ae1d44 Allow gstreamer plugin to compile on Gentoo et al. Thanks to Tazy Scientist. 2019-07-24 17:49:39 -05:00
Router Gray
99303883dc Banish WIN_VSVER from not-Windows. Thanks Drake for dealing with my stubbornness. 2019-07-24 03:16:01 -05:00
Shyotl
ea2b1e179e Removed unnecessary lighting assertions. Fixed compiler warning. 2019-07-23 20:49:17 -05:00
Lirusaito
bf10ab4bb1 Fix single line profile button for Group IMs started by others 2019-07-23 02:29:34 -04: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
c5ad7849ac PathfindingDirty was dirty 2019-07-22 23:42:24 -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
61730f3ee1 Commas, please 2019-07-22 10:33:11 -04:00
Lirusaito
1cc2933c32 Merge branch 'animesh' of https://github.com/RouterGray/SingularityViewer into animesh 2019-07-22 10:13:56 -04:00
Lirusaito
34b42cc5d7 TOS and Voice License stuff 2019-07-22 10:10:01 -04:00
Lirusaito
4cb43c6747 Add in an option for YYYY/MM/DD, for the classical log stampies
Cleanup that prefs code, too!
2019-07-22 10:09:14 -04:00
Lirusaito
189590edb9 Naaaaaaaa 2019-07-22 10:04:31 -04:00
Router Gray
c711847b4e Don't crumble Liru's cookies (less spam in linux manifest) 2019-07-22 07:56:19 -05:00
Lirusaito
b3fcd87a20 Merge branch 'animesh' of git://github.com/Shyotl/SingularityViewer into animesh 2019-07-22 08:52:10 -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
31c5b00fed Fix up EAM to work (Part 1)
Move Copy button to bottom because NO ONE KNOWS HOW TO UI ANYMORE,
I am alone, so alone *single tear*

Don't draw headings on single column lists, it just wastes space
2019-07-22 08:36:11 -04:00
Router Gray
2484555854 Linux library updates: FMOD Studio 2.00.02, Dullahan. 2019-07-22 04:49:58 -05:00
Router Gray
9600965bcf Dullahan finally works, thanks Liru, Bitten, Drake. Catch Linux up. 2019-07-22 04:48:34 -05:00
Shyotl
1bd6ba61a7 Improve vram detection on systems with multiple gpu devices. 2019-07-22 01:31:15 -05:00
Shyotl
899d09bfcc Don't /actually/ run in true core context yet as people like to play with settings they don't understand. 2019-07-21 02:33:12 -05:00
Shyotl
35433cb8a4 Added tools->avatar tool submenu when rightclicking rigged mesh. Fixed 'reset skeleton and animations' on self pie menu not working. 2019-07-21 01:57:30 -05:00
Lirusaito
7d9642210d Close on select before selection callback, if desired 2019-07-20 18:52:27 -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
74d26eac86 Merge branch 'animesh' of git://github.com/Shyotl/SingularityViewer into animesh 2019-07-18 02:52:18 -04:00
Shyotl
225d174ec6 MIN_MEM_FOR_NON_TEXTURE setting doesn't work well with new math. Lower signifigantly. 2019-07-18 01:33:47 -05:00
Shyotl
3bc4d6fd63 Fix UI backgrounds vanishing when toggling basic shaders on and off. 2019-07-17 20:20:41 -05:00
Shyotl
94787c6da8 Quiet down harmless debug warnings on nVidia when using renderDebugGL. 2019-07-15 21:00:09 -05:00
Lirusaito
6d2b530330 Feature Request: Make the build number display check setting persist 2019-07-14 02:29:32 -04:00
Lirusaito
c2fbb6f10f Fix single line group chat button positions 2019-07-14 02:12:03 -04:00
Router Gray
2f54cf26a9 Make gcc happy, silence 'changed meaning' warning. 2019-07-14 02:10:06 -04:00
Lirusaito
9945fc1767 Enable Abuse Report from P2P IM 2019-07-12 17:48:59 -04:00
Pytak
186cf58197 [PyFX] add new windlights and PPE presets from PyFX 0.7 2019-07-12 17:44:32 -04:00
Lirusaito
1c80ae45d8 Sync experience script stuff from future branch~ 2019-07-11 00:38:53 -04:00
Lirusaito
2c992c3f16 This was broken, that's stupid 2019-07-10 23:55:07 -04:00
Lirusaito
e2f7a0ef5c Let's nearly break logging to add a highly requested feature
My keyboard has been broken for almost half a year
and none of you will ever care
but I care about you
I care so much
2019-07-10 23:54:48 -04:00
Lirusaito
665df2fe4e Feature request, allow keywords to trigger on system messages 2019-07-10 20:57:32 -04:00
Lirusaito
311020034e Only render friends when AlwaysRenderFriends is set to 2 2019-07-10 20:50:44 -04:00
Lirusaito
564a9abf42 Enable left mouse menu support, part 1 2019-07-10 18:03:38 -04:00
Lirusaito
6a60fa3458 Merge branch 'animesh' of git://github.com/Shyotl/SingularityViewer into animesh 2019-07-10 03:43:44 -04:00
Lirusaito
94cf62f510 Fix issue of Enter not reliably opening items 2019-07-10 03:33:05 -04:00
Lirusaito
1920f529be Feature Request: Add Received Items to menu(under World)/toolbar 2019-07-10 03:32:33 -04:00
Shyotl
1234cf42e9 msg_blk_data_map_t mMemberBlocks must be ordered. Todo: convert to vector, as insertion order should be good enough with minor changes. 2019-07-10 01:37:00 -05:00
Shyotl
ed9307097b Updated LLFloaterMessageLog 2019-07-10 01:16:40 -05:00
Shyotl
f16bde1ac8 No exceptions on unrecognized messages. 2019-07-10 01:06:21 -05:00
Shyotl
49b027f2a0 Rework llindexedvector to be a bit more debugable. 2019-07-10 01:05:42 -05:00
Lirusaito
ff2c0e52b4 Cleanup those menu entries, too, and make them checks as they should be 2019-07-10 00:01:21 -04:00
Lirusaito
8094d13c2e Use type names instead of new category names for built in folder floaters 2019-07-09 23:52:38 -04:00
Shyotl
37839ff247 Fix broken 'create new outfit' checkboxes. Not sure when this broke.. (The checkboxes are wrongly lower-cased. Hack around it in code instead of breaking translations...) 2019-07-09 22:04:46 -05:00
Shyotl
e32b13e226 Disable old hack that was breaking ssl connections, as LL now uses TLS1.1. 2019-07-09 21:39:21 -05:00
Lirusaito
3a678f5a9b Merge branch 'animesh' of git://github.com/Shyotl/SingularityViewer into animesh 2019-07-04 12:39:47 -04:00
Lirusaito
b8cfb5c8be Unbreak my Goat, Fix UDP again 2019-07-04 11:02:40 -04:00
Lirusaito
476721b4b9 Comment out unused variable 2019-07-04 11:01:39 -04:00
Lirusaito
b4a37bf20d I finally got around to uploading the 32-bit windows dullahan package 2019-07-04 10:43:28 -04:00
Naiyako
4a6a81b5d4 Make fmod2.0 compiling
Signed-off-by: Lirusaito <inusaito@gmail.com>
Added libraries to autobuild, mac build from Bitten
2019-07-04 10:42:19 -04:00
Shyotl
d9392d5c39 fix cmake without vc redist. remove double to float warning. 2019-07-04 09:30:59 -05:00
Shyotl
279d919164 Merge branch 'animesh' of https://github.com/Lirusaito/SingularityViewer.git into animesh 2019-07-03 19:42:40 -05:00
Shyotl
9e47335f98 Revert raised cache cap. Actual impl is not in this branch. Also use actual unit types for cache size logic because it looks nicer. 2019-07-03 17:50:09 -05:00
Shyotl
43ab8a2e36 Do not attenuate specular map with diffuse map trasnparency. 2019-07-03 16:00:33 -05:00
Shyotl
b5cb6459b0 Tweak memory detection algorithm. 2019-07-03 16:00:16 -05:00
Shyotl
4622be4cef Clear sim stats upon stats stat update in new region. 2019-07-03 15:59:51 -05:00
Lirusaito
b9e522fd8d Hide Marketplace Listings folder from main inventory, it bugs filters 2019-07-02 22:47:37 -04:00
Lirusaito
71f2dee332 Yet more TOS Floater tweaks 2019-07-02 22:39:26 -04:00
Lirusaito
b86e402fc0 Remove now unused rectangle setting for opening in folders new floaters 2019-07-02 14:06:19 -04:00
Lirusaito
658be9bd58 Fully combine voice with tos stuffs
Removes separate voice license code
Cleans up tos code
2019-07-02 14:00:46 -04:00
Lirusaito
65df86e741 Integrate voice license code into floatertos 2019-07-02 13:12:46 -04:00
Lirusaito
0197a47007 Support modern event slurls 2019-07-01 20:31:09 -04:00
Lirusaito
ce42937e3f Goats are as delicate as the UDP pipeline 2019-07-01 20:29:08 -04:00
Lirusaito
aec4278292 Unbreak the goat! 2019-06-30 18:25:27 -04:00
Lirusaito
8fef329437 Fix UB, thanks Router and Clang for the heads up 2019-06-29 21:23:07 -04:00
Lirusaito
128d30bd4b Fix Compile 2019-06-16 03:57:04 -04:00
Lirusaito
7dea17cdc7 Fix Xitano's bug by fixing my viewer_manifest bootstrap paradox 2019-06-13 18:27:43 -04:00
Lirusaito
82386fe2ef Negative TeleportHistoryMaxEntries means unlimited now 2019-06-10 09:15:35 -04:00
Lirusaito
c2f56f1881 Woops, now inventory floaters remember their position per folder for real! 2019-05-31 22:57:50 -04:00
Lirusaito
68fc758e94 Do not make installer package unless binary is updated (or touched)
This is bad for production,
adding a touch binary line to the prebuild step should fix it though
2019-05-31 19:35:22 -04:00
Lirusaito
1cd7706461 Actually updaate the binary we put into the installer 2019-05-31 18:22:56 -04:00
Lirusaito
2e5141bd25 Possible fix for Torric's gesture toggle crash 2019-05-27 06:25:29 -04:00
Router Gray
f6d8573221 "Liru: All getters should be const, ideally." Clang agrees.
The values being compared are const, the result should be too.
2019-05-24 12:06:35 -05:00
Router Gray
562982cc30 Null check, sooner is better, and clang is happy. Thanks Liru. 2019-05-24 12:06:34 -05:00
Router Gray
df13aa408b Add missing operand in inventory actions. 2019-05-24 12:06:33 -05:00
Router Gray
4329d46ac4 Properly comment out code so compilers quit whining about 'unreachable'. 2019-05-24 12:06:33 -05:00
Router Gray
bf9e900731 Fix warning about variable promotion. 2019-05-24 12:06:32 -05:00
Router Gray
40ad9fad32 Fix fonts search path on not-Windows. 2019-05-24 12:06:32 -05:00
Router Gray
3951f6f516 Fix no newline at EOF. 2019-05-24 12:06:31 -05:00
Router Gray
58d94e9883 Change some instances of {0} to {} to pacify compilers. 2019-05-24 12:06:30 -05:00
Router Gray
55c0ba5b06 Silence compiler warning destructor on non-final w/virtual functions & non-virtual destructor 2019-05-24 05:57:15 -05:00
Router Gray
e327c5ad0e Merge remote-tracking branch 'github-liru/animesh' into animesh 2019-05-23 11:48:22 -05: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
4bb63a9827 Fix SinguReplaceLinks not being respected on various user driven UI
Corrects display for Readonly Notecards, Picks, Group profiles, First/
Second Life, Classifieds, Events, Landmarks, About Land, and Region/Estate

Thanks for giving me the heads-up, Beware
2019-05-10 18:47:06 -04:00
Lirusaito
2a40ca6295 LLTextEditor's setText and setWText shouldn't always enforce linking 2019-05-10 16:45:20 -04:00
Lirusaito
e9c99089e1 No viewer_manifest warnings, please. 2019-05-10 14:04:32 -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
Router Gray
9bcd3298ba Use dictionaries prebuilt instead of in-tree; adds several languages. 2019-05-05 20:15:04 -04:00
Router Gray
2f9a43effd Sync with Alchemy to fix and streamline Windows plugins packaging 2019-05-05 20:14:59 -04:00
Router Gray
535a01ea30 SLVoice update Windows and Mac 2019-05-05 20:14:53 -04:00
Lirusaito
1193f9bb65 Fix Torric's no copy texture crash
Thanks for the research and textures, Cheesy
2019-05-05 20:09:31 -04:00
Lirusaito
623b993fa9 Fix the inventory floater resize bug
Thanks for catching this, Deltek.
2019-05-05 18:52:00 -04:00
Lirusaito
7773f6b4f7 Restore the old toggle behavior of the special inventory floaters 2019-05-04 07:12:40 -04:00
Lirusaito
2b47e62dd8 Remove dumb dynamic cast children loop in toolbar init
:%s/\<button /button sound_flags="0" /
2019-05-04 03:51:12 -04:00
Lirusaito
3d21dc309c Views fromXML can have sound_flags now 2019-05-04 03:40:08 -04:00
Lirusaito
6dadfaffac Improve rect control name of inventory folder floater
This makes it more reliably usable and more understandable to the user.

The downside of this is that folders with the same name will have the same
position, but I don't think that really matters.
2019-05-04 03:34:38 -04:00
Lirusaito
f0ef3a4569 Fix defaulted inventory folder floater title 2019-05-04 03:31:50 -04:00
Lirusaito
140f5d3b0a Make Outbox and Favorites like other new inventory windows
Yay search~
2019-05-04 03:24:28 -04:00
Lirusaito
22f314d158 Dynamically create Rect Controls for storing Inv in New Window Pos/Size 2019-04-29 00:15:43 -04:00
Lirusaito
8653ee79ea Update Floater Inv Panel to be more modern 2019-04-28 09:02:43 -04:00
Lirusaito
0cc146a170 Change LLInstanceTracker to use a boost unordered map
Also remove unused functions and an unused typedef with it
2019-04-28 09:01:38 -04:00
Lirusaito
56378772cc Add operator == for LLSD to llsdutil.h 2019-04-28 09:00:17 -04:00
Lirusaito
64561fa57b [Radar] Feature Request: Make sort order persist 2019-04-28 06:30:20 -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
c6b17c9005 Probably fix Torric's issue of notes being overwritten 2019-04-28 06:17:57 -04:00
Lirusaito
331023e878 Strings and LLSD settings now get edited with a text editor 2019-04-28 03:39:13 -04:00
Lirusaito
d47fb4da03 Merge branch 'animesh' of git://github.com/Shyotl/SingularityViewer into animesh 2019-04-28 01:21:51 -04:00
Lirusaito
40faef0bf8 If a setting is LLSD, display it in pretty print xml in debug
This should probably get its own TextEditor later on, it'd look better.
2019-04-27 03:04:11 -04:00
Lirusaito
b8c9d9c0f3 Clean up LLScrollListCtrl and add ability to getSortColumns() 2019-04-27 03:02:47 -04:00
Lirusaito
d33ae35fb3 OK in preferenes should save per account settings if possible 2019-04-27 03:01:49 -04:00
Shyotl
5f56d2d38f Show channel in script text box dialog popdown 2019-04-26 22:52:59 -05:00
Shyotl
d7e7701927 Make texture fetch type (mFTType) a const member variable and remove from init() call. forceRefetch was clobbering mFFType via init call and firstinit boolean is a stupid hack. 2019-04-26 22:52:48 -05:00
Lirusaito
005ec30d7b Max estate managers is 15 now 2019-04-25 17:07:51 -04:00
Lirusaito
15a8e1f08f Don't limit estate managers on non-SL grids, let the grid do that. 2019-04-25 15:40:51 -04:00
Lirusaito
2d06d455cd ProductEngines are Lindens, I guess. 2019-04-25 01:48:56 -04:00
Lirusaito
f2b773dac7 Fix linux build, thanks Router 2019-04-24 17:34:45 -04:00
Lirusaito
14774b03ad Squash Nai's bug and still fix the issue? 2019-04-23 13:33:09 -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
Lirusaito
f7386e8e70 Update python stuff to latest
Probably definitely break linux
2019-04-20 16:28:51 -04:00
Lirusaito
a5be867238 Merge branch 'master' of https://github.com/Pytak/SingularityViewer into animesh 2019-04-20 10:28:58 -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
Router Gray
5f38bb4bf2 Make dullahan autoplay autoplay. Thanks Liru. 2019-04-20 09:15:46 -04:00
Router Gray
726141d6da Fix LLViewerObject processTaskInvFile iterator double .begin() and no .end() 2019-04-20 09:14:48 -04:00
Lirusaito
ed09681479 There's no need to warn or even mention this, thanks Deltek! 2019-04-20 01:35:30 -04:00
Lirusaito
d194dfbc09 Sync with alchemyng for VCRedist update 2019-04-19 23:25:47 -04:00
Lirusaito
8ef3e923e8 Allow bare minimum urls in [url text] syntax 2019-04-19 20:07:46 -04:00
Lirusaito
564410ac7e Fix some warnings and errors 2019-04-19 17:29:55 -04:00
Lirusaito
f2beb4443a This should fix Linux, thanks Drake. 2019-04-19 16:52:40 -04:00
Lirusaito
1a88370566 Finish hooking up VLC and removing quicktime 2019-04-19 15:00:05 -04:00
Lirusaito
01b4339b6f Fix configure
Not sure how Prebuilt.cmake worked in my repo but not others, but okay.
Of course I'd forget to stage the libvlc directory.
And somehow vlc-bin wasn't added to autobuild.xml?!
2019-04-19 13:11:52 -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
f26425f17a VLC instead of QuickTime
I dunno if it's actually in there yet... meh
2019-04-19 00:05:49 -04:00
Lirusaito
b28313559d Update to VS2019, you now need autobuild-1.1 on windows 2019-04-18 23:49:47 -04:00
Lirusaito
d933472a16 Wooops, I'm sick and blind 2019-04-18 23:29:28 -04:00
Lirusaito
6c034506c3 Does this fix the issue with recent items not updating? 2019-04-18 20:55:17 -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
289d1055e5 Fix bad md5sum? 2019-04-18 13:55:56 -04:00
Lirusaito
41ebd51fca C'mon, reallly? 2019-04-18 10:16:48 -04:00
Lirusaito
07569d008d Fix compile issues, thanks Router! 2019-04-18 09:19:20 -04:00
Lirusaito
e5f3d1d8bc Break Linux? Fix volume catcher? Only time will tell 2019-04-17 18:41:13 -04:00
Lirusaito
f670c774d3 Oh hey, we can do this part of VLC merge right now too! 2019-04-17 18:28:22 -04:00
Lirusaito
7c41dc2e7e It's a syncing ship
Ha... get it?
I'm so lonely...
2019-04-17 18:09:39 -04:00
Lirusaito
7c40f3332f Myan 2019-04-17 18:07:32 -04:00
Lirusaito
2df95bb4bd Floater About VLC support 2019-04-17 17:57:22 -04:00
Lirusaito
68a4975fe1 Actually fix the removal of Starting session
Thanks for the assistance and testing, Router~!
2019-04-17 15:01:48 -04:00
Lirusaito
41c56f706a It's all Greek to me
Thanks, Router!
2019-04-17 12:43:36 -04:00
Lirusaito
56962a26cc Merge branch 'animesh' of git://github.com/Shyotl/SingularityViewer into animesh 2019-04-17 12:43:28 -04:00
Shyotl
7f776c0d53 Fixed geom never generating in some scenarios. 2019-04-17 00:49:46 -05:00
Shyotl
bee0109e33 Reduce per-frame std::map lookups.. 2019-04-16 20:08:10 -05:00
Router Gray
fd6b367746 Fix missed changes for is_trivially_copyable and make gcc happy about them (#4) 2019-04-13 16:43:47 -04:00
Liru Færs
5e12a9d057 Scream!
Thanks for looking into this Router
2019-04-13 10:07:34 -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
c78770138d If a log file doesn't exist, just let the user know with a sound
Also a warning, in the log, displaying the path.
2019-04-13 03:02:26 -04:00
Lirusaito
947cf57100 And then I remembered windows is windows. 2019-04-13 02:53:01 -04:00
Damian Zhaoying
4a59efadeb Fix spaming messages in assert and is_trivially_copyable on GCC 4 2019-04-13 01:02:38 -04:00
Shyotl
66b929c3fa Merge branch 'animesh' of https://github.com/Lirusaito/SingularityViewer.git into animesh 2019-04-11 23:54:32 -05:00
Shyotl
c1d1059a9a Feature: Hold shift to disable right-clicking rigged mesh. 2019-04-11 23:53:57 -05:00
Shyotl
ccacdf7e6b Remove redundant pick hover logic. Already handled in LLToolPie. 2019-04-11 23:51:05 -05:00
Lirusaito
69100fcca3 Fix Dullazoom 2019-04-11 07:08:47 -04:00
Lirusaito
cd8edf933f [Dullahan] Add browser hotkeys for zooming (doesn't actually work yet) 2019-04-11 06:51:30 -04:00
Lirusaito
00e9960d77 Fix compile 2019-04-11 06:14:35 -04:00
Lirusaito
c9eac98d53 Drake's trivially copyable optimop 2019-04-11 05:02:43 -04:00
Lirusaito
7fc90d3dce Feature Request: Add SinguAlwaysUnderlineLinks to always underline links 2019-04-11 04:15:12 -04:00
Lirusaito
12890af0cc Fix Folder Sharing logic bug, woops, thanks Shy! 2019-04-11 04:15:08 -04:00
Shyotl
3724cf0e68 Fixed some more header issues. 2019-04-11 03:12:48 -05:00
Shyotl
1cfd782bdd Fix some compilation errors. 2019-04-11 02:54:21 -05:00
Shyotl
1351a2695e Merge branch 'animesh' of https://github.com/Lirusaito/SingularityViewer.git into animesh
# Conflicts:
#	indra/newview/llspatialpartition.cpp
#	indra/newview/llvoavatar.cpp
#	indra/newview/llvovolume.cpp
2019-04-11 02:02:05 -05:00
Shyotl
e49b484c2f Updated rigged mesh selection/cursor hover handling. 2019-04-11 01:16:50 -05:00
Lirusaito
66a94c6778 Hide partner grid stuff always, unless advanced is selected 2019-04-10 15:34:26 -04:00
Lirusaito
278459bdf2 New Fonts to complain about!
Thanks Drake!
Tweaks panels to look good now that font is slightly wider
2019-04-10 15:26:23 -04:00
Lirusaito
ed88e55e04 Yay they updated llstring, who's ready for a full rebuild? 2019-04-10 12:38:35 -04:00
Lirusaito
5e1a102de4 Dullupdate: Fix not shutting down properly?
TODO: Rebuild on Linux
2019-04-10 11:37:59 -04:00
Lirusaito
27ed3ca4b9 Use pkgdir in manifest 2019-04-10 11:37:55 -04:00
Lirusaito
4ea1b8d666 Woah, new libraries? No wai! 2019-04-10 11:37:52 -04:00
Lirusaito
bfe221d571 Oh right, this complained... 2019-04-10 11:37:48 -04:00
Lirusaito
be65834e1b Dullawoof: Okay, this should definitely fix Zoom. 2019-04-10 11:37:41 -04:00
Lirusaito
3b54658e52 Apparently this wasn't even needed? Why did Visual Studio warn me? 2019-04-10 11:37:37 -04:00
Lirusaito
3462f403fe Dullasync
Fixes scaling issue
Also fixes the openid cookie
2019-04-10 06:43:14 -04:00
Shyotl
6675bb2276 Increase disk cache size limit. 2019-04-09 23:27:55 -05:00
Shyotl
3e0b75c4f7 Fix issue where alpha_mode_none and alpha_mode_emissive on rigged faces were being alpha tested and discarded. 2019-04-09 16:01:14 -05:00
Lirusaito
621a342809 What happens to a ShowParcelOwners deferred?
Does it render like a ShowParcelOwners in the forward?
Or fester like a bug when it's run?
Does it get reported like rotten meat?
Or forgot and coded over
giving users a treat?

Maybe it just sags like a heavy bird...
Prepare to Implode!

Thanks to Beware Hax for reporting this
2019-04-09 14:18:42 -04:00
Lirusaito
3ad4770b44 [Support] Show a concise indicator in chat for viewer channel/branch 2019-04-09 04:40:42 -04:00
Lirusaito
2c2d127683 Allow Unicode viewer channels 2019-04-09 04:37:23 -04:00
Lirusaito
6271dba5bf Sync Variables.cmake with future branch 2019-04-09 03:56:59 -04:00
Lirusaito
c85f8345f2 Sync World Map Message as much as possible to retain OpenSim Compat 2019-04-09 03:56:23 -04:00
Lirusaito
1ef5dc2c5d Merge branch 'animesh' of git://github.com/Shyotl/SingularityViewer into animesh 2019-04-09 02:30:24 -04:00
Lirusaito
181c6ddd9d LLGroupMgr Don't copy vectors around, we can use references
getMembersInRole with needs_sort will now sort the vector passed in
At the moment it's not used with this being true so it doesn't matter
Just take note.
2019-04-09 02:08:25 -04:00
Shyotl
8ed9934a87 Fix memory tracking bug with vertex buffers. (Cosmetic. Only affects debug stats) 2019-04-08 18:13:28 -05:00
Shyotl
99f9b98258 Keep llthread.h out of the precompiled header. Thanks. 2019-04-08 15:18:36 -05:00
Shyotl
e2cc2d600b Update event poll to work with expected server changes. Timeout now behaves like status 502 (which is being removed by LL). Keeping 502 handling as well to maintain opensim support. 2019-04-08 15:18:10 -05:00
Lirusaito
6397261a33 Thanks Deltek 2019-04-05 07:52:38 -04:00
Lirusaito
b368664d96 Merge branch 'animesh' of https://github.com/DamianZhaoying/SingularityViewer into animesh 2019-04-05 04:35:26 -04:00
Lirusaito
5617a4e59b This might be necessary for dullahan cleanup 2019-04-05 04:09:22 -04:00
Lirusaito
f137502020 Make sure to reenable the script and notecard editors when we get errors 2019-04-05 04:08:27 -04:00
Lirusaito
6a114ae027 Request: Make the description of Gemini more universally understandable 2019-04-05 03:55:12 -04:00
Lirusaito
8cb1e73fc0 [Animesh] Animated Mesh checkbox on Features tab of build tools 2019-04-05 00:26:23 -04:00
Lirusaito
293ab2c2a2 Remove duplicate toolbar visibility setting
Thanks Router!
2019-04-05 00:09:02 -04:00
Lirusaito
98bb191c4a Quiet down 2019-04-04 23:43:13 -04:00
Lirusaito
d3d72eb03c Wooops, inverted the logic! Look out! 2019-04-04 23:36:45 -04:00
Lirusaito
a3bf40fd69 Boost unordered containers in places, like for uuid types! 2019-04-04 22:22:21 -04:00
Lirusaito
a1d06e682e Switch to using typedef'd uuid types everywhere and auto for iterators
Oh, and some related opts.
2019-04-04 22:20:21 -04:00
Lirusaito
48003c8bc9 Remove pointless forward declaration 2019-04-04 21:52:57 -04:00
Lirusaito
0552c9fde2 Fix incorrect comment 2019-04-04 21:51:21 -04:00
Lirusaito
f7cc3a9e73 Feature Request: Trim spaces off of end of script lines
In order to preserve your ability to edit, this only happens to the asset
we send to the server, you will not notice until you reopen the script.
This is done as optimally as possible, upon each save.
This feature takes into account the possibility that spaces may
be following a quote and therefore it does not trim spaces in these cases.
It is also aware that you may use escaped quotes inside a string, and that
that does not mark the end of a string and therefore whitespace
is not stripped then.
2019-04-04 21:50:39 -04:00
Shyotl
af8bb2a992 Trivial cleanup. 2019-04-03 13:56:26 -05:00
Shyotl
ac2d16b15c Fix potential lod bug in mdodel decode. 2019-04-03 13:55:41 -05:00
Damian Zhaoying
6fb3c399de New spanish translations 2019-04-02 13:09:45 -03:00
Damian Zhaoying
0c44b11e9c Fix menu_radar.xml typo 2019-04-02 12:57:13 -03:00
Damian Zhaoying
5f4e4a0d54 Merge branch 'animesh' of https://github.com/Lirusaito/SingularityViewer into animesh 2019-04-01 18:12:27 -03:00
Lirusaito
7d56d772d4 Dullahan on not windows... my bad 2019-04-01 01:40:44 -04:00
Lirusaito
c848af3960 Merge in Dullahan support from future branch! 2019-04-01 01:26:16 -04:00
Damian Zhaoying
ee745a20ef Merge branch 'animesh' of https://github.com/Lirusaito/SingularityViewer into animesh 2019-03-31 15:16:45 -03:00
Lirusaito
30f26f462b Give the clock more room, in case of seconds ~ Deltek 2019-03-31 03:36:17 -04:00
Lirusaito
344dc90d56 Use C++11 time format flags 2019-03-31 03:13:02 -04:00
Damian Zhaoying
9b29fd1385 Merge branch 'animesh' of https://github.com/Lirusaito/SingularityViewer into animesh 2019-03-31 02:29:06 -03:00
Lirusaito
c8a9efe5c8 [OpenSim] Use x-grid-info everywhere, instead of old HTTPS thing 2019-03-31 00:23:50 -04:00
Router Gray
940994288b [3:39 PM] CmdrCupcake: there is no /arch:SSE3 2019-03-30 19:11:56 -05:00
Router Gray
3e8fbc8179 Update most Windows 32 prebuilts 2019-03-30 19:11:23 -05:00
Damian Zhaoying
1644ee6fad Merge branch 'animesh' of https://github.com/Lirusaito/SingularityViewer into animesh 2019-03-30 20:06:37 -03:00
Lirusaito
d419d29cc8 [VMM] Feature Request: Make Market Listings folder a system folder
Can't delete it, but now it's with the other system folders.
2019-03-30 01:26:52 -04:00
Damian Zhaoying
d5fae8dba7 Merge branch 'animesh' of https://github.com/Lirusaito/SingularityViewer into animesh 2019-03-29 21:02:06 -03:00
Damian Zhaoying
7935b2e957 Fix some strings (shortcuts names) in Spanish Translations 2019-03-29 15:01:11 -03:00
Lirusaito
8f0bda3dab Missed change for rigged picking 2019-03-29 05:57:23 -04:00
Lirusaito
8de93f4120 Update contributors/credits list 2019-03-29 00:56:56 -04:00
Lirusaito
84da9d4758 Hold shift to select rigged mesh with SGAllowRiggedMeshSelection = 1
Old behavior + shift with = 2
Thanks for the contribution, Router!
2019-03-29 00:56:01 -04:00
Lirusaito
20c4090f71 Fix LL showing up on employee profiles on other grids 2019-03-28 20:30:34 -04:00
Lirusaito
f3e18d135c This looks wrong, let's fix it. 2019-03-28 03:32:26 -04:00
Lirusaito
0ca9047f8c Optimize the way we send top scripts/object disable/return 2019-03-28 03:31:23 -04:00
Lirusaito
90e9bce8de Boost::unordered is better than std::unordered, apparently 2019-03-27 22:28:29 -04:00
Lirusaito
6d1e9ee3d4 Fix Linux, Thanks Bitten 2019-03-27 19:52:01 -04:00
Virtual Nexus
7331001bb2 Nai did a fix :P 2019-03-27 19:31:27 -04:00
Lirusaito
aac8382cf0 Fix the missing group bug AND make Voice Chat Invite better 2019-03-27 19:24:42 -04:00
Lirusaito
5272c48b7a Add getSLURL function to group and avatar actions 2019-03-27 19:09:38 -04:00
Lirusaito
81862e30d1 Merge branch 'animesh' of https://github.com/DamianZhaoying/SingularityViewer into animesh 2019-03-27 19:08:26 -04:00
Lirusaito
adb0efdf97 Merge branch 'animesh' of git://github.com/Shyotl/SingularityViewer into animesh 2019-03-27 18:42:18 -04:00
Damian Zhaoying
2677f06d44 Fix bug in spanish string.xml 2019-03-27 15:22:45 -03:00
Shyotl
3a031e9364 Fix build. 2019-03-27 02:35:59 -05:00
Shyotl
d2a8863384 Added AMD Vega and Radeon VII to gpu_table.txt 2019-03-27 01:39:11 -05:00
Lirusaito
81277c2b25 Fix dev checkout message files path properly
Thanks for the assistance with the Linux path, Router!
2019-03-26 19:31:51 -04:00
Shyotl
a90cdd9c7e Experimental SHOverrideRiggedBounds setting to generate more accurate avatar bboxes. Defaults to off, for now. 2019-03-26 14:59:44 -05:00
Lirusaito
2faca7d7e2 Merge branch 'animesh' of git://github.com/Shyotl/SingularityViewer into animesh 2019-03-26 05:23:26 -04: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
f2b39196a0 In dev checkouts, AppViewer now sets AppRoDataDir to newview
Crossplatform, settings, windlights, skins, the works~
No more copying~ <3
2019-03-26 02:23:51 -04:00
Lirusaito
a8f85f0d91 Don't create an empty effect with no name as the default effect...
At least, I think this fixes that
2019-03-26 01:13:25 -04:00
Lirusaito
b0ad7f6bf7 Merge branch 'animesh' of https://github.com/DamianZhaoying/SingularityViewer into animesh 2019-03-25 21:53:52 -04:00
Shyotl
7b5d7376c6 Make opengl extension loading be core compliant. Avoid issuing glGetString before context creation on Windows. 2019-03-25 19:21:45 -05:00
Damian Zhaoying
8bb694a910 Fix typos in menu_radar.xml 2019-03-25 21:12:17 -03:00
Damian Zhaoying
25f3f77849 New Spanish translations in string.xml file. (wereable items) 2019-03-25 19:28:13 -03:00
Lirusaito
06dfeb72d7 Merge branch 'animesh' of git://github.com/Shyotl/SingularityViewer into animesh 2019-03-25 17:21:16 -04:00
Lirusaito
f9878e75e3 Fix remaining missing string, thanks Asriazh Frye! 2019-03-25 15:34:58 -04:00
Lirusaito
58ede9caee [EEP] Some text editor stuff 2019-03-25 14:58:45 -04:00
Lirusaito
24beaf6ce4 Add wearable type strings. 2019-03-25 14:38:12 -04:00
Lirusaito
e46380f2d9 Clean up old strings 2019-03-25 14:37:46 -04:00
Lirusaito
ffe729a53b [EEP] Use ExtEnvironment cap where possible 2019-03-25 14:33:14 -04:00
Shyotl
f3afe45e72 Fixed some gl errors. 2019-03-25 02:56:20 -05:00
Lirusaito
059fc7c4fa [EEP] LLMessage Changes 2019-03-25 00:44:00 -04:00
Lirusaito
cb295bfabc 28c814e4ef probably needs this for linux
Thanks for testing bitten!
2019-03-24 23:50:02 -04:00
Lirusaito
0ac2560508 [EEP] LLMath update 2019-03-24 23:18:35 -04:00
Lirusaito
98d315b3f7 Translation Request: Wearables 2019-03-24 22:52:30 -04:00
Lirusaito
28de2ceed8 [EEP] Change to using LLTranslationBridge::ptr_t 2019-03-24 22:52:30 -04:00
Lirusaito
28c814e4ef [EEP] Add all the new llinventory windlight settings files
Also add v3colorutil.h
Also update LLQuaternion and its LLSD pieces
2019-03-24 22:52:30 -04:00
Lirusaito
fdffe2e06a [EEP] LLParcel changes 2019-03-24 22:52:29 -04:00
Lirusaito
fb08f81e75 [EEP] Inventory/Folder type updates 2019-03-24 22:52:29 -04:00
Lirusaito
9affd767e4 [EEP] II_FLAGS_WEARABLES_MASK -> II_FLAGS_SUBTYPE_MASK 2019-03-24 22:52:29 -04:00
Lirusaito
9ccb015411 e5b81dd825 won't compile without this change 2019-03-24 22:51:35 -04:00
Lirusaito
e5b81dd825 [EEP] LLSDUtil changes 2019-03-24 21:04:51 -04:00
Lirusaito
fe33db1620 [EEP] LLSD Serialize Notation additions 2019-03-24 21:04:25 -04:00
Lirusaito
2e02f5ac2c [EEP] LLSD Changes 2019-03-24 20:59:50 -04:00
Lirusaito
198d567df2 [EEP] LLUnitType changes 2019-03-24 20:59:26 -04:00
Lirusaito
b1ecf08013 Feature request: Colon after build number in support chats for nonactions 2019-03-24 19:48:20 -04:00
Lirusaito
7c9eb35568 We optimized llformat, let's not bother caching version string
It would be used less than once per frame, better to save resources.
2019-03-24 19:43:49 -04:00
Lirusaito
1839a37294 Only parse highlights (script keyword parsing) for script editor 2019-03-24 18:54:10 -04:00
Lirusaito
bd39b29c1d Feature Request: Add a notification when receiving items from Marketplace
Turn this off with LiruReceivedItemsNotify
2019-03-23 08:38:59 -04:00
Lirusaito
1cc7c6b4cf Translation Request: Make marketplace received translatable 2019-03-23 08:37:57 -04:00
Lirusaito
0cf4663c7d Wooops, this belongs here, fix not online message translation not working 2019-03-23 05:44:45 -04:00
Lirusaito
424221201c Actually save current Post Process Effect at logout
Also properly cleanup Post Process Singleton
2019-03-23 05:01:13 -04:00
Lirusaito
a14df55bd8 Liru never gets to sleep, not even when sick
Thanks Drake.

We don't get to use std::system, standardization is a sham,
nothing is sacred, why does anyone even bother?

Have a potentially broken Mac Implementation, too, why not?
It's not like we compile on mac anyway right now.
2019-03-23 04:57:56 -04:00
Lirusaito
c16fa02558 Support chats have build in every message, cool. This is optional. 2019-03-23 03:40:20 -04:00
Lirusaito
8946aa9ee5 If a group starts with "Singularity ", mark it as a support session
This is probably not the best way to go about this, but since we're
not in control of support groups on other grids, and we have support
groups in other languages we don't run on Second Life, this is better
than maintaining a list of IDs somewhere.
2019-03-23 02:07:02 -04:00
Lirusaito
c4f868cd89 Fix Deltek's briefly missing icon for adult results in search 2019-03-23 02:03:23 -04:00
Lirusaito
cc88b1edcd Do this instead 2019-03-23 01:00:12 -04:00
Lirusaito
b3f918970b Let's print out nonzero return codes 2019-03-23 00:57:06 -04:00
Lirusaito
3d26f79b8b Dumb 2019-03-23 00:49:53 -04:00
Lirusaito
3d8e05fa2a Remove ze gestures 2019-03-22 18:02:33 -04:00
Lirusaito
aaeb90436c Actually, function operator comma order is impl defined, use erase remove 2019-03-22 17:13:37 -04:00
Lirusaito
42f4c816b7 [Animesh] Restore Quick Settings Hover Slider responsiveness 2019-03-22 03:57:58 -04:00
Lirusaito
8d06ea5a15 [InvOpts] Folder View unordered opt pass 2: Linux Boogaloo 2019-03-22 02:58:51 -04:00
Lirusaito
9f23dcb0c4 [InvOpts] Folder View unordered opt pass 2019-03-22 02:10:43 -04:00
Lirusaito
5f1047c574 [InvOpts] Inventory Observer unordered opt pass 2019-03-22 02:09:44 -04:00
Lirusaito
8d1c345580 [InvOpts] Inventory Panel unordered opt pass 2019-03-22 02:08:12 -04:00
Lirusaito
3a17bf519f Gesture Opts Pass 3, mainly fixes
Fix a linux warning, thanks Router!
Fix Linux compile errors, Thanks Router and Bitten!
Thanks to Gooz for confirming speed boosts.
Also cache end iters maybe minor boost.
2019-03-22 00:56:09 -04:00
Lirusaito
7599b00a13 Merge branch 'animesh' of git://github.com/Shyotl/SingularityViewer into animesh 2019-03-21 22:04:46 -04:00
Lirusaito
f5492144ad Gesture Optimization Pass 2 2019-03-21 22:01:13 -04:00
Shyotl
d61f89e3c9 Defer bbox generation for rigged meshes until actually loaded. Fix math bug. 2019-03-21 17:22:33 -05:00
Lirusaito
879cd79fdc Gesture UI optimization, first pass 2019-03-21 03:24:44 -04:00
Lirusaito
c2f15ff47c [Joystick] Detect xBOx cOntrOLLers in ANY cAsE 2019-03-21 01:27:57 -04:00
Lirusaito
c9226f6b63 [Joystick] Use the button layout for the chosen controller type
Using the drop down now FORCES your controller to be detected
as your selection for the duration of the session until you choose another
2019-03-21 01:26:23 -04:00
Lirusaito
95ff7acd6d [Joystick] Do the code better 2019-03-21 01:09:47 -04:00
Lirusaito
0673e70aca Merge branch 'animesh' of git://github.com/Shyotl/SingularityViewer into animesh 2019-03-20 20:24:46 -04:00
Shyotl
fd53ff014e Minor bugfix. 2019-03-20 15:34:23 -05:00
Lirusaito
f5cbae3958 Support Halcyon as though it were opensim, for now. 2019-03-20 00:27:06 -04:00
Lirusaito
273c9b3479 Call ShellEx for launching urls in browser on Windows 2019-03-19 21:28:39 -04:00
Lirusaito
3f9f79c155 Fix an oopsie woopsie, thanks Shyotl 2019-03-19 21:09:26 -04:00
Lirusaito
3a5b8a1075 Merge branch 'animesh' of git://github.com/Shyotl/SingularityViewer into animesh 2019-03-19 20:56:49 -04:00
Shyotl
5a9ad787d5 Made rigged matrix cache toggleable via setting, for testing. Speculative fix for hairbase incorrectly appearing on animesh. 2019-03-19 15:17:14 -05:00
Shyotl
7f7267027e Merge remote-tracking branch 'liru/animesh' into animesh 2019-03-19 13:21:17 -05:00
Shyotl
c19ef521b3 Lazy micro opt. 2019-03-19 13:20:28 -05:00
Lirusaito
83270e13f8 Woops, where'd that semicolon go when we most needed it? 2019-03-19 02:43:53 -04:00
Lirusaito
cfc71a47db Fix up ShellEx
It's now crossplatform wrapper for std::system opening of a file/path/url.
It returns an int just like std::system, 0 means it worked.
It's static so you don't need to gViewerWindow->getWindow() anymore,
honestly it should've been static in the first place.

Clean up other code to use this function because duplicate code sucks.

# Conflicts:
#	indra/llwindow/llwindowmacosx.h
#	indra/llwindow/llwindowsdl2.cpp
2019-03-19 02:43:35 -04:00
Lirusaito
45228f920d Cleanup excess code and gURLProtocolWhitelist, add isWhitelistedProtocol()
# Conflicts:
#	indra/llwindow/llwindowmacosx.cpp
#	indra/llwindow/llwindowsdl2.cpp
2019-03-19 02:41:31 -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
573c493d5d Prevent unused variable warning. 2019-03-18 18:14:06 -04:00
Lirusaito
c5329968f7 Merge branch 'animesh' of git://github.com/Shyotl/SingularityViewer
# Conflicts:
#	indra/llcommon/llstring.h
#	indra/newview/llviewermenu.cpp
#	indra/newview/llviewerregion.cpp
2019-03-18 17:30:34 -04:00
Lirusaito
d235e045d8 Do better 2019-03-18 15:26:18 -04:00
Lirusaito
bb26127ed5 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2019-03-18 14:38:21 -04:00
Lirusaito
beddc1cb21 Avatar count on map tiles by default 2019-03-18 14:37:59 -04:00
Lirusaito
acc6f6b3c3 Reapply ability to develop UI/skins without needing to copy files 2019-03-18 14:09:18 -04:00
Shyotl
30f6dc2b2d Allow more than 2gigs of texture memory... Fix shader buggles.
# Conflicts:
#	indra/newview/llviewertexturelist.cpp
2019-03-18 00:16:34 -05:00
Shyotl
e0194d4d06 Allow more than 2gigs of texture memory... Fix shader buggles. 2019-03-18 00:11:24 -05:00
Shyotl
a224c392e8 Fixed a few remaining bugs. Including all settings. 2019-03-18 00:05:59 -05:00
Lirusaito
a6e08bfc0f Try to do opensim login stuff if not secondlife, not just if opensim/wc 2019-03-17 19:26:25 -04:00
Lirusaito
b755880dd3 Fetch inventory via udp if http inventory is off 2019-03-17 17:49:58 -04:00
Shyotl
b082bce2b1 Fix build. 2019-03-17 15:40:55 -05:00
Lirusaito
1c13ace366 Let's be real about currency
Fixes grid response for real currency not being heeded in buy currency.
2019-03-17 14:29:45 -04:00
Lirusaito
da8692f6a3 Merge branch 'ManagedMarketplace' of https://github.com/DamianZhaoying/SingularityViewer into ManagedMarketplace 2019-03-17 13:34:00 -04:00
Shyotl
b81373366b Animesh test changes. Also stop screwing with my commit messages, github. 2019-03-17 02:35:07 -05:00
Shyotl
aa37a0b539 Intermediary commit #3 2019-03-17 01:08:34 -05:00
Lirusaito
b71ee44505 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer into ManagedMarketplace 2019-03-17 00:22:55 -04:00
Lirusaito
dea8ac2cf8 Only tell the user that we're refreshing their balance on their actions 2019-03-16 23:02:24 -04:00
Shyotl
3a78568a6f Intermediary commit #2. 2019-03-16 21:35:33 -05:00
Lirusaito
6898697246 Be a gooder wlf 2019-03-16 21:47:32 -04:00
Lirusaito
820b223ea9 Deltek did a fix, thanks. 2019-03-16 21:46:16 -04:00
Lirusaito
769c6a2e03 Fix Region Restart floater not showing Region name 2019-03-16 20:32:23 -04:00
Lirusaito
7991a53f3b Oh yeah, I did this... 2019-03-16 20:28:43 -04:00
Lirusaito
d1f386860c Do not recenter the restart floater if it's been moved. 2019-03-16 20:28:15 -04:00
Lirusaito
eec7385045 [VMM] Fix the inventory key handling issue
Thanks for the help Router
2019-03-16 20:02:12 -04:00
Shyotl
2d8fbb89c9 Intermiediary commit. 2019-03-16 17:51:00 -05:00
Shyotl
7cf55fa993 Add missing files 2019-03-15 16:40:33 -05:00
Lirusaito
c260158a2c Backport translatable not_online responses
Thanks for pointing this out, Damian
2019-03-14 02:23:06 -04:00
Lirusaito
3b654a0986 Be more like C++, please. 2019-03-13 20:27:52 -04:00
Damian Zhaoying
bd60dfb61d Merge branch 'ManagedMarketplace' of https://github.com/Lirusaito/SingularityViewer into ManagedMarketplace 2019-03-13 20:40:39 -03:00
Damian Zhaoying
a07f90c158 Adding more news spanish translations 2019-03-13 20:40:02 -03:00
Lirusaito
9b6c34213b [Voice] Volume numbers, not just a slider! 2019-03-13 19:27:56 -04:00
Lirusaito
c58df7a3d9 Make the viewer lighter by one or two BOOLs per slider! 2019-03-13 18:59:18 -04:00
Lirusaito
62462165b7 [Voice] Actually save the speaker volume settings. 2019-03-13 17:42:26 -04:00
Lirusaito
4069878d54 [VMM] Fix inventory management bug reported by Griss Alexandre 2019-03-13 16:34:31 -04:00
Lirusaito
72479ce61e Fix warning, thanks for the heads up, Router! 2019-03-13 14:32:23 -04:00
Lirusaito
db547a53d6 Double Double HealthText Trouble
Thank Deltek
...And Cauldron Bubble?
2019-03-12 21:42:27 -04:00
Lirusaito
37c8c80b82 Merge branch 'ManagedMarketplace' of https://github.com/DamianZhaoying/SingularityViewer into ManagedMarketplace 2019-03-12 21:29:02 -04:00
Lirusaito
b279f4ce02 Get back in line!! 2019-03-12 20:48:11 -04:00
Lirusaito
4e34328156 Fix resolving grid uri on login screen looking bad 2019-03-12 16:54:31 -04:00
Lirusaito
757cf4c8e7 [Radar] Feature request: Add a checkbox for people with notes
This is off by default,
right click, hide columns to show or find it in Extras tab!
2019-03-12 16:28:00 -04:00
Lirusaito
1e0741cf17 [Radar] This belongs inside the cpp, we never use it from the outside. 2019-03-12 15:03:07 -04:00
Lirusaito
e0ec2bd886 [Radar] Rework mAge code 2019-03-12 14:27:28 -04:00
Damian Zhaoying
dd5a3352fe Fixes & updates in Preferences panel 2019-03-12 09:35:00 -03:00
Damian Zhaoying
054825807a More Spanish translations fixes 2019-03-12 08:27:12 -03:00
Damian Zhaoying
b2b5dd4eb8 My mistake, fixed 2019-03-12 04:19:18 -03:00
Damian Zhaoying
2b92c10625 More Spanish Translations fixes 2019-03-12 04:00:25 -03:00
Damian Zhaoying
29f20096fd Fix typo in notifications.xml Spanish 2019-03-12 03:31:51 -03:00
Damian Zhaoying
8bbb6cf541 Merge branch 'ManagedMarketplace' of https://github.com/Lirusaito/SingularityViewer into ManagedMarketplace 2019-03-12 01:28:45 -03:00
Damian Zhaoying
03d4dde6a4 Fix some spanish translations in VMM build 2019-03-12 01:27:11 -03:00
Lirusaito
68fd65b55a Clean up 2019-03-11 20:45:34 -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
cd68104de1 [VMM] Fix the sort menu, display sort button 2019-03-11 16:59:47 -04:00
Lirusaito
7da511fc32 [VMM] Fix a crash on delete listing, probably due to perceived recursion 2019-03-11 16:59:16 -04:00
bittenbythedark
84608b67fa Update CRT Bundle 2019-03-11 15:46:16 -04:00
Lirusaito
121ba63347 [VMM] Remove this, not needed. 2019-03-11 14:00:49 -04:00
Lirusaito
1ea476b634 [VMM] Hide the WIP dropzone 2019-03-11 14:00:31 -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
c231e555da Deltek fixed another font issue on Win7, yay! 2019-03-11 03:07:37 -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
feaa9e7def [VMM] Fix warning about deserialization failure
This change looks better without space changes.
2019-03-10 14:25:58 -04:00
Shyotl
50007bbc62 Matrix mul is expensive. Affine transform is not. Do the latter instead. 2019-03-10 03:48:07 -05:00
Shyotl
6c15ee6556 Fix texunit->uniform location mappings disaster inherited from upstream. Kudos to Drake for sharing the nvidia warning logs and bringing this to my attention. 2019-03-10 01:30:26 -06:00
Lirusaito
320ae772f3 [VMM] Sync more, pay less 2019-03-09 21:37:38 -05:00
Lirusaito
be923a9ecb Merge branch 'ManagedMarketplace' of https://github.com/DamianZhaoying/SingularityViewer into ManagedMarketplace 2019-03-09 21:33:23 -05:00
Lirusaito
a94ad1c1fa [VMM] Sync with upstream for setting mHasVisibleChildren 2019-03-09 17:51:38 -05:00
Lirusaito
98ee2cbd7e Gemini tab button flash, dun hurt my eyes! 2019-03-09 17:51:02 -05:00
Lirusaito
c164bd200e Feature request: Report when we're refreshing the currency balance 2019-03-09 17:50:31 -05:00
Lirusaito
d2983deb48 Wrap main loop with try, not wrap try with main loop. 2019-03-09 17:25:12 -05:00
Damian Zhaoying
5071cbfc2e Marketplace listing spanish translations 2019-03-09 19:19:37 -03:00
Lirusaito
7acce90927 Clean up 2019-03-09 15:40:35 -05:00
Lirusaito
f86a194962 Code sync 2019-03-09 15:40:26 -05:00
Lirusaito
a93ea1b90b Remove duplicate code 2019-03-09 15:39:08 -05:00
Lirusaito
f1bb636f91 Feature Request: Build number in window title 2019-03-09 15:38:45 -05:00
Lirusaito
e55c8e20e5 [VMM] Empty Lookup Message
Even though it doesn't seem to show for some reason
2019-03-09 15:37:53 -05:00
Shyotl
5d75b3b223 Prep for animesh. 2019-03-09 01:51:50 -06:00
Lirusaito
c2eeea8b70 Fix linux compile and clean a thing 2019-03-08 19:03:24 -05:00
Lirusaito
b98d0461d1 [VMM] Make sort menu somewhat work 2019-03-08 18:25:36 -05:00
Lirusaito
a3493f5f6b Fix a crash, make Statistics look prettier
Thanks, Aru!
2019-03-08 16:09:19 -05:00
Lirusaito
52245a7fef Nevermind, that looks awful, guess I'll have to actually fix this 2019-03-08 14:27:29 -05:00
Lirusaito
af8eb800e6 Make Top Objeccts Focus work
Thanks for the grid to test on, Bitten!
2019-03-08 14:15:55 -05:00
Lirusaito
c37cb7b2c4 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer into ManagedMarketplace 2019-03-08 14:09:35 -05:00
Lirusaito
f8c8734e79 [PPE] Add SinguPostProcessDefault for setting active and persisting preset 2019-03-08 13:56:07 -05:00
Lirusaito
b7ef79f1b7 Fix missing return statement, thanks for the heads up, Router! 2019-03-08 13:53:43 -05:00
Lirusaito
28e464f368 Code Clean up 2019-03-08 13:51:14 -05:00
Lirusaito
26a7de79c7 [PPE] Preset overrides go in user settings now 2019-03-08 13:50:06 -05:00
Lirusaito
4ddac28142 Code cleanup 2019-03-08 13:38:38 -05:00
Lirusaito
fec7e95406 Fix compile and try to prevent that from happening in the future 2019-03-08 13:33:40 -05:00
Lirusaito
60db043325 Put some settings in order 2019-03-08 12:17:45 -05:00
Lirusaito
dc34799317 Hide the broken stuff with a setting 2019-03-07 23:45:14 -05:00
Lirusaito
77eb745abc Fix notification bugs, sync with upstream, yaaay 2019-03-07 17:06:38 -05:00
Lirusaito
b005b2a53a Rule #1: Do Not Lie!
Don't lie about status codes to responders anymore
This may cause some bugs, but I highly doubt it, anyway, if it does,
that's what responders are for, to specialize handling in these situations.
2019-03-07 16:26:24 -05:00
Lirusaito
c6cc69b01b [VMM] Added Feature "Copy Listing ID"
Take it from me, LGPL or whatever, I don't care, this is QoL
2019-03-07 14:08:19 -05:00
Lirusaito
1e4da55190 No anims, no send 2019-03-07 13:39:12 -05:00
Lirusaito
7c3ba8bd9a Sync? I dunno, not important. 2019-03-07 13:37:39 -05:00
Lirusaito
c7de0ccf99 Sync llinventorybridge and fix activate listing not working 2019-03-07 13:20:16 -05:00
Lirusaito
b601fa2037 Partial fix for teleport detaching
Thanks for the testing Nai.

Hey LL, if you're reading this, regions we've left were letting us know
that our attachments had left. For some reason, our attachments were dying
before we were removed from the list of agents on the region.

Teleporting out of Hippo Hollow does this reliably.
2019-03-07 12:51:55 -05:00
Lirusaito
cab39e31a1 Don't llformat if empty fmt string. 2019-03-07 12:47:29 -05:00
Lirusaito
79f42837f2 Morning, Bitten 2019-03-07 10:54:46 -05:00
Lirusaito
0378869938 Use proper json for Marketplace functions 2019-03-07 03:43:43 -05:00
Lirusaito
fc488959ea Switch out jsoncpp for nlohmann json
Add llsdjson.* too!
2019-03-07 03:38:27 -05:00
Shyotl
cd340f0fb6 Linux compilation fix. 2019-03-07 00:37:17 -06:00
Lirusaito
626351e897 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer into ManagedMarketplace 2019-03-06 21:32:29 -05:00
Shyotl
d176a58d33 Replace in file oopsie. 2019-03-06 19:41:32 -06:00
Lirusaito
88639c2052 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer into ManagedMarketplace 2019-03-06 17:10:33 -05:00
Lirusaito
322484c286 There's no need to dynamic cast. 2019-03-06 17:07:56 -05:00
Lirusaito
324f12641a Remove redundant casts from c_str to string
Thanks Aru
2019-03-06 16:11:42 -05:00
Lirusaito
cd02bbd1cb Fix mixed iterators
Thanks Aru
2019-03-06 16:10:31 -05:00
Lirusaito
22609412e4 Correct undefined behavior: shifting signed 32 by 31 bits
Thanks Aru!
2019-03-06 16:04:42 -05:00
Lirusaito
f0b3527bb5 Fix crash on saving notecards noticed by Torric 2019-03-06 15:58:19 -05:00
Lirusaito
893946879a [VMM] Sync up some llmarketplacefunctions code 2019-03-06 15:57:36 -05:00
Lirusaito
685fda1565 [RLVa] Some cleanup 2019-03-06 15:56:53 -05:00
Lirusaito
f3df997b5b [RLVa] Allow inexact group name matches 2019-03-06 15:56:43 -05:00
Lirusaito
2d222c721b [RLVa] Add remattach:<uuid>
Thanks for the assistance Caeil!
2019-03-06 15:56:01 -05:00
Shyotl
adfc916ea0 Minor SIMD opt. 2019-03-05 20:41:16 -06:00
Lirusaito
f8b355c9d8 Hide the outbox... I think 2019-03-05 18:31:46 -05:00
Lirusaito
d7c7360205 [VMM] Actually connect the sort menu (probably still not) 2019-03-05 18:31:29 -05:00
Lirusaito
2524b407be Woops, that's still needed 2019-03-05 15:51:35 -05:00
Lirusaito
32c44e4883 Toggle typing with AO toggle 2019-03-05 15:23:04 -05:00
Lirusaito
95ab62b286 Clean up image metadata
Thanks Aru!
2019-03-05 14:17:54 -05:00
Lirusaito
ebd852a060 Make the No Listings Text able to do the url replacement thing 2019-03-05 14:09:08 -05:00
Lirusaito
4fdc1f3311 hide_border should save to xml 2019-03-05 13:50:36 -05:00
Lirusaito
4992d19e8f Marketplace Validation look good please~ 2019-03-05 13:50:06 -05:00
Lirusaito
c639b4cf6c Inventory panels can have filename parameter now 2019-03-05 13:14:48 -05:00
Lirusaito
ee465c4169 Fix positioning of Render Compatibility - Deltek 2019-03-05 11:35:30 -05:00
Shyotl
5a7e0b05a4 Fixup texture compression. 2019-03-05 03:11:04 -06:00
Lirusaito
d770034e5c Hook up the menu the old fashioned way 2019-03-04 20:31:17 -05:00
Lirusaito
fcb751ae4a Couple fix ups 2019-03-04 19:37:53 -05:00
Lirusaito
e350824896 Fix layout of Associate Listing floater 2019-03-04 19:10:42 -05:00
Lirusaito
1586475232 Fix the inability to click the buttons 2019-03-04 18:30:03 -05:00
Lirusaito
17c0da930f Spawn the menu on button click
TODO: Make a derived button that uses this showMenu function instead
So we can finally have menu buttons like upstream
2019-03-04 18:12:02 -05:00
Lirusaito
c985afa4f4 Remove more outbox parts, I think these were never even used 2019-03-04 17:34:14 -05:00
Lirusaito
3631396329 We shouldn't be needing these nullchecks anymore 2019-03-04 17:25:37 -05:00
Lirusaito
7cb6b29f1b Toggleable menus don't exist yet 2019-03-04 17:12:25 -05:00
Lirusaito
5f487f4ce1 Don't cache if we already have it 2019-03-04 17:00:08 -05:00
Lirusaito
e1c3585b46 This logic looks backwards 2019-03-04 16:56:34 -05:00
Lirusaito
7766172831 Fix Router's linux error 2019-03-04 16:55:11 -05:00
Lirusaito
10f57e9a87 This didn't fix typing AO, let's not do this. 2019-03-04 16:54:30 -05:00
Lirusaito
59cb20bab8 Validation floater needs a rect setting 2019-03-04 16:54:12 -05:00
Lirusaito
2266a2a662 Let's build it with the factory map then. 2019-03-04 16:53:22 -05:00
Lirusaito
5ff3700203 I guess we're doing this now. 2019-03-04 15:56:10 -05:00
Lirusaito
065c56fce4 Fix HTTP Assets not actually being turned on, woops!
Thanks for the report and testing, Torric!
Thanks for building the test build, Bitten!
2019-03-04 14:59:50 -05:00
Lirusaito
ee3f48bcae class parameter must go in the panel xml itself 2019-03-04 14:58:58 -05:00
Lirusaito
a2c055c379 Don't show root folder by default 2019-03-04 14:58:11 -05:00
Lirusaito
99703b1121 Should've removed this with the rest of Outbox 2019-03-04 14:57:51 -05:00
Lirusaito
4008cf519c Redo start_folder to be like upstream has it now
start_folder in xmls must now be start_folder.name

This reverts commit 1405a7c103.
2019-03-04 14:57:24 -05:00
Shyotl
6dc2e9e6df Use proper symbol names 2019-03-04 11:12:20 -06:00
Shyotl
7317f28ab3 Clean up compressed texture handling. Exclude dynamic/client generated/local textures. Got rid of glh headers. 2019-03-04 02:03:45 -06:00
Lirusaito
a62b7d5ce7 Be more aggressive about stopping typing 2019-03-03 22:23:22 -05:00
Lirusaito
d2b32564b8 Stop typing AO when AO disabled 2019-03-03 22:23:03 -05:00
Lirusaito
c847bfb6a5 Close, please 2019-03-03 22:05:16 -05:00
Lirusaito
b6e36275bb Don't crash, at least 2019-03-03 21:21:49 -05:00
Lirusaito
5e5dafac26 Fix validation text color violating skin colors 2019-03-03 21:19:11 -05:00
Lirusaito
9127b41923 Make Validation floater pretty too! 2019-03-03 20:43:31 -05:00
Lirusaito
74cd0ddd8b I must've been out of it, we can sort, it's just different! 2019-03-03 19:01:18 -05:00
Lirusaito
b57b4dd102 Get this from the tab container and look no further! 2019-03-03 19:01:01 -05:00
Lirusaito
0b08c6bef1 UI Fix ups 2019-03-03 18:56:49 -05:00
Lirusaito
1405a7c103 Fix start folder because meh 2019-03-03 16:40:09 -05:00
Lirusaito
1d0214ed54 Remove the Outbox
Goodbye, old friend.
2019-03-03 16:39:16 -05:00
Lirusaito
21340ac775 Fix inventory not showing 2019-03-03 15:39:19 -05:00
Pytak
d2b1fb8b5d Rename PyFX Water presets to include [PyFX] for consistence with WindLights 2019-03-03 21:36:20 +01:00
Lirusaito
179e2627eb This was actually better before, I think 2019-03-03 15:36:13 -05:00
Lirusaito
c010c098fc Updates 2019-03-03 15:35:13 -05:00
Lirusaito
4218011417 Merge branch 'master' into ManagedMarketplace 2019-03-03 12:56:03 -05:00
Lirusaito
2e97a396ce Remove dupe include, thanks Router! 2019-03-03 10:42:36 -05:00
Lirusaito
58ba9e3617 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2019-03-02 19:01:49 -05:00
Lirusaito
27961f45f0 [OpenSim] Support create event & partner help URLs
Merges branch 'master' of https://github.com/bittenbythedark/singuosfork
2019-03-02 18:51:15 -05:00
Lirusaito
1e94239d06 Merge branch 'master' of https://github.com/DamianZhaoying/SingularityViewer 2019-03-02 17:01:18 -05:00
Lirusaito
a619d4e82a Fix running, wooopsies, cached controls cannot be global static 2019-03-02 14:48:19 -05:00
Lirusaito
a2bf387147 Fix swimming not flying initially when swimming enabled
Also fix compile, woops!
2019-03-02 13:54:38 -05:00
Lirusaito
d8da1b7ab5 Cleanup some favorites code 2019-03-02 13:52:37 -05:00
Lirusaito
79a81258ec Fix Release Blocker: Favorites not showing on login screen 2019-03-02 13:23:30 -05:00
Lirusaito
1b5b11907e Fix Release Blocker: Swimming is on by default incorrectly initially 2019-03-02 13:19:33 -05:00
Lirusaito
0a80dd0d87 Fix release blocker: Endless swimming anims on water/air transition 2019-03-02 13:18:46 -05:00
Shyotl
64931839cc Add compression textbox. Don't compress local assets. 2019-03-02 03:47:48 -06:00
Damian Zhaoying
f6cf4e2878 Big Update in Spanish language Files 2019-03-02 02:57:10 -03:00
Shyotl
e1cf05c327 Enable compressed texture. Also minor cleanup. 2019-03-01 22:19:11 -06:00
Lirusaito
1c2c10fc58 Set Text Editor Enabled before loading text into it 2019-03-01 16:00:30 -05:00
bittenbythedark
1c6bdf7aef do some magic EXPECTO PATRONUM 2019-03-01 16:23:30 +01:00
bittenbythedark
b80be075d7 Add support for Partner URL on OpenSim Grids 2019-03-01 09:29:16 +01: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
2b8c630922 Merge branch 'master' of https://github.com/Pytak/SingularityViewer 2019-02-28 23:23:53 -05:00
Lirusaito
c420751ffc Get these boost warnings out of our compile logs! 2019-02-28 21:57:52 -05:00
Lirusaito
92fd0f56b4 In the modern era, if we don't recognize a GPU, give it full class 3 support and pray 2019-02-28 21:51:44 -05:00
Lirusaito
28b1ed82a5 Steam Hardware Survey says 100% SSE3
It's been over a decade since SSE3 came out
Almost 95% of CPUs on Steam have support for SSE4.2
Therefore we are enabling optimizations for SSE3
but someone could easily make an SSE2 Build
2019-02-28 21:13:04 -05:00
Lirusaito
1850cd159d My inventory patch everyone's been testing
I'm still wary, but let's toss it into our release, shall we?
This changes the maps in inventorymodel to unordered maps.
On the surface this seems like a good thing, definitely is for inventory loading.
It seemed a lot snappier to literally everyone before the HTTP Asset patch rolled out, so that's good.

Thanks to Router, Bitten, Gooz, Deltek, Damian, Melaniecosti, Torric, and anyone else I might be forgetting at the moment who tested this for me!
2019-02-28 20:23:21 -05:00
Lirusaito
9630632120 Enable wearable export 2019-02-28 20:17:33 -05:00
Lirusaito
8e18f2ab43 So sick of these EEP warnings in my log, add the asset types 2019-02-28 20:09:00 -05:00
Pytak
f599278d8d rename non-prefixed PyFX Ambient windlights to [PyFX], add one new Ambient windlight, add PyFX 0.6 Ice water preset 2019-02-28 21:03:38 +01:00
Lirusaito
e89e57b5a0 [OpenSim] Feature Request: Allow passwords up to 24 characters long 2019-02-28 13:56:18 -05:00
Lirusaito
e3fe8d046a Feature Request: "Focus on" button for Top Scripts 2019-02-28 13:53:15 -05:00
Lirusaito
56d23a03cf Add ViewerAsset over HTTP support
Has fallbacks for grids without HTTP, of course.
Though some assets might be dropped initially, as it is untested,
but better than nothing.
2019-02-28 13:46:26 -05:00
Lirusaito
5de463638c Backwards compatible usage of "ViewerAsset" cap for Textures and Mesh 2019-02-28 11:09:25 -05:00
Lirusaito
d6b5e9f5a5 Fix the wolf
It's cruel and inhumane, but it makes the boy cry less about sheep
2019-02-27 16:44:26 -05:00
Lirusaito
4ddc33e881 Forgot the UI, woopsie~ 2019-02-27 15:39:27 -05:00
Lirusaito
bf17e716e9 Right click edit on a wearable should take you right to that wearable's tab 2019-02-27 15:37:36 -05:00
Lirusaito
43806994eb Layer Tabs Needed Reimplemented 2019-02-27 15:36:56 -05:00
Lirusaito
c4a5b0acc8 Fix wlf camera preset icons not loading in a timely manner 2019-02-27 11:21:08 -05:00
Lirusaito
8c71d22bea More code cleanup 2019-02-27 11:14:21 -05:00
Lirusaito
618ca2f011 Code cleansies 2019-02-27 09:53:36 -05:00
Lirusaito
f04156da0e Add icon for Post Process button on wlf panel, by PyKat 2019-02-27 08:53:03 -05:00
Lirusaito
4ab397dfb2 Feature Request: Add our SL viewer group to the Help menu. 2019-02-27 07:06:21 -05:00
Lirusaito
7eab3337bf Add menu function "URLAction" for menu items that have (sl)url userdata 2019-02-27 07:05:37 -05:00
Lirusaito
2f68adf73d Merge branch 'master' of https://github.com/Pytak/SingularityViewer 2019-02-27 06:51:06 -05:00
Lirusaito
6f5202c8cf Sorta fix Asi Weird and Negative Saturation 2019-02-27 06:50:55 -05:00
Lirusaito
313732ae25 Show Emoji/high unicode on Windows, where possible, thanks Deltek! 2019-02-27 06:36:04 -05:00
Lirusaito
e3ca2594bc Simplify logic, clean up code. 2019-02-27 06:08:19 -05:00
Pytak
812ce207dd update postprocessing and windlights with PyFX 0.6 2019-02-26 23:16:55 +01:00
Lirusaito
3b9a0cfbc8 Lowercase default looks bad next to windlight defaults, capitalize it. 2019-02-25 13:09:04 -05:00
Lirusaito
2a7fd8caa5 Clean up some god tools floater code 2019-02-25 12:50:32 -05:00
Lirusaito
46dff21e97 Feature Request: Post Process Effects from Quick Settings flyout
Adds a neat little signal for post process to fire when effects change
Isn't code wonderful?
2019-02-25 12:50:08 -05:00
Lirusaito
f4a22ef857 Patch AIXML to work now for import
Not bothering with export at the moment

AIXML"Stream" wasn't even using its stream in its constructor...
Someone clearly hadn't been using ACTUAL C++ for longer than C++'s existence like was claimed
...but then, that's literally impossible, so what could we expect...
And dear lord please stop throwing in constructors...
There are so many better ways to do this...
This use of throwing is why people dislike goto
It's hard to follow flow control that would be better done another way...
One day I'll fix it so it is, until then meh.

Rips out AIFile, since nothing is actually using it anymore and GPL code needs purged.
2019-02-25 12:46:41 -05:00
Lirusaito
0cadfbaddb Why was this in the wrong position? 2019-02-25 12:33:24 -05:00
Lirusaito
e0b9f23dad Clean up and simplify wlf panel code 2019-02-25 08:05:37 -05:00
Lirusaito
7071ac29e8 Do Opt Yes 2019-02-25 08:02:11 -05:00
Lirusaito
5578849508 On second thought, there's no reason to disconnect until region isn't alive
So let's not do that anymore, making us resilient against a grid that has
HTTP problems.

Thanks for the help, Aru!
2019-02-24 09:08:08 -05:00
Lirusaito
d096c043f0 Attempt to fix disconnects by syncing to match upstream eventpoll
Upstream no longer repeats requests or force disconnects
upon 404 or internal library error, so we shouldn't either.
2019-02-24 09:06:32 -05:00
Lirusaito
2882cb728f Optimize llformat Even MORE, and clean up some code.
Thanks for the help, Aru!
2019-02-23 04:08:55 -05:00
Lirusaito
f9e3afaad2 Revert "Do llformat even better!"
This reverts commit 4f87e82a19.
string::data can't be nonconst until C++17, maybe one day.
2019-02-21 03:26:08 -05:00
Lirusaito
4f87e82a19 Do llformat even better! 2019-02-20 21:40:05 -05:00
Lirusaito
a2701faa2b Floss Finder: Igor
Igor is a dentist with more on his "plate" than he can handle
Watch as Igor tries to find all the floss in his patients' mouths
Starring Timmy the Tooth, and the Tooth Fairy; join all your favorite
oral hygiene friends in helping Igor solve his terrible tooth travesty!

(May contain traces of knockoff pokemon, talk to your dietician before consumption)
2019-02-20 21:22:24 -05:00
Lirusaito
9f2d8e6fff Fix things, mainly make things more optimal... No, I didn't compile this
Run along, Nothing to see here.
2019-02-20 07:34:56 -05:00
Lirusaito
174a2d36aa I found a leak, viewer-release found it too, let's use their fix
It's close enough to mine, although I disagree with using 0 for a pointer
instead of using nullptr, but alas, mergeability.

This damn leak happened at least every log line on Linux and Mac since
the dawn of time for the viewer... Disgusting.
Well, not every log line, but every log line mentioning a class, which is
most these days.
2019-02-19 11:55:42 -05:00
Lirusaito
2773c22f9b Fix los argumentos truncamientos
Gracias a Damian
2019-02-17 16:46:51 -05:00
Lirusaito
50f9fbd728 Fix automatic bridge detach
Thanks Aru
2019-02-17 12:54:16 -05:00
Lirusaito
8f96442cc7 Woops, truncate, not substr 2019-02-15 23:41:06 -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
1c9fcbb387 Fix Linux compile 2019-02-15 19:29:06 -05:00
Lirusaito
368afacd14 Fix CSR Urls sometimes being broken
Thanks Aru
2019-02-15 19:28:34 -05:00
Lirusaito
9f160b11fa Actually hook up LLAvatarResetSkeletonAndAnimations
Thanks Aru
2019-02-15 18:52:43 -05:00
Lirusaito
323c0a7e1e Fix compile 2019-02-15 18:51:45 -05:00
Lirusaito
48541479fb Compiles and fixes, fixes and compiles
Pull this commit, get through the trials
2019-02-11 21:49:01 -05:00
Lirusaito
97a6f8aeb0 [Favorites Bar] Compiles, but does it work yet?
Gimme time to put it somewhere and we'll find out~
Also here's navbar/ textures, because we'll need the favorites one.
2019-02-09 21:46:21 -05:00
Lirusaito
2e8e641024 Don't LogInventoryDecline from groups, stop spamming local chat 2019-02-09 21:18:58 -05:00
Lirusaito
1df39f81ee [Local Textures] These should persist through relogs, duh! 2019-02-09 19:54:11 -05:00
Lirusaito
136cffbab9 What a drag 2019-02-09 16:51:53 -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
aa0fea6931 [Local Textures] Small hack to allow changing texture id 2019-02-07 01:33:34 -05:00
Lirusaito
8a4ab08810 Fix compile 2019-02-06 20:43:02 -05:00
Lirusaito
bd442fb412 [Local Textures] Some code polish 2019-02-06 19:51:54 -05:00
Lirusaito
d04067bd09 [Local Textures] Default updating to on 2019-02-06 19:49:39 -05:00
Lirusaito
a62d433262 Favorites on the login screen
Adds some guts for the favorites bar, I'll get to that eventually
2019-02-05 05:17:08 -05:00
Lirusaito
cb16e4edf0 Updat 2019-02-04 20:02:40 -05:00
Lirusaito
b2eb601fc4 We can move whatever we want into favorites 2019-02-04 19:36:01 -05:00
Lirusaito
0ce0f81144 Why do I still use windows, anyway? 2019-02-04 17:40:47 -05:00
Lirusaito
ae308a274c Clean up the chitchat, console url replacement~ 2019-02-04 17:32:04 -05:00
Lirusaito
e536820629 Autoreplace can be as long as chat input 2019-02-04 16:46:15 -05:00
Lirusaito
d2a42e47ce Make agent slurls with name types open profile on click 2019-02-03 18:37:51 -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
d29832ce5c Copy SLURL not SLurl, SLurl looks weird!! 2019-02-03 17:00:05 -05:00
Lirusaito
a0875697cd Fix warning 2019-02-03 12:31:49 -05:00
Lirusaito
45c7c711ad You need to wake upYou need to wake upYou need to wake upYou need to wake up
YouNeedToWakeUpYouNeedToWakeUpYouNeedToWakeUpYouNeedToWakeUp
ouNeedToWakeUpYouNeedToWakeUpYouNeedToWakeUpYouNeedToWakeUpY
uNeedToWakeUpYouNeedToWakeUpYouNeedToWakeUpYouNeedToWakeUpYo
NeedToWakeUpYouNeedToWakeUpYouNeedToWakeUpYouNeedToWakeUpYou
eedToWakeUpYouNeedToWakeUpYouNeedToWakeUpYouNeedToWakeUpYouN
edToWakeUpYouNeedToWakeUpYouNeedToWakeUpYouNeedToWakeUpYouNe
dToWakeUpYouNeedToWakeUpYouNeedToWakeUpYouNeedToWakeUpYouNee
ToWakeUpYouNeedToWakeUpNeedWAKEUPNeedYouNeedYouWakeUpYouNeed
oWakeUpYouNeedToWakeUpYouNeedToWakeUpYouNeedToWakeUpYouNeedT
WakeUpYouNeedToWakeUpYouNeedToWakeUpYouNeedToWakeUpYouNeedTo
akeUpYouNeedToWakeUpYouNeedToWakeUpYouNeedToWakeUpYouNeedToW
keUpYouNeedToWakeUpYouNeedToWakeUpYouNeedToWakeUpYouNeedToWa
eUpYouNeedToWakeUpYouNeedToWakeUpYouNeedToWakeUpYouNeedToWak
UpYouNeedToWakeUpYouNeedToWakeUpYouNeedToWakeUpYouNeedToWake
pYouNeedToWakeUpYouNeedToWakeUpYouNeedToWakeUpYouNeedToWakeU

[~~~~~~~~~~~~~~~~~~~~~~~~~~WakeUp~~~~~~~~~~~~~~~~~~~~~~~~~~]
2019-02-03 12:31:36 -05:00
Lirusaito
c03250f09b Do this better 2019-02-03 10:05:41 -05:00
Lirusaito
50f7893b2f Add back the install while running viewer option 2019-02-03 10:05:23 -05:00
Lirusaito
6c219bd628 Feature Request: Shouts should be in bold.
Yes, they should.
2019-02-02 18:42:15 -05:00
Lirusaito
8208730130 No more temp upload on SL, don't waste the users' time. 2019-02-02 18:41:27 -05:00
Lirusaito
dc96269bc6 Do not grab focus during login, seriously uncool. 2019-02-02 18:39:33 -05:00
Lirusaito
3546b5777b Oops, these are needed for the texture picker clicker 2019-02-02 13:57:01 -05:00
Lirusaito
a45b4ffb43 Code cleanup 2019-02-02 13:56:11 -05:00
Lirusaito
d08d2fdec8 Don't open a null id picture. 2019-02-01 11:55:15 -05:00
Lirusaito
b47ff37612 Allow clicking on pictures in profiles and picks to open them
Only works if it's not gonna spawn a texture picture, of course.
2019-02-01 11:54:55 -05:00
Lirusaito
1ec0eed867 Use link color for names in radar alerts, not white. 2019-02-01 10:28:06 -05:00
Lirusaito
3054be307e Do it for object names too, otherwise talking through scripts looks wrong
Also this is needed for local chat ^^;
2019-02-01 10:16:19 -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
Lirusaito
a7886443c5 Do not color the : after names in local chat as a link! 2019-02-01 06:51:58 -05:00
Lirusaito
674abf478b Fix skin previews, allow using images from paths on disk 2019-01-28 20:46:47 -05:00
Damian Zhaoying
0f96939828 Update Spanish Translations. 2019-01-27 20:29:31 -05:00
Lirusaito
2f4689ba37 Woops, forgot I decided not to make an icons subfolder in textures. 2019-01-27 20:11:46 -05:00
Lirusaito
045234912c We can spell 2019-01-26 14:00:35 -05:00
Lirusaito
049c1e16b0 Aurora-Sim is now WhiteCore
Minor Alchemy merge in removing llvlmanager,
indra_constants no longer has *_LAYER_CODE
2019-01-25 21:21:55 -05:00
Lirusaito
c7ca3d9261 Add cinnamon 2019-01-25 19:33:20 -05:00
Lirusaito
a6cd08e056 Fix textures.xml 2019-01-25 19:33:20 -05:00
Lirusaito
d340b74bb9 Silly git, that's not how merges work!
Fix automatic merge errors
Also fix some other compile errors
2019-01-25 19:33:19 -05:00
Inusaito Sayori
fcf4cf88ea More merge 2019-01-25 19:33:19 -05:00
Inusaito Sayori
758d45af68 LLInventoryFilterParams and other stuff to merge. 2019-01-25 19:33:19 -05:00
Inusaito Sayori
50d21405cf More stuff until it works... 2019-01-25 19:33:18 -05:00
Inusaito Sayori
8ea58c8a7e Fix the crash, it was a misplaced closing bracket, with a misplaced codeblock... figures... 2019-01-25 19:33:18 -05:00
Inusaito Sayori
7c1af50bda Double check vmm merge against alchemy. (sync) 2019-01-25 19:33:18 -05:00
Inusaito Sayori
fd4155f4b6 Merge vmm up to 3a62616f3dd8bd512fcdfd29ef033b2505b11213 2019-01-25 19:33:17 -05:00
Inusaito Sayori
1d6e2b4182 Warning fixies. 2019-01-25 19:33:17 -05:00
Inusaito Sayori
630819cfe5 Set visible and set frontmost. 2019-01-25 19:33:16 -05:00
Inusaito Sayori
4b04bc573b Route stuff back into llfolderview until we're ready for the full update. 2019-01-25 19:33:16 -05:00
Inusaito Sayori
e38615d15b Warnings fixes, mostly signed/unsigned mismatch 2019-01-25 19:33:16 -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
Lirusaito
0fca6ee425 More seriously C++14
...I hope
2019-01-25 19:30:58 -05:00
Lirusaito
748a952e81 Fix Script Count not being enabled when AllowSelectAvatar is true 2019-01-24 18:00:36 -05:00
Lirusaito
a30119706d Add /setdebug chatbar command. Syntax: /setdebug <debugsetting> <newvalue>
The setting to change this command is SinguCmdLineSetting
This command supports using json for complex data types, like vectors.
If there's no new value passed, the debug will be changed true<->false,
this conversion will have interesting effects on nonboolean types.
Have Fun!!
2019-01-24 17:58:54 -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
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
Lirusaito
da5717f66e Make the login screen destinations work
Syncs "location_login" from upstream LL viewer
2019-01-14 16:57:29 -05:00
Lirusaito
8250ec1872 Clean up repetitive code in llnotify.cpp 2019-01-14 15:14:13 -05:00
Lirusaito
1efc71db0c Fix mic lock being inverted. 2019-01-14 14:46:50 -05:00
Lirusaito
062b8da2d3 Allow right clicking notifications when on right clickable ui. 2019-01-14 01:08:10 -05:00
Lirusaito
15ef9140da Fix regression of not having a working viewer build without PACKAGE on 2019-01-14 00:35:52 -05:00
Lirusaito
2dc609ff6b Fix Linux compile? 2019-01-11 12:49:00 -05:00
Lirusaito
8c7fceb081 Resolve and link registered SLURLS that are in chat.
Adds handle_registered_urls function
Use this as a drop in replacement for appendStyledText where applicable
2019-01-11 09:11:20 -05:00
Lirusaito
778b89d5c9 Feature request: When creating a new AO notecard, actually show it! 2019-01-11 08:33:49 -05:00
Lirusaito
b61cba8e01 Clean up and optimize the AO
Added the feature of selecting an animation from combo boxes and it playing automatically if it should be at this moment.

Now for the stuff only developers will understand:
FloaterAO is now a FloaterSingleton, because it should've been behaving that way all along.
Refactors a lot, simplifies a lot, best view without space changes.
Reduces a lot of redundant blocks.
Creates some functions to make things like AOStates easier to get
AOStates are now an enum instead of a bunch of const ints.
Cleaned up includes.
NULL -> nullptr, virtual->override, BOOL->bool, for->foreach
Removed struct_tokens,  it was redundant and actually just took up space.
No longer set all the children invisible, their parent does a good job of that.
Relate ComboBoxes to their states, so that we can easily get a setting and do a whole bunch of things with a lot less code.
Remove unused parameters and functions and variables
Remove unused boolean returns from functions.
Don't clear combo boxes just because one id is null.
2019-01-11 06:17:58 -05:00
Lirusaito
0c585aca39 Random cleanup lines here and there before I refactor the AO entirely 2019-01-10 17:44:13 -05:00
Lirusaito
da2a9a5bf5 Add Typing AO
Like scripted AOs, this works whenever you type and AO is ON
Even if the Linden typing animation is not playing.
2019-01-10 17:42:59 -05:00
Lirusaito
47797f4cec First pass at Swimming AO 2019-01-09 23:08:23 -05:00
Lirusaito
aef77312aa Wooops, fix minor bug introduced in the conference thing. 2019-01-09 22:03:20 -05:00
Lirusaito
9a424ff264 Fix SV-2245: Viewer AO Doesn't respond instantly 2019-01-09 13:14:24 -05:00
Lirusaito
022fba2ba4 Add option "Add to Conference" to Conference chats and Instant Messages
Sync code from upstream for inviting people to conference via Avatar Picker
2019-01-08 11:27:51 -05:00
Lirusaito
adba4cf1fa Beware the coral, it adds the reef factor 2019-01-07 17:39:54 -05:00
Lirusaito
0e21b53c2f Sync installer with Alchemy for NSIS 3 support
Add a checkbox for creating desktop shortcut, restoring this functionality.
Fix install folder defaulting to 64-bit for 32-bit.

NOTICE: We now only support NSIS 3, no we don't care about your set up,
see our build-windows page for updated details on this.
2019-01-06 14:52:29 -05:00
Lirusaito
13816b696f Fix reporter spawning notifications over and over
The user needs only one per session if that.
Also no longer have reporter processRegionInfo when it doesn't use that.
2019-01-06 09:46:14 -05:00
Shyotl
04ea11c61e Make gcc happier. 2018-11-20 02:49:57 -06:00
Shyotl
523717477d Experimental. Just busyloop mesh repo thread (hardcoded 60updates/second) instead of semaphore pingpong. Client behavior sucks and fetched meshes weren't being processed unless new mesh requests were being generated. 2018-11-19 00:48:50 -06:00
Shyotl
6d0b1889f2 Draw terrain before grass, because terrain is pretty cheap to draw, and hills are a thing and it would be nice if they z-culled. 2018-11-19 00:45:26 -06:00
Shyotl
bb67cba384 Bring alpha specular face blending in line with official viewer. 2018-11-19 00:43:51 -06:00
Shyotl
14e7b4aefe scrolllists were incredibly slow to render. This included the friends and groups lists. Should be much faster now due to not thrashing the bound texture quite as much. Also ui elements are culled on the cpu side if they are out of the current scissor region. list cells also had no clip logic, so added to that as well. 2018-11-19 00:43:00 -06:00
Shyotl
1b9ce0b511 Prevent camera from freaking (shaking violently and eventually displaying pinkscreen) out if zoomed in unreasonably close. 2018-11-19 00:40:41 -06:00
Shyotl
bf5e7b794e Change mesh fetch strategy a bit. Was getting stuck on stalled downloads forever instead of going on to other pending ones. 2018-11-19 00:39:49 -06:00
Shyotl
d7ee098a10 floorf was eating a fair bit of cpu time here. 2018-11-19 00:38:13 -06:00
Shyotl
736696ac36 Track glEnable states via static refs instead of map lookups.
Sync light state, bound shader, and various gl context states similarly to render matrices.
Texture handles now refcounted, as multiple viewer textures could ref the same handle (cubemaps do this)
Clean up gl extension loading a bit. Not necessary, but only look for ARB variants if not included in current core version. Removed unused extensions.
Use core shader api if supported, else use ARB. (FN signatures are identical. Just doing some pointer substitution to ARB if not core.)
Attempt at improving VBO update batching. Subdata updates better batched to gether per-frame.
There's probably other stuff I forgot that is in this changeset, too.

Todo: Fix lightstate assertion when toggling fullscreen with shaders off.
2018-11-19 00:37:48 -06:00
Shyotl
0b4d789afb Altered LLIndexedVector. There's zero point to having a lookup map into an array like this. Just iterating down the array is faster than the map lookup (which iterates down a linked list...). A hash map would be a different case entirely. 2018-10-12 02:07:45 -05:00
Shyotl
55ad048b3a Bring specular behavior back in line with LL viewer. 2018-10-12 01:40:31 -05:00
Lirusaito
252fdcdd1e Collab with RouterGray to set Startup project automatically via CMake.
Also thanks to Alchemy, we think.
2018-08-27 18:42:27 -04:00
Lirusaito
13e2af8990 Request: Add setting SinguMotionResetsCameraReset to let the user decide if SinguMotionResetsCamera will Reset without their explicit action. 2018-08-27 12:33:02 -04:00
Lirusaito
8ecbf79199 Fix this because it shoulda been this from the start, oops. 2018-08-27 12:29:48 -04:00
Lirusaito
03d686a246 This is unused, remove it. 2018-08-27 12:27:40 -04:00
Shyotl
f03249f5d5 Update manifest and lldir_linux to use new crt file. 2018-08-12 19:53:07 -05:00
Shyotl
0d8dfb41bc Fix gcc 4.9 build errors. 2018-08-12 18:26:07 -05:00
Shyotl
38c6302f11 Attempt to make mesh loading a little less choppy. 2018-08-11 01:09:04 -05:00
Shyotl
dcc13b447c Fix compile post liru merge. 2018-08-10 23:07:27 -05:00
Shyotl
5d2eb3e4cf Fixed hot spot in volume generation. 2018-08-10 23:07:13 -05:00
Shyotl
c8427140bd Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer.git 2018-08-10 19:30:01 -05:00
Shyotl
23228e111c Ohgodthistypobrokeeverything. 2018-08-10 19:29:08 -05:00
Shyotl
2257e8ebe7 Add new required lib to newview. 2018-08-10 18:58:29 -05:00
Shyotl
3c87835f82 Delay mesh fetch retries to avoid hammering server endlessly if something goes wrong. 2018-08-10 18:57:39 -05:00
Shyotl
bc8c95a7f7 Minor cleanup. 2018-08-10 18:17:30 -05:00
Shyotl
369a3ed909 Replace CA file. 2018-08-10 18:16:48 -05:00
Shyotl
eb747e2304 Fix CURL failures 2018-08-10 18:05:00 -05:00
Lirusaito
e0df1a763c Optimize resync_anims so we don't have to iterate over Every Single Object
Also minor opt to partial name2key code.
2018-08-10 15:15:20 -04:00
Shyotl
fe764ae97f Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer.git 2018-08-07 21:46:07 -05:00
Shyotl
0fc962454d Fix shadows on basic alpha faces. 2018-08-07 01:53:06 -05:00
Shyotl
b1b415e862 Actually deallocate oversized mesh loading buffer. 2018-08-07 01:12:09 -05:00
Shyotl
b5f0355015 Dpi awareness should be set before creating the application window. In theory dpi awareness shouldn't have worked without this. 2018-08-07 01:10:48 -05:00
Shyotl
d11899561b Optimization pass. 2018-08-07 01:09:53 -05:00
Shyotl
71f3002717 Merge branch 'master' of github.com:Shyotl/SingularityViewer
# Conflicts:
#	indra/newview/app_settings/shaders/class2/deferred/sunLightF.glsl
2018-08-06 20:42:32 -05:00
Lirusaito
9f03d1be05 How to enable "show muted text" box by default
Have a feature, Torric.
I should've already set this up long ago, sorry about that!
2018-07-27 15:38:01 -04:00
Lirusaito
899d1955c0 More SV-1908 2018-07-23 06:12:34 -04:00
Lirusaito
c962922e75 SV-1908 2018-07-23 05:53:00 -04:00
Lirusaito
562353929e Actually fix SV-2181 this time? I think. It seems to work. 2018-07-16 02:55:40 -04:00
Lirusaito
4c8bd8d3ca Sync some voice stuff 2018-07-15 12:12:21 -04:00
Lirusaito
e31c088470 Modernize the voice remote some. 2018-07-15 12:09:47 -04:00
Lirusaito
172eee49e5 Give local speakers lists a more radar-like menu 2018-07-15 11:56:35 -04:00
Lirusaito
14fd78a5af Do the scroll list menu thing more cleanly. 2018-07-15 11:54:23 -04:00
Lirusaito
c056eacfab Fix SV-2179: Wireframe - Rendering. Works only when Adv.light.model is disabled.
(Don't toggle ALM while in wireframe, bad things will happen...
or do, who am I to tell you how to live your life?
It'll look pretty cool actually, to fix that noise just toggle Wireframe once or twice.)
2018-07-15 06:26:04 -04:00
Lirusaito
ca2477a521 Update certificates 2018-07-15 06:00:09 -04:00
Lirusaito
c06c627002 Add four settings left out of 55b5f60b68 2018-07-13 20:54:49 -04:00
Lirusaito
6edd21bfe6 Don't limit the length of notecards and scripts, let the server scream at us instead. 2018-07-13 17:38:23 -04:00
Lirusaito
f1e6092b94 Sync LLViewerTexture with upstream 2018-05-02 19:30:47 -04:00
Lirusaito
1014841e2c Feature Request: Repair Uploaded by functionality
Clean up llviewertexture a bit while doing so.
Sync LLImage

Thanks to Cinder and the Alchemy Team for this buncha code.
2018-05-02 19:30:22 -04:00
Lirusaito
dd49033a08 Remove VSTool 2018-05-02 19:20:38 -04:00
Shyotl
07835ea832 Speed up texture cache init. (Was exceptionally slow with a debugger attached) 2018-04-29 01:58:04 -05:00
Drake Arconis
a8e8f6d409 Fix gamma corruption 2018-04-26 15:54:30 -04:00
Drake Arconis
54fe7a8606 Well this...compiles 2018-04-26 15:54:24 -04:00
Shyotl
f9897b607b Merge branch 'master' of git@github.com:Shyotl/SingularityViewer.git 2018-04-09 02:51:22 -05:00
Shyotl
798f4c1a69 Avoid needing winver 601. 2018-04-09 02:50:44 -05:00
Shyotl
7a04780841 Merge branch 'master' of git@github.com:Shyotl/SingularityViewer.git 2018-04-09 02:36:30 -05:00
Shyotl
d3e1edcc93 Windows dpi scaling. 2018-04-09 02:08:46 -05:00
Shyotl
50a0902f92 Fix projector reflections. 2018-02-19 01:58:32 -06:00
Shyotl
84da051385 Merge branch 'master' of git@github.com:Shyotl/SingularityViewer.git 2018-02-13 23:07:15 -06:00
Shyotl
c77699dcd5 Speakerlist was taking a ridiculous amount of frame time when displaying large groups. 2018-02-13 23:06:41 -06:00
Shyotl
02865a9179 Merge branch 'master' of git@github.com:Shyotl/SingularityViewer.git 2018-02-08 03:25:32 -06:00
Shyotl
410d2a83a2 llformat with std::string args is no bueno. 2018-02-08 03:25:02 -06:00
Shyotl
d46f96a8d6 Fix 'function uses ‘auto’ type specifier without trailing return type' spam in gcc due to accidentally using c++14 syntax. 2018-02-08 03:18:09 -06:00
Shyotl
ce1b58dd13 Merge branch 'master' of git@github.com:Shyotl/SingularityViewer.git 2018-02-08 01:56:43 -06:00
Shyotl
05b8e08ee8 Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git 2018-02-08 01:35:31 -06:00
Shyotl
24a05a2ebe Add header and remove new unnecessary 'ignore' button handling due to 'ignore' checkbox now working for notify toasts. 2018-02-08 01:31:00 -06:00
Shyotl
2dc46964b4 Simple update check mechanism, and tons of notification tweaking to make the notifications look less crap. 2018-02-08 01:26:09 -06:00
Shyotl
30df7dacde Add bulk speaker updates. Sped up speaker fetching by disabling list sorting during bulk updates. 2018-02-07 21:18:35 -06:00
Shyotl
fa628ce4d1 Use standard SL splash screen. 2018-02-05 01:40:36 -06:00
Shyotl
92eb988f2a Pull in vertex buffer changes from alch. 2018-02-05 00:06:54 -06:00
Shyotl
ecc820f784 Fix shader compilation errors. Pulling bits and pieces out of massive set of unstaged changes never ends well.. 2018-02-04 23:23:04 -06:00
Shyotl
85cb3cb0d0 Clean up deferred shaders by moving common methods into shared glsl file 2018-02-04 23:08:31 -06:00
Shyotl
ec91f9a026 Skip binding emissive shader for alpha glow. Caused huge pipeline stalls. Looking into alternate solution. 2018-02-04 23:08:07 -06:00
Shyotl
8fd728ca59 Clean up generated prepended shader preprocessor mess. 2018-02-04 23:06:16 -06:00
Shyotl
cf1ce7d7e5 Per-frame per-avie rigged transform matrix cache from Alchemy, with minor alterations. 2018-02-04 23:02:07 -06:00
Shyotl
54fc42cc73 Fixed ssao without shadows enabled. (Thanks LightDrake) 2018-02-04 23:02:01 -06:00
Shyotl
a39844f9f3 Double the maximum texture memory. 2018-02-04 23:01:44 -06:00
Shyotl
2195c2af37 And.. a missing line. 2018-02-04 23:01:38 -06:00
Shyotl
a3b37f58e3 Tweak shadows to look a little less crap. 2018-02-04 23:00:55 -06:00
Shyotl
d3dbbed6af Explicitly alphamasked faces on HUD attached prims were not going into correct drawpool. 2018-02-04 23:00:30 -06:00
Shyotl
9b75abdb09 Fixed issues with ring rendering on mini and world map when ui scale was not exactly 1.0 2018-02-04 23:00:19 -06:00
Shyotl
bdf4c1a272 And.. a missing line. 2017-11-25 19:25:41 -06:00
Shyotl
647e6afa14 Tweak shadows to look a little less crap. 2017-11-25 19:20:21 -06:00
Shyotl
0e08d7d703 Explicitly alphamasked faces on HUD attached prims were not going into correct drawpool. 2017-11-25 19:20:11 -06:00
Shyotl
8776876e93 Fixed issues with ring rendering on mini and world map when ui scale was not exactly 1.0 2017-11-25 19:19:20 -06:00
Shyotl
1271eeb808 Merge remote-tracking branch 'liru/Release' 2017-11-18 11:09:40 -06:00
Shyotl
77ebb91d37 Resolve linker errors encountered on linux builds. 2017-11-17 23:21:03 -06:00
Shyotl
ca64b81785 Attempt at fixing windows build issue. Linux breakage TBD. 2017-11-16 17:48:22 -06:00
Liru
4e6eaa2849 New abuse reports upload the screenshot whenever possible 2017-11-01 18:15:47 -04:00
Liru
188704d177 Don't reduce the damn framerate, what's wrong with you?! 2017-11-01 18:14:34 -04:00
Liru
4aa943b871 XML sync report abuse with upstream 2017-11-01 18:13:36 -04:00
Shyotl
68c498163d Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer 2017-10-03 14:50:28 -05:00
Liru
0b35781d55 Refresh balance when it's clicked 2017-10-02 15:31:07 -04:00
Liru
f838fa5d45 Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer into Release 2017-10-02 14:12:18 -04:00
Inusaito Sayori
2922f78c20 Merge pull request #30 from nikolas/patch-2
Variables.cmake: typo fix - BOOl -> BOOL
2017-10-02 13:29:24 -04:00
Inusaito Sayori
5be20f26f3 Merge pull request #27 from nikolas/detect-debian
Fix debian detection
2017-10-02 13:10:00 -04:00
Inusaito Sayori
0a01adf101 Merge pull request #31 from nikolas/patch-3
Variables.cmake: fix typo - Unkown -> Unknown
2017-09-30 23:56:55 -04:00
Nik Nyby
5e3e46847e Variables.cmake: fix typo - Unkown -> Unknown 2017-09-30 23:48:25 -04:00
Nik Nyby
c68b7ff4a8 Variables.cmake: typo fix - BOOl -> BOOL 2017-09-30 14:12:58 -04:00
Nik Nyby
740153475c Fix debian detection
My OS wasn't getting detected as Debian. This fixes that.
2017-09-29 14:10:55 -04:00
Inusaito Sayori
71c363e115 Merge pull request #28 from nikolas/patch-1
readme: update issue tracker link
2017-09-26 01:33:27 -04:00
Nik Nyby
8f40538d01 readme: update issue tracker link 2017-09-26 00:56:50 -04:00
Shyotl
733fca3d49 Http asset fetching. 2017-06-20 19:50:22 -05:00
Lirusaito
d7e5d07a77 For no real reason at all, update script limits floater code. 2017-05-13 10:44:09 -04:00
Lirusaito
e199a1a1d6 Make sure we're updating the VisualComplexity whenever we should be (sync w/ upstream) 2017-05-13 10:29:03 -04:00
Lirusaito
e8a0762eee Firestorm can't be trusted. 2017-05-13 09:56:23 -04:00
Lirusaito
8cea1705d1 You asked for it, here's Classic Search back! 2017-04-23 18:49:55 -04:00
Lirusaito
a6236ab593 Prepare for upcoming changes to Region Agent Limit 2017-04-12 19:57:52 -04:00
Lirusaito
bb22201f4a Revert the PyFx Ambient Dark and Ambient White changes
Adds Ambient Not As White and Ambient Not As Dark
2017-04-04 23:00:25 -04:00
Lirusaito
2eaf9a2c22 Add back Latif's CMake-based branding to BuildBranding.cmake 2017-04-04 21:16:29 -04:00
Lirusaito
c92ccf8a44 Branding shtuffs for the Singularity 2017-04-04 20:40:08 -04:00
Shyotl
7a5857e838 Minor cleanup. 2017-04-04 03:40:16 -05:00
Shyotl
b24635d24e RMSE bugfixes. 2017-04-01 21:55:13 -05:00
Shyotl
1230748ef5 Alchemy llcharacter and llcommon merge pass. 2017-03-31 02:08:03 -05:00
Shyotl
f95be54bd5 Merge https://github.com/Lirusaito/SingularityViewer/tree/Release
# Conflicts:
#	indra/newview/app_settings/settings_sh.xml
2017-03-27 23:25:33 -05:00
Shyotl
97a6f3a7b2 noisemap tweaks and cleanup. 2017-03-27 23:13:56 -05:00
Shyotl
f1063afea1 Tweak alphamask RSME and allow multiselect derender. 2017-03-25 00:35:48 -05:00
Lirusaito
0dfef2ab25 PyFx partial integration
Adds PyFx windlights and post process effects, not enabled by default.
Show custom graphics settings by default, because all our users are smart.
Tweaks SHAutoMask, uses Altocumulus as default cloud now
Added TODO into llrender/llpostprocess.cpp
We should also add the option to make the menu bar transparent, instead of pyfx using skin hacks
Also we need to add a settings preset feature at some point in the future.
We also need to add postproc to wlf.
2017-03-20 11:10:21 -04:00
Lirusaito
8e59d9800d Merge branch 'master' of git://github.com/Shyotl/SingularityViewer into Release
Fixed pipeline conflict over Mika/Shyotl variable naming differences.
2017-03-20 08:08:06 -04:00
Shyotl
1ccd8cfd89 Tweak tangents. 2017-03-17 00:54:48 -05:00
Shyotl
f4a713a500 Merge. 2017-03-14 04:02:53 -05:00
Shyotl
4a9ff22eeb I was critically damp once. It was okay. 2017-03-14 01:44:26 -05:00
Shyotl
7dd616357f Match AISAPI refactoring. 2017-03-13 23:58:56 -05:00
Shyotl
d42e380698 Minor cleanup. 2017-03-13 23:54:56 -05:00
Shyotl
75c47e96b6 Fixed numerous bugs. 2017-03-09 23:49:56 -06:00
Shyotl
6523cf43be Fix some remaining callers to ui draw methods that have recently had their winding switched to CCW. 2017-02-26 23:19:12 -06:00
Shyotl
5d96bd8966 Fix winding issues with various ui draw methods. Face culling is actually disabled during ui rendering, but it's still good to do winding correctly regardless. Also automated tri strip batching. 2017-02-24 01:49:31 -06:00
Shyotl
d39ad79986 Update more full-screen shaders to no longer require texcoord attribs. 2017-02-18 01:18:39 -06:00
Shyotl
b9c3ca535d Remove temporary render target used for debugging prior changes. 2017-02-17 23:41:10 -06:00
Shyotl
5e501b9611 Removed TT_RECT_TEXTURE and removed unnecessary shaders. 2017-02-17 23:37:46 -06:00
Shyotl
983a7e31dc Have gl_rect_2d and gl_rect_2d_simple use TRIANGLES instead of TRIANGLE_STRIP 2017-02-17 23:15:45 -06:00
Shyotl
693781a014 Remove all QUADS usage. Replaced with TRIANGLES and TRIANGLE_STRIP. May do another pass and replace un-textured TRIANGLE_STRIPs with TRIANGLES to reduce flush calls. 2017-02-11 02:03:06 -06:00
Shyotl
aee659b518 Merge branch 'master' of git@github.com:Shyotl/SingularityViewer.git 2017-02-08 01:00:32 -06:00
Shyotl
271c37442d Prevent menus from clipping off the top of the screen. 2017-02-08 00:54:42 -06:00
miKaぴょん
7a1633abdf Bento German translation 2017-01-19 13:29:10 +01:00
miKaぴょん
14ee1c5189 Make Second Life glow again.
Thank you Shyotl for hand-holding and instructions!
2017-01-14 08:38:00 +01:00
Shyotl
c262210cf3 Merge branch 'Release' of https://github.com/Lirusaito/SingularityViewer 2017-01-13 01:21:33 -06:00
Lirusaito
6707e481de Apply Router Gray's Media Remote Controls for CEF hack. 2017-01-13 02:01:30 -05:00
Lirusaito
0bc98aad3b Merge branch 'master' of https://github.com/miKa-pyon/SingularityViewer into Release 2017-01-13 01:01:58 -05:00
Shyotl
34fd992fb9 Un-break rigged normals when software skinning. 2017-01-12 23:48:23 -06:00
Shyotl
f62fded4bd Use avatar-relative transforms when skinning via software, and translate to world coordinates after. 2017-01-12 23:47:58 -06:00
Shyotl
aa7c5e652c Removed some C++14-only syntax. 2017-01-12 23:45:42 -06:00
Shyotl
632725e788 Prevent Edit->Attach/Detach menus from cumulatively growing larger every time LiruUseContextMenus setting was changed. 2017-01-11 18:10:09 -06:00
Shyotl
98516a2a22 Bento hell and back, and back to hell, and back. 2017-01-11 03:55:36 -06:00
miKaぴょん
b578b639e8 Fix SV-1891 2016-12-10 06:55:17 +01:00
Lirusaito
b5f1d5b435 Default to modern ARC 2016-10-21 18:10:54 -04:00
Lirusaito
efe83160a1 Fix incorrect attribute name resulting in shortened moap homepage urls 2016-09-14 18:13:16 -04:00
Lirusaito
e29776d2b2 :%s/"Block"/"Mute"/g 2016-08-23 15:45:53 -04:00
Shyotl
9dbdf75c14 Merge branch 'Release' of https://github.com/Lirusaito/SingularityViewer.git 2016-08-22 22:37:25 -05:00
Shyotl
583ea76c85 Experimental amd gpu workaround. 2016-08-22 22:33:28 -05:00
Shyotl
8e7574b9ae Propogate correct mats shader mask for rigged alpha faces. 2016-08-09 00:24:28 -05:00
Shyotl
b8f1468ab5 Fix rigged faces not properly displaying mats properties on alpha faces. 2016-08-09 00:22:40 -05:00
Shyotl
4b318d072a Wokaround for viewer crasher. Related to rigged mesh. 2016-08-09 00:18:28 -05:00
Lirusaito
1f53b80c9b Fix nonmatching string literal 2016-07-20 07:33:14 -04:00
Lirusaito
707dc2f56f Remove an extraneous "you" (thanks Fritigern) 2016-07-18 20:30:38 -04:00
Lirusaito
a1e7014524 [MediaFilter] Fix blacklist being swapped with whitelist for media
R&D by Router Gray.
2016-07-16 09:41:55 -04:00
Lirusaito
aacc250481 This seems more right... 2016-07-16 06:35:42 -04:00
Lirusaito
fbb144ede4 Update About Floater with up to date devs and maintainers info. 2016-07-16 06:35:16 -04:00
Lirusaito
b26bd29325 Media filter C++11 changes. 2016-07-16 06:31:28 -04:00
Lirusaito
b7edebf272 Conserve messages when right-click bulk kicking. 2016-07-13 23:44:58 -04:00
Lirusaito
dd74e69ab7 Fix a bug with <x] button, introduced by new behavior discussed in SV-2078 2016-07-12 07:27:30 -04:00
Lirusaito
e4544bec97 Linux BarkBark! 2016-07-10 16:59:16 -04:00
Fritigern
dad825d68d Added icons for alpha versions, updated one icon in default, and modified viewer_manifest to also use these icons.
Signed-off-by: Fritigern <fritigerngothly@gmail.com>
2016-07-10 13:46:48 -07:00
Lirusaito
a9cf5743a3 Sync viewer_manifest mac stuff a bit for cef... pointless~ 2016-07-09 23:10:58 -04:00
Lirusaito
21164d1f01 Silly Liru, bracket initializer lists are not expressions! 2016-07-08 16:59:13 -04:00
Lirusaito
eeb3a096d4 Fix signed/unsigned mismatch 2016-07-08 16:46:34 -04:00
Lirusaito
87b955b2ce Giving your viewer one more std:: 2016-07-08 08:36:12 -04:00
Lirusaito
da13f3599c Woops, forgot to remove static, didn't even notice. 2016-07-08 02:05:25 -04:00
Lirusaito
727a91b689 Actually solve SV-2103
Tons of duplicate code cleanup, yaaaay~
2016-07-07 22:39:06 -04:00
Lirusaito
873b399ee8 Sync with obsidian in attempt to fix SV-2086
Applies MAINT-4897 FIXED Frequent error when texturing a linkset - "Unable to add texture. Please wait a few seconds and try again."
Applies MAINT-5547 FIXED errors when texturing a linkset "Unable to add texture. Please wait a few seconds and try again."
2016-07-07 16:37:25 -04:00
Lirusaito
a6e905020d Package textures/ subdirectories too. 2016-07-06 16:41:21 -04:00
Lirusaito
9fe563c9f3 Solve SV-2103: Estate Kick was Teleporting Home, which wasn't always a kick
Estate Kick button now offers choice between Kicking Home and Kicking Out.
Estate Ban always kicks out

Translators: Please update SV-2103 in notifications.xml appropriately
2016-07-06 00:51:28 -04:00
Lirusaito
755d4c242b Fix SV-2105: Ban lines don't show up
Thanks to Router Gray for researching and solving this issue!!
2016-07-05 18:57:20 -04:00
Lirusaito
8308a0f769 Fix for FIRE-17419: Minimap property line corruption between VarRegions of different sizes
Thanks to Ansariel Hiller for this~
2016-06-30 00:24:10 -04:00
Lirusaito
e23a6f533c Revert fix for SV-2078 until more people give feedback. 2016-06-29 18:52:48 -04:00
Lirusaito
31aa797f0e Compile Fixy 2016-06-28 12:49:01 -04:00
Lirusaito
086af65f89 SV-2093: Add Block option to ScriptDialogs.
Thanks to routergray for helping me test this.
2016-06-28 10:33:48 -04:00
Lirusaito
e11b70415d Satisfy SV-2101: Add LiruOnlineNotificationBehavior to allow configuration of behavior when FriendOnline notification is clicked 2016-06-28 07:56:02 -04:00
Lirusaito
b8ca422e71 Attempt to fix SV-2096 2016-06-28 07:35:23 -04:00
Lirusaito
a68a345c32 Fix SV-2078: Reset inventory type filter on clearing search filter 2016-06-28 04:36:09 -04:00
Lirusaito
31dbe29cae Fix SV-2076: Mouselook button shouldn't show under most circumstances
Thanks to routergray for testing this fix.
2016-06-27 16:36:48 -04:00
Lirusaito
5bb9cda747 Hide Log button on own profile 2016-06-27 13:52:22 -04:00
Lirusaito
afb567265e handle_web_browser_test should spawn internal browser. 2016-06-27 13:17:01 -04:00
Lirusaito
dfb049d13c Update the VC redist package 2016-06-27 10:14:48 -04:00
Lirusaito
734d17c429 Linux Bark!
Thanks router!
2016-06-25 21:18:05 -04:00
Lirusaito
684ab3e3e5 Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer into Release 2016-06-24 21:35:12 -04:00
Lirusaito
a3c2009a48 Fix GCC 4.8
Thanks Drake
2016-06-24 21:05:54 -04:00
Shyotl
f77df0ab83 Silence 'getCapability called before caps received for' console spam when fetching mesh. TODO: Check if a proper workaround is available in V3, as I worry that some meshes that failed the caps check may not get promptly re-generated upon caps receipt. 2016-06-21 02:22:03 -05:00
Shyotl
cd25894a39 Hack to resolve SV-2036. A lot of this code will probably get wiped out in a merge soonish, so not investing time into a more proper fix. 2016-06-21 01:54:21 -05:00
Shyotl
95f56f040a Do not discard transparent specular-mapped fragments. 2016-06-18 15:35:11 -05:00
Lirusaito
39721e5bcd Fix Chat History in list menus 2016-06-16 04:57:53 -04:00
Shyotl
8e622eaca6 Fix issue with nvapi-disabled path uncovered when performing a full rebuild. 2016-06-16 01:54:53 -05:00
Shyotl
4cbe3a63f8 Version 1.8.7 2016-06-16 00:18:10 -05:00
Shyotl
8a9296c6c2 Merge branch 'Release' of https://github.com/Lirusaito/SingularityViewer.git 2016-06-15 23:23:41 -05:00
Shyotl
bf3dbd66b8 Fix rlva force-detach crash, and autoresponse message setting not being updated. 2016-06-15 23:22:10 -05:00
Lirusaito
fa007905d1 Fix SV-2065 2016-06-15 23:52:36 -04:00
Lirusaito
ac593a694e Fix the cmake issue with VIEWER_CHANNEL_NOSPACES
Thanks for helping, Friti!
2016-06-15 23:25:21 -04:00
Shyotl
f93c0b401f Merge pull request #25 from AdeonWriter/master
Fixed female torso muscles slider not working above 50
2016-06-15 03:00:18 -05:00
Shyotl
027c3be694 Fix pickmasks. 2016-06-15 02:19:08 -05:00
Shyotl
5ccfc3257b Merge branch 'Release' of https://github.com/Lirusaito/SingularityViewer.git 2016-06-15 00:05:10 -05:00
Shyotl
60e6f1000a Removal of some debug spam regarding inventory filters. 2016-06-15 00:04:45 -05:00
Shyotl
2065e45011 Removed some old rlva code that was breaking serverside baking. Also merge some other minor inventory/appearance related changes from v3. 2016-06-15 00:02:18 -05:00
Lirusaito
6df030d706 Update the links for Report Singularity Bug and Request New Feature 2016-06-14 04:39:08 -04:00
Lirusaito
5c786e40ed Update mIsHD3K patch to Drake's impl
Hopefully that'll squish the bug once and for all.
2016-06-14 04:11:26 -04:00
Lirusaito
bc93f2792d Enable Crashing On Crashes 2016-06-14 04:05:38 -04:00
Lirusaito
8c86c1cd0f Fix a buncha texture missing warnings. 2016-06-14 04:01:00 -04:00
Lirusaito
563f252dc1 Set AgentAppearanceServiceURL properly on login (fixes misplaced }) 2016-06-14 04:00:33 -04:00
Lirusaito
a41ce2d281 When LLTextEditor calls onCommit, update its setting value if applicable.
Hook up commit on focus lost, too, have the autoresponse messages do that.
2016-06-14 03:59:35 -04:00
Shyotl
f47395531f Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git 2016-06-09 21:17:43 -05:00
Shyotl
ab01a68d92 Avoid needless gl context re-creation. FBO change detection logic was incorrect. Also, don't clobber fbo and skinned shader settings when deferred/shaders are toggled. 2016-06-09 21:17:18 -05:00
Inusaito Sayori
e486b9b1e8 Merge pull request #26 from miKa-pyon/master
Pull request for LiruCookies
2016-06-08 19:34:37 -04:00
miKaぴょん
c2c8e7f281 Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer 2016-06-09 01:11:21 +02:00
Lirusaito
01bd9baf54 Fix AvatarRenderInfo not reporting. 2016-06-08 15:43:32 -04:00
Lirusaito
b8a2122b28 Fix SV-2054 2016-06-08 15:42:19 -04:00
miKaぴょん
a95b834711 Fix SV-2056, typo in media control panel XML 2016-06-06 02:15:24 +02:00
miKaぴょん
578b11ce48 Create TAR on linux build with package option only
The following configuration produces a usable linux viewer without creating a
package archive file:
    autobuild configure -cConfiguration -pPlatform -- -DFMODSTUDIO:BOOL=ON

Adding the -DPACKAGE:BOOL=ON option will produce a usable viewer and create a
package archive file as well.

Cached build configurations might not reflect this change.
2016-06-05 21:34:03 +02:00
Lirusaito
548d1b6757 Solve SV-2042: Description on event notice now opens a floater, not search. 2016-06-05 13:26:12 -04:00
Lirusaito
6847833752 Feature Request: Make stats indicator on status bar open stats floater. 2016-06-05 12:58:15 -04:00
miKaぴょん
4bca069708 Fix SV-1957 with instructions from LiruCookies 2016-06-04 19:13:35 +02:00
Shyotl
0773f290cd Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer.git 2016-06-04 01:21:09 -05:00
Shyotl
4f4a6d4588 Avoid excessive string allocations in updateLineStartList. Fixes some performance issues. 2016-06-04 01:19:12 -05:00
Lirusaito
5adc705eab Feature request: Make toolbar prefs optionally per account. 2016-05-29 09:47:42 -04:00
Lirusaito
05274c108e Oops! Fix menu_viewer.xml (Thanks for pointing this out Damian!) 2016-05-28 16:32:10 -04:00
Lirusaito
ca6745e955 Guess that's not ready to merge. 2016-05-27 14:09:38 -04:00
Lirusaito
a8cf4a51b3 Seriously? I swear I hit save. 2016-05-27 12:52:29 -04:00
Lirusaito
330e30607a Update LLAgentCamera 2016-05-27 12:42:17 -04:00
Lirusaito
f33429f1bb Buncha pointless sync and cleanup 2016-05-27 12:17:30 -04:00
Lirusaito
8f14d86a5e Re: Woops. 2016-05-27 10:53:48 -04:00
Lirusaito
7d73969c57 Oh gawd how did this happen? 2016-05-27 10:49:13 -04:00
Lirusaito
6fcbe9d0de Increase DEFAULT_MAX_AGENT_GROUPS to 60
Also cleans up limits code stuffs and syncs indra_constants a bit.
2016-05-27 09:27:43 -04:00
Lirusaito
e5886e0959 Add option in Singularity menu to Resync Anims
#close SV-1321
2016-05-27 08:39:18 -04:00
Shyotl
8ff1f46d08 Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer.git 2016-05-26 22:35:43 -05:00
Shyotl
fb96010d2a Remove some console spam introduced when fixing issues with inventory filtering. 2016-05-26 22:35:14 -05:00
Lirusaito
7c6d21f67a Woops, this line stays. 2016-05-26 14:39:22 -04:00
Lirusaito
fb9101598a Update RLVLocks 2016-05-26 13:10:27 -04:00
Lirusaito
cfea4f4ccf Compile Fixes
Updates RLVHelper.
2016-05-26 12:46:04 -04:00
Lirusaito
4bfd4b38bc Aaaand more, this time for llagentwearables.cpp 2016-05-26 11:51:49 -04:00
Lirusaito
a388ddb0d0 More of the last, this time update llattachmentsmgr.cpp to the latest.
Hopefully it'll compile now?
2016-05-26 11:03:08 -04:00
Lirusaito
3bedb5f6d4 Sync llappearancemgr.cpp with upstream and rllva
Remove old unused stuff
Comment out some questionable stuff that's not upstream
Rearrange a thing to match upstream

Hopefully this fixes the baking bug?
2016-05-26 10:13:42 -04:00
Shyotl
0abb0c916c Merge branch 'master' of git@github.com:Shyotl/SingularityViewer.git 2016-05-26 02:28:34 -05:00
Shyotl
78eace26b3 Buffer overrun in LLMeshRepository::notifyLoadedMeshes 2016-05-26 02:22:38 -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
Lirusaito
c161a47970 Drake says we actually wanna doing this. 2016-05-10 21:08:20 -04:00
Shyotl
f89a5aaa27 Eups. Fix chatlog and user dir. 2016-05-03 01:54:50 -05:00
Lirusaito
b4f0ea4c78 More merge? More merge. 2016-05-03 00:08:32 -04:00
Lirusaito
3242683ee3 Alchemerge~ 2016-05-02 23:18:09 -04:00
Lirusaito
32039e8b58 Too many thoughts at once. 2016-05-02 23:00:00 -04:00
Lirusaito
b77b5bbabc Fix skin packaging for gemini
Adds package_skin to clean up redundant skin packaging code
2016-05-02 22:25:41 -04:00
Lirusaito
44cc052d40 Forgetful Liru 2016-05-02 21:53:17 -04:00
Lirusaito
f14ad54c84 Linux compile fixes
Reapplies a fix from c3e593c20e

Updates libraries (FMOD Studio 1.08.01)

Don't use boost chrono, the standard has chrono!
2016-05-02 21:17:36 -04:00
Lirusaito
f0a6ffcabf Hopefully fix the logs thing? 2016-05-02 19:32:15 -04:00
Lirusaito
e50899dc68 Feature Request: Option to focus on avatar from instant message with them
Will be in the dropdown in IM at the bottom, only if they're in the sim...
Actually, this feature works pretty well as an in-sim indicator (if it works as intended!)
2016-05-02 19:06:12 -04:00
Lirusaito
a8062d732e Clean up upstream merge artifact 2016-05-02 15:17:06 -04:00
Lirusaito
39b3f58e13 Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer
# Conflicts:
#	indra/newview/llvoavatar.cpp
Also Reverted reversion of removal of before() wrapper in llstl.h
2016-05-02 15:15:06 -04:00
Shyotl
9e354801d8 Fix up generated artifact naming to include full unspaced channel name as well as arch. 2016-05-01 23:05:34 -05:00
Shyotl
df0b7a08cf New library dependency: libboost_chrono 2016-05-01 20:43:01 -05:00
Shyotl
40b5627f7b Use the correct xmlrpc prebuilt for win32. 2016-05-01 20:26:44 -05:00
Shyotl
f26a5e9d62 Added FTType to texture fetch methods. Baked texture fetch now uses dynamic retry policy. 2016-05-01 19:44:06 -05:00
Shyotl
abb4b1ac7c Fix for scrolllist columns not resizing when header width is adjusted. 2016-05-01 19:41:19 -05:00
Shyotl
62ee456084 Ignore "BackgroundYieldTime" setting if file picker window is open (Improves responsiveness of said window) 2016-04-26 13:42:47 -05:00
Shyotl
55b5f60b68 V3 mesh, texture, and hover merge. 2016-04-26 13:36:39 -05:00
Lirusaito
cd66c61214 Just do it! 2016-04-15 03:43:34 -04:00
Lirusaito
62e8400c3c Add Log button to Profile, (and rightclick menus for lists) as per request. 2016-04-15 03:26:02 -04:00
Lirusaito
de95e07907 Fix Deltek's issue: Altering the disk cache size is spammy 2016-04-15 02:49:55 -04:00
Lirusaito
b05f6ee9da Sync llspatialpartition, fixes compile of two commits ago. 2016-04-12 20:57:23 -04:00
Lirusaito
b90d905cc5 Allow exclusively filtering out Landmark offers with AntiSpamItemOffersLandmarks.
This was requested on our JIRA, but then no one suggested any other things to filter.
2016-04-12 20:55:40 -04:00
Lirusaito
56bc3ae67a Oh gawd this is gonna conflict with Shyotl..
but you people wanted Render Weight for some reason... so here it is...
Now we'll send it to the server, rejoice.
2016-04-12 20:02:25 -04: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
Shyotl
d40256fb31 llprimitive merge 2016-04-08 19:32:13 -05:00
Shyotl
691a5395ca llmessage merge and further LLUnit usage. 2016-04-07 20:17:30 -05:00
Shyotl
8c946dc706 llmath merge 2016-04-06 01:56:39 -05:00
Shyotl
6ced17242b llimage merge 2016-04-06 01:39:56 -05:00
Shyotl
0841479ccc llcommon merge. Added LLUnits. 2016-04-06 01:31:20 -05:00
Shyotl
0fa7848b19 llcharacter merge 2016-04-04 23:45:15 -05:00
Shyotl
989c40e59a llaudio merge 2016-04-04 00:38:57 -05:00
Shyotl
df41722c98 llappearance merge 2016-04-04 00:16:55 -05:00
Shyotl
9214750a90 Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer.git 2016-04-03 13:22:36 -05:00
Lirusaito
9fee430d7d Windows, please. 2016-03-31 22:17:16 -04:00
Lirusaito
62b6531468 I thought I'd done all these right already... meh~ 2016-03-31 07:38:43 -04:00
Lirusaito
0c75255da7 Woops, for real this time! 2016-03-31 05:11:26 -04:00
Lirusaito
3e4f099ef2 Sync LLCompileQueue, fix compile (...queue) 2016-03-31 05:05:13 -04:00
Lirusaito
2653567d82 Sync with alchemy
Moves some constants out of llavatarconstants.h
8ebf8f4608bd: Change various const constants to constexpr
e07d5d43ba30: CID-143595
30b6935fc66d: CID-143595
acc96f9051cb: Fix a memory leak in viewer side baking initial wearable setup
Sync llmodel.*

Changesets assimilated:
f8f7706c2902: CID-143554 - fix out of bounds access
223eb65adce4: CID-143554 - Chase
2ceb49aaa133: CID-42838, CID-42930, CID-42933, CID-42938, CID-42940, CID-42945, CID-42948, CID-56111, CID-83907
d220005d9f23: Missing null check before deref
31dbb0f3b6ee: CID-42571 CID-42576 CID-42578
49caf082e65c: change unordered_map to flat_map
Doesn't cause as many problems as a hashmap when it comes to assumptions in the
LLUI system.
f93f5e881484: "update" linux cef
downgrade to fix javascript problems
cba818dd9269: Various null checks and etc.
1b4c6bc483bb: CID-42847, CID-42854, CID-42886, CID-42921, CID-42922, CID-42923, CID-42924, CID-42925,
CID-42927, CID-42928, CID-83871, CID-83876, CID-83878, CID-83880, CID-83900, CID-143573
0fe90cd9ec24: Various file size related things
a79f6f653dca: CID-42918 - Initialize member pointers in LLFloaterGodTools
0b70d600d978: Tweak LLFloaterBuyLand initializations
e8b173ffe813: CID-42854 - Additional fix to LLDrawInfo
b5d745cf3fde: Fix signage
4f2e2f384781: Initialize and cleanup various class member variables.
CID-42899, CID-42900, CID-42902, CID-42903, CID-42904, CID-42905, CID-42909, CID-42910,
CID-42911, CID-42912, CID-42913, CID-42967, CID-83853, CID-83898, CID-83890, CID-143584
9851a3e39b4c: Fix platform specific include directories
5c074e84f1be: Initialize and clenaup various more class member variables.
CID-42885, CID-42853, CID-42894, CID-42895, CID-42896, CID-83908, CID-143574, CID-143575,
CID-143576, CID-143576, CID-143578
ac262854ac92: Brace sub-object in initialization to make our intentions clear to clang
358da477d4c1: More double brace init
c3850119314a: Initialize various member pointers in panels
CID-83902, CID-83903, CID-83905, CID-83909, CID-83911, CID-83912, CID-143572
2016-03-30 21:06:47 -04:00
Lirusaito
7a48138404 But... I was so careful... 2016-03-30 03:43:50 -04:00
Lirusaito
32d3f9e929 Blah blah blah include blah 2016-03-29 21:07:04 -04:00
Lirusaito
1c0abf39fb I swear I changed this back to name already. 2016-03-29 19:15:52 -04:00
Lirusaito
86a657f49c Update llgroupmgr because why not. 2016-03-29 18:51:55 -04:00
Lirusaito
25937e42fe I knew there was one more thing I had to do here. 2016-03-28 18:56:32 -04:00
Lirusaito
4afc6f5b6a Woops, removed the wrong set of two. 2016-03-28 07:58:30 -04:00
Lirusaito
48e6e4eb98 Sync up llaudio/llaudioengine_fmodstudio.cpp: Compile now, please? 2016-03-28 07:50:48 -04:00
Lirusaito
89be63603a Turn off pulseaudio support because it explodes right now 2016-03-28 01:57:44 -04:00
Lirusaito
e62261edb2 Sync with Alchemy, includes much awaited lib updates for Linux
Applies ALCH-420 - Replace all invisiprims with fully transparent texture and remove dead code paths
-ARC no longer takes invisis into consideration.

Syncs some script keywords updates.

Changes all "\n" in llfloaterabout.cpp to '\n' because screw.dat
2016-03-27 23:24:17 -04:00
Lirusaito
af58abb7ec Fix symbols filename generation still relying on dead CMAKE Vars. 2016-03-24 00:46:19 -04:00
Damian Zhaoying
0383d4492f Update spanish translations in menu_viewer.xml, panel_preferences_ascent_system.xml and panel_preferences_chat.xml files. 2016-03-23 02:43:15 -04:00
Lirusaito
5e7f64daaf Alchsync: generate_breakpad_symbols.py 2016-03-23 02:32:26 -04:00
Lirusaito
b3b1a8b530 Missed a thing 2016-03-13 19:38:32 -04:00
Adeon Writer
c474ab344a Fixed female torso muscles slider not working above 50 2016-03-10 16:31:40 -07:00
Lirusaito
1449169b0a Restore Obsidian Win10 patch. 2016-03-06 18:50:26 -05:00
Lirusaito
77809f704e Oops, this slipped by me in the merge. 2016-02-27 12:06:52 -05:00
Lirusaito
79965fade1 Alchemerge
Applies the following alchemy patches:
28fe46209ea5: Don't spam setPaused in fmod studio audio stream code
eb12ff41434a: Fix single click to walk triggering on huds
31955a7826b9: Fix double click to walk being triggered by huds and touchable objects
Fix double click to walk triggering while sitting and flying
Fix double click to walk behavior being inconsistent with single click to walk
Fix double click teleport being affected by transparent objects
Properly fixes MAINT-957

Compile stuff updates:
Adds VCRedist to package, should fix failure to launch reported by Nomade Zhao.
Updates package_description to better suit Singularity
Turns secondlife-bin in places to singularity-bin

Updates the following libraries:
Curl (7.47.0), gperftools (0.0.2), openssl (1.0.2f), SLVoice on Linux64,
2016-02-25 21:13:13 -05:00
Lirusaito
d15ac7640c More C++11 cleanups, mostly from alchemy 2016-02-22 22:47:01 -05:00
Lirusaito
6a95f3b692 Fix Issue 1654 based on Shyotl's notes and work in Alchemy.
That's the Intel HD 3000 on Windows can't do ALM bug, by the way.

#close SV-1654
2016-02-22 20:51:22 -05:00
Lirusaito
ac03994861 Add debug setting LiruFlashWhenMinimized, because flashing taskbar is annoying! 2016-02-22 20:47:55 -05:00
Lirusaito
3227a44e0f Sync with Alchemy. 2016-02-22 20:46:34 -05:00
Lirusaito
c3e593c20e Fixes to gcc and debugs and such. 2016-02-15 16:35:31 -05:00
Lirusaito
731e907653 Add back the ability to install while a separate instance of the viewer is running. 2016-02-14 22:22:26 -05:00
Lirusaito
bf9899a99b Scope on a Rope 2016-02-14 18:16:35 -05:00
Lirusaito
6e3f404a1c Rip out old workarounds, hacks and macros for newer C++ features not being supported back in the day.
Adds LL_COMPILE_TIME_MESSAGE support to Linux.

llfinite -> std::isfinite
llisnan -> std::isnan
vector_shrink_to_fit -> vector.shrink_to_fit
2016-02-14 17:37:10 -05:00
Lirusaito
379543a405 Reorganize Autoresponse settings into a tab container.
Benefits:
There's now a lot more room on the autoresponse tab for more settings
- AutoresponseOnlyIfAway is now exposed.
The text field for response messages is now large
Drop Targets now take up the entire tab, so the item can be dropped anywhere within the autoresponse's settings context

Translators: panel_preferences_ascent_chat.xml
This will need some minor adjustments, obviously.
You'll also need to translate the new AutoresponseOnlyIfAway checkbox
2016-02-13 11:22:10 -05:00
Lirusaito
c5de5cf65c Per account stuff now works with control_name, so do Autoresponse caching for Cancel like everything else. 2016-02-13 11:03:03 -05:00
Lirusaito
af91c02504 These should probably be cached controls, they're frequently checked. 2016-02-09 04:18:17 -05:00
Lirusaito
8320480971 AntiSpam bypasses for friends and own objects should override the antispam master filter 2016-02-09 03:51:39 -05:00
Lirusaito
0e349736b7 All search on SL looks awful, let's just use the Web tab instead now. 2016-02-06 10:52:56 -05:00
Lirusaito
710b75b3a9 Fix "Save As doesn't enable if File Menu is torn off"
SV-2005 #close Fixfixed
2016-02-05 23:38:58 -05:00
Lirusaito
07302b45fd Branding fix for windows installer 2016-02-03 19:11:25 -05:00
Drake Arconis
ae09d3e397 Start to get windows installer generation and packaging in line with previous scheme to prevent shortcut breakage 2016-01-20 10:43:38 -05:00
Drake Arconis
6b84bfac15 Add a mechanism with which to determine viewer channel in the case of no commandline option 2016-01-20 10:09:23 -05:00
Drake Arconis
5e611669ab Fix windows build 2016-01-20 10:08:44 -05:00
Drake Arconis
35c409f744 Fix linux64 config and cmake up 2016-01-20 07:22:34 -05:00
Drake Arconis
01bf430b1a Get linux64 somewhat working 2016-01-19 10:07:27 -08:00
Drake Arconis
0180f965f7 Fix up linux autobuild config 2016-01-19 01:51:08 -05:00
Drake Arconis
8c69c4bcf0 Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer 2016-01-19 01:49:02 -05:00
Drake Arconis
a75ed131b7 Fix up more prebuilt issues 2016-01-19 01:47:58 -05:00
Drake Arconis
ae0ad8af92 Fix up some prebuilt names 2016-01-19 01:44:28 -05:00
Drake Arconis
eef327f18b Remove BerkeleyDB 2016-01-19 01:40:52 -05:00
Shyotl
bd26be78a9 Server occlusion prep. 2016-01-18 17:31:35 -08:00
Lirusaito
a62186c927 Merge branch 'master' of https://github.com/CmdrCupcake/SingularityViewer 2016-01-18 01:18:11 -05:00
Lirusaito
422db14725 Fix more warnings 2016-01-17 23:55:19 -05:00
Drake Arconis
949a9ab5dc Largely rework llfile* 2016-01-17 23:33:21 -05:00
Drake Arconis
e545281387 Disable aixml* and comment out related classes for later fixing 2016-01-17 23:32:58 -05:00
Drake Arconis
78561d7ac7 Link LLCommon as static 2016-01-17 23:32:02 -05:00
Drake Arconis
681c85b122 Revert to older calc parser code for now 2016-01-17 23:31:38 -05:00
Drake Arconis
83338c1ee1 start to get linux64 working 2016-01-17 12:56:17 -05:00
Drake Arconis
0824055b29 Remove ELFIO 2016-01-17 11:45:35 -05:00
Drake Arconis
8a6bb4c00a Add options for LTO and Incremental Linking for windows 2016-01-17 08:19:17 -05:00
Drake Arconis
0fe3a2623a Fix double std::endl 2016-01-17 08:11:54 -05:00
Drake Arconis
6e73b33b91 Add missing header files for basic_plugin_base and media_plugin_base to cmake 2016-01-17 08:11:24 -05:00
Lirusaito
b9799a938a Merge branch 'master' of https://github.com/CmdrCupcake/SingularityViewer 2016-01-17 04:13:47 -05:00
Lirusaito
3b7f801f90 [Radar] The final touches to make the title updating work perfectly
Special thanks to Mika-Pyon!
2016-01-17 02:28:55 -05:00
Drake Arconis
24b570d89c Add flag to use quicktime prebuilt 2016-01-16 18:51:29 -05:00
Drake Arconis
58e08a972d Get windows 64-bit building 2016-01-16 18:50:38 -05:00
Drake Arconis
47bdf3ecea Minor fixes to autobuild.xml 2016-01-16 18:18:17 -05:00
Drake Arconis
69d67e57a6 Fix a VS2015 warning 2016-01-16 17:03:15 -05:00
Drake Arconis
615fe30ba8 Minor cmake cleanup 2016-01-16 17:03:04 -05:00
Drake Arconis
947f08a4d4 Add windows 10 versioning code 2016-01-16 16:43:32 -05:00
Drake Arconis
a17b849d84 Manifest for windows 10 2016-01-16 16:39:36 -05:00
Drake Arconis
466cc68580 Rename OS configs to normal variants 2016-01-16 16:28:14 -05:00
Drake Arconis
bb18bef58e Add updated colladadom for boost 1.60 2016-01-16 16:23:04 -05:00
Drake Arconis
d219087950 Remove llqtwebkit, add cef 2016-01-16 16:14:04 -05:00
Drake Arconis
2a072bfc67 Add package-based licenses to about floater 2016-01-16 13:31:21 -05:00
Drake Arconis
a5b03d1c0f Kill winmmshim, remove dead files 2016-01-16 13:14:09 -05:00
Drake Arconis
1d2995666f Remove FMOD Ex 2016-01-16 13:07:51 -05:00
Drake Arconis
e8ec5d750c Hacks to get fmod working for now 2016-01-16 12:49:35 -05:00
Drake Arconis
f36d4eb03a Installer rework WIP 2016-01-16 12:49:25 -05:00
Drake Arconis
e9f4b917d1 Fix up icon copying and make manifest actually start to kinda work again 2016-01-16 11:18:40 -05:00
Drake Arconis
13666ac62a Change out versioning code for less hacky versioning code 2016-01-16 10:06:07 -05:00
Drake Arconis
2f2e1fbe8f Major breaking changes 2016-01-16 08:05:47 -05:00
Drake Arconis
05ec61d0b0 Banish this file 2016-01-16 04:11:35 -05:00
Lirusaito
aa250836f6 [Radar] Fix title not updating properly all the time 2015-11-26 09:25:38 -05:00
Lirusaito
e395d2fdf8 [Radar] Fix the "people not being removed from radar" problem
We'll now make sure expired avatars are not elsewhere in the world(a different visible region) when we remove them
View without space changes.
2015-11-26 08:47:15 -05:00
Lirusaito
ba68d2e231 Remove duplicate windlightses 2015-11-24 12:08:43 -05:00
Lirusaito
c28b241c69 Merge branch 'master' of git://github.com/siana/SingularityViewer 2015-11-20 07:24:30 -05:00
miKaぴょん
4d8f75fb32 Translate German doubleclick autopilot setting 2015-11-20 00:54:53 +01:00
miKaぴょん
8dfeeee231 Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer 2015-11-20 00:18:22 +01: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
Lirusaito
110faf188b Blorgysh 2015-11-17 21:07:14 -05:00
Siana Gearz
c358ffe8e2 Fix QueryPerformanceCounter eating more than half the CPU on AMD Win-x86_64
The issue was in fast timers, making the naming highly ironic.
Rewrote to use RDTSC intrinsic. Doubled the framerate.
2015-11-18 00:55:11 +01:00
Lirusaito
475de32aea [Radar] Fix instances where avatars leave but remain on the radar. 2015-11-17 05:59:23 -05:00
Lirusaito
46fa98419c Using pointers instead of references is so uncool. 2015-11-17 05:54:40 -05:00
Lirusaito
16daa6850e Finish adding AutoPilot to preferences (my bad!) 2015-11-16 23:40:54 -05:00
Lirusaito
a9eb118897 Sync with upstream alchemy in removing the Lag Meter Floater
Useless floater, full of opensim drama we'll have no part in.
2015-11-16 23:40:43 -05:00
Inusaito Sayori
6cd64783f1 Repack darwin glod package for case-sensitive fs 2015-11-14 16:14:18 -05:00
Lirusaito
5485c8263e Fix typo causing linux crash. 2015-11-13 20:28:34 -05:00
Lirusaito
2207a7c6b1 Feature restore request: Allow removing from outfit from any folder height. 2015-11-13 20:24:18 -05:00
Damian Zhaoying
96a851993e Add new strings translations and fix some visual strings and buttons en IM floaters 2015-11-13 13:23:43 -05:00
Lirusaito
73916e6483 For testing UI without logging in, add Load from XML... to Advanced menu of login. 2015-11-13 13:07:01 -05:00
Lirusaito
701f53e8e6 It appears I forgot to include the Accordion textures in a commit. 2015-11-13 13:06:49 -05:00
Lirusaito
855e1d9caa Add Double-click Autopilot option to System->General preferences.
Translators:
Nomade: Please review the french System->General and make sure it reads properly
Damian: Please take care of translating panel_preferences_ascent_system.xml
miKa: Please update the translation of panel_preferences_ascent_system.xml so it reads properly.
2015-11-13 13:06:33 -05:00
Lirusaito
966be89d98 Fix Mac not packaging with fmod and therefore exploding.
if configuration (set by CMAKE_CFG_INTDIR) is '.', we now fallback on buildtype in viewer_manifest.py
2015-11-10 20:28:40 -05:00
Lirusaito
38eac50597 Fix Land Group info button being forty pixels too high.
Thanks for letting us know, Pure Bluestar!
SV-1978 #close Foxed it~
2015-11-09 04:47:51 -05:00
miKaぴょん
6be5a24d5e Draw physics shapes instead of black screen. 2015-11-02 16:48:01 +01:00
Lirusaito
9b18f15655 Fix opensim by modernizing 2015-11-01 10:38:57 -05:00
Lirusaito
9508ed20a7 Ohnoes, FMOD Studio updated to match Alchemy
Such Lazy, Wow!
Fixes 404 when building for mac.
2015-10-26 15:40:35 -04:00
miKaぴょん
1f5a6bb6b6 Disable vertical tab resizing over maximum width
In some situations, the label of tabs changes which caused the tab to
resize.
For example, when using vertical tabs for instant messages in combination
with "Display Names (w/Username)" for chat tabs, the display name does not
instantly load sometimes (when not in the avatar name cache?) and the
username is set. After the display name loads the tab label is set to the
display name which triggered a resizing of the tab and could cause it to
overlap the chat box.
2015-10-14 20:48:23 +02:00
miKaぴょん
2bf0a912fb Add German translation for Tab tooltips 2015-10-06 11:18:26 +02:00
Inusaito Sayori
897e175d3c Make Linux happy. And finish FIXME in tabcontainer to remove hardcoded strings.
Translators: Please translatetab_tooltip_prev and tab_tooltip_next in strings.xml
2015-10-05 22:14:10 -04:00
Inusaito Sayori
bc0709b9c6 More work on accordions, let params do lluiimages like upstream 2015-10-05 15:08:48 -04:00
Inusaito Sayori
ed701f9c88 Compiler fixies 2015-10-05 15:08:47 -04:00
Inusaito Sayori
79a179f569 Do accordions now, too. 2015-10-05 15:08:45 -04:00
Inusaito Sayori
f62c2beb1a Fix massive vertical rezplats, oops.
Thanks for pointing this out Router.
2015-10-05 15:08:44 -04:00
TighMacFanatic
c563e79c55 Fixed hitting cancel on bump map textures removing the texture that was already there. 2015-10-05 15:08:42 -04:00
miKaぴょん
fa07fcf5a7 Set tooltip for vertical tabs 2015-10-05 17:50:35 +02:00
miKaぴょん
1c40bcf63d Do not steal focus from LSL script error console
When selecting a list item in the script error console the focus was
moved to the script text editor. Errors could only be copied with the
keyboard shortcut while clicking and holding the mouse on a single item.

The output can now be selected to allow copying with keyboard shortcuts
(CTRL-C) and (multiple) selection like any other list (CTRL + left mouse
or CTRL-A).
2015-10-05 17:32:19 +02:00
miKaぴょん
890d1f91ff Try to follow coding conventions
Some tiny changes as requested:
- Changed loop bracket style
- Cleaned up the loop for more readability
- Using a const_interator
- Removed NULL check
2015-09-27 06:12:12 +02:00
miKaぴょん
8fbce02226 Remove all selected entries from asset blacklist
Previously, the "Remove" button in the asset blacklist floater removed
the last clicked-on entry only - even when selecting multiple rows (by
holding CTRL and clicking on entries).
This behaviour is unintuitive and tedious when trying to selectively
remove multiple entries.

The feature was requested in the group chat. Tested both removing a
single entry and multiple entries with two different avatars on Linux.
2015-09-23 19:03:17 +02:00
Siana Gearz
62a7704a4f You shaved 2 minutes off compile time...
... but you are still hungry
2015-09-18 04:29:38 +02:00
Inusaito Sayori
eaf790c118 Fix warning due to pettiness 2015-09-11 17:43:01 -04:00
Inusaito Sayori
e9429b382d Alchemy's "Temp fix some breakage and a crash" by Drake Arconis
Fixes that mesh issue.
2015-09-11 17:26:46 -04:00
Inusaito Sayori
feb09158ec FMOD Studio update to 1.06.09 (1.06.07 on Linux32)
Fixes the messed up sound issues we've been having with 1.06.01 (and maybe before?)
2015-09-11 17:26:34 -04:00
Inusaito Sayori
b21dbc46bb Cleanup cof_pending code and attempt to restore old bodypart adding behavior. 2015-09-11 17:26:24 -04:00
Inusaito Sayori
bb4109f982 Fix Tried to access singleton 19LLFloaterAvatarList from singleton constructor!
SV-1979 #resolve
2015-09-04 15:43:39 -04:00
Inusaito Sayori
21729724a7 Fix teleport commands that are local not being done properly. - Alchemy Sync 2015-08-24 22:21:49 -04:00
Inusaito Sayori
a67b992216 Hack around hover object bug until we upgrade from llhoverview wholesale. 2015-08-15 20:53:58 -04:00
Inusaito Sayori
269903ff75 Sync lltoolpie, fix the boogs. 2015-08-15 00:48:04 -04:00
Inusaito Sayori
1ff4094467 Hack around opensim having completely broken folder types. (by Drake Arconis) 2015-08-14 19:26:56 -04:00
Latif Khalifa
b780878a55 Be more portable.
UINT and DWORD to U32.
Fixes non windows builds.
2015-08-13 06:29:37 -07:00
Inusaito Sayori
46db0d8d50 Sync llviewermedia with alchemy. 2015-08-12 20:09:21 -04:00
Inusaito Sayori
b16058dc83 Remove no-link support more. 2015-08-12 20:08:43 -04:00
Inusaito Sayori
9c06d76b1e [Opensim] Add suitcase stuff, thanks Cinder!
Conflicts:
	indra/llinventory/llfoldertype.cpp
	indra/llinventory/llfoldertype.h
	indra/newview/llviewerfoldertype.cpp
2015-08-12 15:01:23 -04:00
Inusaito Sayori
773a2a3855 There are no grids that don't support links.
Conflicts:
	indra/newview/llinventorybridge.cpp
2015-08-12 14:58:42 -04:00
Inusaito Sayori
383cd45432 Warning fixies. 2015-08-12 14:57:17 -04:00
Inusaito Sayori
5ac64dfa96 decap 2015-08-12 14:55:14 -04:00
Inusaito Sayori
cfe82e7f1f Linux is not Windows... 2015-08-12 14:55:09 -04:00
Inusaito Sayori
3888bfee18 Include platform version with platform. 2015-08-12 14:55:01 -04:00
Inusaito Sayori
9dadc8c054 Warnings fixes, mostly signed/unsigned mismatch 2015-08-12 14:54:49 -04:00
Inusaito Sayori
dfa40d8939 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2015-08-12 14:52:52 -04:00
Inusaito Sayori
e797a5eb0e Fix owner names being cut off in About Land floater
SV-1930 #resolve
2015-07-27 19:08:50 -04:00
Inusaito Sayori
3c69f34b2f Fix duplicate notification templates
Thanks for pointing this out, MiVo.
2015-07-27 19:08:45 -04:00
Inusaito Sayori
31867a8bbf Alchemy crouch toggle code sync. 2015-07-27 19:08:37 -04:00
Inusaito Sayori
fd5dae59ae Stop hurting my feelings, gcc, I try so hard and you just don't seem to care. 2015-07-23 14:41:53 -04:00
Inusaito Sayori
8543405219 GCC blahblah 2015-07-23 14:36:27 -04:00
Shyotl
25fbeb2080 Resolve compilation errors when building under RelWithDebInfo configuration. 2015-07-23 03:06:17 -05:00
Inusaito Sayori
56ea5b27fd haisujs axune padoxcunal aerngralt 2015-07-23 03:34:42 -04:00
Shyotl
e335848169 Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer.git 2015-07-23 01:48:45 -05:00
Shyotl
09f3376259 Apparently there's some poor branch prediction behavior with various gcc versions. Apply tweak from v3 in assert_glerror(). 2015-07-23 01:39:50 -05:00
Shyotl
0b6e69de7e Better handling of texture filtering in deferred post-process passes. TODO: Investigate incorrect fxaa behavior when resolution divisor isn't 1.0. 2015-07-23 01:38:03 -05:00
Shyotl
f5fcf385e4 Experimental disabling of adding/removing wearables when link-creation/old-link-deletion is still pending a response from the server. 2015-07-23 01:35:58 -05:00
Shyotl
22b12223ef Manual swizzling of textures when in coreGL mode incorrectly overrode pixel pointer just prior to copying to to scratch buffer. 2015-07-23 01:33:28 -05:00
Shyotl
3fc035f568 Trivial cleanup of removal of translation component from transformation matrix when drawing cubemaps. 2015-07-23 01:30:31 -05:00
Shyotl
b2065b43a5 Added new preprocessor flag 'NO_CWDEBUG'. Excludes cwdebug.h from linden_common.h if set, as cwdebug inclusion complicated unit testing. 2015-07-23 01:29:26 -05:00
Shyotl
dbd1eb0d68 Apply occlusion refactor. 2015-07-23 01:24:12 -05:00
Shyotl
dedd75dc4f Implement all aisv3 HTTP requests. Added PATCH and COPY methods. 2015-07-23 01:02:02 -05:00
Inusaito Sayori
1a6e99a9e3 Sync with Alchemy to go from keys.ini to keys.xml 2015-07-22 01:53:42 -04:00
Inusaito Sayori
4c0038a8ec Hi xuiparser! 2015-07-22 01:49:18 -04:00
Inusaito Sayori
8d76b798c9 Fix a crash that was possible when teleporting without quick settings having been opened. 2015-07-21 03:59:31 -04:00
Inusaito Sayori
47d9c6d0b5 Revert "More unicodification to fix JP"
This reverts commit 7ee66bebe2.
Damn thing breaks diffing.
2015-07-21 03:58:27 -04:00
Inusaito Sayori
defb530e8b Revert "Change llavatarname.h to unicode to kill linker warnings when using Japanese codepage."
This reverts commit f2e57d72ef.
2015-07-21 03:55:39 -04:00
Inusaito Sayori
0b70603a0c Tweak removeWord code to make it work for text editors and make more sense 2015-07-17 22:07:35 -04:00
Inusaito Sayori
3d1d138074 [RLVa] includes cleanup by kitty 2015-07-17 22:06:30 -04:00
Inusaito Sayori
bb2537dbaf Fix Issue 1960: Wrong positon display in mouselook 2015-07-16 17:14:05 -04:00
Inusaito Sayori
7ee66bebe2 More unicodification to fix JP 2015-07-16 15:16:46 -04:00
Inusaito Sayori
f2e57d72ef Change llavatarname.h to unicode to kill linker warnings when using Japanese codepage.
Yeah, I've been playing those anime games lately...
2015-07-15 23:22:25 -04:00
Inusaito Sayori
770f46157b [Radar] Correct a flaw in which initialization of the avatar list would just be a refresh of the gui
Without first populating the list, this was pretty much nothing doing, now the list will populate initially.
Previously, it could be that opening and closing the radar (when not in announce even when closed mode) would yield an empty radar should the sim have been stingy or the connection been rather latent.
2015-07-15 23:00:44 -04:00
Inusaito Sayori
0843505fae [Radar] When opening, refresh the avatar list gui
Normally we cut back on refreshAvatarList calls to avoid work when not visible.
When we reopen, there needs to be a call to refreshAvatarList so the user isn't waiting for position updates to see correct data.
2015-07-15 22:06:10 -04:00
Inusaito Sayori
a4e732da5f [Radar] Stylistic opts. 2015-07-15 21:51:48 -04:00
Shyotl
2b9245ba2e Nullptr crash fix that has been sitting unstaged for too long. 2015-07-13 15:09:15 -05:00
Shyotl
d8207424fa Removed LLUpdateAppearanceAndEditWearableOnDestroy. Use LLUpdateAppearanceOnDestroy + edit_wearable_and_customize_avatar callback. 2015-07-13 15:08:32 -05:00
Shyotl
7a5cd5b659 Have removeCOFLinksOfType also immediately update local inv. Also have it support callbacks (Although unused in singu.) 2015-07-13 15:06:35 -05:00
Shyotl
18ac6dcb60 Fix 'Wear' action if a wearable of that asset id is already worn; option should now be disabled if there's already a worn wearable with a matching assetid that would NOT be replaced by said 'Wear' action. (It should work otherwise). 2015-07-12 02:35:14 -05:00
Shyotl
4cce1f73c8 Remove llwarns spam on rightclick of bodypart in inventory. Also, disabling 'add' option if group selected wearables would exceed wearable limits should not in any way override visibility of that option. 2015-07-12 02:08:14 -05:00
Inusaito Sayori
5e71af2ed7 control_name here caused the server to be spammed and throttle us. 2015-06-29 08:34:24 -04:00
Inusaito Sayori
d8389e6fa7 Don't be retarded, LL.
Thanks to Drake Arconis for pointing this out.
2015-06-28 10:04:06 -04:00
Shyotl
865ab0572d Missed some c++11 bits. 2015-06-27 02:55:22 -05:00
Shyotl
3f3ead0988 Merge branch 'master' into AISv3-WIP
Conflicts:
	indra/newview/llinventorybridge.cpp
2015-06-27 01:30:28 -05:00
Shyotl
a380161283 Merge in select parts of https://bitbucket.org/Kitty_Barnett/rlva-development @ 1adfc2cd210c4cf3a8800b31915d363bfe47d045 2015-06-26 20:59:31 -05:00
Shyotl
1e488fef6d Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer.git
Conflicts:
	indra/newview/llviewerregion.cpp
2015-06-26 20:38:43 -05:00
Inusaito Sayori
c6672b3347 Address Issue 1954: OnlineStatus in groups general tab (with OpenSimulator) 2015-06-26 21:38:34 -04:00
Inusaito Sayori
e5c0a362d7 Clean up stupidity in floatertools 2015-06-26 04:54:22 -04:00
Shyotl
4d61305095 GCC fixup. 2015-06-26 01:40:01 -05:00
Shyotl
18c6330af7 Remove unused index_array pointer in LLFace::renderElements and LLFace::pushVertices 2015-06-25 20:24:25 -05:00
Shyotl
af81f692de Remove superfluous check in llfontgl. 2015-06-25 20:21:33 -05:00
Shyotl
ada7e3ca30 Make clang happier. 2015-06-25 20:19:55 -05:00
Shyotl
41357e579a Missed LLError::LLCallStacks::cleanup call on shutdown. 2015-06-25 20:19:26 -05:00
Shyotl
9f10d9510d Initial AISv3 merge. New HTTP messages not plugged in yet. 2015-06-25 20:16:30 -05:00
Inusaito Sayori
1368cd6816 Fix that thing that spammed Nomade. 2015-06-25 03:07:04 -04:00
Inusaito Sayori
b3b2da1428 [Radar] Reroute some code, optimize silly stuff away.
No more dead state, death is instant when you disappear
No more dependency on frame or life time, updates come from the sims.
No need to rate control anymore, ui removed.

RIP: My headphones, you were shortlived, but you served my ears well.
2015-06-25 02:57:48 -04:00
Inusaito Sayori
fdab6d0efb [RLVa] - changed : reimplemented the @adjustheight command using LL's new hover functionalit 2015-06-24 21:44:59 -04:00
Inusaito Sayori
91029955f6 In some cases, one may have modular outfits, added to each other; let it be so! 2015-06-19 22:46:56 -04:00
Inusaito Sayori
990b5f9bb4 Linux Build Foxes 2015-06-19 19:55:56 -04:00
Shyotl
09f4528bfb Removed LLDynamicArray, LLDynamicArrayIndexed, LLDynamicArrayPtr, LLDLinked, LLDynamicQueuePtr, LLEnum, and LLIndexedQueue. Added new LLPointer variants. 2015-06-19 18:27:21 -05:00
Inusaito Sayori
8f2c92d198 Fix warnings. 2015-06-19 17:28:09 -04:00
Inusaito Sayori
b11511b7b9 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer
Conflicts:
	indra/newview/lldrawpoolwlsky.cpp
2015-06-19 05:42:49 -04:00
Shyotl
1c627317ec No longer include llerrorlegacy.h. Updated llstl to include deletion utilites. 2015-06-19 03:54:20 -05:00
Inusaito Sayori
2bd2a7a64b Sync with upstream to refix Issue 1946: Unable to view other Group Land info with Admin mode under builds 6xxx+
LL reverted a change they made during viewer-tiger, apparently. Silly LL.
2015-06-18 23:52:36 -04:00
Inusaito Sayori
0965bc576c Port alchemy fixy: Make the radar not spam the end-user on teleport
Thanks to Sim Federal of Alchemy Viewer Team
2015-06-18 23:52:26 -04:00
Inusaito Sayori
6b20a85071 Select Texture=>Select Face 2015-06-18 23:08:41 -04:00
Inusaito Sayori
fd070315e9 Fix Issue 1945: llListStatistics not recognized as a function 2015-06-11 19:48:20 -04:00
Inusaito Sayori
b3709a0343 Woops, unused variable! 2015-06-11 08:39:29 -04:00
Inusaito Sayori
b35d1b7005 Accept and respect Opensim's login response with "classified_fee" (otherwise assume 0 for opensim) 2015-06-10 13:47:06 -04:00
Inusaito Sayori
aad24fa5c5 Solve Issue 1944 by allowing classified fees >= 0 on opensim
Opensim really needs to broadcast minimum classified fee...
Meh, guess they'll have to enforce that on the server...
2015-06-08 09:26:22 -04:00
Inusaito Sayori
a0fb5cdaa7 [RLVa] Hide avatar-render-specific ui for people who are out of camavdist
Hides lookat lines, nametags, and overhead voice indicators for hidden avs.
While this isn't necessarily according to spec, this keeps the ui from looking out of place with no avatar to show with it

View without space changes? Meh, doesn't matter so much.
2015-06-04 12:21:49 -04:00
Inusaito Sayori
9f388fd7b8 [RLVa] If name or nametag restricted, camavdist restricted, rangefinder can only see within the limited distance.
(or in iff_range, if that's lower)
2015-06-04 09:51:35 -04:00
Inusaito Sayori
96e88b97ef [RLVa] When trapped in mouselook, avoid potential glitches and excess work if reset_view_final is called 2015-06-04 09:37:59 -04:00
Inusaito Sayori
63b67d62ef [RLVa] Fix things that weren't working (new commands with params)
Code cleanup, better word a comment or two
Don't claim to support camdraw* or camtextures commands until we actually do
2015-06-04 09:35:59 -04:00
Inusaito Sayori
e7a0867cf3 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2015-06-04 03:25:46 -04:00
Inusaito Sayori
e956b7da51 You threw your arms around us, in the hopes we wouldn't change
But we had to change some.
2015-06-03 18:13:26 -04:00
Shyotl
283f5298d5 Missed a line. This assert should only be evaluated when running in deferred. 2015-06-03 12:46:37 -05:00
Inusaito Sayori
2d6a400967 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2015-06-02 04:45:31 -04:00
Shyotl
0688cda8d2 More thorough VBO teardown in resetVertexBuffers/stopGL. Also, found cases where gGL.init failed to be called when it should have been. 2015-06-01 17:58:19 -05:00
Shyotl
142322528c Use LLColor4U::white instead of LLColor4::white when assigning as vertex color. 2015-06-01 16:56:24 -05:00
Shyotl
7a9a4f3e1e Local light setting toggle behavior was incorrect with shaders enabled. 2015-06-01 16:54:36 -05:00
Shyotl
d140d28af9 Tangent vecs aren't needed for non-deferred bump pas. Omit unless deferred is enabled. 2015-06-01 16:53:29 -05:00
Shyotl
f2883801ec Harden context recreation texture handling. 2015-06-01 16:38:25 -05:00
Shyotl
c965df0901 3d perlin noise was not generating proper results. 2015-06-01 16:36:35 -05:00
Inusaito Sayori
1d2daaae71 [RLVa] @camunlock means no flycamming away from the avatar!! 2015-05-26 20:14:45 -04:00
Inusaito Sayori
46e9d874e0 [RLVa] Implement guts of @camdraw* 2015-05-26 07:51:05 -04:00
Inusaito Sayori
a9fd9e6f2a [RLVa] Cleanup for the last commits
camAvDist, camMax and camMin are now combined into:
-camPole: returns the saved pole of the highest degree
-updatePole: updates the saved pole to the highest degree when the related exception is changed
Poles are now cached in a map called m_Poles in the RlvHandler.
2015-05-26 07:50:21 -04:00
Inusaito Sayori
75ba6cc67d [RLVa] @camdistmax, @camdistmin
This needs testing, this all needs testing...
but hey, at least it's here, right?
2015-05-26 06:16:28 -04:00
Inusaito Sayori
1720f2ebe4 [RLVa] @camzoommax, @camzoommin
Reload current saved zoom for clamping when imposing this restriction, whether that be mouselook zoom or regular.
Also some code cleanup.
2015-05-26 05:34:05 -04:00
Inusaito Sayori
9616a43cb0 [RLVa] Implement core of @camdrawcolor, without actually hooking it up. 2015-05-26 02:50:24 -04:00
Inusaito Sayori
c42e501f6f [RLVa] @camavdist 2015-05-26 02:49:23 -04:00
Inusaito Sayori
210c97986d [RLVa] Rlv Options can be floats or LLColor3s too now. 2015-05-26 02:35:40 -04:00
Inusaito Sayori
323b49de17 [RLVa] @camunlock
Causes LLAgentCamera::unlockView() to not happen, this turns off camera orbits.
Enables sim camera constraints regardless of user preference.
Resets camera when turned on.
2015-05-26 01:05:37 -04:00
Inusaito Sayori
d81497d29f [RLVa] Skeleton for implementation of RLV 2.9 features. 2015-05-25 19:52:35 -04:00
Inusaito Sayori
e2347651e9 I dunno what this is... Code clean up? Sure. 2015-05-25 15:40:15 -04:00
Inusaito Sayori
dcb349d55d Satisfy Issue 1932: Totalgroup member count 2015-05-25 15:37:31 -04:00
Inusaito Sayori
5be98205d4 [RLVa] Allow offering calling card when name restricted.
Also cleanup dumb old code around this area
2015-05-25 14:27:50 -04:00
Inusaito Sayori
e7f4a1d5a2 Cure us of Issue 1931: UI Cleanup - Stacked Notice Windows 2015-05-25 14:26:33 -04:00
Shyotl
a7ba5145cc Inline shader uniform setters, and cache values in vectors instead of maps. Also, deleted mUniformNameMap, mUniformNameMap, and uniform2i, as they were unused. 2015-05-23 17:16:02 -05:00
Shyotl
d4a56c6d94 Toss attachments into their own bridge that sets their type to TYPE_AVATAR, and use generic bridge for plain old 'active' volumes. Resolves issue where non-attached ACTIVE flagged linksets would be included in the avatar render type, and thus would vanish when such type was disabled. 2015-05-22 16:14:57 -05:00
Inusaito Sayori
36347aba83 [RLVa] Censor Report Abuse floater
This shouldn't matter because it only censors the ui elements, everything else the floater sends is untouched, ids and actual name variables...
It annoyed me that pie menu could work around @shownames and @shownametags restrictions.
2015-05-22 16:53:43 -04:00
Inusaito Sayori
4f8cbb8c06 [RLV] 2.9: @shownametags
This hides name tags and names whenever possible, except from chat.. when not possible, falls back on anonyms

Changed: Radar no longer hidess based on @shownames, that's silly.. now radar hides names when @shownames
Radar will alert when @shownames restricted, but not when @shownametags restricted
Radar will not offer menu when @shownames or @shownametags restricted, and the IM and Profile buttons will disable.

Hopefully fixed broken RLVa logic in llfloaterobjectiminfo.cpp
Fix slightly broken RLVa logic code in llpanelpermissions.cpp
Changed: Range Finder now disallowed when minimap disabled, show loc restriction doesn't change it anymore.
Fix broken hiding of names when offering teleports; rlv_shownames param doesn't seem to always pass, work around those situations...
^-This causes some false positives, I suppose, if you offer teleport from friends list to someone in the region, but better safe than sorry.
2015-05-22 16:53:32 -04:00
Inusaito Sayori
aa1e0ce067 Feature Request: Add option to hide own look at beacon(from Alchemy)
Option is in System->Security & Privacy, at the top with the rest of the lookat options.

Syncs llhudeffectlookat with Alchemy
2015-05-20 21:09:56 -04:00
Inusaito Sayori
eec85de620 Allow operating with linked folders as though they were mostly folders, show clipboard menu entries on all folders (except COF)
Paste pastes into the linked folder, you've been warned.
2015-05-20 13:19:57 -04:00
Inusaito Sayori
03f2192684 At the request of Aleeri in group, add support for EXP-901
Notifies nonfriends when their chat is blocked
This is instead of showing the muted autoresponse message, so only muted people will see it now.

Also cleans up some excess autoresponder code.
2015-05-20 11:31:28 -04:00
Inusaito Sayori
078a6980b9 Feature: Find on Map from IM floater's flyout menu. 2015-05-19 11:49:35 -04:00
Inusaito Sayori
1fcb478a2a Offer Sit on away option in World->Status submenu. 2015-05-19 06:59:28 -04:00
Inusaito Sayori
9e482bcb22 Correct Issue 1925: Dark Skin Group Notice Window 2015-05-19 06:59:04 -04:00
Inusaito Sayori
2bb4df78ad Fix block conference options not being selectable from preferences.
Thanks to Nomade Zhao for pointing this out!!
2015-05-19 06:58:18 -04:00
Inusaito Sayori
63d7e18456 Selectable cloud textures (from Alchemy)
Option is in Clouds tab of the Advanced Sky Editor.
2015-05-19 06:57:26 -04:00
Inusaito Sayori
9ed99176f7 Fix combo boxes with control_names not starting with the right value.
TODO: Fix the existing workarounds all everywhere... mostly in prefs.
2015-05-19 06:53:06 -04:00
Inusaito Sayori
38983e30fb Cleanup code a bit in snapshot floater and make stuff look nicer there too. 2015-05-19 06:39:25 -04:00
Shyotl
af020ad558 LLViewerShaderMgr::setShaders() should be called unconditionally upon restoreGL. 2015-05-18 15:36:50 -05:00
Shyotl
55e3ddb465 Can't you just be happy GCC? It's all I've ever wanted. 2015-05-18 14:02:39 -05:00
Inusaito Sayori
b7f2d741e7 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2015-05-16 04:13:11 -04:00
Shyotl
690f3614c1 Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git
Conflicts:
	indra/llrender/llpostprocess.cpp
2015-05-16 02:53:19 -05:00
Shyotl
f827d77600 Verify CoInitialize call was successful (on Windows only). 2015-05-16 02:31:32 -05:00
Shyotl
48c0c6eb39 Format specifier %zu is invalid with visual studio. Use %Iu for that platform, instead. 2015-05-16 02:31:16 -05:00
Shyotl
966c5aa409 Remove redundant methods of checking if shaders are enabled. Just use LLGLSLShader::sNoFixedFunction. 2015-05-16 02:31:06 -05:00
Shyotl
2131067436 LLPerlin #include cleanup. 2015-05-16 02:30:57 -05:00
Shyotl
aa9cc7a50d Fixed div-by-zero issues in LLStat. 2015-05-16 02:30:36 -05:00
Shyotl
8943439629 Remove dupilicate perlin noise impl, and update the remaining one. 2015-05-16 02:30:32 -05:00
Inusaito Sayori
2c1f1255fa FMOD Studio 1.06.01 2015-05-15 16:15:54 -04:00
Inusaito Sayori
f79b28117d translate preview flyout_button where button was previously translated. 2015-05-15 06:34:24 -04:00
Inusaito Sayori
173de071f6 There is no wind under water. 2015-05-15 03:51:57 -04:00
Inusaito Sayori
a4da61ae0b Ease up enable_move and enable_rotate restrictions in object tab of build tools.
Also cleans up duplicate logic

Explanation and Justification:
Move permission is needed to rotate and move
Move and rotate are actions you can perform via manip tools on attached linked prims already
This just enables the GUI controls for something that was already doable via other means such as mouse.
2015-05-15 02:07:35 -04:00
Inusaito Sayori
580a7a4599 Additional buttons was pushing text off the edge of area search, refresh and stop are now icons. 2015-05-15 01:07:57 -04:00
Inusaito Sayori
d02df9e451 Can minimize the local chat floater. 2015-05-15 01:06:31 -04:00
Inusaito Sayori
4e4dbd4012 Satisfy Issue 1916: Local Gesture Preview/Play
Adds a dropdown option to gesture preview button to preview locally.
Note that any chat commands in gestures will still work as they normally would!

Translators: do your thing or hold your peace. (floater_preview_gesture.xml)

These code changes will look nicer viewer without space changes~
2015-05-14 23:55:20 -04:00
Inusaito Sayori
8e05524027 Add TP and Look options to area search (happy now?) 2015-05-14 11:22:36 -04:00
Inusaito Sayori
67836ecf67 Actually, show the blue warning, it's intentional, it's only a warning.. 2015-05-14 09:31:15 -04:00
Inusaito Sayori
a974ca096c Allow setting the label of a flyout button dynamically in code. 2015-05-14 07:30:49 -04:00
Inusaito Sayori
361d3542a4 Fix that blue warning that annoyed Nomade. 2015-05-14 04:59:53 -04:00
Inusaito Sayori
1db2ffe02b Feature Request: Allow blocking conferences from nonfriends exclusively.
Option is in Communication tab, as the old one was.

Translators will need to localize this. (panel_preferences_im.xml)
2015-05-12 18:00:14 -04:00
Inusaito Sayori
235693f134 You're all so special. 2015-05-12 09:13:44 -04:00
Drake Arconis
1e0243aa3d Fix some 64bit-unsafe windows code 2015-05-12 09:11:59 -04:00
Inusaito Sayori
2631ae91e7 Sync notifications with upstream to fix Issue 1913: Unable to log in. ERROR 2015-05-07 09:33:30 -04:00
Inusaito Sayori
e71d94aa69 Words lie. People lie. The land tells the truth. 2015-05-05 20:35:01 -04:00
Inusaito Sayori
4b96251852 This is why we can have nice things. 2015-04-24 23:57:29 -04:00
Inusaito Sayori
193fc27ba2 Issue 1836: Autoresponse Improvement, adds World->Status->Autoresponse submenu
Moves Fake Away, Busy, and Away into a submenu of World called Status, from upstream.

Tweak to LLView::findControl to work with per account controls too.
TogglePerAccountControl added for when a control a menu is using is not in the main group.
2015-04-24 23:41:19 -04:00
Inusaito Sayori
a6ae79f9b1 Stylistic changes and whatnot for LLDropTarget what with setValue and setItem
Conflicts:
	indra/newview/lldroptarget.h
2015-04-24 19:15:17 -04:00
Inusaito Sayori
9ce9a1f472 LLDropTarget::mEntityID=>LLDropTarget::mID 2015-04-24 18:27:01 -04:00
Inusaito Sayori
b9a6fb8468 In pay floaters, display proper currency symbol on non-SL grids. 2015-04-23 23:56:01 -04:00
Inusaito Sayori
2cfc90736d Foxes don't have bedtimes. 2015-04-23 06:31:32 -04:00
Inusaito Sayori
886a05549d Fix alignment of Text Chat Preferences; bottom_delta > bottom 2015-04-19 19:26:51 -04:00
Inusaito Sayori
9f06333a86 Address Issue 1897: Pressing letter keys STARTS local chat
Option lives in Text Chat preferences. "Letter keys start typing into local chat"

Code is from upstream..ish
2015-04-19 18:59:17 -04:00
Inusaito Sayori
b28e4e06ae refresh_desktop_app_entry.sh lives in etc/ now, missed that spot.
Thanks to H-H-H for pointing this out.
2015-04-19 18:09:40 -04:00
Inusaito Sayori
8b7b0649a8 Uncomment use of etc/ for spawnWebBrowser on Linux, now that we use etc/ for scripts.
Thanks to H-H-H for pointing this out.
2015-04-19 18:08:49 -04:00
Inusaito Sayori
be41d8f734 Getting possessive 2015-04-18 13:11:13 -04:00
Inusaito Sayori
036d5b84d1 UseHTTPInventory can never be turned off on SL anymore. 2015-04-07 18:37:34 -04:00
Inusaito Sayori
f514243c1b Make /regionsay fall back on normal chat pipes 2015-04-04 15:47:20 -04:00
Inusaito Sayori
0d27d0cbc7 Inventory decline notifications are annoying, add LogInventoryDecline from upstream.
View without space changes please~
2015-04-04 15:31:39 -04:00
Inusaito Sayori
744def3c1f French Translation updates~ Thanks Nomade! 2015-04-01 01:54:46 -04:00
Inusaito Sayori
e73ebfdb76 Merge branch 'master' of https://github.com/DamianZhaoying/SingularityViewer 2015-03-25 17:39:15 -04:00
Inusaito Sayori
eb0247d27a Revert "[STORM-2109] Apply fixes from Brett Joseph of Vivox", this doesn't seem ready yet.
This reverts commit 0681b88cbc.
2015-03-25 08:18:32 -04:00
Inusaito Sayori
eefa0957ab Minor tweak to a label 2015-03-25 08:05:50 -04:00
Inusaito Sayori
9d8028009e French translation pokings from Nomade 2015-03-25 08:05:07 -04:00
Inusaito Sayori
398014b118 Port Hover Height from Alchemy, it's in quicksettings~
Lots and lots of other sync~
Also has a command /hover
Added /resync command from Alchemy.
2015-03-25 08:04:24 -04:00
Inusaito Sayori
a54937b4b8 Don't disable friend right checkboxes forever, thank you~
Clean up old/dead code there, too.
2015-03-24 19:39:25 -04:00
Inusaito Sayori
11a3c93ab0 When the user changes cache size in network tab, clear cache too. 2015-03-24 19:24:33 -04:00
Damian
a50ec32474 Update floater_region_tracker.xml 2015-03-22 07:00:57 -03:00
Damian Zhaoying
0dc6bd937d Add file floater_region_tracker.xml to spanish translation 2015-03-22 06:56:16 -03:00
Damian Zhaoying
b124ca5ad3 Update translations on spanish files. 2015-03-21 22:37:20 -03:00
Lirusaito
abeb12ac75 Missed file, oopsies 2015-03-21 19:09:44 -04:00
Inusaito Sayori
f010120e52 Old Linux Fix 2015-03-21 15:15:22 -04:00
Inusaito Sayori
2b7071f862 Alt-Enter on login screen fullscreening, goodbye, good riddance. 2015-03-21 06:16:04 -04:00
Inusaito Sayori
bd6496fe4a More linux compile fix. 2015-03-21 06:07:47 -04:00
Inusaito Sayori
a7d3d08057 Linux compile fix, thanks for pointing this out, Ratany. 2015-03-21 05:36:00 -04:00
Inusaito Sayori
de6db7fa5a Fix the bug in LLFloaterEditUI that caused the width spinner to change the height 2015-03-21 03:48:10 -04:00
Inusaito Sayori
d7c8b00d90 In the Region Tracker Floater, save all selected items when refreshing. 2015-03-21 03:47:21 -04:00
Inusaito Sayori
578e5b7191 Fix wrong child names in world map 2015-03-21 03:46:22 -04:00
Inusaito Sayori
7811d8857c Port Region Tracker Floater from Alchemy~
Added getGridSpecificFile function to append the grid when it's not SL.

Also slightly rearrange Singularity menu.
2015-03-21 03:45:09 -04:00
Inusaito Sayori
27e69cab1e Support upstream's xui pattern of scroll_list.columns and such. 2015-03-21 00:36:47 -04: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
16a2b28c1b Put the two new mouselook settings under Input & Camera tab. 2015-03-19 04:02:32 -04:00
Inusaito Sayori
02c629a0b0 Pick up "AlchemyMouselookInstructions setting and make mouselook instructions useful" from Alchemy 2015-03-19 03:59:27 -04:00
Inusaito Sayori
6cd7941fd2 Feature Request: Offer to show that autoresponse to muted was sent.
Also, stop letting RLV filter cmdline_printchat() calls.
2015-03-19 03:37:01 -04:00
Inusaito Sayori
8cc2499f0a [RLVa] Respect @showloc in IFF 2015-03-19 00:04:12 -04:00
Inusaito Sayori
0681b88cbc [STORM-2109] Apply fixes from Brett Joseph of Vivox
Applies the following commits:
fe982eedd58b5ac91f250f8446dc44dd2624c976 - Better MediaConnect handling of 1026 return status,  media already connected.
6d343c74f6cfd456f99bd4bc39fa7a5ef3a1fc50 - More voice related changes to improve the user's experience.
f85263acf3902f2d54e108c4b62fa090e91b2b6e - Added the loop back setting so people can hear themselves during the mic test.

Removes outdated SLim code from llimpanel.cpp
2015-03-18 22:59:44 -04:00
Inusaito Sayori
0367711e93 Fix ascent tag coloring borkage, woops. 2015-03-18 02:10:05 -04:00
Inusaito Sayori
ee8afcb19a RLVa fixes for shownames 2015-03-18 02:08:41 -04:00
Inusaito Sayori
07a03d17c1 Merge branch 'master' of https://github.com/DamianZhaoying/SingularityViewer 2015-03-17 01:42:09 -04:00
Damian Zhaoying
e40cee8708 Update spanish translations files and fix some typos. 2015-03-17 02:35:48 -03:00
Inusaito Sayori
242fc85245 Compile on Windows, dude~ 2015-03-17 01:27:54 -04:00
Inusaito Sayori
76c314c2ac For those who haven't changed it, turn the media filter off instead of prompting.
This doesn't really matter, and for some weird cases it's reported acting up, so better off that new users don't have to mess with it.
2015-03-16 21:36:59 -04:00
Cinder
ab4e195bb4 Fix search floater title 2015-03-15 10:38:28 -04:00
Lirusaito
be6ad2a919 Add Mouselook IFF from Alchemy!
Also Assorted Code Cleanup and sync with Alchemy
Debug Settings are AlchemyMouselookIFF and AlchemyMouselookIFFRange
Look to see if an avatar is in a nearby region always when checking if they're an estate owner.
2015-03-13 22:16:07 -04:00
Inusaito Sayori
f168d6b60a Apply Aleric's fix to llsingleton.h to fix issues with AISync stuff
Modified to diff with LL better.
2015-03-13 16:27:43 -04:00
Inusaito Sayori
585465d8c3 Patch Issue 1850: Graphical anomaly when searching inventory via creator 2015-03-09 18:57:58 -04:00
Inusaito Sayori
9c23439b85 Fix Issue 1849 by adding the missing keys from upstream 2015-03-08 09:09:33 -04:00
Inusaito Sayori
0f7036cb16 Restore Cinder's codesigning Support 2015-03-08 09:08:41 -04:00
Inusaito Sayori
2d690dba45 Fix mispackaging for linux32
Thanks to Beware Hax for pointing out the flaw
2015-03-07 08:26:43 -05:00
Inusaito Sayori
e8dd91f98d Fix a potential bug in LLSpeakerMgr wherein speakers would not be added to group chat participant lists in LOTE
Also clean up (static) translated constants for group_member_statuses
2015-03-04 22:27:27 -05:00
Inusaito Sayori
36b8d3f9c9 autoresponse settings are per account, fix sending items to muteds for real, thanks Deltek 2015-02-27 09:33:23 -05:00
Shyotl
8c58a9c276 Oops, these LLFontGL changes are vital and were missed in an earlier commit. 2015-02-27 05:32:29 -06:00
Shyotl
5652a79327 Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer.git 2015-02-27 05:23:30 -06:00
Inusaito Sayori
6bc47b6e8d Changes proposed by Cinder, thankies~ 2015-02-26 22:57:21 -05:00
Inusaito Sayori
8028423c70 Rework HippoGridManager's parseUrl to be called after LLAppViewer::init
No more hangs~

I'm not exactly sure if this exhibits the same behavior it used to, but this doesn't matter because it hasn't worked for versions, probably since AICurl, so no one is relying on it.
It would seem to me that it needs to be called after pumps are created.
parseUrl is now public.

Also, move hippogridmanager.h into AI_UNUSED section of llxmlrpcresponder.cpp, it's part of the unused
2015-02-26 22:57:06 -05:00
Inusaito Sayori
fa83ad8008 Don't disable selecting friends whose friend rights are yet to be updated 2015-02-26 22:56:59 -05:00
Inusaito Sayori
728434e8ef Feature Request: Allow bulk edit for objects' descriptions and names
Translators need to translate the multiple_objects_selected string in floater_tools.xml
2015-02-26 22:56:53 -05:00
Inusaito Sayori
1ce35de4bd Allow sending inventory without auto-unmuting if Autoresponse for muteds with Inventory Offers is on. 2015-02-26 22:35:52 -05:00
Inusaito Sayori
31124b1b0f Fix out of order newview/CMakeLists, remove two unused header files 2015-02-26 22:35:20 -05:00
Shyotl
d2468d9f04 Fix issue with rigged normals when not using hardware skinning. 2015-02-25 20:53:14 -06:00
Shyotl
af41a652e4 It's silly that this was necessary... but it was. 2015-02-25 03:04:49 -06:00
Inusaito Sayori
1a06263ac0 Fix Issue 1844: libmedia_plugin_gstreamer mispackaged 2015-02-24 00:48:48 -05:00
Siana Gearz
dc1efa8a05 Fix develop.py for cygwin invocation 2015-02-23 00:35:43 +01:00
Inusaito Sayori
e5b09a0876 Fix bug in which texture drag&drop to a texturectrl wouldn't make apply buttons enable (IE: group profile) 2015-02-16 14:57:28 -05:00
Shyotl
b7454f5f43 Cleanup in llfontgl, as well as more aggressive bounds checking. 2015-02-15 21:45:33 -06:00
Inusaito Sayori
e9a517985b Instead of "?object_not_owner" display " (Owner)" appended on Object IM Info Floater
Translators may want to update floater_object_im_info.xml, string "owner" was added.
2015-02-13 02:56:52 -05:00
Inusaito Sayori
a2058bc1e8 Hopefully fix Router's issue by caching ID for map compare, not name. 2015-02-13 00:01:19 -05:00
Inusaito Sayori
de96b8e43e Use friendlier names in friendly situations~ 2015-02-12 23:46:22 -05:00
Inusaito Sayori
d1e5d67336 What Altivec? This isn't PowerPC 2015-02-12 21:01:24 -05:00
Inusaito Sayori
5279697890 mFocusLostSignal is not needed, these disconnect themselves. 2015-02-11 01:44:26 -05:00
Inusaito Sayori
fd9166e32a Presentation of group ban date bug go squash. 2015-02-09 17:01:45 -05:00
Inusaito Sayori
6b9c53c3c0 Fix missing ) at the end of llTextBox description tooltip. 2015-02-05 00:38:17 -05:00
Inusaito Sayori
3620e537ab Satisfy Issue 1827: Group Profile Texture Expansion
Also fix buttons laying over Group Insignia text
2015-02-05 00:37:35 -05:00
Inusaito Sayori
e625fa3b33 Cleanup duplicate show_picture codestuffs. 2015-02-04 23:47:37 -05:00
Inusaito Sayori
f0b18e52a3 OR not AND 2015-02-04 13:54:39 -05:00
Inusaito Sayori
adecaca730 Work around crash signature 8715
Apparently SL Grid gives some odd session types for P2P?
This should be looked into closer, but for now just accept that it happens.
2015-02-04 01:07:56 -05:00
Inusaito Sayori
10ef3ff683 Fix crash signature 7694 2015-02-04 00:30:40 -05:00
Inusaito Sayori
ef5b95d5b9 Fix crash signature 9141 2015-02-04 00:02:09 -05:00
Inusaito Sayori
c3e9150125 Oops, should leave that there. 2015-02-02 19:28:29 -05:00
Inusaito Sayori
ac0afbcc4a Fix llDialog tooltip 2015-02-02 16:12:56 -05:00
Inusaito Sayori
a9593e62b7 LLViewerMenu code cleanup 2015-02-02 16:12:32 -05:00
Inusaito Sayori
4b7bc99291 Cleanup LLNotify
Adds support for SUPPRESS_TOAST in payload to skip display of notices and just spew them to chat. (this was requested to be hooked up around last release, I think)
Fixes Singularity->Close All Dialogs breaking notifications such that the skip button would appear when not needed.

Cleans up a buncha dead code and silliness.
Also Cleanup LLGroupNotify because why not?
2015-02-02 15:44:06 -05:00
Inusaito Sayori
43e1aa9c01 Apply Aleric's fix for Issue 1810: Import of XML shape data from Avastar 2015-01-31 06:47:24 -05:00
Inusaito Sayori
d44d6515d8 [Voice Update] Use newest SLVoice~ 2015-01-30 18:17:06 -05:00
Shyotl
7c636c6c17 Remove unused linear_to_srgb function from several shaders. 2015-01-29 17:49:18 -06:00
Shyotl
c094314a2d LLFeatureManager cleanup. 2015-01-29 17:48:15 -06:00
Shyotl
9da87128f1 Disable usage of glFog when drawing selected objects, if using shaders. 2015-01-29 17:47:39 -06:00
Shyotl
1036e1f3fb Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer.git 2015-01-29 17:40:44 -06:00
Inusaito Sayori
6b5fd054f6 Update all other platforms to FMOD Studio 1.05.11 2015-01-29 06:52:12 -05:00
Shyotl
91b6d68eae Avoid unix-based mkdir usage on windows. 2015-01-29 04:03:45 -06:00
Shyotl
a0487b12be FMOD Studio prebuilt update for OSX. Also, delete "autobuild-package.xml" that is in newer v3-based prebuilt packages, and prevent registry key from trumping usage of fmodstudio prebuilt; it must now be explicitly set in the develop.py invocation. 2015-01-29 00:55:08 -06:00
Shyotl
1e07b626c4 Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer.git 2015-01-28 16:39:39 -06:00
Shyotl
b247ca3f76 Fix osx packaging. 2015-01-28 16:37:06 -06:00
Inusaito Sayori
5f3cac46eb This slipped by me, oopsies. 2015-01-28 13:12:38 -05:00
Inusaito Sayori
a7c424fc68 Fix remaining issues with new packaging system (mostly Linux)
Thanks to Duncan Armundsen and Damian Zhaoying for the pointers
(merges slightly with alchemy)
2015-01-27 12:08:46 -05:00
Inusaito Sayori
a35f159117 Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer 2015-01-27 09:15:01 -05:00
Shyotl
b865b92a6a Merge branch 'FMODStudio'
Conflicts:
	indra/cmake/PNG.cmake
	indra/newview/llnetmap.cpp
	indra/newview/llviewermessage.cpp



PARAMETERS: CLEAN
2015-01-26 17:15:46 -06:00
Shyotl
2132978c41 Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git 2015-01-26 15:26:02 -06:00
Inusaito Sayori
97f6b9d845 Fix missing notification warning pointed out by Nomade and the French testers
Merci Beaucoup, tout les monde!
2015-01-26 13:33:31 -05:00
Shyotl
6e4ef6f8a1 I'll have all the derps, please. 2015-01-23 16:49:21 -06:00
Shyotl
56bd48bd2a elseif (WINDOWS AND WORD_SIZE EQUAL 32)' mistakenly clobbered. Also, try 'ProgramFiles(x86)' envvar first 2015-01-23 02:07:19 -06:00
Shyotl
ca98523c41 Cmake version bump, cleanup, typo fixes, rewrite of fmodex.cmake. 2015-01-22 02:39:45 -06:00
Inusaito Sayori
290f143b5c Fix the << button on local chat not working, thanks for pointing this out, Nomade~
Also code cleanupsies~
2015-01-21 17:21:38 -05:00
Inusaito Sayori
123ded50ef Oops, that should use emplace, too bad we don't have C++11. 2015-01-20 17:44:22 -05:00
Inusaito Sayori
18b7f6925a Fix/Update Inspect Tool
Solves Issue 1131: Inspect Window while open prevents camming
Possibly fixes Issue 928: Have to Click a second time to Inspect an object, I couldn't reproduce, but maybe you still can?

Fixes a bug in the name cache connection setting of llfloaterinspect.cpp from upstream.
2015-01-20 04:59:46 -05:00
Inusaito Sayori
51aaa9f26b LLTool Update/Sync
Better diff against Alchemy.
2015-01-20 04:37:32 -05:00
Inusaito Sayori
a75964c993 Move menu stuff out of lltoolmgr and into llviewermenu.cpp 2015-01-20 02:00:25 -05:00
Inusaito Sayori
9bd9cb697e Fix SLVoice erroring when log folder path has a space in it.
Thanks to Nomade and Melissa for the help tracking this!
2015-01-13 21:00:57 -05:00
Shibe Doge
4d29117148 Doge wuz here. Also barkies.
░░░░░░░░░▄░░░░░░░░░░░░░░▄░░░░
░░░░░░░░▌▒█░░░░░░░░░░░▄▀▒▌░░░
░░░░░░░░▌▒▒█░░░░░░░░▄▀▒▒▒▐░░░
░░░░░░░▐▄▀▒▒▀▀▀▀▄▄▄▀▒▒▒▒▒▐░░░
░░░░░▄▄▀▒░▒▒▒▒▒▒▒▒▒█▒▒▄█▒▐░░░
░░░▄▀▒▒▒░░░▒▒▒░░░▒▒▒▀██▀▒▌░░░
░░▐▒▒▒▄▄▒▒▒▒░░░▒▒▒▒▒▒▒▀▄▒▒▌░░
░░▌░░▌█▀▒▒▒▒▒▄▀█▄▒▒▒▒▒▒▒█▒▐░░
░▐░░░▒▒▒▒▒▒▒▒▌██▀▒▒░░░▒▒▒▀▄▌░
░▌░▒▄██▄▒▒▒▒▒▒▒▒▒░░░░░░▒▒▒▒▌░
▀▒▀▐▄█▄█▌▄░▀▒▒░░░░░░░░░░▒▒▒▐░
▐▒▒▐▀▐▀▒░▄▄▒▄▒▒▒▒▒▒░▒░▒░▒▒▒▒▌
▐▒▒▒▀▀▄▄▒▒▒▄▒▒▒▒▒▒▒▒░▒░▒░▒▒▐░
░▌▒▒▒▒▒▒▀▀▀▒▒▒▒▒▒░▒░▒░▒░▒▒▒▌░
░▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒░▒░▒▒▄▒▒▐░░
░░▀▄▒▒▒▒▒▒▒▒▒▒▒░▒░▒░▒▄▒▒▒▒▌░░
░░░░▀▄▒▒▒▒▒▒▒▒▒▒▄▄▄▀▒▒▒▒▄▀░░░
░░░░░░▀▄▄▄▄▄▄▀▀▀▒▒▒▒▒▄▄▀░░░░░
░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▀▀░░░░░░░░
2015-01-13 17:31:20 -05:00
Inusaito Sayori
dd4f2e857b If we're gonna autologin, remember name too. 2015-01-13 00:52:27 -05:00
Inusaito Sayori
0b998da183 Cleanup stuffs inspired by Drake's work~ 2015-01-13 00:50:49 -05:00
Inusaito Sayori
eef7596aeb Combine renderPhysicsDisplay code loops, but don't actually fix any bugs X3 2015-01-13 00:46:20 -05:00
Inusaito Sayori
4abf23f9a9 [OpenSim] Seriously fix Issue 1791, the names thing.
Don't leave me now, don't say it's the end of the road~
2015-01-12 22:07:23 -05:00
Inusaito Sayori
56d2754606 Bricks in the wall 2015-01-12 21:32:29 -05:00
Inusaito Sayori
88ca93d24f Fix vivox logging borkage.
Thankies to Drake/Alchemy~
2015-01-12 19:16:47 -05:00
Inusaito Sayori
72c85ef104 Solve Issue 1234: Enable opening of chat logs in external editor under linux too
Requires xdg-open, but meh~
2015-01-12 19:14:53 -05:00
Inusaito Sayori
c6b1763d96 [STORM-1949] Add default values for ExternalEditor
Thankies Cinder~
2015-01-12 19:00:44 -05:00
Inusaito Sayori
844444c33b Optimize loops calling endInstances()
Thankies to Drake Arconis/Alchemy~
2015-01-12 18:06:49 -05:00
Shyotl
c708408f64 Linux OSS was removed from fmodstudio. Also fix issue in linux manifest. 2015-01-10 16:11:52 -06:00
Lirusaito
03e9db98e6 [OpenSim] Optimize the minimap region tile matrix implementation 2015-01-10 16:29:23 -05:00
Inusaito Sayori
bf3947dcc5 [OpenSim] Draw property lines on minimap properly for variable size regions
This fixes Issue 1684: Minimap on Opensim Var Region showing bad the property lines

This changeset is welcome for use under LGPL.
2015-01-10 12:31:26 -05:00
Inusaito Sayori
5140affe07 [OpenSim] Fix World Map Textures on Minimap of Variable Size Regions.
Thanks to Shyotl for the helpies~
2015-01-10 03:01:02 -05:00
Shyotl
b808caaa0e Appease cmake 3.1.0 2015-01-09 21:38:27 -06:00
Inusaito Sayori
658c617c75 Don't add this column twice, that's just silly. 2015-01-09 17:14:08 -05:00
Inusaito Sayori
05fcfc32bc [OpenSim] Remove unneeded code from the previous name resolution fixes 2015-01-09 15:57:24 -05:00
Inusaito Sayori
05a4409b3d Fix display names not being considered default if the display name is sent empty 2015-01-09 14:29:57 -05:00
Inusaito Sayori
cadc08af87 Remove assert for Issue 1784 (crash signature 450), it didn't fail.
This reverts commit bb297ac354.
2015-01-08 15:08:24 -05:00
Shyotl
2678d0f99e Trying fmodstudio as a prebuilt. (pushed to test on linux buildserver) 2015-01-08 00:49:42 -06:00
Shyotl
b1954e411b Nice typos. 2015-01-08 00:46:36 -06:00
Inusaito Sayori
5d47c7ecfa [OpenSim] Properly fix name lookups, oops~ 2015-01-07 19:02:28 -05:00
Inusaito Sayori
f09d399e88 Only spam the logs about missing var region flags when we're not on SL. 2015-01-07 15:47:14 -05:00
Inusaito Sayori
c592184aa6 Oops, uninstaller wasn't cleaning up the Portable shortcut. 2015-01-07 13:03:04 -05:00
Inusaito Sayori
bb297ac354 Add an assert for Issue 1784 (crash signature 450) 2015-01-07 00:46:01 -05:00
Inusaito Sayori
7871be05af Login entry must be a map to construct an LLSavedLoginEntry, not just defined.
Login Screen Crash Fix.
2015-01-06 15:33:50 -05:00
Shyotl
1a9cd725b2 boost::mutex seems slow with vs2010, so fall back to apr_mutex for it. 2015-01-06 03:56:57 -06:00
Shyotl
1e0395c26d Back to boost mutexes 2015-01-05 17:02:00 -06:00
Shyotl
7943adedaa Also need this. Last build only succeeded due to lingering obsolete entries in the cmake var cache. 2015-01-05 14:25:55 -06:00
Inusaito Sayori
2285830c8f This message ish too long now. 2015-01-04 09:55:09 -05:00
Inusaito Sayori
eff4bc7ad6 Bring back the Copy Key button and offer Copy SLURL as part of a flyout instead. 2015-01-03 22:50:55 -05:00
Inusaito Sayori
794027d91e In (readonly) combo_boxes and flyout_buttons allow use of the font attribute. 2015-01-03 22:14:53 -05:00
Inusaito Sayori
312625036b Fix max_chars on login screen, oopsie. 2015-01-03 15:50:42 -05:00
Inusaito Sayori
e7c1dc3b8e Include object key in objectiminfo floater
General cleanup of llfloaterobjectiminfo included
Update of object im command handler code from v3
2014-12-30 18:02:32 -05:00
Inusaito Sayori
a29b50b4cd Fix crash signature 86
Cleans up a buncha lame code in llpanellogin.cpp
Removes some static silliness from the old days.
Removes RememberLogin because RememberName serves its purpose.
Stylistic fixups~
Removes some pointless functions.
2014-12-30 16:49:40 -05:00
Inusaito Sayori
d03b03ac93 Fix crash signature 230 2014-12-30 14:42:13 -05:00
Shyotl
a891d2fdea FMOD(STUDIO|EX)_SDK_DIR wasn't being properly set. Change fallback on missing msvc*, as the old code made no sense (wildcarded paths don't throw when not found) 2014-12-29 18:59:15 -06:00
Inusaito Sayori
de28034c20 Feature Request: Copy URI button in avatar profiles
This takes the copy key button's place... if this is bad, I'll figure something out down the line.
2014-12-29 18:53:01 -05:00
Inusaito Sayori
01c639c261 Map all the people! 2014-12-29 16:52:51 -05:00
Inusaito Sayori
fe21270bbc [Radar] Attempt to fix the rare spamming of left/entered messages 2014-12-29 16:44:50 -05:00
Inusaito Sayori
b9acd64221 Better the cmdline_partial_name2key function
Just style fixes and opts.
2014-12-29 16:42:38 -05:00
Inusaito Sayori
9bf2092c7e Don't hide the tab container for classifieds (especially not at the wrong time)
Thanks to Aztek Aeon for pointing out this bug!

Includes random stylistic fixes. (everywhere~)
2014-12-29 16:12:18 -05:00
Inusaito Sayori
0eba34d5a8 Can haz groups left count in groups list.
Translators, this is in panel_groups.xml and panel_groups_horiz.xml called groupcount

Inspired by Alchemy<3
2014-12-28 13:33:21 -05:00
Inusaito Sayori
5257eec81e Address Issue 1761: Grid status from Help menu
Adds Grid Status... item to Help menu

Translators:
add WebLaunchGridStatus notification translation to notifications.xml
add Grid Status... menu item translation to menu_viewer.xml and menu_login.xml

Adds menu visibility function "VisibleSecondLife" for hiding things that shouldn't be shown on OpenSim
Hides SL issue tracker and wiki menu items on non-SL grids
2014-12-28 12:17:18 -05:00
Shyotl
2d2513369a OSX poking. 2014-12-28 00:20:30 -06:00
Inusaito Sayori
6e8cd5a4cc Bug fixy ~ Reset Ambient Occlusion setting on cancel
Thanks to Cale Flanagan for finding this one.
2014-12-27 13:11:11 -05:00
Inusaito Sayori
7749f8a99d Edit Linked Parts counts and costs display update~
Show proper impact when editing multiple prims with edit linked parts enabled
Show "Selected prims:" instead of "Selected Objects: 0" when editing linked parts
Show two decimals of impact precision when editing linked parts.
2014-12-27 13:10:46 -05:00
Inusaito Sayori
ef32d0d321 French login panel further update. 2014-12-27 10:46:38 -05:00
Inusaito Sayori
f26d7c7bf2 Update instant message stuff
Fixes auto response chats not showing the name, anymore; switches to using 25% more font color transparency to indicate autoresponse
Cleans up and reorganizes im codestuffs~
2014-12-27 10:20:57 -05:00
Shyotl
86240966b6 Include build version and arch/platform in generated symbol file's name. 2014-12-27 02:54:04 -06:00
Shyotl
f5d3bc2b7b Fixed CMP0026 properly. Requires cmake 2.8.8+ 2014-12-26 23:53:14 -06:00
Shyotl
b3bd91877c Fixed CMP0048 properly. 2014-12-26 23:51:05 -06:00
Shyotl
00123d2dde Not sure why this line got deleted. It's needed for linux breakpad. 2014-12-25 01:57:59 -06:00
Shyotl
ecd58e3924 Reduce some diagnostic spam. 2014-12-23 20:00:01 -06:00
Shyotl
0ac3fd0563 Rename linux build directory from viewer-* to build-*. Also have mac use the unix run_build if not using Xcode 2014-12-22 20:52:11 -06:00
Inusaito Sayori
a805d15797 Do not include Server Release Notes, unless the region has that capability. 2014-12-22 21:05:19 -05:00
Shyotl
28024d7a01 Try better handling CMAKE_BUILD_TYPE if xcode (supports multi-configurations, unlike Unix Makefiles) 2014-12-22 02:42:31 -06:00
Shyotl
e0fb73414b Mac fixup. 2014-12-22 02:08:18 -06:00
Inusaito Sayori
94d6969fed Fix Resident no longer stripping for username only mode
Thanks for noticing this Gamer Expert
2014-12-19 21:27:07 -05:00
Inusaito Sayori
8e5fad2209 Login Panel Redesign Desu
More clear text
Cleaner appearance
Can haz tab from username to password to grid.
2014-12-19 21:26:03 -05:00
Shyotl
ca49db02df Fixed doublequote issue with --extra_libraries 2014-12-19 19:25:31 -06:00
Shyotl
08db85fa99 Unused assets can DIAF. 2014-12-18 23:17:03 -06:00
Shyotl
e57bcea3b6 Experimentation with msbuild 12.0 2014-12-18 18:26:21 -06:00
Shyotl
5c5fae78c6 Fix some annoying issues with spaces in develop.py, for windows. 2014-12-18 18:08:59 -06:00
Shyotl
44f8f17763 V3 merge for most python scripts. fmod inclusion/linkage/packaging changes. 2014-12-18 18:01:41 -06:00
Inusaito Sayori
78e7b288b8 Fix ClickToWalk not allowing mouse-walk (behavior change)
Ansariel and worked together on this to solve http://jira.phoenixviewer.com/browse/FIRE-15189

The behavior change is that when your own avatar is clicked and the mouse is dragged, the camera no longer simply turns on a single axis,
since the behavior for dragging from anywhere else is still the old single-axis pan, this is not a very big deal. I can even see this being more useful!
2014-12-18 08:35:03 -05:00
Inusaito Sayori
78131d2d53 [OpenSim] Fix name lookup fails (on the agent only?) when a grid does not have NameLookupURL 2014-12-17 08:46:21 -05:00
Inusaito Sayori
ca8aa4dc0a Remove the assert I was using to debug Issue 1670
Apparently it is failing on alphas during initialization (loading log file?)
Doesn't matter now, the issue is solved.
2014-12-17 01:28:13 -05:00
Lirusaito
81ef1292ed Fix broked World->Chat 2014-12-16 21:35:28 -05:00
Inusaito Sayori
b67f55cff7 Prevent failure to create SLURL when an object chats but is not on the object list.
Fixes an issue I couldn't remember nor find on the issue tracker.

SLURLs for found objects remain unchanged.
SLURLs for objects that are not found, but we could find their owners now display the owner's position and region, with "?owner_not_object" appended to the slurl as a note to the user
SLURLs for objects that are not found, and we could not find their owners, now display as being from the position 0, 0, 0 in the users region
2014-12-16 19:57:46 -05:00
Inusaito Sayori
9880134b4d Feature request: Add the ability to use keyboard shortcuts from the login panel, whether or not the login webpage is focused 2014-12-16 19:45:19 -05:00
Inusaito Sayori
cc32df6fd8 Update and Sync Mutelist with upstream alchemy
Satisfies the feature request for mute toggle to display mute status
Adds dynamic mute/unmute option to P2P IM dropdown.

Translators should look into the changes made in this commit for:
floater_chat_history.xml, floater_instant_message.xml, floater_instant_message_concisebuttons.xml
panel_avatar.xml has been taken care of for spanish and french, although they should be looked into more closely by the translators.

Cleanup and Sync in related places~
Removal of old static callbacks.
Moves God Names logic into LFSimFeatureHandler
Adds a custom function LLMuteList::hasMute() for quickly checking if a mute is in the internal set.
2014-12-16 19:42:27 -05:00
Inusaito Sayori
0e48a2196f Update/Modernize LLAvatarName and LLAvatarNameCache and _EVERYTHING_ they touch
Fairly certain this adds the feature in which the user may click the online notification to open a chat with the user coming online.

Translators may want to look at the xml changes of this change to see what to update

Removes old LegacyMultiAttachmentSupport patch
Moves LLAvatarName-centric functions into LLAvatarName from elsewhere.
Adds boost::signals2::connections to name polling places.
Removes more old icky static callbacks
Merge from Alchemy, credit where due~
Update notifications.xml to have a bunch of the tags from upstream to ease diffing
2014-12-16 17:55:23 -05:00
Inusaito Sayori
39d27e3a4e Move llavatarname.* to llmessage/ from llcommon/ 2014-12-15 18:35:30 -05:00
Inusaito Sayori
48e6a4f535 LLPanelLogin code cleanup 2014-12-12 20:33:36 -05:00
Inusaito Sayori
7db5126182 Autoreplace toggle on Autoreplace toolbar button~ 2014-12-12 20:26:03 -05:00
Inusaito Sayori
0d4ac69465 [Warnings] Fix sign/unsigned mismatch 2014-12-12 20:21:36 -05:00
Shyotl
32706065ac Have CopyWinLibs only copy files needed for current configuration. 2014-12-12 03:49:47 -06:00
Shyotl
d571b8be81 Viewer manifest cleanup/updating 2014-12-09 16:13:59 -06:00
Shyotl
f014c8207c Try path.os.basename/split instead of string.rsplit 2014-12-09 01:28:23 -06:00
Shyotl
b680b53128 Update vstool executable path. 2014-12-08 23:34:42 -06:00
Shyotl
e2cd11ccd7 Fix up some small typos and avoid c++11's string::back()/pop_back() calls for now. 2014-12-08 21:40:11 -06:00
Shyotl
ab4561aacc Linux build pass. 2014-12-08 18:46:15 -06:00
Inusaito Sayori
a7733a6c55 Fixyfixy 2014-12-08 11:45:52 -05:00
Inusaito Sayori
688aa50064 Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer 2014-12-05 19:13:55 -05:00
Inusaito Sayori
232bf22e51 Compile foxies 2014-12-05 18:43:50 -05:00
Inusaito Sayori
171c1a5c44 Fix media controls loading entered urls twice as much.
Thanks to Diva Canto for working with me on this!
2014-12-05 18:41:08 -05:00
Inusaito Sayori
80b4fe6613 Solve Issue 1755: Change Appearance Save button to a flyout option, and move File->Update Outfit
Update Outfit is now at the bottom of the inventory's File menu.
2014-12-05 18:39:05 -05:00
Inusaito Sayori
18f640d73d Fix Linux linker errors
Patch by Aleric
2014-12-05 12:52:01 -05:00
Inusaito Sayori
9e2667261f Timeout policy removal in llmarketplacefunctions.cpp 2014-12-05 12:16:12 -05:00
Shyotl
18e33d2268 Un-break build for older compilers. 2014-12-04 17:53:41 -06:00
Shyotl
fd13ccf802 Support running develop.py without needing to be in indra directory. 2014-12-04 17:23:27 -06:00
Shyotl
fbf947fcd7 Pre cmake3.0 support. 2014-12-04 16:43:52 -06:00
Shyotl
958031dbaf Moved build dirs out of indra directory. installed.xml and prebuilts are now per-build-target. Added support for v3 prebuilt package layout. 2014-12-03 22:36:42 -06:00
Shyotl
7ddef751ef Update md5 checksums for vs2012 x64 libs. 2014-11-28 23:29:34 -06:00
Inusaito Sayori
a81ecc2006 Introduce LLInventoryAction namespace, move doToSelected into it. 2014-11-27 12:45:55 -05:00
Shyotl
fedd094987 Clean up warning. (implicit float to signed integer conversion) 2014-11-26 22:57:50 -06:00
Shyotl
36a8a20434 Alignment fixes. 2014-11-26 22:53:32 -06:00
Shyotl
f5204cc8f5 Check for bad FMOD_RESULT return values for practically every fmod api call. Wavedata dsp also now attached before fmod's fader DSP, and although that makes the stream channelgroup less than necessary, channelgroups are still nice to have. 2014-11-26 01:15:17 -06:00
Inusaito Sayori
808e262a4d MAINT-3562 FIXED Viewer crashes when updating local textures using Substance Designer : add code for control input buffer size
3e69e78acb
2014-11-26 01:23:45 -05:00
Inusaito Sayori
152cf42029 This escaped the getOpenIcon->getIconOpen commit. 2014-11-25 23:39:10 -05:00
Inusaito Sayori
e69385861a Add LLHTTPClient::putRaw 2014-11-25 23:36:43 -05:00
Shyotl
87f87bf2ff Delegate stream shutdown to LLAudioEngine and LLStreamingAudio_* 2014-11-25 16:37:39 -06:00
Shyotl
b3d86e626b Fixed wind dsp and implemented a DSP that mimics removed FMOD::Channel::getWaveData func.
Fixed crash if fmod profiling was enabled.
Fixed crash due to failing to check if resulting utf string from stream metadata was zero-length before calling std::string::back.
2014-11-25 16:32:04 -06:00
Inusaito Sayori
d80ebdc77d getOpenIcon -> getIconOpen 2014-11-25 01:46:12 -05:00
Inusaito Sayori
80ac46c9a5 Move llfoldertype from llcommon/ to llinventory/ 2014-11-24 20:38:46 -05:00
Lirusaito
4387118d55 Remove silly redundant code in LLFloater::draw
Thanks to Diva for pointing this out.
2014-11-23 18:50:59 -05:00
Shyotl
c2abbaedc8 Merge branch 'master' of https://Shyotl@bitbucket.org/LightDrake/singularityviewer-internal.git into FMODStudio 2014-11-22 22:20:32 -06:00
Shyotl
f8927a8a11 Merge branch 'master' of https://Shyotl@bitbucket.org/LightDrake/singularityviewer-internal.git into FMODStudio
Conflicts:
	indra/llcommon/llsingleton.h
2014-11-22 22:19:44 -06:00
Shyotl
7054a2a6d2 Added some fasttimers to LLVOAvatar::idleUpdate 2014-11-22 22:04:18 -06:00
Shyotl
f2f8ecab98 Clean up code for vivox session participant management. 2014-11-22 22:02:46 -06:00
Shyotl
be9d417778 Added vector_shrink_to_fit to llstl.h 2014-11-22 22:02:20 -06:00
Shyotl
6e537cd322 Try to handle BOM for utf stream metadata (doesn't seem common, at all). 2014-11-22 22:01:45 -06:00
Inusaito Sayori
19cae9b59b [RLVa] Escape potentially dirty strings before using them as regex in replace_all_regex
Fixes crashes
This changeset is welcome for use in LGPL viewers

Thanks to Ansariel Hiller for pointing this crash out.
2014-11-21 03:12:06 -05:00
Inusaito Sayori
89e65ed89e CMake 3 Fixies from Alchemy 2014-11-20 22:04:32 -05:00
Inusaito Sayori
9892d23735 Sync stuff 2014-11-20 13:41:19 -05:00
Inusaito Sayori
10a3339019 Check for signing variables before even trying to sign
Also tabs to spaces and fix typo.
2014-11-20 13:40:05 -05:00
Inusaito Sayori
8b658bd628 Attempted fox for PNG 2014-11-20 12:21:35 -05:00
Lirusaito
5a045db751 Fix Voice on Linux.
No such thing as -st/shutdown timeout on Vivox 2.x SDK
2014-11-20 10:28:44 -05:00
Inusaito Sayori
80e7854300 Merge branch 'master' of https://github.com/DamianZhaoying/SingularityViewer 2014-11-17 22:50:18 -05:00
Inusaito Sayori
c83c1ed291 Add reset_camera to keyboard action registry. 2014-11-17 22:49:59 -05:00
Inusaito Sayori
37412c8dd2 wlfPanel cleanup and simplification 2014-11-10 18:25:31 -05:00
Damian Zhaoying
aaa1a5451e Merge remote-tracking branch 'Liru/master' 2014-11-10 19:37:48 -03:00
Inusaito Sayori
e3d45d99da Address Issue 1732: Display name in the Communication box
Adds Chat Tabs namesystem combobox to Adv. Chat->Chat UI.
2014-11-10 16:09:43 -05:00
Inusaito Sayori
60d9301646 Support GridName sim feature, show grid name in status bar when hypergridded over to another grid.
V3s will want to add this display to the NavBar, most likely.
Adds const Type& ref() function to SignaledType to get a const reference from it where needed.
2014-11-10 15:58:58 -05:00
Inusaito Sayori
23f070128a Clean up and optimize more draw call logic in llstatusbar.cpp 2014-11-10 14:46:49 -05:00
Inusaito Sayori
39e0e4ad9e LFSimFeatureHandler cleanup~ 2014-11-10 13:36:23 -05:00
Damian Zhaoying
bde1853862 Merge remote-tracking branch 'Liru/master' 2014-10-30 14:47:32 -03:00
Lirusaito
637b70a723 Cleanup and revision to solve Issue 1548: Right click zoom in mouselook resets on left click.
Removes variables tracking right mouse down from lltoolfocus and lltoolcompgun in favor of using the already existing LLViewerWindow::getRightMouseDown()
2014-10-30 11:15:36 -04:00
Inusaito Sayori
d34c5034c3 Of course, I'd only notice this file is unstaged after the commit has been pushed. 2014-10-24 18:05:05 -04:00
Damian Zhaoying
8dc3dcd2ac Added Spanish translations to new Quit button toolbar and Shared options 2014-10-23 21:36:21 -03:00
Inusaito Sayori
b25643f0bf Clean up and draw optimization in LLStatusBar.
I saw a 1.7 FPS gain, which is pretty good for my old card ^*^
2014-10-23 04:28:18 -04:00
Inusaito Sayori
3231a7d25f Complete keyboard-camera panning featureset with pgup pan in and pgdn pan out 2014-10-23 04:25:37 -04:00
Inusaito Sayori
855769c53e Add quit button to toolbar. 2014-10-23 04:16:31 -04:00
Lirusaito
7cf069bf4c Fix libpng warning: iCCP: known incorrect sRGB profile 2014-10-22 20:50:11 -04:00
Lirusaito
bd94e2ae73 Linux64 library update! (other platforms to come)
Curl 7.38
LibPNG 1.6.13
LLQTWebkit 4.8.6
OpenSSL 1.0.1j (Yep, this fixes POODLE)

Libraries provided by Alchemy Viewer.
2014-10-21 05:41:44 -04:00
Inusaito Sayori
6c2871402d [RLVa] Don't filter parts of words out just because they match a name under restraint
This fix is free to be reused under LGPL..
2014-10-19 21:44:45 -04:00
Inusaito Sayori
341ca20529 Avatar Picker's list of friends should use the friends name system. 2014-10-18 15:05:10 -04:00
Inusaito Sayori
0d300776ca Muscle Memory fix, move Share to the bottom of the inventory menu. 2014-10-18 14:40:59 -04:00
Inusaito Sayori
fad498cfb8 Merge branch 'master' of https://github.com/DamianZhaoying/SingularityViewer 2014-10-17 01:04:27 -04:00
Inusaito Sayori
39d3a58b49 Only disable friend items that have rights changed (scope reduction surgery)
Thanks to Deltek for finding this one!
2014-10-17 00:53:56 -04:00
Inusaito Sayori
e98792209e Issue 1151: Add share to LLAvatarActions
Syncs LLGiveInventory and LLFloaterAvatarPicker with upstream.
Syncsyncsync~

Translators:
menu_inventory.xml menu_radar.xml and menu_avs_list.xml: Share
notifications.xml: ShareNotification, ShareItemsConfirmation, ShareFolderConfirmation, ItemsShared
strings.xml: share_alert
2014-10-17 00:33:33 -04:00
Inusaito Sayori
2d53641cd0 Fix up overcomplicated logic to get friends search working right. 2014-10-15 01:54:58 -04:00
Inusaito Sayori
529c61fabe Fix friends list online count being wrong
This patch changes from always updating online count with cells, to checking the indicator cell's previous value before changing it, maintaining the count instead of always modifying it during updates..
Removes commented out OnlineSIP bits, as it's just easier not to upkeep them.
2014-10-15 01:20:01 -04:00
Damian Zhaoying
614a1c3bb6 Spanish translation to Fix "The notification called 'AuthRequest' was not found in notifications.xml." alert
Some minor fixes in other files.
2014-10-14 12:35:20 -03:00
Damian Zhaoying
663d9ce3d1 Merge remote-tracking branch 'Liru/master' 2014-10-14 04:42:59 -03:00
Latif Khalifa
67b8c8d360 Put Vivox license file online, avoid issues with local paths 2014-10-14 00:45:37 -04:00
Inusaito Sayori
4c5379fe30 Merge branch 'master' of https://github.com/DamianZhaoying/SingularityViewer 2014-10-14 00:43:32 -04:00
Inusaito Sayori
65c613fb3e Clean up in the friends list code, fixing things~
The entire list should no longer lock up when changing friend rights for just some people
Visual changes:
Muted people's names in friends list are now displayed in the muted color (this still needs testing)
The collapse and expand button now uses icons instead of < and > characters.

Complex stuff devs may read:
Remove pointless classes, definitions, and functions.
Replace static callbacks with bound ones.
Cleanup commented stuff
Fix styling and spacing stuffs
Comment out unexecuted code paths
Optimizes updating uncached names so full refresh is not required, just a single name update.
Comment out unused voice stuff, since SIP buddylist was removed in Voice Update.
Switch to Params for list building~
2014-10-14 00:35:26 -04:00
Cinder Biscuits
d0f265f6d9 OMG backout worst fix of the year right here. 2014-10-12 21:56:50 +00:00
Cinder
ec4d13741f Code signing for Windows and OS X 2014-10-10 21:30:23 -06:00
Cinder
d6b87f141f Ported viewer-stare fixes 2014-10-10 21:17:47 -06:00
Inusaito Sayori
cd61a2ae20 Fix "The notification called 'AuthRequest' was not found in notifications.xml." alert
Thanks to Eva Darkwyr for alerting me of this.
2014-10-08 01:37:04 -04:00
Inusaito Sayori
d99528f4b4 GPU Table update
New cards added from the cool vl viewer's table, thanks Henri~
Tabbing fixed up so that the numbers all align.
2014-10-06 13:57:39 -04:00
Cinder Biscuits
775a7be958 Allow disabling crash reporter on mac 2014-10-06 01:45:54 -04:00
Inusaito Sayori
77f5851b3c Nomade translated animation for appearance mode toggle 2014-10-03 03:55:55 -04:00
Damian Zhaoying
e4ac5c8f6c Merge remote-tracking branch 'Liru/master' 2014-10-02 19:27:23 -03:00
Inusaito Sayori
4f6ec26dc9 Merge branch 'master' of github.com:slabua/SingularityViewer 2014-10-02 16:10:08 -04:00
Salvatore La Bua
55fda48a3b Fix issue 1670: radio group for LinksForChattingObjects 2014-10-02 20:26:56 +02:00
Damian Zhaoying
5dc2bc06cf Added Spanish Translation of xml export floater. Update translations in files notificationsa and floater radar. 2014-10-02 12:39:52 -03:00
Damian Zhaoying
f2367575a2 Merge remote-tracking branch 'Liru/master' 2014-10-02 03:58:38 -03:00
Inusaito Sayori
345d5d99b3 Woops, that logic is backwards. 2014-10-02 01:30:56 -04:00
Inusaito Sayori
5c86dfeb6e Tiny tweak to handle_go_to that Ubit says will help on opensim
Doesn't seem to change anything on SecondLife.
2014-10-02 01:01:23 -04:00
Inusaito Sayori
b119aa49ef Take SinguMotionResetsCamera into in handle_go_to. 2014-10-02 01:00:20 -04:00
Inusaito Sayori
8b84d5597f Hide the drop target reset button when its in the default state 2014-10-01 23:23:54 -04:00
Inusaito Sayori
b060ba3c38 Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer 2014-10-01 20:30:51 -04:00
Inusaito Sayori
17c2e93c78 Solve Issue 1696: buttons overlap 2014-10-01 18:45:15 -04:00
Inusaito Sayori
6a2353f08b Feature Request: If only one prim in a linkset is selected, show its individual land impact, like we used to. 2014-10-01 18:44:59 -04:00
Inusaito Sayori
da2d80d23a Useful fixies from upstream 2014-10-01 18:43:59 -04:00
Inusaito Sayori
01f2e70f1d Fix Issue 1690: Problem in the Italian translation 2014-10-01 18:43:38 -04:00
Inusaito Sayori
b77268b0e3 Attempt to fix blank region name in region restarting floater. 2014-10-01 18:42:43 -04:00
Inusaito Sayori
6a4c1f6ac6 Feature Request: Add a clear button to drop targets (except where not needed). 2014-10-01 18:42:14 -04:00
Inusaito Sayori
1d6e21247e Move LLDropTarget rectangle setting into a common function setChildRects 2014-10-01 18:41:53 -04:00
Inusaito Sayori
4a699d6160 Have Drop Targets with settings update when their settings update. 2014-10-01 18:35:09 -04:00
Inusaito Sayori
06584a38ab Stylistic changes and whatnot for LLDropTarget what with setValue and setItem 2014-10-01 18:34:26 -04:00
Inusaito Sayori
d2dd03dcba War on std::string::find compares against -1 instead of std::string::npos 2014-10-01 18:27:03 -04:00
Inusaito Sayori
3b631a4f90 Back out of droptarget support for links.
Drag and drop support for links would have to be done in lltooldraganddrop, and would probably require a rework there.
2014-10-01 18:26:44 -04:00
Aleric Inglewood
3555967812 Write <archetype><meta> for assets in "My Inventory" folder too. 2014-09-30 18:12:39 +02:00
Damian Zhaoying
358135a890 Merge remote-tracking branch 'Liru/master' 2014-09-20 16:10:10 -03:00
Inusaito Sayori
73ac76a0eb LLDropTarget should accept link targets instead of links
Also stylization changes
2014-09-16 20:33:37 -04:00
Shyotl
972c92a3fe Inconsequential template tweak. 2014-09-15 15:24:40 -05:00
Shyotl
f6209dec34 Silence some LL_INFOS spam on shader init. 2014-09-15 15:23:22 -05:00
Shyotl
738ce6422a A bit of code consolidation. Unified code for OUT_TERSE_IMPROVED and OUT_FULL terse subset. 2014-09-15 15:22:33 -05:00
Inusaito Sayori
dd3cb2b43c French Translation of xml export floater, thankies Nomade. 2014-09-14 17:18:19 -04:00
Damian Zhaoying
8fd1788ece Merge remote-tracking branch 'Liru/master' 2014-09-13 14:46:59 -03:00
Inusaito Sayori
d34bd5338d Comment out something from the llviewerobjectbackup.cpp sync that looks iffy and seemed to cause malfunction. 2014-09-11 22:27:25 -04:00
Inusaito Sayori
8dca737dc8 Solve Issue 1539: XML Export consistently fails as of latest alpha (build 5824) 2014-09-11 22:26:45 -04:00
Inusaito Sayori
86ff77665c Sync llviewerobjectbackup with Cool VL Viewer
Note to Translators:
-Adds translation work to floater_object_backup.xml
-Adds ImportFailed, ExportAborted, and ConfirmAbortBackup to notifications.xml

Turns LLViewerObjectBackup into an LLFloaterSingleton.. but eventually, this should probably be an instance tracker on the uuid of the object to export or something instead.
2014-09-11 19:45:15 -04:00
Inusaito Sayori
e5e665b9ee Sync LLAssetUploadResponders with upstream
Move LLSendTexLayerResponder into llviewertexlayer.cpp to reduce diff noise
2014-09-11 18:13:11 -04:00
Inusaito Sayori
6863eb6651 Be sure the object's inventory serial is incorrect before dirtying the inventory
Thanks to Ubit for pointing this out
2014-09-11 16:02:54 -04:00
Shyotl
0493a91a42 Boost 1.52 uses a completely different api for atomics. Not going to be supporting them. Also, fix llcalcparser in more old-boost compatible manner, and fix linux usage of apr_signal_description_get. 2014-09-11 05:20:01 -05:00
Inusaito Sayori
1ee939c7f7 [Radar] Feature Request: Add the ability to see avatar distance in avatar range alerts.
To toggle this feature, right click the radar, under the Alerts submenu choose "Include distance in alerts"

Cleans up code for calls to setPosition.
For now only entering messages will show distance, unless testing shows that it should be otherwise.
2014-09-11 03:58:23 -04:00
Inusaito Sayori
ff8b4fd95a [Radar] Optimize hidden column evaluation and generation out of draw call.
Please view this diff without space changes.
2014-09-11 03:37:51 -04:00
Inusaito Sayori
a68983b37f [Warnings] Fix ‘std::string {anonymous}::compute_CPUFamilyName(const char*, int, int)’ defined but not used 2014-09-10 16:58:44 -04:00
Drake Arconis
2d0905a4a6 Fix for fmod studio 1.5 2014-09-10 01:11:14 -04:00
Drake Arconis
eb96dee176 Murrrrge 2014-09-10 01:03:04 -04:00
Shyotl
df2ca052ea I suppose actually including llvoavatar.cpp would help too... 2014-09-09 21:56:53 -05:00
Shyotl
e95c0a4631 Revert some bogus changes in f38754d0d6. Not sure where these changes came from. 2014-09-09 20:44:00 -05:00
Shyotl
fbbd45c674 Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer.git 2014-09-09 19:48:42 -05:00
Shyotl
69064e96f0 Merge branch 'Supp' 2014-09-09 19:48:13 -05:00
Damian Zhaoying
1e0b95ca68 Update spanish translations. New Reset settings buttons in Graphics - DOF tab. Fix buttons in Group roles. Fix texts in map search places. 2014-09-09 14:36:39 -03:00
Inusaito Sayori
a5ac768540 Don't play empty audio urls. 2014-09-09 12:38:29 -04:00
Inusaito Sayori
1c7772e731 Sync with Alchemy, fixes not being able to send calling cards to people. 2014-09-08 21:25:12 -04:00
Cinder Biscuits
2db2c96329 Fix find evaluation on newer versions of clang (and 64-bit macs) 2014-09-07 22:43:03 -04:00
Inusaito Sayori
76616ee6f6 Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer 2014-09-07 18:25:25 -04:00
Shyotl
37c7a72505 Implement boost and stl mutexes and atomics. 2014-09-07 17:18:55 -05:00
Inusaito Sayori
b198e296cb Allow right clicking avatar lists with multiple avatars selected to invite to group. 2014-09-07 17:32:08 -04:00
Shyotl
f38754d0d6 Fixed an alignment issue with LLAvatarJointCollisionVolume array. Thanks Henri. 2014-09-07 15:55:53 -05:00
Shyotl
e5a0393480 Merge branch 'master' of git@github.com:singularity-viewer/SingularityViewer.git 2014-09-07 15:46:05 -05:00
Inusaito Sayori
e62ef91404 Fix sex radio: Now let's hear some kinky tunes~ 2014-09-07 15:26:20 -05:00
Inusaito Sayori
71d78425be Preload trash icon
Solves the issue where the remove saved login button has nothing on it
2014-09-07 15:26:12 -05:00
Inusaito Sayori
c7db5122c8 Fix Issue 1653: Using Search Box causes crash 2014-09-07 15:26:03 -05:00
Shyotl
89fcf69948 Added several temporary fasttimers to better pinpoint idle stall. 2014-09-07 15:22:19 -05:00
Inusaito Sayori
724ea77bef Translate Render muted avatars to francais 2014-09-07 12:43:18 -04:00
Inusaito Sayori
b127dd514d Stylistic changes and such. 2014-09-07 12:40:46 -04:00
Inusaito Sayori
a732635e75 Merge branch 'master' of https://github.com/MelanieT/SingularityViewer 2014-09-06 19:35:39 -04:00
Inusaito Sayori
5072f983ed Fix up skins, remove poor line endings and remove a few nonexistent colors. 2014-09-06 19:17:29 -04:00
Inusaito Sayori
6c9fca3f61 Merge branch 'master' of github.com:slabua/SingularityViewer 2014-09-06 18:52:35 -04:00
Inusaito Sayori
91b98bed05 Fix sex radio: Now let's hear some kinky tunes~ 2014-09-06 18:42:24 -04:00
Salvatore La Bua
195f7502b7 Merge branch 'master' of github.com:singularity-viewer/SingularityViewer 2014-09-06 20:08:09 +02:00
Lirusaito
1b8779f93e Fix teh Singletons to have a global registry 2014-09-06 11:30:25 -04:00
Salvatore La Bua
f0f124a23a Add skin Dark Green, based upon the Dark skin
Little changes on fonts' and windows icons' colour.
2014-09-05 15:40:09 +02:00
Inusaito Sayori
2772daa964 Preload trash icon
Solves the issue where the remove saved login button has nothing on it
2014-09-04 18:35:28 -04:00
Inusaito Sayori
2338e8a186 Fix Issue 1653: Using Search Box causes crash 2014-09-04 17:32:21 -04:00
Inusaito Sayori
ab7acd7149 Modernize LLSingleton 2014-09-04 17:32:16 -04:00
Inusaito Sayori
43a9aedf7d Sync with Upstream Alchemy
Changes LLEnvManagerNew::setRegionChangeCallback to LLAgent::addRegionChangedCallback
Cleans up some of the timeout policies that aren't necessary any longer.
Modernizes parts of LLViewerKeyboard, updates llregistry.h
Begins changeover from LLDynamicArray to std::vector
Minor merge of newer, trivial SSA functions.
Introduces LLAgent functions: addParcelChangedCallback and canJoinGroups
Support for secondlife:///app/appearance SLapps.
Cleans up older functions.
2014-09-04 17:32:03 -04:00
Shyotl
1608ed43c1 Release 1.8.6 2014-09-04 03:20:01 -05:00
Inusaito Sayori
fa103a69f9 I like jackals. 2014-09-03 21:49:08 -04:00
Inusaito Sayori
f8520f9dd3 Em Dash wants build tools to focus properly when the build button is clicked.
If the world is in focus and build button is pressed without the build floater open, don't bother focusing.
If a floater is in focus and build button is pressed without the build floater open, focus the build floater
If the build floater is in the background and the button is pressed, focus the build floater.
If the build floater is in focus and the button is pressed, close the build floater.
If the build floater is  not in focus but nothing else is, close the build floater.
2014-09-03 19:41:07 -04:00
Inusaito Sayori
3a372afc0e Add Render muted avatars check to System->Security & Privacy Preferences
Redefaulted LiruLegacyDisplayMuteds to false due to (at least) two alpha testers noticing it and wanting it back how it is in the current release (since 1.7.0).
True was to get back to the old ways of v1, but it's okay to be false by default, better now since it's exposed.

Also irrelevant tiny voice cleanup from Spatters.
2014-09-03 08:28:16 -04:00
Inusaito Sayori
95d6bec68f Maximum bandwidth is apparently 10000 on SL Viewer, match that. 2014-09-03 08:28:11 -04:00
Inusaito Sayori
56f2e20cb4 Feature Request: Add LiruResizeRootWithScreen to prevent ui getting messed up when the window is resized
This is not complete, and it should only be used if you know what you're getting into.
2014-09-03 08:28:06 -04:00
Shyotl
4cbcaba7f2 Merge branch 'master' of git@github.com:Shyotl/SingularityViewer.git 2014-09-03 01:47:43 -05:00
Shyotl
aeeca6e2c0 llcommon.dll doer faster. (set /LTCG and /GL) 2014-09-03 01:45:47 -05:00
Inusaito Sayori
74704d0d2a Fix crash signature 608
This was a crash in LLPanelDirClassified::postBuild(), on the line changed here, probably accessng null pointer.
There are probably a few other signatures for this in our database.
2014-09-02 10:53:36 -04:00
Shyotl
0b384bdd72 Merge branch 'master' of git@github.com:Shyotl/SingularityViewer.git 2014-09-02 02:57:28 -05:00
Shyotl
e9cf3a6806 Fix tiled snapshots. Also, LLRender::genRot takes degrees, not radians. 2014-09-02 02:53:10 -05:00
Shyotl
c5f9068664 Merge branch 'master' of git@github.com:Shyotl/SingularityViewer.git 2014-09-01 00:49:05 -05:00
Shyotl
992bbbba1c A bit of cleanup, and call subprocess.Popen with shell=True. 2014-09-01 00:47:39 -05:00
Shyotl
fe9dd63558 Merge branch 'master' of git@github.com:Shyotl/SingularityViewer.git 2014-08-31 04:58:29 -05:00
Shyotl
8e45003c27 Packaging bugs. I'm drowning in them. (use subprocess.Popen instead of os.popen) 2014-08-31 04:56:55 -05:00
Shyotl
f53d824e07 Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer.git 2014-08-31 00:05:11 -05:00
Shyotl
259670af85 Merge branch 'master' of git@github.com:Shyotl/SingularityViewer.git 2014-08-31 00:04:59 -05:00
Shyotl
c7e9430f99 Avoid erroneously creating 'About Land' instance. Also avoid issuing 'ParcelPropertiesRequest' excessively. 2014-08-30 23:48:56 -05:00
Shyotl
afe573d2eb Spaces in path... and nsi script... issues. 2014-08-30 23:47:32 -05:00
Shyotl
547d9817db Replace \t with spaces in develop.py. 2014-08-30 18:57:12 -05:00
Shyotl
9c63243fe7 Fix issue with planar face alignment. 2014-08-30 18:56:27 -05:00
Shyotl
5535ba6b47 Fix issue with paths with spaces, in viewer_manifest.py 2014-08-30 16:25:46 -05:00
Drake Arconis
5059d5e2da Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer 2014-08-30 14:29:32 -04:00
Inusaito Sayori
52a80f98ed Nomade's touches to french Object Weights Floater
Supposedly fixes a french crash.
2014-08-30 06:09:33 -04:00
Inusaito Sayori
9600319094 Add debug setting LiruHighlightNewInventory to prevent selection being changed on accepting new inventory. 2014-08-27 07:58:08 -04:00
Aleric Inglewood
9b930c8716 Don't set a SSL ctx callback when we don't use openSSL. 2014-08-26 19:19:06 +02:00
Aleric Inglewood
eb0d2e5b2c libcurl-gnutls.so (debian) links with libgnutls.so
In that case we DO reach the assert here.
I verified that curl_global_init() indeed calls gnutls_global_init().
2014-08-26 01:35:13 +02:00
Aleric Inglewood
5e2722475a This header uses LLMatrix4a, not LLMatrix4. 2014-08-26 00:29:59 +02:00
Aleric Inglewood
b1e406731d Merge remote-tracking branch 'singu/master' 2014-08-25 18:39:46 +02:00
Aleric Inglewood
8c6d51cb71 No longer support DEBUG_CURLIO when libcwd isn't installed. 2014-08-25 17:58:45 +02:00
Shyotl
4b205084f8 Fix develop.py 'build' command. 2014-08-23 20:52:01 -05:00
Shyotl
eb910b0bae Use /Zm140 for all windows builds. 2014-08-23 20:50:56 -05:00
Shyotl
09a6a1f259 Merge branch 'master' of git@github.com:Shyotl/SingularityViewer.git 2014-08-23 01:37:48 -05:00
Shyotl
315618a18b Fixed materials specularmap + glossiness=0 combination. 2014-08-23 01:34:25 -05:00
Inusaito Sayori
59af03695b Fix debug settings boolean to work with the radiogroup update. 2014-08-23 00:24:57 -04:00
Inusaito Sayori
e1851f7b5b Sync llwindowwin32 with Alchemy. 2014-08-22 21:47:52 -04:00
Inusaito Sayori
a126b4003f Fix the first double click of every session failing. 2014-08-22 21:43:48 -04:00
Inusaito Sayori
9067de26ac Seriously, what is logic? 2014-08-22 17:32:28 -04:00
Inusaito Sayori
260c5345fd Logic, what's that?! 2014-08-22 16:16:08 -04:00
Drake Arconis
29195e8460 Merged upstream/master 2014-08-22 10:26:58 -04:00
Inusaito Sayori
e3dd05ef21 Fix the broken radio groups
Now can I go to sleep, Papa?
...
But I did my chores and fixed the bugs.
...
YAY! *runs off to bed*
2014-08-22 07:14:19 -04:00
Inusaito Sayori
9379bcedf9 A propos de [SHORT_APP_NAME] 2014-08-22 06:02:03 -04:00
Inusaito Sayori
2c91210d6e Is almost zero approximately zero? 2014-08-22 06:01:45 -04:00
Shyotl
f721d935e4 Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer.git 2014-08-22 03:55:21 -05:00
Shyotl
66597cade3 Use [SHORT_APP_NAME] xui/de/floater_about.xml as per liru request. 2014-08-22 03:52:13 -05:00
Shyotl
3c5f39e26a Use a dynamic buffer for LLMeshHeaderResponder. 2014-08-22 03:41:00 -05:00
Shyotl
24e3176f1b Fixed some odd initialization oddness in develop.py. Also changed win64 build targetdir to build-vc###-Win64 2014-08-22 03:38:49 -05:00
Drake Arconis
e49156a074 Fix mesh upload broken by # 2014-08-22 00:29:46 -04:00
Drake Arconis
948ebe5213 All your codebase are belong to us. 2014-08-22 00:15:09 -04:00
Drake Arconis
2a64c07215 Fix fmodex breakage 2014-08-21 22:00:59 -04:00
Drake Arconis
578a5719dd Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer 2014-08-21 21:59:51 -04:00
Shyotl
e59757e3e8 Clean up a few harmless compiler warnings (signed/unsigned, double to float) 2014-08-20 19:43:32 -05:00
Shyotl
282de8c7f5 Only use LLAvatarJoint when necessary, else LLJoint 2014-08-20 19:40:31 -05:00
Shyotl
541021f29c Fix relwithdebug. 2014-08-20 17:42:48 -05:00
Melanie
6804253bfc Merge branch 'master' of github.com:singularity-viewer/SingularityViewer
Conflicts:
	indra/newview/llfloaterperms.cpp
2014-08-20 05:46:50 +02:00
Inusaito Sayori
e01b9dcd39 If it's not a translation, don't change APP_NAME and related strings in strings.xml 2014-08-19 20:06:43 -04:00
Inusaito Sayori
8d4567b930 Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer 2014-08-19 19:55:34 -04:00
Inusaito Sayori
6f6988a487 Add "Move to Lost And Found" option for displaced inventory
Inspired by the work of Kitty Barnett
Fixes Issue 1337: Corrupted Inventory
Fixes Issue 1625: Unattainable inventory is Outside of My Inventoy and no options to move back to My Inventory
Fixes Issue 1580: Deleted folders showing outside of inventory folder.
2014-08-19 19:52:24 -04:00
Inusaito Sayori
435ab2ce77 Modernize llradiogroup, allows v3-style attributes: value, label for radio_item; allow_deselect for radio_group.
LLRadioCtrl moves into llradiogroup.cpp
2014-08-19 19:42:42 -04:00
Shyotl
1afd723c4e Post-merge fixup. 2014-08-19 01:36:24 -05:00
Shyotl
b09f7f5ac7 Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer.git
Conflicts:
	indra/newview/llviewerobjectlist.cpp
	indra/newview/llviewerpartsim.cpp
2014-08-18 23:55:03 -05:00
Shyotl
1b3f0f9ec0 Manual texture reloading now re-fetches materials-related textures. 2014-08-18 23:47:37 -05:00
Shyotl
d1d68721ac Pulled mesh header info parsing and VFS fetching into their own procedures to remove duplicate code. 2014-08-18 17:16:45 -05:00
Inusaito Sayori
2f4afe5b68 Fix About [APP_NAME] to read About [SHORT_APP_NAME] 2014-08-18 17:58:45 -04:00
Shyotl
47fcc70756 Write initial mesh data to file in larger chunks. Reduces file i/o stalls. 2014-08-18 00:54:46 -05:00
Shyotl
0e86b696c5 Added more verbose statemachine debug output. 2014-08-18 00:54:01 -05:00
Shyotl
54f05b409c Always use dynamic_cast when casting from an LLJoint* 2014-08-13 18:04:24 -05:00
Inusaito Sayori
350dff9b98 Cinder made some logic enhancements to hippogridmanager.cpp, I've picked them up~ 2014-08-13 02:34:52 -04:00
Inusaito Sayori
f198221812 System preferences and Menu translation updates by Nomade Zhao. 2014-08-13 02:04:17 -04:00
Inusaito Sayori
dee08b4216 Spanish translation pruning, also Manage ban list translation by Damian. 2014-08-13 02:02:34 -04:00
Damian Zhaoying
e02d074a85 Merge remote-tracking branch 'Liru/master' 2014-08-11 18:25:32 -03:00
Damian Zhaoying
8e2da87b97 Update spanish translations to reflect a lot of changes and adds in last Alphas builds. 2014-08-11 18:22:34 -03:00
Inusaito Sayori
2deba06212 Missed a spot with the date column for group bans
I'm thinking of putting a setting here instead of hardcoding the date format, actually, but for now this is good enough.
2014-08-11 14:36:37 -04:00
Drake Arconis
90d2dce07a Add FMOD Studio support 2014-08-10 17:41:10 -04:00
Latif Khalifa
a6ac8e1f71 Workaround for clang bugs 2014-08-09 11:24:22 -04:00
Inusaito Sayori
69436a9032 Add french translation for connect to neighboring regions from Nomade Zhao 2014-08-09 10:50:24 -04:00
Inusaito Sayori
50d91d13be Allow dragging and dropping to attached objects
There's now a guard serverside that'll prevent the situation that would cause things to break in the past, so there's no reason not to have this.
2014-08-08 16:26:40 -04:00
Inusaito Sayori
54a6db146e Upon further consideration and a bit of feedback, the new matching common characters behavior of gesture autocomplete is probably bad, I've commented it out and brought back the old code. 2014-08-08 14:57:14 -04:00
Inusaito Sayori
3b31fe91a6 Address Deltek's concern that the Open Attachment button wasn't changing text to just say save when the object is not the openable type. 2014-08-08 14:52:52 -04:00
Inusaito Sayori
90c5219be9 Move Media Filter from the View menu to the Singularity menu.
Moves Media Filter in all translations, no need for translators to worry~
Nomade, please translate the Singularity menu at your discretion.. in menu_viewer.xml
2014-08-08 08:43:24 -04:00
Inusaito Sayori
669fe29173 Initialize members of LLMediaFilter, fixes win64 filter being broken. 2014-08-08 08:26:48 -04:00
Inusaito Sayori
d7d06c8234 Oh, and this one too, maybe it is fixed now? 2014-08-08 07:07:51 -04:00
Inusaito Sayori
4754c1322d This should probably be a size_t, perhaps this fixes the win64 mediafilter bug. 2014-08-07 21:56:25 -04:00
Inusaito Sayori
acb093c277 Media Filter code cleanup 2014-08-07 20:37:03 -04:00
Inusaito Sayori
21d54edeb9 Per-slider reset buttons? Sure.
Adds callback to registrar: "Prefs.Reset", pass debug setting name as parameter.
2014-08-07 20:29:12 -04:00
Inusaito Sayori
20ea0968da Feature Request from friti: Add a reset button to Depth of Field tab of graphics.
Actually should've committed this last night. X3
2014-08-07 08:31:26 -04:00
Shyotl
398d8c52a2 Minor cleanup. 2014-08-07 01:57:11 -05:00
Lirusaito
f82d12d381 Fix linker errors on linux after merging Shyotl 2014-08-07 01:54:56 -05:00
Lirusaito
91ee5724ca Fix compile errors and warnings on linux after merging Shyotl. 2014-08-07 01:54:45 -05:00
Inusaito Sayori
a82443f271 Make sure that we have a token when doing sscanf in llinventory.cpp and llviewerobject.cpp
Guards against opensim grids that may leave new/blank lines of sorts after their message blocks
2014-08-06 23:29:23 -04:00
Cinder Biscuits
1cd0b70055 Fix filling in MediaAlert notification. 2014-08-06 16:34:23 -04:00
Inusaito Sayori
8f8904ad0f Feature Request: Autoselect the parcel you are on for about land floater when there's no active parcel selection. 2014-08-05 23:25:39 -04:00
Shyotl
e975e389df Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git
Conflicts:
	indra/newview/llnetmap.cpp
2014-08-05 18:17:13 -05:00
Inusaito Sayori
d3242393e0 Better default rect for those two new v3 floaters (destinations and avatar picker) from Latif. 2014-08-05 13:35:42 -04:00
Inusaito Sayori
ce7d0e81bd Toggle control_name in <floater/>'s like booleans for visibility, if they exist.
Look out for this in the UI Overhaul merge, this is gonna clash big time.
2014-08-05 12:48:28 -04:00
Inusaito Sayori
0cf16e6f8f Allow edit menu shortcuts to work while on login screen~ 2014-08-05 11:20:58 -04:00
Inusaito Sayori
0ab395794e [Warnings] "One more," says friti; "One more," fixes Liru. 2014-08-05 00:57:26 -04:00
Inusaito Sayori
ac06a8394b I'm a sillyfolf, here's a compile fix. 2014-08-05 00:48:13 -04:00
Inusaito Sayori
46dd1ad154 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2014-08-05 00:34:06 -04:00
Inusaito Sayori
e57a7b6f3b [Warnings] Fix the "no biggie" warnings
Thanks to friti for providing the pastebin~
2014-08-05 00:31:52 -04:00
Inusaito Sayori
409128b07f [Warnings] enumeral mismatch in conditional expression: ‘DS3Keys’ vs ‘XBoxKeys’ [-Wenum-compare]
Thought I covered this one already...
2014-08-05 00:31:03 -04:00
Inusaito Sayori
fd562061ee Update simple codeless floater behavior
Such that floater's named according to their filename will now close if they were frontmost
making their menu entries and buttons, toggly.

This effects the behavior of the toolbar preferences floater, the Favorites floater, and the My Outfits floater.
(and any such simple extensions made by forks and those that will come in the future)
2014-08-04 23:36:47 -04:00
Inusaito Sayori
c6a7dc8f9c Nomade's update to Camera and Input preferences. 2014-08-04 23:32:44 -04:00
Shyotl
5275f7e852 Re-determine spatial groups for hud attachments upon teleport. Fixes missing prim issue. 2014-08-03 18:52:06 -05:00
Inusaito Sayori
6ec19e4630 Minor edits to french translation. 2014-08-01 09:01:48 -04:00
Inusaito Sayori
690ac8d4b1 Ooooops, broke showcase tab on SL, needs to expandURLSubstitutions(). 2014-08-01 05:56:20 -04:00
Inusaito Sayori
7ae1cd33be Add debug setting LiruShowTransactionThreshold for filtering out low amount transaction notifications. 2014-08-01 05:21:14 -04:00
Inusaito Sayori
a7c6c184da Now that I'm more awake, this is a far better solution for the default sim features issues.
Adds const Type mDefaultValue reset() and getDefault() to SignaledType
Cleans up code by not needing to reset to the default by value every time, nice template function to do this~
Leaves in hg boolean, but commented out in case opensim ever decides to make that a reality.
2014-07-31 22:50:02 -04:00
Inusaito Sayori
29d6b423a3 Toolbar prefs was filling up quick, gave it an extra 20 pixels of height and reordered. 2014-07-31 14:52:41 -04:00
Inusaito Sayori
b3590c5ae6 Add Default Avatar Picker Floater (World->Default Avatars)
Default Avatars button option added to Toolbar prefs.
Adds debug setting ToolbarVisibleAvatar
Hooks into "avatar_picker_url" login response on opensim.
Also includes hooking up of DestinationGuideShown to startup, which was left unstaged from the initial commit of the Destination Guide.
2014-07-31 14:45:27 -04:00
Inusaito Sayori
67f549d86d SimFeaturesHandler: Work around grids where OpenSimExtras aren't implemented by not overriding hg strings there. 2014-07-31 11:29:26 -04:00
Inusaito Sayori
9096265bff Possible solution for Issue 954: Singularity Alpha Build 4701 EULA file missing on first login. 2014-07-31 11:20:17 -04:00
Inusaito Sayori
ce265b3948 Add Destination Guide
Adds llfloaterdestinations.* and floater_destinations.xml (needs translations, but not really)
Adds GenericErrorPageURL, DestinationGuideURL (not persistent), DestinationGuideShown, and DestinationGuideRect to debug settings
Removes ShowcaseURLDefault in favor of DestinationGuideURL from upstream.
Also Adds ToolbarVisibleDestinations for the toolbar button, but I'll need to set up a nice way to make the button invisible when the url is empty before adding it to the gui... maybe.. or maybe it's just not important.

This commit comes with support for dynamically changing destination guide page based on opensimextras simulator features cap
2014-07-31 10:07:11 -04:00
Inusaito Sayori
7fee70543d Login Response support for destination_guide_url, OpenSimExtras support (properly) search-server-url, and support the new destination-guide-url from OpenSimExtras
Expands SignaledType's callback to accept const Type& as argument.
typedefs Signal::slot_type to slot_t so that SignaledType can be altered without needing to update all lines setting slots.

Merges floater_directory.xml with floater_directory(2|3).xml
Condenses translations down to one xml(, finally the nightmare is over).
Better ui code support for classic find all panel
Not like anyone cares, but ShowcaseURLDefault no longer persists value changes between sessions.

Moves SearchType and getSearchUrl(SearchType ty, bool is_web) from HippoGridInfo into a namespace in llpaneldirfind.cpp, the only place where it is used; so that it may wrap the sim feature lookup.

Thanks to Shyotl for the help in dynamically maintaining tab positions for dynamic tabs.
2014-07-31 08:12:00 -04:00
Inusaito Sayori
f3a48bb0f0 Silk Aeon wants greater precision on the Object Weights Floater. 2014-07-30 08:43:12 -04:00
Inusaito Sayori
c151c12b95 Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer 2014-07-25 20:55:39 -04:00
Aleric Inglewood
b8d999066d Allow usage of default timeout policy 2014-07-26 02:46:11 +02:00
Inusaito Sayori
0e816492b4 Merge branch 'master' of https://bitbucket.org/Shyotl/singularityviewer-internal 2014-07-23 22:08:12 -04:00
Inusaito Sayori
c6ef099e18 When we setTextEntry on a combo box, move the cursor to the beginning of the new text.
This fixes the login location combo box not displaying the location cleanly after appending coordinates and such.
2014-07-23 18:15:14 -04:00
Inusaito Sayori
1c5872da0c Fix the grids combobox on the login panel not being scrollable because of constantly reordering grids
Still select the current grid, just use its index number to select it, instead of hacking it to the top of the combo box.
2014-07-23 18:12:18 -04:00
Shyotl
d95e94fa07 Missed a cast to LLMatrix4. Was causing assorted wonkiness (most noticeably, mouselook oddities) 2014-07-23 16:55:46 -05:00
Inusaito Sayori
d7bbbd9d40 Fix Group Role Data never loading since the group bans merge. 2014-07-23 16:58:41 -04:00
Inusaito Sayori
cf56659b18 Add xcode_fix.sh to scripts/ to avoid users needing to download it. 2014-07-23 16:51:14 -04:00
Inusaito Sayori
4163b8e40b Well that's a strange bug... eh, not too important. 2014-07-22 14:38:29 -04:00
Inusaito Sayori
4ca6a5c52c Sync up most of the realistic mouselook code with alchemy.
This should fix the inverted mouselook when sitting problem
Think the bug was in llvoavatar, but keeping in sync is always good for the future overall.
2014-07-22 07:07:38 -04:00
Inusaito Sayori
511811de3b Fix Media Filtering preferences code to work right. 2014-07-22 07:05:36 -04:00
Inusaito Sayori
6ef4dfb61f Fix Media Filtering preferences UI to look proper. 2014-07-22 05:49:41 -04:00
Inusaito Sayori
5ca2a3b0f7 Feature request: Change status bar search to search in all (applicable) tabs
Opens up to last tab selected now, but puts query text and triggers searches in all tabs.

Singu TODO: Have it search marketplace?
2014-07-22 05:48:30 -04:00
Inusaito Sayori
88794d0288 Add "Connect to neighboring regions" checkbox to Vanity->Main preferences. 2014-07-22 04:40:21 -04:00
Lirusaito
30e76a7c11 Fix linker errors on linux after merging Shyotl 2014-07-22 04:24:26 -04:00
Lirusaito
41eb687243 Fix compile errors and warnings on linux after merging Shyotl. 2014-07-22 03:39:01 -04:00
Inusaito Sayori
5191baa659 Merge branch 'master' of https://bitbucket.org/Shyotl/singularityviewer-internal
Conflicts:
	indra/newview/llnetmap.cpp - Thankies Shyotl~
2014-07-21 23:31:59 -04:00
Inusaito Sayori
8159eff664 Ban From Group option belongs in the Moderation submenu on the radar. 2014-07-21 23:13:12 -04:00
Inusaito Sayori
c6eb3d790e MAINT-4241 FIXED [Group Bans] Ban member(s) button is not greyed out for banning group owners. Viewer gives message that you ejected group owner.
by Andrey Kleshchev
5598f66
2014-07-21 23:11:53 -04:00
Inusaito Sayori
f62fc8ab15 Fix right clicking on lists of avatars and selecting ban/invite not working for nonfriends who aren't nearby.
Also touch up group invite floater to show names we can't get from voavatars in the user's global namesystem preference.
2014-07-21 23:11:03 -04:00
Inusaito Sayori
75e85701c6 Add Ban From Group option to right click menu of avatar lists.
Also missed two touchups for the Responder API merge in llfloaterperms.cpp
2014-07-21 22:56:18 -04:00
Shyotl
cd85afc9a5 Quick workaround to fix issue with simple geom not rendering in deferred 'underwater' pass. 2014-07-21 20:28:23 -05:00
Inusaito Sayori
b9ba472eda Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer
Conflicts:
	indra/newview/llspeakers.cpp
Compile fixes:
	indra/newview/llgroupmgr.cpp - uncomment new API for GroupBanDataResponder
2014-07-21 19:56:35 -04:00
Inusaito Sayori
bf9d3acf33 Factor in mAvatarOffset(hover) when calculating the legacy offset, though I doubt this helps. 2014-07-21 19:07:16 -04:00
Inusaito Sayori
bd7e291787 Debug output that was once useful to me. 2014-07-21 19:05:24 -04:00
Inusaito Sayori
73b34b6d89 When there is nothing selected in a media filter list, don't enable its remove button
Also missed xml parts from last commit.
2014-07-21 18:51:20 -04:00
Inusaito Sayori
f2c7290ee8 Touchups to Cinder's new media filter code! 2014-07-21 18:30:05 -04:00
Inusaito Sayori
6f6938f5bb Function removal in LFFloaterInvPanel, in favor of boost::bind function. 2014-07-21 18:04:20 -04:00
Inusaito Sayori
601ff92871 Address Issue 1570: Make comboboxes scrollable
Note: It appears that mLabel is never set by combo boxes, this should eventually be fixed.
Checking !getFirstSelected() is sufficient to test if we're in the list, however.
2014-07-21 18:00:43 -04:00
Cinder
f119986fad Remove orphaned media filter notifications 2014-07-21 14:49:39 -04:00
Cinder
402cd21f87 Hi. 2014-07-21 14:49:33 -04:00
Cinder
8cb694af89 Orphaned local function 2014-07-21 14:49:26 -04:00
Cinder
73d8cedf7e A few changes after code review from Liru 2014-07-21 14:49:18 -04:00
Cinder
b7e8d36cf8 I do things. 2014-07-21 14:49:09 -04:00
Cinder
45f5eb9671 Replace the media filter with something a little different 2014-07-21 14:48:57 -04:00
Shyotl
16fe6d0dcf Fix compile. Remove call to temporary matrix sanity check. 2014-07-21 01:27:45 -05:00
Inusaito Sayori
b633c3ffea Fix Issue 1593: "Attachment" button on Group Notices 2014-07-15 15:37:02 -04:00
Inusaito Sayori
ca1696823c French translation updates, by me~ 2014-07-14 03:20:48 -04:00
Inusaito Sayori
c1cc9d484a Add AlchemyConnectToNeighbors 2014-07-13 19:43:00 -04:00
Liru
db75cb3e17 Fix down arrow not working in inventory after the v-t sync, I must've missed this spot. 2014-07-13 12:51:11 -04:00
Liru
b8a17c8f22 Finish work on MAINT-3119 FIXED Return common chars for triggers that matches the prefix.
Makes the code cleaner too, upstream made this too messy.
2014-07-13 10:28:41 -04:00
Aleric Inglewood
74dff061ff Support for new LL Responder API.
This adds mStatus, mReason and mContent to ResponderBase
and fills those in instead of passing it to member functions.
The added danger here is that now code can accidently try
to access these variables while they didn't already get a
correct value.

Affected members of ResponderBase (that now have less arguments):
decode_llsd_body, decode_raw_body, completedHeaders,
completed -> httpCompleted, result -> httpSuccess,
errorWithContent and error -> httpFailure.

New API:

ResponderBase::setResult
ResponderBase::getStatus()
ResponderBase::getReason()
ResponderBase::getContent()
ResponderBase::getResponseHeaders() (returns AIHTTPReceivedHeaders though, not LLSD)
ResponderBase::dumpResponse()
ResponderWithCompleted::completeResult
ResponderWithResult::failureResult (previously pubErrorWithContent)
ResponderWithResult::successResult (previously pubResult)

Not implemented:

getHTTPMethod() - use getName() instead which returns the class name of the responder.

completedHeaders() is still called as usual, although you can ignore
it (not implement in a derived responder) and call getResponseHeaders()
instead, provided you implement needsHeaders() and have it return true.

However, classes derived from ResponderHeadersOnly do not have
completedHeaders(), so they still must implement completedHeaders(),
and then call getResponseHeaders() or just access mReceivedHeaders
directly, as usual.
2014-07-12 18:29:44 +02:00
Aleric Inglewood
3dd846b600 Stop people from wearing their whole root folder. 2014-07-12 14:38:54 +02:00
Inusaito Sayori
8a2e24ecd0 Sync with viewer-tiger~
Syncs up llmath stuffs.

Thanks to Shyotl for the CMakeLists fix for Wbemuuid.
2014-07-11 20:36:19 -04:00
Aleric Inglewood
6ccca51fee Compiler warning fixes.
g_thread_init is automatically called since 2.32 (and deprecated since 2.35).
g_type_init is automatically called since 2.36 and will be deprecated in the
future.
2014-07-11 17:10:27 +02:00
Aleric Inglewood
a4b3c3d1ad Remove self dependency of llwindow.
Needed to avoid an error message from cmake 2.8.12.1 and higher
(policy 0022).
2014-07-11 16:32:55 +02:00
Inusaito Sayori
bc8947289b Sync
Includes:
MAINT-3541 (crash in std::vector >::reserve)
MAINT-3364 FIXED Call clearSelection() from root_folder
MAINT-3621 FIXED Set name to "Unnamed" if object's name consists of whitespaces.
MAINT-3412 add gpu_table line with distinct Intel Iris Pro OpenGL regex to match new MBP with forced Intel graphics
MAINT-3119 FIXED Return common chars for triggers that matches the prefix.
MAINT-3661 Fix for crash when uploading corrupt .dae file.
MAINT-3671 FIXED Rename title when new tab is added.
MAINT-3465 FIXED Add check mark to selected entry.
BUG-5537 FIX reverting breaking changes to pectorals and belly.
MAINT-535 FIXED The teleport SLAPP is changed to UNTRUSTED_THROTTLE. Confirmation dialog for teleporting via slapp is added.
2014-07-11 09:31:51 -04:00
Inusaito Sayori
e7c506c6ec MAINT-3496 FIXED Disable "Allow group access" option if "Sell passes to: group" is selected(and vice versa). 2014-07-11 06:52:25 -04:00
Inusaito Sayori
8236964029 Missed the setting for joystick button on toolbar, oops. 2014-07-11 06:42:46 -04:00
Inusaito Sayori
aadecaf102 MAINT-3530 : Add viewer checkbox to extend parcel entry limits to a higher ceiling 2014-07-11 06:42:20 -04:00
Inusaito Sayori
b55e45eef6 Add a joystick on/off toggle to the new joystick toolbar button~ 2014-07-11 01:20:22 -04:00
Inusaito Sayori
adbc928148 Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer 2014-07-10 23:46:47 -04:00
Inusaito Sayori
c4c206076a Add the option to have a toolbar button for joystick configuration 2014-07-10 23:42:43 -04:00
Inusaito Sayori
5c077d7037 Suppress the annoying 404 notification from default perms 2014-07-10 22:43:36 -04:00
Inusaito Sayori
8583a2f4f7 Idea!: Set to defaults flyout button with options for all styles of joystick controller
The button portion does nothing if there is an unknown or no controller connected, otherwise it sets defaults for the controller's identified type.

Joystick buttons are still configured based on identification, however.
DS3 users will likely find that using Motion in Joy switchboards is much more effective, however.
2014-07-10 22:38:30 -04:00
Inusaito Sayori
ed8416ea10 Add a hack to make classified panel in search actually change
We cannot know the creator when we send the request, so use null to trigger the workaround.
2014-07-09 23:22:10 -04:00
Inusaito Sayori
deb7454cf7 Cure Issue 1586: Singularity crashes when adding classified adds on opensim grids (untested in SL)
Following as it is done upstream, no more requests on null ids.
2014-07-09 16:45:40 -04:00
Inusaito Sayori
8c40af5aee Sync up llpanelclassified.* a bit for easier diffings. 2014-07-09 16:18:19 -04:00
Inusaito Sayori
dd893bab41 Work towards curing Issue 1586: Singularity crashes when adding classified adds on opensim grids (untested in SL) 2014-07-09 15:29:38 -04:00
Lirusaito
759ee62e7c /open for opening avatar profiles by id~ 2014-07-09 03:18:08 -04:00
Lirusaito
1e9b79e2c1 Fix old namesystem code that broke initially setting Legacy (w/display) for everything in general.
Also cleans up old logic and directs the friends list to update when the user changes the namesystem for it specifically.
Thanks to um... I think it was Deltek, who discovered this bug.
2014-07-09 03:08:13 -04:00
Lirusaito
315883a28c Fix Issue 1577: Color yellow hard to read on Radar
Thanks to Carla Gomes
2014-07-09 03:00:38 -04:00
Lirusaito
19b85afe12 Allow gtp with implicit current height when z is not provided. 2014-07-09 02:56:09 -04:00
Inusaito Sayori
b2e8a31d68 Address Issue 1571: Newer OSSL functions not recognized by Script Editor 2014-07-08 19:15:19 -04:00
Inusaito Sayori
b4b12732cb Add new materials script constants to keywords.ini 2014-07-08 18:48:59 -04:00
Inusaito Sayori
c714c57bb2 Solve Issue 1572: Checkbox not saving its tick 2014-07-08 18:31:23 -04:00
Shyotl
4697216c5e Utilize vector_replace_with_last 2014-07-05 19:29:10 -05:00
Shyotl
e2fa94e2c3 Fixed water normals. 2014-07-05 19:09:21 -05:00
Siana Gearz
7578a27bf7 Fix RLVa in About floater 2014-07-05 14:11:26 +02:00
Siana Gearz
14e0b3c9e6 Latif's Breakpad from Replex 2014-07-05 04:14:58 +02:00
Shyotl
815acfc7da Don't use SHGetSpecialFolderPath since it's dead. Use SHGetFolderPath instead, as that still is supported on XP, and is merely deprecated, not removed from newer SDKs (yet). 2014-07-04 20:25:35 -05:00
Shyotl
7d8af7d413 Use one shared vbo to draw fullscreen rectangles in LLPipeline, for both deferred and non-deferred. Provides a nice bit of cleanup. 2014-07-03 17:09:27 -05:00
Shyotl
39810ed516 Removed several unused variables from LLPipeline 2014-07-03 02:34:10 -05:00
Shyotl
9cbcf8fe34 Removed glh_linear and glu dependencies from viewer. 2014-07-03 02:11:45 -05:00
Inusaito Sayori
02b476035b Correct Issue 1562: Environment Editor Floater not Opening Initially 2014-06-26 15:08:04 -04:00
Inusaito Sayori
9eb338f417 Merge up RLVa in llinventorybridge.cpp and remove old commented code
Just something I did to ease mergies.
Adds RLVaDebugDeprecateExplicitPoint

Ignore space changes
2014-06-25 15:23:04 -04:00
Inusaito Sayori
15e30604fc Feature Request: Add an option to bypass closing active viewers when (un)installing 2014-06-25 00:12:12 -04:00
Shyotl
21f677cf58 Remove glh::matrix4f variant of glh_get_current_modelview. 2014-06-24 01:23:08 -05:00
Shyotl
3ead892b1c Re-worked animated linden trees to reduce duplicate code and provide a cleaner diff. 2014-06-24 01:17:47 -05:00
Shyotl
a59e87a896 Added a gradient fade to the minimap viewcone visualization. 2014-06-22 03:55:29 -05:00
Shyotl
96df7b82de Change texture default to non-auto-alphamaskable, non-pickable. Only 'fetchable' textures may qualify for either. 2014-06-22 03:53:08 -05:00
Shyotl
5cb5d284c3 Initialize LLRender::mHasTextureSwizzle to false. 2014-06-22 03:44:48 -05:00
Shyotl
869517b9c6 Evidently a line in objectSkinV.glsl escaped earlier staging. 2014-06-22 03:43:43 -05:00
Shyotl
56cefce1cc Enable auto-alphamasking for attachments, and force to use V3 auto-alphamask algorithm for said attachments. 2014-06-22 03:42:37 -05:00
Shyotl
165af85894 Altered vector_replace_with_last to work around MSVC2010 compiler bug. 2014-06-22 03:40:12 -05:00
Shyotl
7c073c1db7 Explicit enforcement of alignment for all aligned types, including structures with aligned members. (Compiler handholding) 2014-06-22 03:39:33 -05:00
Shyotl
061178ad82 Migrated gl matrix stack to LLMatrix4a 2014-06-22 03:34:51 -05:00
Inusaito Sayori
dbc7c6e74d OUYA has different defaults, store its defaultification status uniquely.
Also code cleanup/simplification in the getDescriptiony areas.
2014-06-21 19:08:52 -04:00
Inusaito Sayori
d87a48ea06 Group Bans!
Thankies Baker Linden~

Ported Ansariel's mAvatarNameCacheConnection change to mAvatarNameCacheConnections to llpanelgroupbulkimpl.h

Adds setGroupID in places, in case we ever want to add that.. but for now we don't really need/use it
Adds Refresh_Off icon from upstream.

Viewer Interesting changes:
Moves LLGroupChange out of stdenums.h into llgroupmgr.h
Moves roles_constants.h from llcommon into newview

This looks like it's better without space changes...
2014-06-21 16:44:39 -04:00
Inusaito Sayori
b36bb8b5bb Increase the maximum range of finding avatars to invite near the user
Increased from 40 to 8192, so it works across sims and all the way up.
Also made the value editable, and the slider is now as wide as the list which looks nice.
2014-06-21 15:05:46 -04:00
Inusaito Sayori
2ed16c9736 Right click menus in avatar picker lists and in group invite avatar list. 2014-06-21 15:02:20 -04:00
Inusaito Sayori
c031649979 Added Eject avatar from group notification from v-r. 2014-06-20 18:01:59 -04:00
Inusaito Sayori
e0746fca12 Sync up llgroupactions with v-r/rlv. 2014-06-20 15:53:54 -04:00
Inusaito Sayori
2075042ba7 Fix key2name not working on the first try. Also make it comply with the name system choice. 2014-06-19 12:48:00 -04:00
Inusaito Sayori
499cd48763 More touches for DS3 support. 2014-06-19 11:29:18 -04:00
Inusaito Sayori
5d826b2b62 Use Nebadon's defaults for the Ouya game controller. 2014-06-18 21:32:31 -04:00
Inusaito Sayori
b20943d497 cd36a1fe16 had some mistakes/missing pieces 2014-06-18 21:07:15 -04:00
Inusaito Sayori
b4ab9a4e57 Fix cursorZoom being broken, my bad, forgot to add the increment line 2014-06-18 20:35:03 -04:00
Inusaito Sayori
cd36a1fe16 Add MotioninJoy detection, along with a whole new control set for it.. plus bonus buttons!
Tilt up to go up/jump, tilt down to go down/crouch (flying works nicely this way)
Turn left to roll left, turn right to roll right, while in flycam only.
Controls are mapped to the same buttons as with xbox controller.

Bonus buttons:
PS3 Logo button: Toggle Sit!
L2 and R2... no idea what to make these, I'll come up with something
2014-06-18 20:32:28 -04:00
Lirusaito
1cda80cbe7 Introduce function isXboxLike, to support Xbox-like controllers, even if they don't identify as Xbox.
Support for Ouya controller added.
2014-06-18 16:15:48 -04:00
Latif Khalifa
ffd0e6b79d [Branding] Linux scripts now made from template by cmake 2014-06-18 18:35:29 +02:00
Inusaito Sayori
a7728b87fc Touchup-fix for Issue 1549: Keyboard camera panning only works in 3 directions using WASD keys.
I didn't like the way Advanced menu flickered, so I provided a setting to prevent the toggle that way altogether.

Adds LiruUseAdvancedMenuShortcut
2014-06-18 09:47:08 -04:00
Inusaito Sayori
c218789abc Repeats per meter goes negative when flipping, let it be modified while in the negative without clamping to a positive minimum. 2014-06-18 09:32:59 -04:00
Inusaito Sayori
3656cb9fdb MAINT-4001 : Make Received Items not movable (protected), consolidate Received Items folders which may have been moved
Work by Merov Linden.
2014-06-18 08:05:49 -04:00
Sim Federal
e93fdf4615 Added region positions to the world map tiles
This feature added the setting 'SFMapShowRegionPositions'
2014-06-17 14:06:42 -05:00
Inusaito Sayori
6722e25cbe Fix Issue 1182: Script Window Resize Issue 2014-06-17 13:36:29 -04:00
Lirusaito
790db4283c STORM-2018: Group invite fails to let you join groups when groups maxed even when you leave group 2014-06-17 12:57:52 -04:00
Lirusaito
a0359473ff STORM-2011: Group member lists not loading properly
Work by Ansariel

For us, this is just to disconnect properly, we didn't have this because it was broken.
2014-06-17 12:56:43 -04:00
Lirusaito
ccfdcce5c1 MAINT-3187: Name list controls do not properly resolve avatar names
Work by Ansariel

For us, this is just to disconnect properly, we had this commented out because it was broken.
2014-06-17 12:54:26 -04:00
Lirusaito
811849fa23 Attempt to fix Issue 1154: Streaming Audio Display no longer stays enabled across relogs 2014-06-17 12:51:04 -04:00
Inusaito Sayori
1051fd9d42 Feature Request: Show how many scripts are actually running when doing a script count (also shows mono!) 2014-06-17 11:39:03 -04:00
Inusaito Sayori
5490a992ca Revert "[Preferences Refactor] Remove window size combo box from graphics preferences"
The issue wasn't the resolution box, and it apparently has its uses.
This reverts commit ac106b0aff.

Conflicts:
	indra/newview/skins/default/xui/en-us/panel_preferences_graphics1.xml
2014-06-16 21:43:43 -04:00
Inusaito Sayori
2d29fb8d15 Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer 2014-06-16 16:09:29 -04:00
Aleric Inglewood
589035c1db Attempt to fix gray avatars on mobile networks.
Ported from
e879862791
2014-06-16 21:02:27 +02:00
Shyotl
8f6a578ec0 Migration to LLMatrix4a instead of glh::matrix4f 2014-06-15 22:42:32 -05:00
Inusaito Sayori
a2fcf4edac Touchup to export perm enablement in default permissions
(not convinced this feature is working, though)
2014-06-14 23:18:48 -04:00
Inusaito Sayori
f56ac5210c [Warnings] Fixed warnings that Friti reported, thanks friti! 2014-06-14 18:21:20 -04:00
Inusaito Sayori
576069a84d Fox knot 2014-06-14 16:26:29 -04:00
Inusaito Sayori
7ea7d4cf6c Fix any and all crashes relating to initialization of UI components that may need the name cache to be initialized already. 2014-06-14 15:40:36 -04:00
Inusaito Sayori
21e1359b37 Confirmation for removing users, also reposition the remove button icon 2014-06-14 15:38:33 -04:00
Inusaito Sayori
eebee9b7c1 [STORM-68b] Default permissions floater overhaul
Adds separated default permissions for Objects, Uploads, Scripts, Notecards, Gestures and Wearables.

Compatible with Export Permission
Backwards compatible with default permissions for objects on regions where AgentPreferences capability is not available (opensim users rejoice!)

These changes to llfloaterperms are made available under lgpl, if there's a v3 that wants to adopt default export permission for opensim.
2014-06-14 15:32:50 -04:00
Sim Federal
bfc986a97d Fixed the spamming of has left sim
Bumping into the edge of a region without
a neighboring simulator would spam has left
and has entered the sim. This will now check
if the position is a valid global, if position not valid
then it will assume you're still in the same simulator.
2014-06-13 04:20:17 -05:00
Inusaito Sayori
d65a52242e Fox a small mistake in the last commit. 2014-06-13 05:12:41 -04:00
Inusaito Sayori
c82c791061 Whoops, that was C++11, that won't work for Linux and Mac. (code change only) 2014-06-12 08:51:54 -04:00
Inusaito Sayori
bcd18a01d8 [Preferences Refactor] In vanity->tags, remove color swatch disable logic since it doesn't make much sense anymore and isn't refreshing soon enough. 2014-06-12 07:26:04 -04:00
Inusaito Sayori
53a4931974 Group feature request: add ability to not turn when right clicking on objects
Adds RightClickTurnsAvatar to debug settings, defaults to true.
2014-06-12 06:13:33 -04:00
Inusaito Sayori
1f7751618e Solve Issue 1541: Remove old Logins
Little trash button next to the username box added, as its tooltip explains, if you have a valid entry selected and you click it, that entry will be removed.
My test avatar was a fake entry by the name Garbage Tax
Just thought I'd give that to the googles... enjoy~
2014-06-12 01:27:54 -04:00
Inusaito Sayori
497babe8e9 Fix Issue 1540: SLURLs not openable from chat? 2014-06-11 20:52:47 -04:00
Inusaito Sayori
973a90a34d Address Issue 1063: Compatibility azerty
It's dynamic, no need to relog!
Look under input preferences for "Use azerty layout instead of qwerty layout"
2014-06-11 20:02:34 -04:00
Inusaito Sayori
3cff5cd1a8 Only determine DumpDir in one place, LLDir::getDumpDir, not in llcrashlogger.
Also spaces tabs in getDumpDir
2014-06-11 14:36:41 -04:00
Inusaito Sayori
8766335708 Up the maximum field of view to 320, from 175, on request from Tazy Scientist
Better for reallllly wide screens and multiscreen setups, apparently.

Also, let's merge with v-r while we're at it, since llcamera.h requires a large-ish recompile
Nothing functional though.
And some license updates to some identical files in llmath.
2014-06-11 03:24:46 -04:00
Inusaito Sayori
908fc939b1 Feature Request: Next owner perms for scripts
In System->Building preferences, on the top right side.
2014-06-10 11:23:27 -04:00
Inusaito Sayori
73c4557a45 STORM-1117 does not affect us, allow calling cards in prims
Issue was due to v2 name resolution, our calling cards are old school and don't do this.
2014-06-10 08:51:09 -04:00
Inusaito Sayori
accfcbbf5c Restore the old behavior of not derendering muted people
This can be switched off with LiruLegacyDisplayMuteds in debug settings.
People have been annoyed that muted avatars disappear, and since we have the derender system anyway..

Also Sync llvoavatar.cpp with v-r a bit
(okay, fine, alot)
2014-06-09 10:10:03 -04:00
Inusaito Sayori
5a36450e01 Allow multi-select for participant lists, for multi-user operations via right click menu. 2014-06-09 06:54:53 -04:00
Inusaito Sayori
839f4eab7e Feature Request: chatbar as commandline "/regionsay msg" to do region-wide messages without needing to go through the region/estate floater. 2014-06-09 06:50:48 -04:00
Inusaito Sayori
fec0559d11 Introduce debug setting, LiruNewMessageSoundIMsOn, for defaulting ding of new IMs on.
This setting is off by default and I don't intend to give it a gui yet.
It probably will go in Chat UI, eventually.
2014-06-09 00:02:54 -04:00
Inusaito Sayori
e46fc0a805 Portability Mode!
Just add --portable to the shortcut
or use the provided shortcut as a template,
though it's likely the provided shortcut will not work on other computers, because the drive letter will change
2014-06-09 00:00:43 -04:00
Inusaito Sayori
fb7751360c Update Windows 64-bit Hunspell, thankies Drake~ 2014-06-08 20:42:26 -04:00
Inusaito Sayori
0c2e7d7028 Pressing up on right stick should turn the camera up in flycam, logically. (xbox controller) 2014-06-08 09:05:39 -04:00
Inusaito Sayori
fe2e68b410 These defaults seem more effective for my DS3 in flycam.
If anyone has a real XBox 360 controller and doesn't like them, let me know, we can totally work together on this
2014-06-08 08:23:48 -04:00
Inusaito Sayori
166c4df0b3 No more gross grey bars on the sides of snapshot thumbnails!!
Also random snapshot floater code sync with upstream in small places because it'll need doing at some point..
2014-06-07 11:50:31 -04:00
Inusaito Sayori
68684855c6 Bump link num starting point from 0 to 1
Based on script testing, and the fact that the root prim is 1, not 0.
2014-06-07 06:30:52 -04:00
Inusaito Sayori
fa0de18ffe [Voice Update] Small sync, less warning spam is likely
Should fix group chats sometimes not showing anyone. (Seemed to for me! ^*^)
2014-06-07 06:27:36 -04:00
Shyotl
24ca32f9f7 Replace gluProjectf/gluUnprojectf with own versions. Also changed gGLModelView/gGLProjection and other related matrices to LLMatrix4a. 2014-06-06 01:59:04 -05:00
Inusaito Sayori
f63de0d0cc Feature Request: Make Inspect button a toggler~ 2014-06-05 23:54:15 -04:00
Inusaito Sayori
f6db6058e1 Mass fixup to appearance mode ui overhead!
Should contain no functional changes, ust that all ui in appearance mode is now cached instead of calling getChild per frame.
Switches from hiding min/max param text every frame to force-drawing in draw call and setting invisible (llscrollingpanelparam.cpp/the corresponding xml)
Cleans up some old commented out code.
Moves some simple, one-call functions into their calling bodies.
Also, for some reason I had to adjust the alpha checkboxes, totally confused why they were out of line... maybe they had been already? I don't see a changed line that did positioning.

Contains spaces to tabs fixes, please view without space changes (You have been warned!)
2014-06-05 21:41:59 -04:00
Inusaito Sayori
d23632ef46 [RLVa] Yay updates~
e4a6e0d257c1 - fixed : @recvim=n isn't actually blocking the incoming message
35869fc884e9 - internal : minor refactoring of the process of updating the navigation and top info bars when toggling @showloc

9688630000ad - changed : show a limited context menu in the nearby people panel when @shownames restricted
    -> "Offer/Request Teleport" (filtered)
    $ Singu Change: Adds Recording of teleport offers to chat (if sending less than 10), one day I'll get around to doing this right into IMs

Noticed RLV.EnableIfNot was not being used, so I plugged it in for windlight.
Future Note: This brings us up to 417d759f0fa9 on the RLVa tree.
2014-06-03 20:29:55 -04:00
Inusaito Sayori
1048f213c7 Fix maximized windows being repositioned to no longer maximized when applying graphics settings. 2014-06-03 00:56:24 -04:00
Inusaito Sayori
98d88bff94 [Preferences Refactor] Oops, that shouldn't be there. 2014-06-02 23:41:03 -04:00
Inusaito Sayori
861fccd2d6 Address Issue 1301: Depth of Field preferences
Thanks a lot to Niran for assistance in this. Tooltips are from Black Dragon's machinima panel.
Note: Moves Depth of Field checkbox into the new Depth of Field tab.
2014-06-02 23:40:35 -04:00
Inusaito Sayori
715c3b8510 [Preferences Refactor] Cleanup on llfloaterpreferences
Moves to calling refreshEnabledState directly from LLPanelDisplay instead of bouncing around in LLFloaterPreferences first or using static proxy functions
Cleans up unused cached button pointers and old style static callbacks.
2014-06-02 23:24:25 -04:00
Inusaito Sayori
3c6c7c4138 [Preferences Refactor] Further cleanup
Moves to visibility_control and enabled_control instead of using callbacks, this lightens the load on opening preferences, and makes them responsive even to debug settings changes
Removes the moving m for meter text with draw distance, I don't think anyone cares if it's a little to the side of the number.
Adjustment of tabs to spaces in xml.
Return early when disabling unavailable settings if shaders are unavailable.
Cuts back on single-call functions in favor of direct binds.
2014-06-02 23:20:30 -04:00
Inusaito Sayori
95106ca1c2 [Preferences Refactor] Handle Hardware tab earlier to avoid early return when custom isn't displayed 2014-06-02 20:25:01 -04:00
Inusaito Sayori
ac106b0aff [Preferences Refactor] Remove window size combo box from graphics preferences
Windows can be resized on their own, we do not need this box
This should also fix window resizing when applying preferences.
2014-06-02 20:22:15 -04:00
Inusaito Sayori
001e45627b Feature Request: Add an option to toggle Animating when going into Appearance Mode, option is in vanity->main preferences 2014-05-30 06:38:13 -04:00
Inusaito Sayori
b8c3457644 Set RenderTextureMemoryMultiple to 1.0 on Macs, because the people asked for it.
If this explodes, I'm sure we'll see issues reported against it soon,
but in private testing we've yielded nothing but good results.
2014-05-29 22:43:55 -04:00
Inusaito Sayori
5f6dcfa82a [UI Overhaul] Restore LLContextMenu::appendContextSubMenu definition, lost in last commit. (Thannks for catching this, Tazy!) 2014-05-29 20:12:31 -04:00
Inusaito Sayori
f2dd944acd [UI Overhaul] Migrate LLContextMenu (and LLPieMenu) to the bottom of llmenugl.cpp to better diff with upstream. 2014-05-28 23:33:53 -04:00
Inusaito Sayori
d0f69ebb75 [UI Overhaul] LLMenuGL sync: doIt() --> onCommit() 2014-05-28 23:03:00 -04:00
Inusaito Sayori
04737fb0e8 [UI Overhaul] Missed this in c640585 2014-05-28 22:59:52 -04:00
Inusaito Sayori
d78550e83e Introduce APP_SITE for easy rebranding of viewer website from strings.xml. 2014-05-28 22:54:40 -04:00
Inusaito Sayori
c640585bc3 [UI Overhaul] Introduce LLMenuGL::insert from upstream and remove append/addChild wrappers in favor of insert 2014-05-28 22:52:29 -04:00
Inusaito Sayori
a926cdc5be [UI Overhaul] LLMenuGL sync 2014-05-28 22:08:01 -04:00
Inusaito Sayori
43e66b57a0 [UI Overhaul] Scrollable Menus.. just the implementation for now, not actually used.
This worked initially(early testing yesterday), but since then it seems not to, either way, implementation part is out of the way, so committing.
2014-05-28 21:50:18 -04:00
Shyotl
ee60a9801b Appease some nVidia cards/driversets regarding skinned shaders. 2014-05-27 20:18:48 -05:00
Inusaito Sayori
fb69220b95 Merge branch 'master' of git://github.com/lkalif/SingularityViewer 2014-05-27 12:57:45 -04:00
Inusaito Sayori
1cf7f67af5 Viewer name branding fixes, make rebranding way easier.
Also fix up french menu leaving functions around..
2014-05-27 12:54:33 -04:00
Latif Khalifa
8497ba1898 Use @style@ cmake escapes for the linux wrapper script
This avoids cmake messing up shell variables
2014-05-27 17:39:37 +02:00
Lirusaito
234259da91 Fix Issue 1299: Default Build settings for transfer permission not applied to a newly rezzed box
Mostly a workaround for next owner transfer being on by default
2014-05-26 13:51:41 -04:00
Lirusaito
ef7f309012 Redundant check is redundant 2014-05-26 09:32:50 -04:00
Lirusaito
d372fa1a0f Whoops, fixup locally experienced crash with lookat beacons. 2014-05-25 14:47:45 -04:00
Lirusaito
ea9005868b Switch out bumpers being roll for bumpers being y axis (up/down) with the xbox controller
This seems more widely used, and roll does nothing in Avatar movement so this is more useful
If people want it the other way, they can just switch it themselves.
2014-05-25 12:57:48 -04:00
Lirusaito
0a3a4a51bd Feature Request: Add an option to "Make rightclick zoom instantaneous, not smooth" (in Input & Camera preferences) 2014-05-25 12:44:48 -04:00
Latif Khalifa
1dbd913d9d Branding: generate wrapper script with cmake 2014-05-25 18:18:47 +02:00
Latif Khalifa
22cded7ccc Made breakpad symbols generation branding neutral 2014-05-25 08:27:00 +02:00
Latif Khalifa
4851f1ad48 Branding support for Linux packaging 2014-05-25 04:07:34 +02:00
Inusaito Sayori
0d94dd7bf8 Pick up a few changes from Alchemy for LookAt beacons
Implements lines from avatar to their lookat beacons
Implements namesystem so that Display Names can also be shown with beacons instead of just legacy

New options are available in the Security & Privacy tab of System preferences
2014-05-24 05:26:32 -04:00
Inusaito Sayori
bbe7f6adfb Enable Multiselect in groups, and enable EditMenuHandler when a scrollable list is focused!
Allows Ctrl-A to select all in a list (Like for selecting all groups and unticking chat with a single click)
Ctrl-E to deselect
Ctrl-X/Ctrl-C to copy a list (useful for saving ban lists and such!)
2014-05-23 19:37:32 -04:00
Inusaito Sayori
828941a204 Meeting Request: Pick up LL's changes to land impact (Also introduces Land Impact floater)
Small change to lltextbox allowing us to use value attribute with <text/>'s YAY!!

Cleaned up in llfloatertools as well to better diff.
2014-05-23 06:19:43 -04:00
Inusaito Sayori
2ce3f2c131 Meeting Request: Display date not just time in Teleport History
Will not change old entries because of the stupid way teleport history is saved.
Seriously, this floater needs a rewrite... we should just use v3.
2014-05-23 03:39:35 -04:00
Inusaito Sayori
8943552c1c Meeting Request: Change System Preferences' Security tab to Security & Privacy 2014-05-22 19:58:16 -04:00
Inusaito Sayori
dadbb00b85 Introduce a setting for Automatically scrolling to the bottom of a chat when the chat gains focus
Preferences->Adv. Chat->Chat UI, Autoscroll to the end of chats when they regain focus.
This defaults to false, unlike the legacy behavior.

Partial revert of "Feature Removal!: Do not scroll to the end of chats when the corresponding chatbar regains focus!"
2014-05-22 19:46:15 -04:00
Inusaito Sayori
852a8407c8 Feature Removal!: Do not scroll to the end of chats when the corresponding chatbar regains focus!
Focus is given to chatbar on floater focus, so this got in the way.
This feature was never really worth it.
2014-05-21 22:57:08 -04:00
Inusaito Sayori
bfbbcad8e5 Feature Touchup: Add backup destination to Emergency Teleport out of region within last 20 seconds before restart feature
Falls back if first landmark is not in inventory or invalid, region is offline, or the current region is your location
Item drop target is right below the original one in System->Security prefs.

Thanks again to the citizens of Fluffy for enduring these restart tests.
2014-05-21 19:07:11 -04:00
Inusaito Sayori
c684987908 Fix bugs introduced in 77a13963bb
Fixes Shiny/Bumpy combo boxes being broken
Fixes UI warning for "label glossy" not existing, it was "label glossiness".
2014-05-20 23:37:59 -04:00
Melanie
d0c66e5efb Actually hide the export box on SL. Must have been asleep when I coded that. 2014-05-19 14:59:07 +02:00
Shyotl
53b8f70de8 Merge branch 'master' of git@github.com:Shyotl/SingularityViewer.git 2014-05-17 18:26:07 -05:00
Shyotl
a1eb30ae87 Keep old non-swizzle method around since GL_ARB_texture_swizzle has poor support prior to 3.3 (on osx especially) 2014-05-17 18:25:21 -05:00
Shyotl
c4cb9de44b Merge branch 'master' of git@github.com:singularity-viewer/SingularityViewer.git 2014-05-17 16:30:21 -05:00
Shyotl
0a89503edd Renamed glUniformMatrix3x4fvARB to glUniformMatrix3x4fv, since I don't think it ever had the ARB postfix. Also use its the properly named (although identical to the current) function pointer signature. 2014-05-17 04:04:33 -05:00
Shyotl
f12bd741e2 Merge branch 'master' of git@github.com:Shyotl/SingularityViewer.git
Conflicts:
	indra/newview/llvopartgroup.cpp
2014-05-17 03:40:10 -05:00
Shyotl
e35039faf7 Remove deprecated gl call in renderComplexityDisplay. 2014-05-17 03:34:33 -05:00
Shyotl
a756943628 Fix a LLVertexBuffer::validateRange call that I hosed up pretty badly. 2014-05-17 03:33:33 -05:00
Shyotl
a9c3e13e5e Removed some diagnostic spam pertaining to shaders. 2014-05-17 03:32:40 -05:00
Shyotl
67c8ac2b04 Skinned shaders were exceeding maximum amount of vertex uniforms on amd hardware.
-Changed the transform matrix uniform to a 3x4 matrix and packed translation into it to free up uniforms. (3x3 is converted to 3x4 internally, so we were needlessly eating 3*52 extra uniform slots. translationPalette might also have been treated as a vec4 internally too, wasting 52 more slots.)
-matrix3x4 requires opengl2.1 and newer, so added a new featuretable mask.
-Also added a featuretable mask to disable hardware skinning and deferred shading on hardware with less than 1024 vertex uniforms.
NOTE: On old old old amd hardware, evidently a 3x4 matrix might be upgraded to 4x4. I'm unsure, but I doubt such hardware has 1024+ uniform components available to begin with. 4x3 supposedly doesn't do this, but opengl is column-major, so this makes little sense.
2014-05-17 03:31:45 -05:00
Inusaito Sayori
82044399e4 Brought in Realistic Mouselook option from Black Dragon
Look at the top area of Input & Camera preferences
Aside from tweaks to the code, all credit to Niran.
2014-05-15 21:01:11 -04:00
Shyotl
fdcf2eda5a Decouple vbo validation from LLDrawInfo. Such required vbo's to be initialized before drawinfo creation/modification, which is no longer the case with llvovolume. ('RenderDelayVBUpdate'[although removed in Singu] also fails the same assumption.) 2014-05-15 18:44:10 -05:00
Shyotl
e0997f1f04 Decouple vbo validation from LLDrawInfo. Such required vbo's to be initialized before drawinfo creation/modification, which is no longer the case with llvovolume. ('RenderDelayVBUpdate'[although removed in Singu] also fails the same assumption.) 2014-05-15 18:39:35 -05:00
Inusaito Sayori
58859ee709 Minor touchups to spanish translation 2014-05-15 17:36:33 -04:00
Shyotl
c3771e2fd5 Removed unused preprocessor definition in objectSkinV.glsl 2014-05-15 16:23:14 -05:00
Inusaito Sayori
2e49365b0f Merge branch 'master' of https://github.com/DamianZhaoying/SingularityViewer 2014-05-15 15:37:42 -04:00
Inusaito Sayori
cd87aadab3 Missed a spot. 2014-05-15 00:42:22 -04:00
Inusaito Sayori
e58f8856f4 Add support for Controller Keys, inspired by similar code by CtrlAltStudio Viewer
Dear Alpha Users who are curious about this:
A = Alt
B = Shift
X = Ctrl
Y = Escape
Back = Toggle Flycam mode (Use this, it's fun!!!)
Start = Toggle Cursor mode
Right Stick Click = Toggle Mouselook
Left Stick Click = Jump/Fly

Enjoy, I know I do!
2014-05-14 23:48:27 -04:00
Inusaito Sayori
18a48e6609 Fix the inverted mouse issue. 2014-05-14 23:16:55 -04:00
Inusaito Sayori
929b75989c Sync with alchemy/v-r for flying instead of jumping on button press (Left Stick Click) 2014-05-14 22:58:16 -04:00
Shyotl
7d98030edc Use the right diffuse shader for skinned deferred diffuse simple object shader. 2014-05-14 19:43:03 -05:00
Shyotl
846d573dd0 Kill stray #endif that snuck into commit. 2014-05-14 16:45:55 -05:00
Shyotl
5805fe636a Determine if to stuff shiny data into alpha component a bit differently. Cuts out a lot of crazy logic and lets us choose based off of target renderpass. 2014-05-14 03:38:16 -05:00
Shyotl
3db9c6a9ff Try mask-based object shader configuration, instead of a bazillion hard-coded shader globals. Should be a bit more consistent. (non-deferred only, for now)
Also abuse discard in alpha shaders, instead of processing invisible fragments.
2014-05-14 03:30:02 -05:00
Shyotl
22bcf83cb9 Toyed with gl init ordering. Fixes adaptive vsync. May explode on linux, not that adaptive vsync works there, but it should in theory work there if we ever port to sdl2. If it does explode, I'll know shortly... probably. 2014-05-14 03:10:34 -05:00
Shyotl
117eca3c98 Try some swizzling instead of forcing everything to rgba8 with core profile. Avoids manual conversions with scratch buffers. Works for all pixel datatypes. Cleaner. Uses less vram.
Also, fixed textures when running core pofile.
2014-05-14 03:05:53 -05:00
Inusaito Sayori
81affe719f Add a setting to automatically decline and leave incoming conferences
Look under Communication preferences for "Block incoming conference chats" to activate.
2014-05-14 03:34:32 -04:00
Inusaito Sayori
3febec4aa4 Merge up CtrlAltStudio and Alchemy for XBox360 support
Can't seem to get scrollies working in cursor mode, odd.. need to look into that.
I need to figure out if inverted Y axis is just for me on my Dual Shock 3, though it seems to work usually... if this is the case I might flip it in the code.
More work needs to be done to get ctrl/alt/shift support from CAS, too.

I just wanted to get today's work out of the way and wrapped up, so here it is.
2014-05-14 02:23:55 -04:00
Inusaito Sayori
a78c6072ce Sync llviewerjoystick with upstream sources.
Replaces old constant of dividing by 3 with debug setting for multiplying: FlycamBuildModeScale
Relicenses to lgpl.
2014-05-13 21:27:18 -04:00
Lirusaito
aa6a57be63 Remove "wanna->want to" from auto replace, it is stylistic. 2014-05-12 19:26:16 -04:00
Inusaito Sayori
fd29dd9508 Spaces to Tabs for Last commit 2014-05-09 22:19:52 -04:00
Bob Shaffer II
5080ebf88f reverting some changes to llvovolume that seems to break animated textures
Signed-off-by: Siana Gearz <siana.sg@live.de>
2014-05-10 03:13:15 +02:00
Siana Gearz
873df7805b Merge branch 'master' of git://github.com/Lirusaito/SingularityViewer 2014-05-10 03:12:32 +02:00
Inusaito Sayori
009fb10927 Feature Request: Add AutoresponseOnlyIfAway to send autoresponses only if in AFK or FakeAway modes 2014-05-09 20:32:38 -04:00
Inusaito Sayori
3898d29741 [Preferences Refactor] Touchup on voice prefs borkage. 2014-05-09 20:31:05 -04:00
Siana Gearz
1c521a3743 Merge branch 'master' of https://github.com/lkalif/SingularityViewer 2014-05-09 22:18:10 +02:00
Siana Gearz
098d1b30ff Merge branch 'master' of git://github.com/Lirusaito/SingularityViewer 2014-05-09 22:15:38 +02:00
Siana Gearz
484108dafc Fix VS2012 64-bit debug build 2014-05-09 22:14:47 +02:00
Inusaito Sayori
029d260ad8 Feature Request: Persistent setting for AllowSelectAvatar (su useful!) 2014-05-09 10:39:07 -04:00
Inusaito Sayori
e6bc8f8583 Enable custom and window resolution for snapshots to inventory and set the max size to 1024, not 512. -- on request of Vivena (and the in-world group as a whole) 2014-05-09 09:30:13 -04:00
Inusaito Sayori
77a13963bb Joint effort with Alchemy Viewer to make build floater a lot lighter on FPS
Gets rid of all those pointless callbacks and static workarounds for legacy callback system.
Should massively improve FPS while build floater is open
Fixes getChild UI Warnings
Removes dumb func
2014-05-09 06:40:53 -04:00
Inusaito Sayori
656eacbb09 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2014-05-08 19:57:01 -04:00
Shyotl
98f9a09b39 sunlight_color_copy need only be vec3. 2014-05-08 16:39:41 -05:00
Shyotl
7e8e8bdb26 Disable some diagnostic gunk eating memory. 2014-05-08 16:35:12 -05:00
Shyotl
e2a0f801b9 Have LLRender::color4ub fall back to uniform if bound vbo lacks color attribute. Fixed fixed-function call in LLFacePool::LLOverrideFaceColor::setColor. 2014-05-08 16:29:53 -05:00
Shyotl
75b31b4151 Fix a nullptr usage. 2014-05-08 16:24:24 -05:00
Shyotl
f0763fd31c Tweaked context-recreation logic to force a 0xAA context when fbos are in use. Should also handle toggling of fbo checkbox a bit gracefully as well. 2014-05-08 15:48:08 -05:00
Shyotl
162e7b7699 Fixed a silly mistake that was causing vsync to be enabled when it should have been. Also fix typo in objectSkinV.glsl previous commit 2014-05-08 15:30:02 -05:00
Shyotl
7158a3c83d Fixed an annoying showstopper regarding rigged attachment vertex corruption. Rigged meshes have can have poor weighting, causing potential div-by-zero issues. 2014-05-08 15:11:12 -05:00
Inusaito Sayori
1fa30dd337 Fix Issue 1502: The Builders' Brewery says our prim torture behavior is nonstandard
Our uictrl limits were in need of a quick tune-up.
2014-05-07 06:54:17 -04:00
Inusaito Sayori
250049537f Feature Request: Add option to autominimize the region restart floater And Allow changing/shutting off its sound (from gui)
These new options are at the bottom of System->Security preferences.
2014-05-07 06:53:35 -04:00
Inusaito Sayori
76e5311320 [Preferences Refactor] Cleanup of voice prefs code
Also attempt to add a local enablement control, it's not quite clear where these are supposed to hook in, so it's unused for now, but it would have replaced onCommitEnableVoiceCheck.
Also fix the location of the voice is disabled textytext, it was too on top of the next checkbox.
2014-05-07 03:52:14 -04:00
Inusaito Sayori
11098cd6d4 [Preferences Refactor] Clean up of useless code for enablement and callbacks.
This tag will be used for refactor and updating of most of our preferences panels:
  This will include code changes that remove or condense old code
  This will include preferences being moved around to more logical locations
  This may include splitting up and/or condensing of tabs and/or subtabs for more logical placement of preferences
  This may include code changes that allow making changes to preferences faster and easier
  This will not include adding preferences
2014-05-07 03:20:04 -04:00
Siana Gearz
78a0b347fc Fix 64-bit project generation under Cygwin 2014-05-04 08:05:05 +02:00
Latif Khalifa
08a23de051 Restore compiler warnings flags.
Previous work on enabling the build on the latest Mac OS and
Xcode compiler mistakenly took out compiler warning flags.

This restores previously used flags.

Issue noticed by Sovereign Engineer.
2014-04-30 07:29:23 -07:00
Inusaito Sayori
a02ad53c73 Fix bulk import of notes, scripts and gestures, and clarify file menu 2014-04-28 20:36:46 -04:00
Inusaito Sayori
9400701c96 Synced up llviewerobjectbackup with Cool VL Viewer
Benefits:
-Support for exporting Materials (Normal and Specular textures)
-Fixed support for Object Physics export
-Fixed support for Light Image export
-Switch to use of Boost unordered containers
-Checking for invalid perms on textures is now optimized by saving invalid ids to a container
-GravityMultiplier parameter is now Gravity because that just makes way more sense.
-We support export of legacy flag parameters again to be compatible with older viewers
-Code comments are now a little clearer
-We now wait a little if objects haven't loaded yet when we try to export them
-We no longer allow changing default texture ids via debug settings on opensim regions that support the export permission
-Bit of reordering to better diff with Cool VL Viewer, since it's essentially our only upstream.
-Removes dead code/commented codestuffs

Please view the diff without space changes, otherwise you'll lose your mind.

Merci Henri!
2014-04-28 17:48:39 -04:00
Latif Khalifa
aa983108e8 Possible fox for crash signature 5284 by Aleric 2014-04-28 21:12:37 +02:00
Damian Zhaoying
7dca333166 Update spanish translations. Add translations for news floaters, dinamyc toolbars, RLVa and autoreplace. 2014-04-28 15:51:48 -03:00
Lirusaito
0f1ecf66ab Possible Fix for Issue 1499: Login screen disappears on non-SL grids after logging failure
Also should fix when this would happen on poor/dead connections.
2014-04-27 18:50:37 -04:00
Lirusaito
74984b5a3c Further cleanup of im floater draw call due to last commit 2014-04-27 18:46:50 -04:00
Latif Khalifa
c5d5984885 Checking for ChatSessionRequest cap is not neccessary for establishing private voice calls.
Addresses issue 1293
2014-04-27 21:37:52 +02:00
Damian Zhaoying
c1ccfcb988 Merge remote-tracking branch 'Liru/master' 2014-04-27 13:53:47 -03:00
Lirusaito
51dc0550d5 Minimap mark colors touchup
Now shown in tag without tag color statuses needing to show.
2014-04-27 11:18:31 -04:00
Lirusaito
ac9e36549b Fix right clicking dots no longer working on the minimap, broken {} pair that slipped my eyes. 2014-04-26 18:08:19 -04:00
Lirusaito
009e9a598a Introduce ExodusMapRolloverCircleColor for controlling the color of the new minimap selection circle, turn the alpha to zero to make it disappear completely (it's already quite light now) 2014-04-26 18:07:28 -04:00
Lirusaito
1502ef2661 Fix for an internal crash, could only happen if settings were copied into install improperly, but better safe than sorry. 2014-04-26 10:19:04 -04:00
Lirusaito
40f9e12bdf Fix for Issue 1472, prevent what was probably a null pointer in a bind
Oddly, this only happened to some people, but on any OS, which leads me to believe that initialization order may need some looking at, but that's not terribly important now.

Removes toolbar toggle from floater dictionary, in favor of using setting toggle
Since we could always just hook up a control to a button if we wanted to add such a button somewhere anyhow, this has no effect on future either.
2014-04-26 10:17:47 -04:00
Lirusaito
2fc783e67e The people want link parsing on! Let them have links in all text editors that aren't allow_html="false"! 2014-04-26 09:47:56 -04:00
Inusaito Sayori
4f8e6a188a Bypass canClose check for new groups by calling onClose directly. (Fixes making new groups!) 2014-04-25 11:52:25 -04:00
Inusaito Sayori
b0e44ad1bd Solve Issue 624: minimap multiple selection tool
Adds a circle when you mouse over the minimap, beneath your cursor
-This circle is the effect range of your right click+mark
-Shift+scroll to change the size of this circle (ExodusMinimapAreaEffect)
-- Set the debug to 1 to have basically the same range as before (unless dots are stacked)
-This circle is also how many avatars are shown in the tooltip
-When this circle is over avatar dots, they change color (ExodusMapRolloverColor)
The menu functions still only work on the closest dot to your cursor on right click...
Thanks to Exodus for the majority of this code, the rest is my work and updates to be closer to LL in places.
2014-04-25 04:11:35 -04:00
Inusaito Sayori
4a630b1780 Make it clear that item drop targets are for items. 2014-04-24 22:12:20 -04:00
Inusaito Sayori
ffa5e6099d Address Issue 1290: Bumps recorded in chat window
Adds debug setting AnnounceBumps and a toggle in Preferences->System->Security
2014-04-24 21:46:57 -04:00
Inusaito Sayori
8d1cd7008f Fix bug of being unable to change group owned parcel's visibility in search. 2014-04-24 19:48:27 -04:00
Inusaito Sayori
31b5c5e9dd Enter Export subpiemenu, no longer part of Tools 2014-04-24 19:47:17 -04:00
Inusaito Sayori
0e21a16c1c [STORM-1980] Singu Special: Emergency Teleport out of region within last 20 seconds before restart
Look in System preferences under the Security tab, at the bottom.
Debug setting is EmergencyTeleportLandmark, reset to turn off.

Also, thanks to everyone in Fluffy who put up with the tests of region restart notifications today,
I know it was annoying, thanks especially to the EMs for allowing me a testbed.
2014-04-24 01:33:04 -04:00
Inusaito Sayori
f666384a1d [STORM-1980] Part 3: Region Restarting camera shake reset also pokies at sound trigger
Don't send sound through the region, it's logically a UI sound. What even is that otherwise?
2014-04-24 01:25:52 -04:00
Inusaito Sayori
afacfcee94 [STORM-1980] Part 2: Floater and shakeyshake
Shake is off by default, turn on AlchemyRegionRestartShake to activate
2014-04-23 23:54:59 -04:00
Inusaito Sayori
7262bf96b8 [STORM-1980] Part 1: Notifications with timestamp and sound 2014-04-23 10:58:14 -04:00
Inusaito Sayori
3db489f4df Feature Request: When someone is marked on the minimap have that color persist on the radar and their tags
Jus' look at dat color~
2014-04-23 02:50:51 -04:00
Inusaito Sayori
6526c28e47 Fixup for "Feature Request: On login, open Local Chat, Communicate, and/or Contacts" 2014-04-23 01:35:52 -04:00
Inusaito Sayori
e473b9bf10 Fix a common crash when people would upload invalid xmls
Ill-gotten xmls just don't parse the same way...
2014-04-23 01:05:32 -04:00
Inusaito Sayori
0bde458c27 Allow minimum Sun Size of 0.01 instead of 1, like Black Dragon. 2014-04-22 22:20:46 -04:00
Inusaito Sayori
66739ac820 Preferences touchup now that we have log launching on mac 2014-04-21 18:59:49 -04:00
Inusaito Sayori
4a3763d8d1 Feature Request/Bug Fix: On login, open Local Chat, Communicate, and Contacts if they were open last session. 2014-04-21 18:31:41 -04:00
Cinder
4230127459 De-brand currency exchange 2014-04-21 18:09:08 -04:00
Cinder
a4c672252d Launch transcripts in external text editor on mac too 2014-04-21 18:05:45 -04:00
Lirusaito
d5d0473487 [LLMeshRepo sync] Fix mesh not loading 2014-04-19 01:09:12 -04:00
Lirusaito
9bbad1f8f0 [Warnings] Fix trigraph warning. 2014-04-19 00:47:02 -04:00
Lirusaito
0523965822 [LLMeshRepo sync] relwithdebinfo compile fixes 2014-04-19 00:25:11 -04:00
Lirusaito
cb8cd702e1 [LLMeshRepo sync] Linux compile fixy
Note to self: Windows compiler does not care about file casing, be more careful.
2014-04-18 23:51:52 -04:00
Liru
86b5737d51 [Floater Flexibility] French Translation~ Danke Nomade. 2014-04-18 09:17:41 -04:00
Liru
4027ec7a67 [Floater Flexibility] Fix yet another broken button, this time group titles, thanks again to the french singularity group 2014-04-18 04:58:49 -04:00
Liru
c2748a2246 [LLMeshRepo sync] The rest of the changes from upstream 2014-04-18 04:43:46 -04:00
Inusaito Sayori
5c06afc977 [LLMeshRepo sync] AICurl updates toward LLCurl
LLHTTPClient::getByteRange no longer throws AICurlNoEasyHandle, instead it returns whether or not it threw, to match the true/false convention of LLCurl.
- In addition, the header param has been shifted to earlier in this function to ease diffings.
ResponderBase now has static bool isGoodStatus, introduced into the Responder base class of LLCurl
2014-04-17 20:23:48 -04:00
Inusaito Sayori
4c82a5660f [LLMeshRepo sync] Change camelcase LLConvexDecomp to lowercase, so mergetool is happy~ 2014-04-17 18:20:34 -04:00
Inusaito Sayori
beacb5c701 [Floater Flexibility] Fix that the preferences button wasn't working, thanks Nomade for pointing this one out. 2014-04-17 15:47:50 -04:00
Damian Zhaoying
8355331cbe Merge remote-tracking branch 'Liru/master' 2014-04-17 02:18:56 -03:00
Inusaito Sayori
dc9cb07a81 [Floater Flexibility] Part four: Added a floater to change buttons shown on the toolbar
View->Change toolbar buttons

Reuses the old FloaterUploadRect because I'm allowed to be lazy after creating this large control panel
2014-04-16 19:03:07 -04:00
Inusaito Sayori
57fe7d9ad0 [Radar] WHAT?! Why wasn't this committed last night? I know it was... what the heck... 2014-04-16 16:08:20 -04:00
Latif Khalifa
00336de59a Merge branch 'osx_xcode5' of github.com:lkalif/SingularityViewer 2014-04-16 16:44:31 +02:00
Inusaito Sayori
b37b48f039 [Radar] Code overhaul
Brings a new "voice status" column, showing voice use as active speakers floater does.
- Shown by default, look in Extras tab to hide it
Attempt to blend and fix the visibility of the yellow for shout range.
- Requires user feedback, looks good on default and gemini to me

Refactors pretty much all of the code in the avatar list
-Less duplicate vars, less wasted space, more consistent spacing conventions, eradication of BOOL use.
We no longer add (or even evaluate what should be in) icon columns that are hidden
- This prevents icons from showing up even when their columns are hidden.
Minor work on focusing out of draw avatars, though that still won't work, sadly.
2014-04-16 05:30:19 -04:00
Latif Khalifa
42ca1a8994 [clang] Force build with SDK 10.6 2014-04-16 10:55:36 +02:00
Latif Khalifa
db678238ef Merge branch 'master' into osx_xcode5 2014-04-16 09:56:57 +02:00
Lirusaito
861f88dd30 Awesomeness, yayayay! (allows XML changes in indra/newview/skins/ to count for viewer running from a directory in indra on Windows) 2014-04-15 20:06:08 -04:00
Lirusaito
77d42f1eb9 Attempt to cure stupid people being unable to untar properly over old versions without causing massive issues
(Gawd, that is not even proper installation process.... I need a drink)
2014-04-15 20:03:24 -04:00
Inusaito Sayori
364a13017c Merge remote-tracking branch 'fairydust/master' 2014-04-15 19:57:31 -04:00
Latif Khalifa
8183deeb30 [xcode5] WIP: rebuilt clang friendly boost 2014-04-14 21:17:22 +02:00
Latif Khalifa
bb56d0a752 [xcode5] WIP: clang build fix 2014-04-14 21:16:24 +02:00
Latif Khalifa
41eafa4ede [xcode5] WIP: build system changes 2014-04-14 21:14:42 +02:00
Inusaito Sayori
ce7629200f Object Import/Export improvements
Support exporting "material" "clickaction" "flags" and "ExtraPhysics"
Support export of Light Texture feature, the expansion to Light feature.
Initial work to support firestorm's format.
Switched from exporting individual flags fields in favor of exporting one U32 field
- We still support the old single flag fields though we no longer export them.
2014-04-09 20:24:15 -04:00
Inusaito Sayori
5dca06d3d4 So then I said, "Compile, are you crazy?!" 2014-04-08 04:51:18 -04:00
Inusaito Sayori
b1d18c7f29 Address Issue 1298: Add Auto-replace text feature, borrowed from LL~ 2014-04-08 02:12:51 -04:00
Inusaito Sayori
0b2d019e61 Latif's requested touch-ups for IM windows in concise mode.
Profile option for concise flyout.
Fix for ding in multi-user chats breaking button alignment.
2014-04-08 01:07:19 -04:00
Inusaito Sayori
ab0dde7fe8 [Floater Flexibility] Part three and a half: Toolbar code cleanup, toolbar in mouselook option
Go into Preferences->Input and Camera, to find the new option~

Thanks to Cinder for checking that the mac changes build and look nice.
2014-04-08 00:36:44 -04:00
Inusaito Sayori
ef01d2af82 Fix "zombie" lie and tabs/spaces inconsistency in xml. 2014-04-07 16:06:33 -04:00
Damian Zhaoying
08084799b9 Merge remote-tracking branch 'Liru/master' 2014-04-06 14:42:00 -03:00
Inusaito Sayori
3642e401da Fix About and Toolbar prefs buttons being mushed together, thanks for the heads-up Friti! 2014-04-04 19:57:32 -04:00
Inusaito Sayori
094d284e62 Missed a git mv, mac should build after this. 2014-04-04 17:28:19 -04:00
Latif Khalifa
2c7459e08d Supress bool/BOOL comparison warning 2014-04-04 21:29:41 +02:00
Latif Khalifa
315d2c4daf Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer 2014-04-04 21:21:00 +02:00
Aleric Inglewood
e61cabf1ce Remove compiler warning. 2014-04-04 21:13:57 +02:00
Aleric Inglewood
994f409291 Attempt 2 2014-04-04 21:06:30 +02:00
Aleric Inglewood
7d124012c2 First attempt to fix windows compile errors. 2014-04-04 20:58:33 +02:00
Latif Khalifa
4d3c80e273 Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer 2014-04-04 20:08:19 +02:00
Aleric Inglewood
a332a7fc35 Compile fix for motions backport. 2014-04-04 17:33:45 +02:00
Aleric Inglewood
2fb945a489 Fix floating point round off error bug that caused mAnimTime to be decreased in value.
Conflicts:
	indra/llcharacter/llmotioncontroller.cpp
2014-04-04 15:22:18 +02:00
Aleric Inglewood
4d2517d163 Freeze also synchronized avatars when editing an attachment.
On the removal of permYouOwner():

Calling permYouOwner() to determine if an attachment is yours is
not correct: grid gods (and that includes BEFORE requesting admin
status) are marked as owner of everything in their sim.

The reason for that is that otherwise,
  <Melanie_T> if they only had it when actually godding u, the viewer
  would have to have an option to either show the proper menus (it
  doesn't) or allow the sim to refresh the object flags without full
  object updates (it hasn't).
  <Melanie_T> gods often have to act fast, for instance with griefers.
  Having transition to god mode take as long as a full rez just isn't an
  option, apart from the sim load caused by resending all objects.
  <Melanie_T> Then i tried resending only the object that was selected
  but there the arriving object update would close the pie menu.
  So you right-click a prim and the pie menu would close again.

The result has always been that if you are on your own sim, in opensim,
and select an attachment on another avatar, then YOU would freeze, not
the selected avatar. This patch fixes that "opensim related" bug as
well.
2014-04-04 15:19:50 +02:00
Aleric Inglewood
b4848f308f Compile fix for Release 2014-04-04 15:19:39 +02:00
Aleric Inglewood
1c8876cead Synchronize looping animations that start at the same moment. 2014-04-04 15:19:28 +02:00
Aleric Inglewood
1bcb6ad20d Version 2 of AISyncClient et al.
A tool to synchronize objects:
Objects derived from AISyncClient can signal that they are
'ready' or 'not ready' for up to 32 events (using a bitmask)
at a time. Clients that are created at roughly the same time
as other clients, and which return the same 'key' (a virtual
function returning an AISyncKey object) will be grouped together
and receive events (by means of virtual functions being called)
to notify them of all clients being ready or not for one of the
events (the least significant bit)). The other events can be polled.

This new version does away with all the templates and explicitly
remembers what events each client is ready for instead of just
updating a counter of the number of clients. This was necessary
because a client is removed then the server needs to know if it
was ready or not when it has to be able to update those counters.
This time I chose to just run over all stored clients and AND
and OR the per-client-ready-masks because 1) that information
is available now and 2) the lists will normally contain only
one or two clients, so it's fast enough.
The new version also allows for real key comparison (and derived
keys) instead of just using "hash" value that is compared.
2014-04-04 15:19:18 +02:00
Aleric Inglewood
66aaa9cf80 Add LLMotionController* LLMotion::mMotionController
This is needed for synchronization: motions will have to start
(with a specific start time offset) from a point in the code where
only the motion object is available.

I added/used LLMotionController& in a previous commit, this was
now changed into a pointer. There is (obviously) not much reason
for that, but also no disadvantage: the diff relative to LLs code
doesn't get larger since the references where already added, too.

Conflicts:
	indra/llcharacter/llkeyframemotion.cpp
	indra/llcharacter/llkeyframemotion.h
2014-04-04 15:19:02 +02:00
Aleric Inglewood
61d365e957 Removed this again... 2014-04-04 15:15:36 +02:00
Aleric Inglewood
006b319c3a Add AISyncClient<> (and AISyncServer).
A tool to synchronize objects:
Objects derived from AISyncClient can signal that they are
'ready' or 'not ready' for up to 4 events (using a bitmask)
at a time. Clients that signal to be ready for anything
at roughly the same time as other clients, and which return
the same 'hash' (a virtual function returning a 64bit value)
will be grouped together and receive events (by means of
virtual functions being called) to notify them of all clients
being ready or not for one of the events (syncevent1).
The other three events can be polled.

The memory usage is low (one pointer per client that points
to its AISyncServer object), servers are released to a cache
after about 100 ms (unless there is actual need for synchronization),
so there aren't much of those either.

The CPU usage is extremely low: all events are handled in
parallel in a 32 bit value (6 bits per event to count the
number of registered clients and the number of ready clients
for each event, and the remaining 8 bits to count the
number of reference pointers (which should only be a constant
higher, so that is overkill). To signal to a server that
a client has become ready or not is mostly a function call,
which then takes 1 clock cycle or so before returning.
Registration of a client is slightly more expensive as it
requires a pointer to be added to the end of a std::list.
This tool could easily be used as part of the graphics engine
(not that I intend to do that :p).
2014-04-04 15:15:26 +02:00
Aleric Inglewood
e38ec797fd Fix lookat and pointat shared experience.
There was a bug that when people turned off sending viewer effects,
they'd also turn off sending LookAt, while there is a seperate
checkbox to turn THAT off, while still seeing their own avatar
happily look around, breaking shared experience (most notably, most
people will be complete oblivious of the fact that they look like
zombies to others and that their friends do not see the same thing
on their screen).

This patch fixes this: both parties now see the same thing. Lookat
and PointAt are only turned off by their respective checkboxes,
and no longer silently influenced by turning off other viewer
effects.
2014-04-04 15:15:15 +02:00
Aleric Inglewood
94b42e7a9b Speed up of particular inefficient part related to motions.
For these standard motions, the viewer likes to very frequently
flood-call startMotion/stopMotion sometimes, which at the very
least needs a LLUUID lookup in a std::map. In particular, this
is done for two of them for every avatar in the sim every frame.
This code makes it possible to test if that makes sense by
merely doing a bit test.

Conflicts:
	indra/llcharacter/llkeyframemotion.h
2014-04-04 15:14:54 +02:00
Aleric Inglewood
61097dac72 Auto clean up motion cache.
Conflicts:
	indra/llcharacter/llkeyframemotion.cpp
	indra/llcharacter/llkeyframemotion.h
	indra/newview/llfloaterbvhpreview.cpp
2014-04-04 15:10:52 +02:00
Aleric Inglewood
116fe01dee Add AIDebugInstanceCounter
Prints number of instances upon construction and destruction.
Usage:

class LLSomething : public AIDebugInstanceCounter<LLSomething>
...
2014-04-04 14:57:55 +02:00
Aleric Inglewood
ba2bf9f366 Get rid of unused and irrepairable code. 2014-04-04 14:57:41 +02:00
Aleric Inglewood
a5b68f2da2 Changes to llkeyframemotionparam.cpp as result of audit.
These changes were the result of my Motion leak audit.
However, there is a serious problem with LLKeyframeMotionParam
in that it stores plain pointers to objects that can and will be deleted
by other objects. Its the classicial LL example of coding
non-Object-Oriented badly maintainable and instable code.

I cannot make sure this won't go wrong for the simple fact
that LLKeyframeMotionParam is not used at ALL in our code.
Hence, the next commit will rather delete this file.
This commit is merely to have a record of this finding.
2014-04-04 14:57:31 +02:00
Inusaito Sayori
97edb0f954 [Floater Flexibility] Part three: Create the flexible toolbar and create the temporary settings for button visibility
Look in debug settings for settings that start with ToolbarVisible
This will have an official interface by part four.
2014-04-03 14:36:20 -04:00
Inusaito Sayori
a3531b931b Feature Request: Ding for groups and conference chats. 2014-04-03 01:27:27 -04:00
Aleric Inglewood
0438f070f7 Merge remote-tracking branch 'singu/master' 2014-04-01 01:28:55 +02:00
Inusaito Sayori
f53e36c430 Fix not being able to buy land because of inversed RLVa logic. 2014-03-31 13:12:33 -04:00
Inusaito Sayori
8889e2de64 Fix icon packaging on mac. 2014-03-31 12:22:12 -04:00
Shyotl
2d0b310e19 Framerate llinfos spew was clobbering cout decimal precision. 2014-03-29 02:19:14 -05:00
Shyotl
dfb465a11b Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git 2014-03-29 02:13:26 -05:00
Shyotl
9ed2dc755c Always set materials mask if deferred for materials/alpha pools. Fixes potential crash in LLDrawPoolAlpha::renderAlpha 2014-03-28 17:14:57 -05:00
Latif Khalifa
e70342b356 Removed duplicate check introduced in the last change 2014-03-28 16:42:27 +01:00
Latif Khalifa
ba0fd794d7 Compile fix 2014-03-28 16:20:38 +01:00
Latif Khalifa
dbd7de628f Fix compilation with gcc 2014-03-28 08:50:02 +01:00
Shyotl
d6fdaa93a4 Added adaptive vsync support (selectable in preferences->graphics->hardware, provided the driver supports it). Also hide 16x fsaa on amd hardware, as it is not supported on said hardware (unsure about intel). 2014-03-28 02:34:03 -05:00
Latif Khalifa
80076833d1 Fix compilation with gcc 2014-03-28 08:30:22 +01:00
Latif Khalifa
dc9d3fbf96 Fix build with SDL prior to 1.3.0 2014-03-28 08:29:30 +01:00
Latif Khalifa
e12548ab8c Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2014-03-28 08:45:40 +01:00
Shyotl
894261862d Tweaks to stencil handling to allow masking out of sky (or geometry).
Reset stencil clear value to 0 after done clearing.
2014-03-27 22:31:47 -05:00
Shyotl
07a261a259 A little bit of cleanup. 2014-03-27 22:04:30 -05:00
Shyotl
34a7bf4dbb Comment out unused shader. 2014-03-27 21:30:23 -05:00
Shyotl
5988f6cf88 Updated rigged mesh face batch/pool handling.
Fixed issue with fullbright and glow occlusion.
RenderTransparentWater toggling should work more gracefully.
Fixed some bugs in general drawpool classification for faces. Bump pool was superceding more than it should have.
2014-03-27 21:27:40 -05:00
Inusaito Sayori
039be1f8e9 Fix Issue 1413: Local Texture Default Texture Update Settings, Also fix the side issue of the More section not having visible ui at first.
Also I got fed up with the bad code and leaks so I did some refactoring of floaterlocalassetbrowse.*, but just a bit.
2014-03-27 21:33:21 -04:00
Inusaito Sayori
70e92a1cea More helpful fixes and touchups from Cinder 2014-03-27 20:10:06 -04:00
Inusaito Sayori
2af2e37dcd Right clicking folder with only gestures (no worn items) should still offer remove from outfit if any gesture in that folder is active.
Also follow linked folders when wearing folders, this will make linked folders a lot more useful!
Also fixes a warning and some spacing issues
2014-03-27 20:02:12 -04:00
Inusaito Sayori
a6559b1e51 [Floater Flexibility] Part two: Move floater dictionary into menu commands and use a common function to ShowFloaters between LLToolBar and menus. 2014-03-27 00:31:32 -04:00
Inusaito Sayori
361b8852df Fix Issue 1419: Moving a link to an inventory folder moves the pointed folder and not the link 2014-03-25 19:56:41 -04:00
Inusaito Sayori
ff201ce3f9 Fix Issue 1448: Hard crash when emptying the mute list. 2014-03-25 19:51:49 -04:00
Inusaito Sayori
de2ce83a8d Touchups to namesystem update 2014-03-25 19:39:02 -04:00
Inusaito Sayori
f37d83abe1 [Floater Flexibility] Part one: Refactor all floaters to work with the dictionary in one way or another. 2014-03-25 00:23:56 -04:00
Inusaito Sayori
ee610ceb3f The Name System update!
Adds name list specific name settings, Removes boolean for having lists of speakers with legacy names in favor of having a more flexible setting for them
Have a look at the combo boxes on Adv. Chat->Chat UI to customize these new settings.

There is now a fourth option for name display: LegaCy Name (D is play Name)
2014-03-24 17:52:13 -04:00
Inusaito Sayori
5affacab70 Fixes, mainly for Clang/Mac, from Cinder. 2014-03-24 16:56:10 -04:00
Latif Khalifa
924011f36e Merge branch 'master' of git://github.com/Lirusaito/SingularityViewer 2014-03-23 14:24:47 +01:00
Inusaito Sayori
70b5a6f05b Prevent Issue 1445, reassess enablement of asset browser buttons when selection may have changed 2014-03-23 06:03:20 -04:00
Inusaito Sayori
05c7270dcf Merge changes for STORM-2008
"Remove from outfit" should deactivate gestures in a folder as well as take off items
Credit to Lance Corrimal
2014-03-20 03:53:11 -04:00
Inusaito Sayori
a75e34d1c2 Feature Request: Allow "wear_folder" SLapps 2014-03-20 03:34:17 -04:00
Inusaito Sayori
f7139ac20e Fix Issue 1406: Create Landmark shows name twice, not description 2014-03-18 19:45:18 -04:00
Inusaito Sayori
e43d718e0f Sappadilli's fix for the mini button 2014-03-18 19:18:57 -04:00
Inusaito Sayori
cc0b5e660d Touch missed spots for picking rigged mesh 2014-03-18 18:38:30 -04:00
Latif Khalifa
8f525a37da Typofix 2014-03-17 00:20:32 +01:00
Latif Khalifa
5e62d2b104 Revert to using Vivox SDK 2 on Linux 2014-03-16 22:44:30 +01:00
Damian Zhaoying
6c373ee31e Update Spanish languages files 2014-03-15 05:14:07 -03:00
Lirusaito
d98c46beb0 Extend SGAllowRiggedMeshSelection to work in inspect and on others 2014-03-13 01:31:11 -04:00
Lirusaito
850772a4ce [RLVa] About floater version display adjustment 2014-03-12 22:21:55 -04:00
Latif Khalifa
08be65e649 Merge branch 'master' of git://github.com/Lirusaito/SingularityViewer 2014-03-13 02:04:59 +01:00
Lirusaito
ed8e37ed89 [RLVa] Updates thanks to Kitty
1ea7389, 49be412, ed4c8e6 & 7ce9521
- changed : "Give to #RLV" agent-to-agent and script-to-agent offers can contain subfolders
-> limited to 3 levels (e.g. #RLV/~FolderA/FolderB/FolderC)
-> #RLV folder is auto-created if it doesn't currently exist

8780d84 - Incremented version number to RLVa-1.4.10
f078067 - internal : boolean (custom) debug settings should have a boolean type
72a8ad8 & 401ca14 - internal : added supporting code for "Detach Folder" RLVa lock checks

05718b5
- fixed : RenderResolutionDivisor is non-functional
-> RenderResolutionDivisor isn't actually taken into account when checking the new screen resolution against the current screen buffer size

4fa138b
- fixed : viewer clips mouse to its rectangle when switching into mouselook while it's not the active application
-> Repro:
* rez a prim with a script to llForceMouseLook(TRUE) and force-sit when clicked (with a slight delay)
* click the prim and give focus to another application
=> the viewer will center the mouse cursor on itself and restrict movement to within its own rectangle (requires alt-tab to escape)
+ Singu Note: Thanks to Kitty for this, it is possible that this would happen in our last release

14132c9
- fixed : region name and global coordinates are shown on the About floater when @showloc restricted
+ Singu Note: RLV version is now shown in help->about

9a2af62 - changed : llRegionSayTo messages are no longer subject to @recvchat(from) or @recvemote(from)

2dc4b89
- fixed : @getstatus and @getstatusall should specify an (optional) separator
-> added support for both @getstatus:tp;|=123 and @getstatus:;|=123

fbb3fb1 - Incremented API version number to 2.8.0
92c39b9 - internal : quick and dirty hack fix for RlvUtil::filterNames() but there's no time to do a proper backport from RLVa-1.5
2580f1c - internal : remove hack for legacy viewers without multi-attachment support
2014-03-12 19:41:15 -04:00
Latif Khalifa
1732d6d427 [Voice Update] Sync default voice debug level with upstream. 2014-03-12 23:48:07 +01:00
Latif Khalifa
bb9a958a1e [Voice Update] Update SLVoice prebuilds and packaging script 2014-03-12 22:50:43 +01:00
Latif Khalifa
f1b8c36a28 Merge branch 'VoiceUpdate' of git://github.com/Lirusaito/SingularityViewer 2014-03-12 22:21:43 +01:00
Aleric Inglewood
03ed12a9b1 Merge remote-tracking branch 'singu/master' 2014-03-12 20:36:12 +01:00
Lirusaito
30f5a3a162 Update qtoolalign (Fixes issue 704)
- Removes shortcut ctrl-a for align tool
-- to avoid ctrl-a for select all text in UI controls messing up prim selection
- Adds llselectmgr select all function
-- to replace ctrl-a select all prims functionality that was a side effect of qtoolalign having this shortcut
- Adds toggle button (up/down arrow) to build floater for toggling display of the lower tab container area
-- This is to satisfy users who relied on ctrl-a to use align while the build floater was minimized and out of the way
- Syncs qtoolalign from Alchemy
2014-03-09 19:00:52 -04:00
Latif Khalifa
e4a3f76f55 Fixed an artifact of Root->Avatar Center rename (Sappadilli) 2014-03-02 20:05:49 +01:00
Drake Arconis
f5bdb56a7c Crash fixes in model upload 2014-03-01 18:53:51 -05:00
Drake Arconis
64d4a9e240 Add missing header guards 2014-03-01 18:00:59 -05:00
Drake Arconis
71d9084a95 Clean out old OGPX stuff 2014-03-01 17:34:22 -05:00
Latif Khalifa
9d6092faaa Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2014-02-21 09:30:08 +01:00
Shyotl
bb0f17ae6f Fix poor batching with mac/ancient drivers. Also, some minor tweaks to sorting algorithm. 2014-02-21 02:24:42 -06:00
Latif Khalifa
ebb46999d8 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2014-02-20 10:31:47 +01:00
Shyotl
1c48aa8f97 Added missing can_batch_texture check. Fixes unbatchable faces occasionally getting batched with the last batchable face batch. This was mostly noticeable with animated faces. 2014-02-19 22:35:43 -06:00
Shyotl
bdc0ad2b8f Experimental volume face batching changes (Cursory testing shows: +~10% larger mean batch size).
-Drive pass selection by face pools. Doing such removes a fair bit of redundant (and often buggy) code.
-Ignore irrelivant batch breakers depending on pass/pool type.
-Face sorting algorithm modified to potentially allow larger batches.
-Removed a few unused/broken things (bake_sunlight/no_materials)
-Fullbright handling should hopefully be a little more consistent.
-Prevent fullbright faces from being placed in 'simple' pool. (They are already simple-er)

Fixed attribute error that popped up with bump faces when batching was disabled.
2014-02-18 11:43:50 -06:00
Shyotl
ac8d5e5ab3 Let shaders dictate vertex buffer attributes for alpha faces (if shaders are enabled) 2014-02-18 09:21:31 -06:00
Latif Khalifa
41416dcffe Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2014-02-11 03:23:21 +01:00
Shyotl
dda7cb5791 Lazy workaround avoiding undefined behavior for rigged meshes with invalid joints. 2014-02-10 20:20:03 -06:00
Shyotl
f7fdeeea9b Be super sure not to let rigged vert weights extend beyond actual joint count. 2014-02-10 20:18:39 -06:00
Shyotl
9d7d7590a7 Prevent debug visualizations from writing to the z-buffer (caused occlusion weirdness) 2014-02-09 23:40:03 -06:00
Inusaito Sayori
77848afc94 Tiny patch for Issue 1385: Use normal folders for outfits while still creating links for everything
Adds debug setting LiruLegacyOutfitAllLinks which overrides legacy outfit settings and forces the resulting folder to consist of only links
2014-02-09 14:42:19 -05:00
Inusaito Sayori
8f7e96e2a5 Minimap enhancements!!
Much of this patch comes from upstream and Kitty Barnett, or is inspired from their works
This commit applies the World-Minimap patches from Catznip.

Catznip stuffs:
- Issue 1383: Parcel lines on mini map
 - Show parcels on the minimap
 - Minimap menu: "Show" submenu: "Property Lines" "Parcels for Sale"
- Option to have world map textures on the minimap
 - Minimap menu: "World Map Textures"
 - Singular touch: Made this comply with hypergridding.

The minimap will now scroll zoom based on where your mouse is if centering on camera is off.

A lot of cruft was cleaned up in this merge, a lot of gSavedSettings lookups in draw were converted to LLCachedControls, some license updates were performed.

Finally: By myself, but inspired by upstream and requested in the group before:
- Option to show tracking circles around people selected on the radar while the radar is visible
 - Minimap menu: "Show" submenu: "Radar Tracking Circles"
2014-02-08 18:26:18 -05:00
Shyotl
eab807daeb Fix fullbright alpha in fixed-function. 2014-02-08 01:47:22 -06:00
Inusaito Sayori
c4bfdcbeac Address Issue 1381: Mouse look cross hair coloration
Adds debug setting LiruCrosshairColor
2014-02-07 14:59:03 -05:00
Inusaito Sayori
3801949887 Little bit more touching up to the italian XML, this time for overlay bar 2014-02-06 17:27:53 -05:00
Inusaito Sayori
29d5c951c5 [STORM-1981] Change tracking beacons to extend to the ground and (optionally) vertically indicate direction
Jonathan Yap's beacon enhancements, with a Singular twist!
2014-02-06 17:23:28 -05:00
Inusaito Sayori
eb4b0d630f [MAINT-2287] The rest of the updates so far to outbox. 2014-02-06 14:53:13 -05:00
Inusaito Sayori
b6225d1d9a [MAINT-2287] Handle refactor 2014-02-06 14:51:36 -05:00
Inusaito Sayori
32ec2be0b6 SimFeatures spew demoted to logcontrol debugs. 2014-02-05 21:39:50 -05:00
Inusaito Sayori
d7dfa91f6f Remove incorrect "You should upgrade your viewer." spew, and demote it to lldebugs. 2014-02-05 20:59:10 -05:00
Inusaito Sayori
c4cc9dd417 Stop leaking in object import! 2014-02-05 15:17:44 -05:00
Inusaito Sayori
884b707385 Hey toolbar, toolbar italiano! 2014-02-04 18:41:10 -05:00
Inusaito Sayori
acbc81c1ea Further Italian Translation purification, fixup, and touches. 2014-02-04 18:33:02 -05:00
Inusaito Sayori
cc60dcc8a4 Languages preferences in order with actual languages in the right place above, please, thank you? 2014-02-04 16:20:24 -05:00
Inusaito Sayori
275f85e7a6 Fix god chat not showing up in god color if the god is using a display name. 2014-02-04 15:21:13 -05:00
Latif Khalifa
24f99a2920 Merge remote-tracking branch 'lirusaito/master' 2014-02-04 01:40:42 +01:00
Inusaito Sayori
2acfbf12ed Fix Issue 1368: Camera viewing angle resets after mouselook.
Only reset FOV when right click was held or released just before leaving, now.
2014-02-03 17:20:25 -05:00
Inusaito Sayori
b0972de510 Address Issue 1371: Enhancement: in Edit object Positions X & Y for OpenSim VarRegion 2014-02-02 16:53:55 -05:00
Inusaito Sayori
af58636c7c Fix the Login Panel such that it persists until a successful login and maintains ui values between failed logins
When the login panel used to die, it now hides instead, we only truly kill it upon successful login.
Much of the opening and setting behaviors have been cleaned up to ensure fields are autofilled by the viewer without any user action once
Everything else like changing saved logins will still work the same.
2014-02-02 16:45:37 -05:00
Inusaito Sayori
7341ad5e6e Support the Script Message API 2014-02-02 16:36:05 -05:00
Inusaito Sayori
744e6c63b6 Fix Issue 1237: Last online says 01/01/1970 for group members
For real this time!
2014-02-02 16:29:06 -05:00
Inusaito Sayori
31aa30e3d0 Group Feature Request: Option to Copy SLURL for an avatar's profile
Added to avatar list menus and instant message drop down menu.
2014-02-02 16:27:20 -05:00
Aleric Inglewood
ebb4489c01 Merge remote-tracking branch 'singu/master' 2014-02-01 22:34:13 +01:00
Inusaito Sayori
31b3ae584e Feature request: menus on the region estate panel's scroll lists. 2014-01-31 00:52:59 -05:00
Inusaito Sayori
151afe4663 Translations fix ups 2014-01-31 00:52:16 -05:00
Inusaito Sayori
b03f7c1504 [RLVa] Version 1.4.9
Thanks to Trinity and, of course, her Kitty!
2014-01-31 00:50:45 -05:00
Inusaito Sayori
bceaee6e41 [RLVa] rlva strings floater!
Generalized toggle() visible() call pattern of rlv floaters to a template struct.
2014-01-31 00:47:19 -05:00
Latif Khalifa
2a812e0e81 Revert "Limit avatar physics to 20-40 simulation steps per second to avoid wonky integration"
This reverts commit cde5b23353.
2014-01-28 23:59:05 +01:00
Shyotl
58b7fe5fef Avoid potential buffer over-read in shader, overrun in application. 2014-01-28 16:28:03 -06:00
Latif Khalifa
c4a82fe0d1 Version 1.8.5 2014-01-28 18:12:23 +01:00
Inusaito Sayori
0c33c0de2e [RLVa] rlva_strings update.
rlva strings floater coming soon!

I highly doubt the translations work anymore
If they still can be translated, I leave it up to translators to decide if they should be
Contact me if you need translation code improved here.
2014-01-28 04:41:16 -05:00
Inusaito Sayori
1b32c79a5e [RLVa] Miscellaneous other touches to rlva code 2014-01-28 04:38:05 -05:00
Inusaito Sayori
dd35f1bd68 [RLVa] Missed sections of canStand update in that last commit. 2014-01-28 04:35:43 -05:00
Inusaito Sayori
9c0d8bbeb1 [RLVa] "blocked_wireframe"? Seems half baked, but it compiles. 2014-01-28 04:34:12 -05:00
Inusaito Sayori
02753bfc7d [RLVa] gRlvHandler.canStand --> RlvActions::canStand 2014-01-28 04:31:34 -05:00
Inusaito Sayori
88ae36f4e1 [RLVa] Forced TPRequest response is now supported! 2014-01-28 04:27:38 -05:00
Inusaito Sayori
4dcf8f3f45 [RLVa] Removal of z offset restrictions 2014-01-28 03:16:35 -05:00
Inusaito Sayori
9e82297303 [RLVa] rlvfloaterbehaviour.* -> rlvfloaters.* 2014-01-28 00:31:40 -05:00
Inusaito Sayori
14a885f8d0 [RLVa] Modernizations
License updates, comment updates, settings cleanup, macros cleanup, dead code removal, etc.
2014-01-27 23:43:16 -05:00
Inusaito Sayori
94aee52c64 [RLVa] b15fdd026026 ported
- internal : reviewed @recvim and @sendim for CHUI (SL-3.5)

Singu changes:
- Updated busy to be referred to as do_not_disturb in llviewermessage.cpp
- Don't send autoresponse if we can't send an IM by rlva
- Updated checks for from name being system to be to_id and from_id null checks.
- Minor compile fix in rlvui.cpp for last commit.
2014-01-27 23:42:09 -05:00
Inusaito Sayori
755d3be89b [RLVa] Disallow inventory floaters when inventory restricted.
Formatting eases the diff with rlva upstream
2014-01-27 20:14:02 -05:00
Inusaito Sayori
6a3ee5fac4 [RLVa] f9f8dbe23ec3 ported
- internal : reviewed @startim for CHUI (SL-3.5)
    -> fixed : "Start Conference Chat" on a selection of multiple calling cards opens an IM session
    -> fixed : actions that would result in an IM window opening shouldn't be blocked if the session is already open
    -> added : RlvActions class to mimick LLAvatarActions and lowering the rlvhandler.h include dependency
2014-01-27 13:54:13 -05:00
Latif Khalifa
63ff4e281b Revert "focusFirstItem was no longer being overridden here, this function has proven not needed, thus."
This reverts commit 655081365f.
2014-01-25 22:31:08 +01:00
Inusaito Sayori
d1cfe54bd9 Fix Issue 1344: Weird mesh distorted bug
Animations require consistent names for points like Avatar Center between viewers
To fix this, we now use Avatar Center instead of Root at the lower levels,
but this is okay, we translate Avatar Center into Root at UI level!
2014-01-25 22:07:39 +01:00
Latif Khalifa
838266d710 Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer 2014-01-25 21:22:49 +01:00
Aleric Inglewood
6547452136 Merge remote-tracking branch 'singu/master' 2014-01-25 20:29:46 +01:00
Aleric Inglewood
095f2d2255 Allow users to join a new grid with Singularity without first having to install another viewer.
I've seen this in other grids (InWorldz and OpenGrid) and is a problem
on DreamNation with every new user: they can't put on a shape or skin
until they first logged in with another viewer. See comments in code.

Tested, and now could successfully add shape, skin, eyes and hair.
2014-01-25 20:20:52 +01:00
Inusaito Sayori
42bf70849c Fix Issue 1344: Weird mesh distorted bug
Animations require consistent names for points like Avatar Center between viewers
To fix this, we now use Avatar Center instead of Root at the lower levels,
but this is okay, we translate Avatar Center into Root at UI level!
2014-01-25 09:44:42 -05:00
Inusaito Sayori
236fa2a284 Fix Issue 870: Crouch toggle not reset when pressing "Fly" button, causes avatar to run/fly downhill.
Reimplements crouch toggle such that crouch is now tracked by the agent object
Fixes crouch being reset when restoring focus to the viewer window, as well.
2014-01-24 22:57:19 -05:00
Inusaito Sayori
2450b435a7 Combine commonly created scroll list menus into single menus identified by menu_num instead of their menu_file
sScrollListMenus is an array such that it will hold more menus in the future, such as groups.
fmenu_file still exists and will still exhibit its old behavior if used.
2014-01-24 21:41:56 -05:00
Latif Khalifa
aaf06fa2cc FITMESH-6, FITMESH-20 Fix for some objects disappearing when hardware skinning enabled and ALM disabled.
NOTE: There appears to be a driver bug on some AMD systems that will cause hardware skinning to break given different combinations of shaders. Users should be advised that if they see improper skinning on their avatars, they should either enable advanced lighting model, or disable atmospheric shaders or hardware skinning.

davep
2014-01-24 12:26:43 +01:00
Latif Khalifa
de29ea779a Merge branch 'master' of git://github.com/Lirusaito/SingularityViewer 2014-01-24 12:24:14 +01:00
Inusaito Sayori
282df98d09 Complete resize-friendly appearance mode UI 2014-01-24 01:29:38 -05:00
Latif Khalifa
cc9f6b7b7b Fitted mesh fixup: change in llvoavatar.cpp enabled extra information
for avatar look at targets which is not something users expect, disabling for now
2014-01-24 05:51:26 +01:00
Inusaito Sayori
e3c91a3ba1 Added lsl functions from Second Life RC LeTigre 13.12.20.285035 2014-01-23 21:19:40 -05:00
Latif Khalifa
8ea156d128 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2014-01-24 02:20:37 +01:00
Latif Khalifa
99db9edfef Fitted mesh: hookup debug display to Advanced -> Charachter -> Show Avatar Joins 2014-01-24 02:20:25 +01:00
Shyotl
a0c7b1f8ac Try manually nulling out vbo data if its entire contents are to be overwritten. Rumored intel/nvidia optimization. 2014-01-23 19:06:52 -06:00
Shyotl
97d57d81b0 Skip particle-glow vbo logic if shaders aren't enabled. 2014-01-23 19:02:43 -06:00
Shyotl
66ebe45b5e Give 'gDeferredNonIndexedDiffuseAlphaMaskProgram' a unique 'name' 2014-01-23 19:01:49 -06:00
Shyotl
7516871b16 Avoid wasting particles on incredibly small/zero length ribbon segments. 2014-01-23 19:00:30 -06:00
Inusaito Sayori
30bd505eab French update touchup, by Nomade Zhao. 2014-01-23 19:58:45 -05:00
Inusaito Sayori
17f7967e39 Issue 97: Disable Leaving Mouselook when viewer window loses focus 2014-01-23 19:39:38 -05:00
Inusaito Sayori
ab55c61dc3 Feature Request: Add option to reset angles/offsets adjustments made to current camera preset.
Adds "Reset Camera Preset Angle to Default" to view menu
Wasn't quite sure where to hook this up, menu seemed the best for the moment, but really it's more of a preferences button function.
2014-01-23 19:35:17 -05:00
Latif Khalifa
066d0221b8 Merge branch 'master' of git://github.com/Lirusaito/SingularityViewer 2014-01-24 01:16:32 +01:00
Latif Khalifa
269deb56e6 Fitted mesh 2014-01-24 01:11:27 +01:00
Lirusaito
7572674fdb Enforce xml follows flags in scroll containers, and allow the appearance floater to resize, enforcing minimum dimensions of its default size
It was requested to let people resize the height to easily display more sections, and well, this is the easiest fix, if width changes in a nasty way, it can just be fixed since default is min.
2014-01-23 19:07:53 -05:00
Lirusaito
63379105b5 Fix the local chat focu bug, yay! 2014-01-23 19:06:33 -05:00
Lirusaito
655081365f focusFirstItem was no longer being overridden here, this function has proven not needed, thus. 2014-01-23 17:42:08 -05:00
Lirusaito
7ac0330e4b Fix a rare glitch where mouselook zoomed field of view would be maintained upon leaving mouselook 2014-01-22 00:57:15 -05:00
Latif Khalifa
bbb1d15b8e Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer 2014-01-16 08:18:04 +01:00
Latif Khalifa
b7c54301fb Merge branch 'master' of git://github.com/Lirusaito/SingularityViewer 2014-01-16 08:17:54 +01:00
Inusaito Sayori
75109e14c3 Italics hotfix
Restores use of the old slant_amt offset for italicizing fonts by slanting quads.
Note that this is the wrong way to fix the issue and should eventually be removed.
2014-01-15 20:15:53 -05:00
Latif Khalifa
3446f708ff Syncronized max bandwith const with prefs panel max 2014-01-06 20:27:17 +01:00
Aleric Inglewood
9bce3b38d4 Do not erase cache every login forever, when NewCacheLocation is set a non-existing directory!
I can't believe that I have not have gotten a cache for two years
because of this... I knew I didn't, but didn't really want to fix
it while I working on the network code (AICurl) ;). It kinda made
for a good testing. Bet my ISP is glad I fixed it though.
2013-12-31 23:37:10 +01:00
Aleric Inglewood
93736308c9 Add missing ft2build.h to linux64 freetype package. 2013-12-30 19:38:41 +01:00
Aleric Inglewood
ba9c5c366b Avoid duplicated entries in mAttachedObjectsVector
This fixes Top Crasher signatures 2 and 50.
http://crash.singularityviewer.org/crashes.php?signature_id=2
http://crash.singularityviewer.org/crashes.php?signature_id=50
2013-12-30 03:24:46 +01:00
Aleric Inglewood
e523aadc4a Do not destruct running Responders upon viewer exit.
This hopefully saves some crashes.
2013-12-29 21:50:10 +01:00
Aleric Inglewood
4416dafe73 Erata for last commit (issue 1113). 2013-12-29 01:49:33 +01:00
Aleric Inglewood
2062431f23 Bug fix.
singularity-do-not-run-directly: /opt/secondlife/viewers/singularity/SingularityViewer/linden/indra/llcommon/llmemory.h:219: void ll_memcpy_nonaliased_aligned_16(char*, const char*, size_t): Assertion `src != __null' failed.

 Program received signal SIGABRT, Aborted.
 [Switching to Thread 0x7fff3342f700 (LWP 18001)]
 0x00007ffff0f951d5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
 56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
 (gdb) bt
 #0  0x00007ffff0f951d5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
 #1  0x00007ffff0f98388 in __GI_abort () at abort.c:90
 #2  0x00007ffff0f8e252 in __assert_fail_base (fmt=0x7ffff10cc080 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x2c7ca97 "src != __null",
     file=file@entry=0x2c7ca40 "/opt/secondlife/viewers/singularity/SingularityViewer/linden/indra/llcommon/llmemory.h", line=line@entry=219,
     function=function@entry=0x2c7dc60 "void ll_memcpy_nonaliased_aligned_16(char*, const char*, size_t)") at assert.c:92
 #3  0x00007ffff0f8e302 in __GI___assert_fail (assertion=0x2c7ca97 "src != __null", file=0x2c7ca40 "/opt/secondlife/viewers/singularity/SingularityViewer/linden/indra/llcommon/llmemory.h",
     line=219, function=0x2c7dc60 "void ll_memcpy_nonaliased_aligned_16(char*, const char*, size_t)") at assert.c:101
 #4  0x0000000001b3ebd9 in ll_memcpy_nonaliased_aligned_16 (dst=0x7fff2c39f440 "\001", src=0x0, bytes=0)
     at /opt/secondlife/viewers/singularity/SingularityViewer/linden/indra/llcommon/llmemory.h:219
 #5  0x0000000001e09d93 in LLVector4a::memcpyNonAliased16 (dst=0x7fff2c39f440, src=0x0, bytes=0)
     at /opt/secondlife/viewers/singularity/SingularityViewer/linden/indra/llmath/llvector4a.cpp:44
 #6  0x0000000001e2a13c in LLVolumeFace::pushVertex (this=0x7fff3342daf0, pos=..., norm=..., tc=...)
     at /opt/secondlife/viewers/singularity/SingularityViewer/linden/indra/llmath/llvolume.cpp:6106
 #7  0x0000000001e2a03f in LLVolumeFace::pushVertex (this=0x7fff3342daf0, cv=...) at /opt/secondlife/viewers/singularity/SingularityViewer/linden/indra/llmath/llvolume.cpp:6080
 #8  0x0000000001e20498 in LLVolumeFace::optimize (this=0x7fff2c39ee20, angle_cutoff=2) at /opt/secondlife/viewers/singularity/SingularityViewer/linden/indra/llmath/llvolume.cpp:4841
 #9  0x0000000001aa61d4 in LLModel::optimizeVolumeFaces (this=0x7fff2c39e100) at /opt/secondlife/viewers/singularity/SingularityViewer/linden/indra/llprimitive/llmodel.cpp:866
 #10 0x0000000001aa5f28 in LLModel::createVolumeFacesFromDomMesh (this=0x7fff2c39e100, mesh=0x7fff2c36cc90)
     at /opt/secondlife/viewers/singularity/SingularityViewer/linden/indra/llprimitive/llmodel.cpp:829
 #11 0x0000000001aa8324 in LLModel::loadModelFromDomMesh (mesh=0x7fff2c36cc90) at /opt/secondlife/viewers/singularity/SingularityViewer/linden/indra/llprimitive/llmodel.cpp:1402
 #12 0x0000000000a9bc11 in LLModelLoader::doLoadModel (this=0x7fff4f74d480) at /opt/secondlife/viewers/singularity/SingularityViewer/linden/indra/newview/llfloatermodelpreview.cpp:1535
 #13 0x0000000000a9b100 in LLModelLoader::run (this=0x7fff4f74d480) at /opt/secondlife/viewers/singularity/SingularityViewer/linden/indra/newview/llfloatermodelpreview.cpp:1395
 #14 0x00007ffff5e52e9a in LLThread::staticRun (apr_threadp=0x7ffff7e572e0, datap=0x7fff4f74d480)
     at /opt/secondlife/viewers/singularity/SingularityViewer/linden/indra/llcommon/llthread.cpp:93
 #15 0x00007ffff7bc6e0e in start_thread (arg=0x7fff3342f700) at pthread_create.c:311
 #16 0x00007ffff10490fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

This happened while loading some .dae.
2013-12-28 20:52:11 +01:00
Aleric Inglewood
a4b2ecc4f7 Fix issue 1113, "detaching editted attachment does not unfreeze avatar"
Detaching an attachment didn't reset the select managers pause request
for the avatar.
2013-12-28 18:59:20 +01:00
Aleric Inglewood
c8017c7945 Merge remote-tracking branch 'singu/master' 2013-12-27 17:59:00 +01:00
Aleric Inglewood
f81f5e2374 Show the part of an animation after the loop out point when previewing. 2013-12-27 17:57:45 +01:00
Aleric Inglewood
19a36a6e12 Don't assert at exit.
It's perfectly ok when a responder is being deleted before it finished,
when the application is exiting.
2013-12-27 17:55:49 +01:00
Latif Khalifa
9768b3e42f Build fix 2013-12-25 18:53:29 +01:00
Latif Khalifa
bc6348bb34 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2013-12-25 18:08:42 +01:00
Shyotl
3da9fe0e94 Avoid calling a few deprecated gl functions when shaders are enabled. 2013-12-25 02:09:36 -06:00
Shyotl
75f94d346d Fixed Alerics favorite assertion. 2013-12-24 20:21:55 -06:00
Shyotl
4eb9dc5191 Use GL_STREAM_DRAW_ARB for post-process fullscreen quad. 2013-12-24 20:17:05 -06:00
Shyotl
e00e704cbd Fix minor error in shader which prevented ssao from working with shadows enabled. 2013-12-24 20:16:05 -06:00
Shyotl
033880c8f9 Kill some vertex attribute / shader attribute inconsistencies. (Issue 1287, 1281) Also hopefully improved face edit overlay behavior when editing normal/specular texture/scale/offset/rotation. 2013-12-24 20:15:29 -06:00
Aleric Inglewood
1f80dac4c0 Don't cause undefined behavior by calling std::vector<>::front() for empty container. 2013-12-24 20:03:27 +01:00
Aleric Inglewood
a17eca6300 Merge remote-tracking branch 'singu/master' 2013-12-23 20:34:11 +01:00
Latif Khalifa
4a2168cf48 Merge branch 'master' of git://github.com/Lirusaito/SingularityViewer 2013-12-20 04:59:59 +01:00
Latif Khalifa
facd5a76c5 Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer 2013-12-20 04:59:48 +01:00
Latif Khalifa
85c875e856 Link boost dynamically, bundle its libs. Addresses issue 1152.
Rebuild collada to also use dynamic boost.
SV-1152 #close Fixed by linking boost dynamically
2013-12-20 03:02:17 +01:00
Aleric Inglewood
302bebd80f Merge remote-tracking branch 'singu/master' 2013-12-19 23:03:22 +01:00
Inusaito Sayori
85943b8a03 Rename zmm_mlfov to ExodusAlternativeFOV 2013-12-19 11:57:58 -05:00
Aleric Inglewood
8f2781ca3b Fix bug with adding a new grid. 2013-12-19 03:13:33 +01:00
Inusaito Sayori
101c65098d Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer 2013-12-17 00:28:20 -05:00
Inusaito Sayori
195c962d8c Feature request from Issue 1285: Cost per sq. m. display on map. 2013-12-15 09:51:16 -05:00
Siana Gearz
2bb2e05ef9 Merge branch 'master' of https://github.com/Shyotl/SingularityViewer 2013-12-15 14:56:20 +01:00
Siana Gearz
679019f2de Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer 2013-12-15 14:09:29 +01:00
Inusaito Sayori
649c29674c Feature Request: User control over which UI will become hidden when going into mouselook.
Adds three checkboxes to input and camera preferences: Floaters, Notices, and Menubar
Should satisfy Issue 462.
SV-462 #close Done~
2013-12-14 20:48:48 -05:00
Inusaito Sayori
b22cc2c2fa [Warnings] Fixed warning: "_FORTIFY_SOURCE" redefined [enabled by default] 2013-12-14 00:05:10 -05:00
Inusaito Sayori
2642a1c3ff [Warnings] Fix class/struct inconsistency. 2013-12-14 00:00:52 -05:00
Shyotl
9014d56957 Fix 'setBuffer: Shader consumption mismatches data provision.' error in LLPipeline::updateCull. Issue caused by LLDrawPoolAlpha not unbinding shaders when only basic shaders are enabled. https://code.google.com/p/singularity-viewer/issues/detail?id=1281 2013-12-13 02:21:54 -06:00
Shyotl
7da8b012e6 Pulled SSAO out into its own shader to support running at a lower-than-native framebuffer resolution (defaults at half-resolution [SHRenderSSAOResolutionScale=.5] ). This doesn't improve the slow ssao/shadow softening, however, as that bit remains unchanged. 2013-12-13 02:19:57 -06:00
Inusaito Sayori
edabdcf724 log_sStringTemplates_accesses now spews lldebugs, not llinfos 2013-12-11 15:57:05 -05:00
Siana Gearz
c5adb01ed9 Stop occasional crash during shutdown 2013-12-10 23:11:07 +01:00
Inusaito Sayori
13f26e6b5a Feature request: Add EnableNongestureSounds as an opposite to gesture mute 2013-12-10 15:56:07 -05:00
Siana Gearz
64e7be0321 This should make the cache-full situation a lot more benign
I should be ashamed of myself, i took ugly, terrible code and uglied it up even more.
2013-12-09 08:35:21 +01:00
Siana Gearz
e182173ee2 Fatal paranoia cure 2013-12-09 03:39:47 +01:00
Inusaito Sayori
a59940c592 Fix Issue 1273: Typing in Group Chat opens IM Window for other participants
Broken logic, my bad.
2013-12-08 14:21:39 -05:00
Inusaito Sayori
36d8df602c [Radar] Feature request: Have Focus Next/Prev wrap around when it reaches the end 2013-12-06 13:10:12 -05:00
Inusaito Sayori
062973aaaf Default SinguOffsetScrollKeys to false and expose it in Camera prefs.
Adds "Scrolling with control and/or shift held adjusts camera position" to Input & Camera prefs
2013-12-06 08:43:28 -05:00
Inusaito Sayori
be369b5500 Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer 2013-12-04 14:05:46 -05:00
Aleric Inglewood
ed0628774a Turn noisy AudioEngine debug output into Debug Level. 2013-12-04 01:21:18 +01:00
Inusaito Sayori
f988cd36b6 Attempt to fix Issue 1264: Vacant lines in Friends list 2013-12-02 22:45:44 -05:00
Inusaito Sayori
8fb2812899 LLIconCtrl Params 2013-12-02 20:45:07 -05:00
Inusaito Sayori
b4d0896507 Fixups to mistakes of the past. 2013-12-02 20:30:59 -05:00
Inusaito Sayori
4116ac75f6 LLUICtrl Params
Also adds support for requests_front boolean attribute to lluictrl from upstream
2013-12-02 20:17:48 -05:00
Inusaito Sayori
23958965aa LLInitParam/LLUI Params enhancement
Specialized param handling for common linden types
And pre-viewer-interesting modernized llinitparam.* (includes llsdparam.cpp update)
2013-12-02 00:27:50 -05:00
Inusaito Sayori
9723a45e72 Modernize LLIconCtrl
Adds min_height and min_width attributes
Adds mPriority for controlling priority with which to call LLUI::getUIImage*
Moves specialized setImage()s into setValue
Removes mImageName and mImageID, value is stored in base as LLSD now
2013-12-01 15:58:24 -05:00
Inusaito Sayori
bbb55b0b4d LLUICtrl support for "enabled_control" and "disabled_control" attributes from upstream. 2013-12-01 11:56:45 -05:00
Inusaito Sayori
f3ca4b6e34 Fix Issue 1222 by changing the default Field of View for mouselook zoom
Smooth scroll changes the meaning of the numbers, unfortunately.. so for those who haven't figured out how to customize their mouselook zoom, this'll hafta do.
Also clarified the description of the debug.
SV-1222 #close Fixed up, will require a reset of the debug setting "zmm_mlfov", clean install, or just scroll to modify it.
2013-12-01 00:33:04 -05:00
Aleric Inglewood
1dfd9a9c75 Merge remote-tracking branch 'singu/master' 2013-11-30 18:44:58 +01:00
Latif Khalifa
340286f918 Merge branch 'master' of https://github.com/siana/SingularityViewer 2013-11-29 16:24:36 +01:00
Latif Khalifa
e41b346046 Added CrashReportID debug setting that will be set to the ID of the last crash that was sent to the crash tracker 2013-11-29 16:22:06 +01:00
Latif Khalifa
d8fa14cac5 Notifying users about crash report ID on login creates confusion.
Revert "Added notification that chat report has been sent after the user logs in."

This reverts commit 4e79bce3e2.
2013-11-29 16:09:58 +01:00
Latif Khalifa
2c99e07b93 Fallback to old method of bundling MS C runtime, if automatic one fails 2013-11-29 16:06:56 +01:00
Latif Khalifa
f1ee3a0834 Merge branch 'master' of github.com:singularity-viewer/SingularityViewer 2013-11-29 15:33:54 +01:00
Siana Gearz
ff3f6eccf7 One handed walking and running - LMB+RMB on your avatar 2013-11-29 11:33:59 +01:00
Siana Gearz
b7e9a94744 Fix closing the pay floater, reported in chat by Margot 2013-11-29 10:05:17 +01:00
Siana Gearz
faf5a8e694 Translation and debranding fixes 2013-11-29 08:47:25 +01:00
Siana Gearz
8a13599436 Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer 2013-11-29 06:27:05 +01:00
Siana Gearz
767597ffe3 Merge branch 'master' of https://github.com/AlericInglewood/SingularityViewer 2013-11-29 06:25:10 +01:00
Siana Gearz
919fdafad5 Language properties clean-up 2013-11-29 06:24:55 +01:00
Shyotl
78e3d61b98 Remove ambient occlusion darkening from all deferred shaders except the one that actually calculates occlusion values.. (aka every shader except class2/softenLightF.glsl) 2013-11-28 21:07:25 -06:00
Inusaito Sayori
fd21afa0b3 French ALM words 2013-11-28 20:47:51 -05:00
Inusaito Sayori
5491ff8a51 [LLIMMgr/LLIMPanel] Fix Issue 1254: bug voice in conference
Conference ids are subject to change, switched to boost::ref to bind the real one.
SV-1247 #close Fixed nao~
2013-11-28 20:18:29 -05:00
Inusaito Sayori
909ce355e2 [LLIMMgr/LLIMPanel] Switched from dialog checks for nothing special to generic P2P session checking 2013-11-28 20:08:57 -05:00
Inusaito Sayori
63a9555d17 Use Links.SingularityViewer for Issue Tracker link. 2013-11-27 12:27:03 -05:00
Aleric Inglewood
e85241d9ab Merge remote-tracking branch 'singu/master' 2013-11-26 22:15:00 +01:00
Aleric Inglewood
38957ff531 Reduce calls to LLHoverView::updateText
Basically to avoid calling LLTrans::getString 250 times per second,
and seeing
INFO: log_sStringTemplates_accesses: LLTrans::getString/findString called 19000 in total.
INFO: log_sStringTemplates_accesses: LLTrans::getString/findString called 20000 in total.
etc, every 40 seconds in the log.
2013-11-26 22:09:46 +01:00
Aleric Inglewood
8357a2b90b Speed up ll_assert_aligned
Although only used in Debug mode, this showed up in a profiling
with a very significant amount of CPU cycles (in a state when
the viewer bogged down to 1 FPS because of drawing terrain,
but still - significant compared to the code that was being
executed (ie, 10%)).

This patch should bring that down from a few hunderd to one clock
cycle.
2013-11-26 17:52:24 +01:00
Salvatore La Bua
dad7228d56 Add Italian skin translation provided by druskus 2013-11-26 11:20:18 +01:00
Latif Khalifa
e2c8e4950d Merge branch 'master' of git://github.com/Lirusaito/SingularityViewer 2013-11-26 11:15:48 +01:00
Inusaito Sayori
342c812121 Add initial_mime_type param to LLFloaterWebContent, defaulted to "text/html" 2013-11-26 05:13:02 -05:00
Inusaito Sayori
4c1880acac Default legacy log launch to on, and limit it to platforms it works on(windows) at compile time. 2013-11-26 04:49:37 -05:00
Inusaito Sayori
7383b0a974 Sync mats translation, thanks Nomade. 2013-11-26 04:35:00 -05:00
Inusaito Sayori
748d55ddd0 French Materials! (and cleanup\inclusion of old stuff) 2013-11-26 01:19:48 -05:00
Inusaito Sayori
7fd61c3bf1 Fix delete not working in text editors 2013-11-25 21:03:36 -05:00
Latif Khalifa
48850b2af0 Compile fix.
This appears to be committed blindly without testing even if it build.
ll_sd_from_color4() / ll_color4_from_sd() need to be used to store and get color from LLSD.
2013-11-26 01:03:10 +01:00
Latif Khalifa
4e79bce3e2 Added notification that chat report has been sent after the user logs in.
This will also add a line in the chat log with the report id
2013-11-26 00:38:00 +01:00
Latif Khalifa
362415fe8a Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer 2013-11-26 00:36:53 +01:00
Latif Khalifa
38248ac5b3 Merge branch 'master' of git://github.com/Lirusaito/SingularityViewer 2013-11-26 00:36:43 +01:00
Inusaito Sayori
98d5e4bea8 Possibly fix and restore Report Abuse to avs list menus 2013-11-25 03:44:07 -05:00
Inusaito Sayori
201ca35afb Possible fix for Mute/Unmute from lists of avatars not working 2013-11-25 03:33:13 -05:00
Inusaito Sayori
26655aefe0 Fix last online unknown showing up as zeroed out date.
Adds group_member_status_unknown to strings.xml
SV-1237 #close Fixed~
2013-11-25 03:24:40 -05:00
Aleric Inglewood
f8d9bcf487 Don't reset easy handles after using them.
We create a new easy handle every time.
2013-11-24 19:15:48 +01:00
Aleric Inglewood
ec436b0e3b Improve upload_finished detection for HTTP requests.
We detect the end of an upload when libcurl informs us
that it is no longer interested in knowing if a socket
is writable (which it tells us cause we're doing the call
to select(), by means of a call to MultiHandle::socket_callback).

However, this does not *always* work.
The debug output might look like this:

[...initialization and first part of a TLS handshake...]
0x7f759f0ad700   CURL        :   select(55, {17, 39, 46, 47, 48, 49, 50, 51, 52, 54}, NULL, NULL, timeout = 1 ms) = 7
0x7f759f0ad700   CURLTR      :   curl_multi_socket_action((CURLM*)0x7f758c002920, 46, CURL_CSELECT_IN, <unfinished>	<--- Calling curl_multi_socket_action (socket 46 is readable)
0x7f759f0ad700   CURLIO      0x13fce7b0       * SSLv3, TLS change cipher, Client hello (1):
0x7f759f0ad700   CURLIO      0x13fce7b0       S> 1 bytes
0x7f759f0ad700   CURLIO      0x13fce7b0       * SSLv3, TLS handshake, Finished (20):
0x7f759f0ad700   CURLIO      0x13fce7b0       S> 16 bytes
0x7f759f0ad700   CURLIO      0x13fce7b0       * SSL connection using AES256-SHA
0x7f759f0ad700   CURLIO      0x13fce7b0       * Server certificate:
0x7f759f0ad700   CURLIO      0x13fce7b0       *          subject: C=US; ST=California; L=San Francisco; O=Linden Lab, Inc.; CN=*.agni.lindenlab.com; emailAddress=root@lindenlab.com
0x7f759f0ad700   CURLIO      0x13fce7b0       *          start date: 2012-09-20 22:55:47 GMT
0x7f759f0ad700   CURLIO      0x13fce7b0       *          expire date: 2015-09-20 22:55:47 GMT
0x7f759f0ad700   CURLIO      0x13fce7b0       *          issuer: C=US; ST=California; L=San Francisco; O=Linden Lab, Inc.; OU=Linden Lab Certificate Authority; CN=Linden Lab Certificate Authority; emailAddress=ca@lindenlab.com
0x7f759f0ad700   CURLIO      0x13fce7b0       *          SSL certificate verify ok.
0x7f759f0ad700   CURLIO      0x13fce7b0       * STATE: PROTOCONNECT => DO handle 0x7f758d62d810; (connection #2)
0x7f759f0ad700   CURLIO      0x13fce7b0       H< POST /cap/d67d4540-4504-b3d1-1d26-112010e88bd8 HTTP/1.1\r\nHost: sim10480.agni.lindenlab.com:12043\r\nAccept: */*\r\nAccept-Encoding: deflate, gzip\r\nContent-Type: application/llsd+xml\r\nX-SecondLife-UDP-Listen-Port: 32837\r\nConnection: keep-alive\r\nKeep-alive: 300\r\nContent-Length: 333\r\n\r\n
0x7f759f0ad700   CURLIO      0x13fce7b0       * STATE: DO => DO_DONE handle 0x7f758d62d810; (connection #2)
0x7f759f0ad700   CURL        :       Entering BufferedCurlEasyRequest::curlProgressCallback(0x13fce7b0, 0, 0, 333, 0)	<=== THIS IS NEW: total to upload: 333 bytes, total uploaded: 0 bytes.
0x7f759f0ad700   CURLIO      0x13fce7b0       * STATE: DO_DONE => WAITPERFORM handle 0x7f758d62d810; (connection #2)
0x7f759f0ad700   CURL        :       Entering BufferedCurlEasyRequest::curlProgressCallback(0x13fce7b0, 0, 0, 333, 0)
0x7f759f0ad700   CURLIO      0x13fce7b0       * STATE: WAITPERFORM => PERFORM handle 0x7f758d62d810; (connection #2)
0x7f759f0ad700   CURL        :       Entering BufferedCurlEasyRequest::curlProgressCallback(0x13fce7b0, 0, 0, 333, 0)
0x7f759f0ad700   CURL        :       Entering BufferedCurlEasyRequest::curlProgressCallback(0x13fce7b0, 0, 0, 333, 0)
0x7f759f0ad700   CURL        :       Entering BufferedCurlEasyRequest::curlProgressCallback(0x13fce7b0, 0, 0, 333, 0)
0x7f759f0ad700   CURLTR      :       curl_easy_getinfo((CURL*)0x13fcf320, CURLINFO_PRIVATE, 0x7f759f0abdb0) = CURLE_OK
0x7f759f0ad700   CURL        :       Entering MultiHandle::socket_callback((CURL*)0x13fcf320, 46, CURL_POLL_INOUT, 0x7f758c001508, 0x7f758c2ce4e0) [CURLINFO_PRIVATE = 0x13fce7b0]
0x7f759f0ad700   CURL        :         CurlSocketInfo::set_action(CURL_POLL_IN --> CURL_POLL_INOUT) [0x13fce7b0]	<=== WATING FOR WRITING BUT ALREADY WAITING FOR INPUT!
0x7f759f0ad700   CURL        0x13fce7b0          reset_lowspeed: mLowSpeedClock = 138530973390; mStalled = -1
0x7f759f0ad700   CURLTR      :   <continued> {11}) = 0									<--- Returning from curl_multi_socket_action
0x7f759f0ad700   CURL        :   select(58, {17, 39, 46, 47, 48, 49, 50, 51, 52, 54}, {36, 46, 57}, NULL, timeout = 756 ms) = 5
0x7f759f0ad700   CURLTR      :   curl_multi_socket_action((CURLM*)0x7f758c002920, 46, CURL_CSELECT_OUT, <unfinished>	<=== SOCKET AVAILABLE FOR WRITING
0x7f759f0ad700   CURLIO      0x13fce7b0       * additional stuff not fine transfer.c:1037: 0 0
0x7f759f0ad700   CURLIO      0x13fce7b0       D< 333 bytes: "<llsd><map><key>folders</key><array><map><key>fetch_folders</key>...etc"	<=== WRITING *ALL* DATA
0x7f759f0ad700   CURL        :       Entering BufferedCurlEasyRequest::curlProgressCallback(0x13fce7b0, 0, 0, 333, 333)	<=== THIS IS NEW, DETECT END OF UPLOAD
0x7f759f0ad700   CURL        0x13fce7b0          upload_finished: mStalled set to Time_10ms (138530973390) + 6000 (60 seconds)
0x7f759f0ad700   CURL        :       Entering BufferedCurlEasyRequest::curlProgressCallback(0x13fce7b0, 0, 0, 333, 333)
0x7f759f0ad700   CURL        :   select(58, {17, 39, 46, 47, 50, 52, 54}, {36, 46, 57}, NULL, timeout = 0 ms) = 8
0x7f759f0ad700   CURLTR      :   curl_multi_socket_action((CURLM*)0x7f758c002920, 46, CURL_CSELECT_IN|CURL_CSELECT_OUT, <unfinished>
0x7f759f0ad700   CURLIO      0x13fce7b0       * HTTP 1.1 or later with persistent connection, pipelining supported
0x7f759f0ad700   CURLIO      0x13fce7b0       H> HTTP/1.1 200 OK\r\n

...and the server already replies without a call to MultiHandle::socket_callback between
writing and reading, because the socket was still (already) waiting for input anyway
(since it was waiting for the SSL/TLS handshake before in this case, but
it also happens when the data has to be written in more than one writes).

Using the progress callback however, we are able to detect the end of the upload right
after writing, anyway.
2013-11-24 19:13:17 +01:00
Aleric Inglewood
6714d3585d Improve CURLTR debug output.
It was very confusing that only *after* a call to a libcurl function
it was written to debug output that it was called.
Now it prints it before calling it, and when that leads to additional
debug output while inside the function, it prints that before giving
the return value.

For example:

0x7f529ea15700   CURLTR      :   curl_multi_socket_action((CURLM*)0x7f528c002920, CURL_SOCKET_TIMEOUT, 0, <unfinished>
0x7f529ea15700   CURLIO      0xea8ef30       * About to connect() to login.agni.lindenlab.com port 443 (#0)
0x7f529ea15700   CURLIO      0xea8ef30       *   Trying 216.82.16.97...
0x7f529ea15700   CURLIO      0xea8ef30       * 0xe3240e0 is at send pipe head!
0x7f529ea15700   CURLIO      0xea8ef30       * STATE: CONNECT => WAITCONNECT handle 0x7f528c001df0; (connection #0)
0x7f529ea15700   CURLTR      :       curl_easy_getinfo((CURL*)0xe3240e0, CURLINFO_PRIVATE, 0x7f529ea13db0) = CURLE_OK
0x7f529ea15700   CURL        :       Entering MultiHandle::socket_callback((CURL*)0xe3240e0, 36, CURL_POLL_OUT, 0x7f528c001508, 0) [CURLINFO_PRIVATE = 0xea8ef30]
0x7f529ea15700   CURLTR      :         curl_easy_getinfo((CURL*)0xe3240e0, CURLINFO_PRIVATE, 0x7f529ea13d58) = CURLE_OK
0x7f529ea15700   CURLTR      :         curl_multi_assign((CURLM*)0x7f528c002920, 36, 0x7f528c031680) = 0
0x7f529ea15700   CURL        :         CurlSocketInfo::set_action(CURL_POLL_NONE --> CURL_POLL_OUT) [0xea8ef30]
0x7f529ea15700   CURL        :       MultiHandle::timer_callback(): timeout set to 1 ms.
0x7f529ea15700   CURLTR      :   <continued> {1}) = 0

Unfortunately, this breaks defining DEBUG_CURLIO without using libcwd,
but that was unusable already anyway (even though it compiled).
2013-11-24 18:24:09 +01:00
Inusaito Sayori
44d1b4f1fb A start on the group's feature request to have indication of mute in friends list
We may need to trick the friends list into refreshing when someone is muted to complete this feature...
probably need mutelist callbacks if those exist
2013-11-22 20:21:47 -05:00
Inusaito Sayori
7d98cf1891 [LLIMMgr/LLIMPanel] Woops, only allow invites to Adhocs!! 2013-11-22 18:41:34 -05:00
Inusaito Sayori
2d66022727 [LLIMMgr/LLIMPanel] Clean up the now redundant usage of isInviteAllowed() 2013-11-22 18:18:05 -05:00
Inusaito Sayori
15fefc231b [LLIMMgr/LLIMPanel] isInviteAllowed should return based on mSessionType, not on mDialog. 2013-11-22 18:09:13 -05:00
Inusaito Sayori
53969d05d8 [LLIMMgr/LLIMPanel] Always allow Drag and Drop sharing of any inventory regardless of mDialog so long as mSessionType is P2P_SESSION 2013-11-22 18:00:58 -05:00
Inusaito Sayori
209e64b136 Merge llfloatertools.cpp with upstream to fix MATBUG-240
MATBUG-240: Unable to change media settings for an already applied media texture unless media texture is removed and reapplied.
2013-11-22 17:35:11 -05:00
Inusaito Sayori
f3f1727b49 Actually fix SV-1226
It happened because we filtered mFromName which started out as from_name, and inconsistently used the two after that...
This change switches to just using mFromName after that point..
SV-1226 #close Fixed it~
2013-11-22 00:49:47 -05:00
Inusaito Sayori
15dbce00ee Prevent any RLVa filtering of music information as mentioned in SV-1226 2013-11-21 23:09:13 -05:00
Aleric Inglewood
2a7b96fab2 Increase connect time outs for SSL/TLS connections to 30 seconds.
On (very) slow machines this might improve the experience.
This only has effect on Second Life, since that's currently the only
grid that uses https for capabilities (all of them, except GetMesh,
GetMesh2 and GetTexture).

When linking the viewer with libmemleak, which significantly slows
down calls to malloc (and calloc, realloc, new, memalign and so on)
and free (delete), I no longer could download my inventory.
With this patch this was solved. The reason was that completing
the SSL/TLS handshake took more than 10 seconds (15 to 20).
2013-11-21 19:47:25 +01:00
Aleric Inglewood
1aa0a9be67 Minor bug fix. 2013-11-21 01:28:34 +01:00
Aleric Inglewood
53e26d4909 Compile fix for -DDEBUG_CURLIO
Since that fakes the libcwd macros, this is needed to compile
the recent change that allows to only turn on debugging output
for certain statemachine objects when DEBUG_CURLIO is defined,
but libcwd is not used (CWDEBUG is undefined).
2013-11-21 01:28:16 +01:00
Aleric Inglewood
bdef8dc185 Merge remote-tracking branch 'singu/master' 2013-11-20 15:13:25 +01:00
Siana Gearz
9c29488044 If the text is too skinny to render, don't crash 2013-11-20 10:33:15 +01:00
Siana Gearz
060628397b Merge branch 'master' of https://github.com/Shyotl/SingularityViewer 2013-11-20 05:50:03 +01:00
Siana Gearz
f23dc157be Prevent accidental modification of vital stock grid 2013-11-20 05:49:43 +01:00
Shyotl
3715b7439d Doer fonts fast(er)! (better batching for font glyph rendering) 2013-11-19 19:40:29 -06:00
Siana Gearz
cde5b23353 Limit avatar physics to 20-40 simulation steps per second to avoid wonky integration 2013-11-20 02:22:16 +01:00
Siana Gearz
07736106b1 Suppress asserts in fallback font loading 2013-11-20 02:20:58 +01:00
Siana Gearz
01744730a1 Merge branch 'master' of https://github.com/AlericInglewood/SingularityViewer 2013-11-20 01:11:13 +01:00
Siana Gearz
c162b470b2 Merge branch 'master' of https://github.com/Shyotl/SingularityViewer 2013-11-20 01:09:10 +01:00
Shyotl
5d2511e39e More font cleanup and updating. 2013-11-19 17:56:27 -06:00
Aleric Inglewood
483b97a608 Merge remote-tracking branch 'singu/master' 2013-11-19 22:13:57 +01:00
Aleric Inglewood
ea0e25b92b Make entering a Login URI in the grid manager more robust.
Before, when anything but the exact correct Login URI was entered, the
user would either get no error, or a pop up saying "Cannot retrieve grid
info from server."

With this patch, that pop up includes what went wrong and stresses that
they check if they entered the correct Login URI and where to find it.

I was motivated to write this after looking at crash report 8405 where
a user who had downloaded Singularity for the very first time crashed
twice when entering things like "aviworlds" and " aviworlds.com:8002"
(not the space), and "http:aviworlds.com:8002" (missing '//').

Especially in the light of FS accepting Login URI without the 'http://',
a lot of grid websites (like that of aviworlds) might instruct users
to enter the url without http://. Ie, this user was told to enter
just "aviworlds.com:8002", and when that failed was instructed to
add 'http' in front of it...

Now the code accepts also really WEIRD things, but will never mess
up a good entry. For example, if you enter "pssshht:aviworlds.com:8002"
then that will work, as a side effect. The real objective however is
of course to let things work like: "aviworlds.com:8002  ",
"http:aviworlds.com:8002", " http:/aviworlds.com:8002", and to give
a usable error message when there is a typo in the hostname (Cannot
resolve hostname) or they forget to add a port number (404, or
connection refused), plus the text "Make sure you entered the correct
Login URI. An example of a Login URI is: \"http://cool.grid.com:8002/\",
this url can usually be found on the website of the grid."
2013-11-19 22:00:34 +01:00
Aleric Inglewood
06bebcc5c4 Bug fix for BlockingResponder.
Blocking http requests (code using responders derived from
BlockingResponder) *do* call getRaw() and getLLSD to get the body of
server error messages. It is therefore perfectly ok if mStatus !=
HTTP_OK.
2013-11-19 21:16:12 +01:00
Aleric Inglewood
63a6ed4f43 Fix floater xmls: tooltip must be tool_tip. 2013-11-19 20:26:55 +01:00
Latif Khalifa
26ca140e4b Fixed symbol generation on Mac with channel specific packages 2013-11-19 08:47:18 +01:00
Latif Khalifa
054d67669f Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2013-11-19 06:28:45 +01:00
Shyotl
503e5287cd Fix minor oversight that broke openal audio impl. 2013-11-18 23:27:29 -06:00
Latif Khalifa
7187ceb0ac Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2013-11-19 05:14:46 +01:00
Latif Khalifa
594eacb480 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2013-11-19 04:44:55 +01:00
Latif Khalifa
f21bec1ab9 Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer 2013-11-19 04:44:47 +01:00
Latif Khalifa
e6977de12f Mac build changes to create specific channel installers 2013-11-19 04:19:48 +01:00
Latif Khalifa
c99f54367d Use viewer channel as the basis for installer file names 2013-11-19 00:50:06 +01:00
Latif Khalifa
c6ec03ab19 Re-enable generating tarballs when packaging on Linux 2013-11-19 00:52:59 +01:00
Latif Khalifa
cce3809a26 Autogenerate version numbers on Mac too 2013-11-19 00:28:05 +01:00
Latif Khalifa
7183797e05 Autogenerated versioned windows resource files 2013-11-19 00:12:34 +01:00
Aleric Inglewood
7b9f854c66 Fix for 'with active responder' llerrs crash.
This fixes at least one case (crash report 8407), which comes
down to not cleanly informing a responder of failure when the
request url is empty (or so badly formed that it isn't a valid
url). As a result, the statemachine would abort() without
informing the responder - which is bad, sort of.

The previous cases where the responder needed to be informed
of a failure, namely "statemachine timed_out()" and "bad_socket()"
when a socket suddenly becomes bad for unknown reason, have been
replaced with the more general 'aborted()' function, which must
be called before the statemachine calls abort(). Clearly this
has been done for all cases of abort() now, so that if the
llerrs fires again in the future then that would have to be
after the statemachine calls finish(), which is still as "impossible"
as it was - hence the llerrs is still there to make sure.

The reason that this seldom happened on SL, and more often on
opensim, even more often on home-brew test grids, seems plausible:
malformed urls happen more in those cases.

I also took the opportunity to improve the robustness of cases
where the curl error code is checked: it makes no sense to check
what curl gives as error code when an internal error occurred.
2013-11-18 18:16:26 +01:00
Shyotl
b9d2ad3132 Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git 2013-11-18 10:38:39 -06:00
Shyotl
8aa4d0fd27 Removed fasttimer that was hurting perf a tiny bit. 2013-11-18 09:58:21 -06:00
Shyotl
030588caaf Underwater shadows. 2013-11-18 09:57:35 -06:00
Shyotl
be249ac8a1 Font update. Minor refactor, and removed some pointless code that was leaking. 2013-11-18 09:56:49 -06:00
Shyotl
2badc1c79c Initialize LLListener_OpenAL::mRolloffFactor just to be safe. 2013-11-18 09:55:15 -06:00
Siana Gearz
3b8fbbc827 Clean up shaders on package and no longer final-package by default on Linux 2013-11-18 07:45:25 +01:00
Siana Gearz
a5103a1fc1 Sprinkle some Intel GPU support on Linux 2013-11-18 04:22:21 +01:00
Siana Gearz
749d0eec28 Merge https://github.com/abaph/SingularityViewer
Brings in support for MESA accelerators.
2013-11-17 16:38:06 +01:00
Latif Khalifa
0af470b2a9 Merge branch 'master' of git://github.com/LightDrake/SingularityViewer 2013-11-17 12:45:32 +01:00
Latif Khalifa
97c505f941 Reset 'MotionResetsCamera' on camera reset 2013-11-17 12:45:14 +01:00
Latif Khalifa
c6ec2a531f Alow alt-camming and terrian parcel selection from farther away.
Thanks to Liru for finding the sport
2013-11-17 12:28:06 +01:00
Drake Arconis
3e2f1a8fd9 Changed singularity prebuilt cache dir to sg.install.cache 2013-11-16 14:28:25 -05:00
Drake Arconis
7fa5abd4d1 Added NVAPI support on windows 2013-11-16 14:01:09 -05:00
Drake Arconis
924908f2ad Imported new revoke anim perms code and refactored related bits 2013-11-15 19:51:21 -05:00
Aleric Inglewood
bddb1ba48c Merge remote-tracking branch 'singu/master' 2013-11-15 18:00:49 +01: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
Latif Khalifa
14c43aa9a2 Fixed camera pan 2013-11-14 20:36:07 +01:00
Andros Baphomet
997fdebb9f Re-fix shader compilation errors 2013-11-03 13:12:27 -05:00
Andros Baphomet
fe0a761ce6 Merge remote-tracking branch 'upstream/master'
Conflicts:
	indra/newview/app_settings/shaders/class1/deferred/alphaNonIndexedNoColorF.glsl
	indra/newview/app_settings/shaders/class1/deferred/fullbrightShinyF.glsl
	indra/newview/app_settings/shaders/class1/deferred/fxaaF.glsl
	indra/newview/app_settings/shaders/class1/deferred/giF.glsl
	indra/newview/app_settings/shaders/class1/deferred/multiSpotLightF.glsl
	indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl
	indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
	indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl
	indra/newview/app_settings/shaders/class2/deferred/alphaNonIndexedF.glsl
	indra/newview/app_settings/shaders/class2/deferred/alphaNonIndexedNoColorF.glsl
	indra/newview/app_settings/shaders/class2/deferred/multiSpotLightF.glsl
	indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl
2013-11-03 12:17:50 -05:00
Andros Baphomet
c009866d86 Merge remote-tracking branch 'upstream/master' 2013-10-30 09:42:58 -04:00
Andros Baphomet
c264607207 Merge remote-tracking branch 'upstream/master' 2013-10-19 10:03:17 -04:00
Andros Baphomet
e363aeb618 Merge remote-tracking branch 'upstream/master' 2013-10-12 21:23:07 -04:00
Andros Baphomet
ffb4abebdd Merge remote-tracking branch 'upstream/master' 2013-10-12 12:59:26 -04:00
Andros Baphomet
12abca8954 Merge remote-tracking branch 'upstream/master' 2013-10-12 01:50:26 -04:00
Andros Baphomet
7ab20726e4 Merge remote-tracking branch 'upstream/master'
Conflicts:
	indra/llrender/llshadermgr.cpp (resolved)
2013-10-06 10:32:23 -04:00
Andros Baphomet
f6861cd5ba Fix shader compilation/out-of-spec issues 2013-10-05 17:33:34 -04:00
Andros Baphomet
988009d84d Don't explicitly set LIBGL_DRIVERS_PATH by default; breaks autodetection 2013-10-05 17:32:42 -04:00
Inusaito Sayori
353e2977d6 [Voice Update] Further sync llvoiceclient and llvoicevivox with upstream
Mainly tiny motions to ease merging as viewer-vivox2 work continues
Condenses MultiVoice block
2013-07-27 16:48:35 -04:00
Inusaito Sayori
641067c399 [Voice Update] Apply updates from Viewer-Vivox2
Applies the following commits:
 4c13e7c - Interim version with SLIM removed from voice.
   4c13e7c753
 9cad21a - Thanks mercurial.
   9cad21adc1
   Only the changes that should have been in 4c13e7c (removal of LLVivoxVoiceClient::accountListBlockRulesSendMessage() and LLVivoxVoiceClient::accountListAutoAcceptRulesSendMessage())
 9c94b96 - Removed debugging.
   9c94b96ed3
 ec77595 - Turn off logging.
   ec775958ef
 857cab1 - Kill all the vivox logs
   857cab153e
2013-07-27 16:41:08 -04:00
4768 changed files with 262959 additions and 178186 deletions

1
.gitattributes vendored
View File

@@ -1 +0,0 @@
* text=auto

8
.gitignore vendored
View File

@@ -1,24 +1,25 @@
/installed.xml
/indra/llcommon/llversionviewer.h
/indra/build-*
/indra/tools/vstool/obj/
*.aps
*.suo
*.vshost.exe
*/.vs
/bin/
/bin-release/
/bin
/bin-release
/indra/out/
/indra/viewer-*
/indra/newview/vivox-runtime/
/indra/newview/dbghelp.dll
indra/newview/res/viewer_icon.*
indra/newview/res-sdl/viewer_icon.*
/libraries/
/lib/
*.pyc
*.orig
*.rej
*.bak
*~
*.DS_Store
/LICENSES/
/edited-files.txt
@@ -26,3 +27,4 @@ qtcreator-build/
/.pc
/build-*
/viewer-*
/Pipfile.lock

286
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,286 @@
stages:
- build
- upload
default:
interruptible: true
timeout: 4h
variables:
AUTOBUILD_BUILD_ID: $CI_PIPELINE_ID
AUTOBUILD_INSTALLABLE_CACHE: "$CI_PROJECT_DIR/.cache/autobuild"
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
VIEWER_USE_CRASHPAD: "TRUE"
VIEWER_CRASHPAD_URL: $SENTRY_DSN
.win_build:
stage: build
tags:
- autobuild
- windows
cache:
key:
files:
- autobuild.xml
prefix: ${CI_JOB_NAME}
paths:
- .cache/autobuild
- .cache/pip
- .venv/
when: 'always'
before_script:
- virtualenv .venv
- .\.venv\Scripts\activate.ps1
- pip install --upgrade autobuild -i https://pkg.alchemyviewer.org/repository/autobuild/simple --extra-index-url https://pypi.org/simple
script:
- |
autobuild configure -c Release -- -DUSE_FMODSTUDIO=ON -DUSE_NVAPI=ON -DUSE_LTO=ON -DVS_DISABLE_FATAL_WARNINGS=ON -DREVISION_FROM_VCS=FALSE
autobuild build -c Release --no-configure
artifacts:
name: "$env:CI_COMMIT_REF_NAME-$env:CI_COMMIT_SHORT_SHA"
expire_in: 1 week
paths:
- build-vc-*/newview/Release/build_data.json
- build-vc-*/newview/Release/singularity-bin.exe
- build-vc-*/newview/Release/*.pdb
- build-vc-*/newview/Release/*.dll
- build-vc-*/newview/Release/Singularity_*_Setup.exe
.linux_build:
stage: build
image: r.alchemyviewer.org/singularity/infrastructure/debian-build-image:latest
tags:
- linux
- docker
cache:
key:
files:
- autobuild.xml
prefix: ${CI_JOB_NAME}
paths:
- .cache/autobuild
- .cache/pip
- .venv
when: 'always'
before_script:
- virtualenv .venv -p python2
- source .venv/bin/activate
- pip install --upgrade autobuild -i https://pkg.alchemyviewer.org/repository/autobuild/simple --extra-index-url https://pypi.org/simple
script:
- |
autobuild configure -c Release -- -DUSE_FMODSTUDIO=ON -DUSE_NVAPI=ON -DUSE_LTO=ON -DUNIX_DISABLE_FATAL_WARNINGS=ON -DREVISION_FROM_VCS=FALSE
autobuild build -c Release --no-configure
artifacts:
name: "$env:CI_COMMIT_REF_NAME-$env:CI_COMMIT_SHORT_SHA"
expire_in: 1 week
paths:
- build-linux-*/build_data.json
- build-linux-*/newview/Singularity_*.tar.xz
.win32_build:
extends: .win_build
variables:
AUTOBUILD_ADDRSIZE: 32
VIEWER_USE_CRASHPAD: "FALSE"
cache:
key:
prefix: windows32
.win64_build:
extends: .win_build
variables:
AUTOBUILD_ADDRSIZE: 64
cache:
key:
prefix: windows64
.linux32_build:
extends: .linux_build
variables:
AUTOBUILD_ADDRSIZE: 32
cache:
key:
prefix: linux32
.linux64_build:
extends: .linux_build
variables:
AUTOBUILD_ADDRSIZE: 64
cache:
key:
prefix: linux64
.master_rules:
rules:
- if: $BUILD_CHANNEL || $CI_COMMIT_TAG
when: never
- if: '$CI_PIPELINE_SOURCE == "web"'
- if: '$CI_PIPELINE_SOURCE == "schedule"'
#- if: '$CI_COMMIT_BRANCH == "master" && $CI_PIPELINE_SOURCE == "push"'
# when: delayed
# start_in: '12 hours'
variables:
VIEWER_CHANNEL_TYPE: Test
VIEWER_USE_CRASHPAD: "FALSE"
.project_rules:
rules:
- if: '$BUILD_CHANNEL == "Project" && ($CI_PIPELINE_SOURCE == "web" || $CI_PIPELINE_SOURCE == "schedule")'
- if: '$CI_COMMIT_TAG =~ /.*-project/'
variables:
VIEWER_CHANNEL_TYPE: Project
.beta_rules:
rules:
- if: '$BUILD_CHANNEL == "Beta" && ($CI_PIPELINE_SOURCE == "web" || $CI_PIPELINE_SOURCE == "schedule")'
- if: '$CI_COMMIT_TAG =~ /.*-beta/'
variables:
VIEWER_CHANNEL_TYPE: Beta
.release_rules:
rules:
- if: '$BUILD_CHANNEL == "Release" && ($CI_PIPELINE_SOURCE == "web" || $CI_PIPELINE_SOURCE == "schedule")'
- if: '$CI_COMMIT_TAG =~ /.*-release/'
variables:
VIEWER_CHANNEL_TYPE: Release
.build:master:linux64:
extends:
- .linux64_build
- .master_rules
build:master:windows32:
extends:
- .win32_build
- .master_rules
build:master:windows64:
extends:
- .win64_build
- .master_rules
.build:project:linux64:
extends:
- .linux64_build
- .project_rules
build:project:windows32:
extends:
- .win32_build
- .project_rules
build:project:windows64:
extends:
- .win64_build
- .project_rules
.build:beta:linux64:
extends:
- .linux64_build
- .beta_rules
build:beta:windows32:
extends:
- .win32_build
- .beta_rules
build:beta:windows64:
extends:
- .win64_build
- .beta_rules
.build:release:linux64:
extends:
- .linux64_build
- .release_rules
build:release:windows32:
extends:
- .win32_build
- .release_rules
build:release:windows64:
extends:
- .win64_build
- .release_rules
.upload_template:
stage: upload
tags:
- autobuild
- windows
allow_failure: false
script:
- |
$BuildData = Get-Content .\build-vc-64\newview\Release\build_data.json | ConvertFrom-Json
$BuildChannelVersion = $BuildData."Channel" + ' ' + $BuildData."Version"
$UploadDestViewerDir = $BuildChannelVersion.ToLower().Replace(" ", "/")
$UploadDestURL = "https://pkg.alchemyviewer.org/repository/viewer/${UploadDestViewerDir}"
$UploadParams = @{ UseBasicParsing = $true;
Method = "PUT";
Headers = @{
ContentType = "application/x-executable";
Authorization = "Basic $([System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes("$env:AUTOBUILD_HTTP_USER`:$env:AUTOBUILD_HTTP_PASS")))"; };
Verbose = $true; };
Function try_upload($build_type, $file_pattern)
{
$build_newview = ".\build-${build_type}\newview\"
If (Test-Path -LiteralPath $build_newview)
{
Push-Location $build_newview
$FileName = Get-ChildItem -Path . -Name -Include $file_pattern
Invoke-WebRequest @UploadParams -InFile .\$FileName -Uri "${UploadDestURL}/${FileName}"
If (($env:VIEWER_USE_CRASHPAD -eq 'TRUE') -and ($build_type -eq "vc-64"))
{
sentry-cli upload-dif --include-sources singularity-bin.exe singularity-bin.pdb crashpad_handler.exe crashpad_handler.pdb fmod.dll libcrypto-1_1.dll libcrypto-1_1.pdb libssl-1_1.dll libssl-1_1.pdb libcrypto-1_1-x64.dll libcrypto-1_1-x64.pdb libssl-1_1-x64.dll libssl-1_1-x64.pdb vcruntime140.dll msvcp140.dll libhunspell.dll libhunspell.pdb glod.dll
}
Pop-Location
}
}
try_upload("linux-64", "Singularity_*.tar.xz")
try_upload("vc-64", "Singularity_*_Setup.exe")
try_upload("vc-32", "Singularity_*_Setup.exe")
If ($env:VIEWER_USE_CRASHPAD -eq 'TRUE')
{
sentry-cli releases new $BuildChannelVersion
sentry-cli releases set-commits --auto $BuildChannelVersion
sentry-cli releases finalize $BuildChannelVersion
}
upload:project:
extends:
- .upload_template
rules:
- if: '$BUILD_CHANNEL == "Project" && ($CI_PIPELINE_SOURCE == "web" || $CI_PIPELINE_SOURCE == "schedule")'
when: manual
- if: '$CI_COMMIT_TAG =~ /.*-project/'
when: manual
environment:
name: qa
upload:beta:
extends:
- .upload_template
rules:
- if: '$BUILD_CHANNEL == "Beta" && ($CI_PIPELINE_SOURCE == "web" || $CI_PIPELINE_SOURCE == "schedule")'
when: manual
- if: '$CI_COMMIT_TAG =~ /.*-beta/'
when: manual
environment:
name: beta
upload:release:
extends:
- .upload_template
rules:
- if: '$BUILD_CHANNEL == "Release" && ($CI_PIPELINE_SOURCE == "web" || $CI_PIPELINE_SOURCE == "schedule")'
when: manual
- if: '$CI_COMMIT_TAG =~ /.*-release/'
when: manual
environment:
name: release

View File

@@ -1,81 +0,0 @@
->> Features implemented in Ascent:
In-World:
-------------------------------------------------
* Alpha skins and Tattoo Layers
* Inventory Pre-caching
* Avatar Radar
* Multiple Attachment Points
* Idle time of avatars around you (Not perfect)
* Client tags/coloring for various clients, and extra client definitions
* Force Away button to fake being away if you really want to avoid someone :V
* Double-Click teleport (Not all the functionality of Emerald yet)
Preferences (Options are in Ascent Options):
* Disable Look At
* Disable Point At and beam end
* Fetch inventory in background on login (No waiting for caching when searching)
* Display your client tag to yourself
* Display your client tag color to yourself
* Rez objects as land group when possible
* Some settings can now be saved per account after changing an option in the preferences. Currently affected settings:
Edit Beam color
Client Tag Color
Communication Window:
- Friend List:
* Friend List Online/Total counts (Not perfect)
* Shows what rights your friends have given you (Mod, See on map, Online)
Chat Bar:
* Emerald-style Chatbar as Commandline (See Preferences)
* MU-style poses.
* OOC Auto-close.
Instant Messages:
* MU-style poses.
* OOC Auto-close.
Advanced -> Ascent:
* Fake Away Status
* Force Ground Sit (Lets you sit anywhere)
* Phantom Avatar (Prevents you visually from being pushed.)
* Toggle IM Notification (Ability to hide '%n is typing...' notification from being sent.)
* Close All Dialogs
* Message Log
* Message Builder
* Sound Explorer
* Asset Blacklist
* AO options
Object Pie Menus:
* Measure: Select on one object, then another, to get the exact distance between the two
* Data: Reports prim rotation and position in a format usable in LSL scripts.
* Script Counter
Self Pie Menu:
* Animation Explorer
Agent Pie Menus:
* Script Counter
* Copy Agent UUID
* Debug
Parcel Window:
-------------------------------------------------
- General tab:
- Objects tab:
* In Sim/Online/Offline indicators for Parcel Object Owner listings (Online is currently wonky - This is an issue with SL, Emerald has the same problem.)
Build Window:
-------------------------------------------------
- General tab:
* Last Owner shown in Build "General" Tab
* Group object is set to has a "View" button to see the group's profile
* Copy Object Key button
- Build Tab:
* Copy/Paste Position buttons
* Copy/Paste Size buttons
* Copy/Paste Rotation buttons
* Copy/Paste Primitive Parameters buttons
Known issues:
Online/Total counts in the friends list sometimes go haywire. Not often or by a large margin, but it happens.

View File

@@ -0,0 +1,29 @@
INTEL LICENSE AGREEMENT
IMPORTANT - READ BEFORE COPYING OR USING.
Do not use or load this library and any associated materials (collectively,
the "Software") until you have read the following terms and conditions. By
loading or using the Software, you agree to the terms of this Agreement. If
you do not wish to so agree, do not use the Software.
LICENSE: Subject to the restrictions below, Intel Corporation ("Intel")
grants to you the permission to use, copy, distribute and prepare derivative
works of this Software for any purpose and without fee, provided, that
Intel's copyright notice appear in all copies of the Software files.
The distribution of derivative works of the Software is also subject to the
following limitations: you (i) are solely responsible to your customers for
any liability which may arise from the distribution, (ii) do not make any
statement that your product is "certified", or that its performance is
guaranteed, by Intel, and (iii) do not use Intel's name or trademarks to
market your product without written permission.
EXCLUSION OF ALL WARRANTIES. The Software is provided "AS IS" without any
express or implies warranty of any kind including warranties of
merchantability, noninfringement, or fitness for a particular purpose.
Intel does not warrant or assume responsibility for the accuracy or
completeness of any information contained within the Software.
As this Software is given free of charge, in no event shall Intel be liable
for any damages whatsoever arising out of the use of or inability to use the
Software, even if Intel has been adviced of the possibility of such damages.
Intel does not assume any responsibility for any errors which may appear in
this Software nor any responsibility to update it.

14
Pipfile Normal file
View File

@@ -0,0 +1,14 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[dev-packages]
[packages]
llbase = "*"
certifi = "*"
autobuild = {git = "https://git.alchemyviewer.org/alchemy/autobuild.git"}
[requires]
python_version = "2.7"

2
README
View File

@@ -18,7 +18,7 @@ as those based upon the OpenSim platform.
Singularity is maintained by a small group of volunteers who can be contacted
both, in-world (SingularityViewer group) as well as on IRC (#SingularityViewer
@ FreeNode). Bug requests and features requests can be submitted through our
Issue Tracker (http://code.google.com/p/singularity-viewer/issues/list or from
Issue Tracker (http://links.singularityviewer.org/?to=issues or from
the viewer menu: Help --> Bug Reporting --> Singularity Issue Tracker...)

3030
autobuild.xml Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +0,0 @@
SLASSET_LIBS_WIN32=http://automated-builds-secondlife-com.s3.amazonaws.com/oss-viewer/export/slviewer-win32-libs-oss-viewer-1.23.4.0.zip
SLASSET_MD5=http://automated-builds-secondlife-com.s3.amazonaws.com/oss-viewer/export/md5sums-oss-viewer-1.23.4.0.txt
SLASSET_LIBS_DARWIN=http://automated-builds-secondlife-com.s3.amazonaws.com/oss-viewer/export/slviewer-darwin-libs-oss-viewer-1.23.4.0.tar.gz
SLASSET_ART=http://automated-builds-secondlife-com.s3.amazonaws.com/oss-viewer/export/slviewer-artwork-oss-viewer-1.23.4.0.zip
SLASSET_LIBS_LINUXI386=http://automated-builds-secondlife-com.s3.amazonaws.com/oss-viewer/export/slviewer-linux-libs-oss-viewer-1.23.4.0.tar.gz

View File

@@ -1,5 +0,0 @@
For full release notes, see:
http://wiki.secondlife.com/wiki/Release_Notes
For a log of viewer changes, see:
doc/viewer-changes.txt

View File

View File

@@ -236,6 +236,14 @@
<boolean>false</boolean>
</map>
<key>ObjectAnimation</key>
<map>
<key>flavor</key>
<string>template</string>
<key>trusted-sender</key>
<boolean>false</boolean>
</map>
<key>AvatarAppearance</key>
<map>
<key>flavor</key>

View File

@@ -3,19 +3,7 @@
# cmake_minimum_required should appear before any
# other commands to guarantee full compatibility
# with the version specified
cmake_minimum_required(VERSION 2.6.2 FATAL_ERROR)
# Eventually the third-party support modules (cmake/*.cmake) should
# know the full path to all libraries. Until that happens we need
# per-configuration link directory "libraries/<arch>/lib/debug" for
# Debug and "libraries/<arch>/lib/release" for Release,
# RelWithDebInfo, and MinSizeRel. CMake 2.6 does not directly support
# per-configuration link directory specification. However, we can set
# CMP0003 to OLD and link to one library (apr) on a per-configuration
# basis to convince CMake to add the proper link directory. This line
# can be removed when we use full paths for all libraries.
cmake_policy(SET CMP0003 OLD)
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
set(ROOT_PROJECT_NAME "Singularity" CACHE STRING
"The root project/makefile/solution name. Defaults to Singularity.")
@@ -23,25 +11,20 @@ project(${ROOT_PROJECT_NAME})
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
include(Variables)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# Load versions now. Install locations need them.
include(BuildVersion)
include(UnixInstall)
if (NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release CACHE STRING
if (NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING
"Build type. One of: Debug Release RelWithDebInfo" FORCE)
endif (NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
endif (NOT CMAKE_BUILD_TYPE)
# Create a 'prepare' target in which to perform setup actions. This
# must be the first target created so other targets can depend on it.
if(NOT STANDALONE)
# We prepare prebuilt binaries when not building standalone.
set(prepare_depends ${CMAKE_BINARY_DIR}/prepare/prebuilt)
endif(NOT STANDALONE)
add_custom_target(prepare DEPENDS ${prepare_depends})
include(Variables)
include(00-Common)
include(BuildVersion)
include(CTest)
add_subdirectory(deps)
add_subdirectory(cmake)
add_subdirectory(${LIBS_OPEN_PREFIX}aistatemachine)
@@ -64,12 +47,6 @@ add_subdirectory(${LIBS_OPEN_PREFIX}llvfs)
add_subdirectory(${LIBS_OPEN_PREFIX}llwindow)
add_subdirectory(${LIBS_OPEN_PREFIX}llxml)
if(STANDALONE)
add_subdirectory(${LIBS_OPEN_PREFIX}llqtwebkit)
endif(STANDALONE)
#add_subdirectory(${LIBS_OPEN_PREFIX}lscript)
if (WINDOWS AND EXISTS ${LIBS_CLOSED_DIR}copy_win_scripts)
add_subdirectory(${LIBS_CLOSED_PREFIX}copy_win_scripts)
endif (WINDOWS AND EXISTS ${LIBS_CLOSED_DIR}copy_win_scripts)
@@ -81,29 +58,12 @@ add_subdirectory(${LIBS_OPEN_PREFIX}llui)
# viewer plugins directory
add_subdirectory(${LIBS_OPEN_PREFIX}plugins)
# llplugin testbed code (is this the right way to include it?)
#if (NOT LINUX)
# add_subdirectory(${VIEWER_PREFIX}test_apps/llplugintest)
#endif (NOT LINUX)
add_subdirectory(${VIEWER_PREFIX}newview/statemachine)
add_subdirectory(${VIEWER_PREFIX}newview)
add_dependencies(viewer secondlife-bin)
add_dependencies(viewer ${VIEWER_BINARY_NAME})
# The use_prebuilt_binary macro in cmake/Prebuilt.cmake records
# packages in the PREBUILT property of the 'prepare' target.
get_property(PREBUILT_PACKAGES TARGET prepare PROPERTY PREBUILT)
# Create a script to download the needed binaries.
configure_file(${CMAKE_SOURCE_DIR}/cmake/DownloadPrebuilt.cmake.in
${CMAKE_BINARY_DIR}/DownloadPrebuilt.cmake @ONLY)
# Drive the download script at build time. Depend on 'install.xml'
# to aqcuire new binaries when needed.
add_custom_command(
COMMENT "Obtaining prebuilt binaries..."
OUTPUT ${CMAKE_BINARY_DIR}/prepare/prebuilt
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_BINARY_DIR}/DownloadPrebuilt.cmake
DEPENDS ${CMAKE_SOURCE_DIR}/../install.xml
${CMAKE_BINARY_DIR}/DownloadPrebuilt.cmake
)
if (WINDOWS)
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
PROPERTY VS_STARTUP_PROJECT ${VIEWER_BINARY_NAME})
endif (WINDOWS)

View File

@@ -39,5 +39,9 @@ set_source_files_properties(${aistatemachine_HEADER_FILES}
list(APPEND aistatemachine_SOURCE_FILES ${aistatemachine_HEADER_FILES})
add_library (aistatemachine ${aistatemachine_SOURCE_FILES})
add_dependencies(aistatemachine prepare)
target_link_libraries(
aistatemachine
PUBLIC
llcommon
)

View File

@@ -293,7 +293,36 @@ void AIEngine::add(AIStateMachine* state_machine)
}
}
extern void print_statemachine_diagnostics(U64 total_clocks, U64 max_delta, AIEngine::queued_type::const_reference slowest_state_machine);
#if STATE_MACHINE_PROFILING
// Called from AIStateMachine::mainloop
void print_statemachine_diagnostics(U64 total_clocks, AIStateMachine::StateTimerBase::TimeData& slowest_timer, AIEngine::queued_type::const_reference slowest_element)
{
AIStateMachine const& slowest_state_machine = slowest_element.statemachine();
F64 const tfactor = 1000 / calc_clock_frequency();
std::ostringstream msg;
U64 max_delta = slowest_timer.GetDuration();
if (total_clocks > max_delta)
{
msg << "AIStateMachine::mainloop did run for " << (total_clocks * tfactor) << " ms. The slowest ";
}
else
{
msg << "AIStateMachine::mainloop: A ";
}
msg << "state machine " << "(" << slowest_state_machine.getName() << ") " << "ran for " << (max_delta * tfactor) << " ms";
if (slowest_state_machine.getRuntime() > max_delta)
{
msg << " (" << (slowest_state_machine.getRuntime() * tfactor) << " ms in total now)";
}
msg << ".\n";
AIStateMachine::StateTimerBase::DumpTimers(msg);
LL_WARNS() << msg.str() << LL_ENDL;
}
#endif
// MAIN-THREAD
void AIEngine::mainloop(void)
@@ -305,28 +334,33 @@ void AIEngine::mainloop(void)
queued_element = engine_state_w->list.begin();
}
U64 total_clocks = 0;
#ifndef LL_RELEASE_FOR_DOWNLOAD
U64 max_delta = 0;
#if STATE_MACHINE_PROFILING
queued_type::value_type slowest_element(NULL);
AIStateMachine::StateTimerRoot::TimeData slowest_timer;
#endif
while (queued_element != end)
{
AIStateMachine& state_machine(queued_element->statemachine());
U64 start = get_clock_count();
if (!state_machine.sleep(start))
AIStateMachine::StateTimerBase::TimeData time_data;
if (!state_machine.sleep(get_clock_count()))
{
state_machine.multiplex(AIStateMachine::normal_run);
AIStateMachine::StateTimerRoot timer(state_machine.getName());
state_machine.multiplex(AIStateMachine::normal_run);
time_data = timer.GetTimerData();
}
U64 delta = get_clock_count() - start;
state_machine.add(delta);
total_clocks += delta;
#ifndef LL_RELEASE_FOR_DOWNLOAD
if (delta > max_delta)
if (U64 delta = time_data.GetDuration())
{
max_delta = delta;
slowest_element = *queued_element;
}
state_machine.add(delta);
total_clocks += delta;
#if STATE_MACHINE_PROFILING
if (delta > slowest_timer.GetDuration())
{
slowest_element = *queued_element;
slowest_timer = time_data;
}
#endif
}
bool active = state_machine.active(this); // This locks mState shortly, so it must be called before locking mEngineState because add() locks mEngineState while holding mState.
engine_state_type_wat engine_state_w(mEngineState);
if (!active)
@@ -340,8 +374,8 @@ void AIEngine::mainloop(void)
}
if (total_clocks >= sMaxCount)
{
#ifndef LL_RELEASE_FOR_DOWNLOAD
print_statemachine_diagnostics(total_clocks, max_delta, slowest_element);
#if STATE_MACHINE_PROFILING
print_statemachine_diagnostics(total_clocks, slowest_timer, slowest_element);
#endif
Dout(dc::statemachine, "Sorting " << engine_state_w->list.size() << " state machines.");
engine_state_w->list.sort(QueueElementComp());
@@ -373,7 +407,7 @@ void AIEngine::setMaxCount(F32 StateMachineMaxTime)
sMaxCount = calc_clock_frequency() * StateMachineMaxTime / 1000;
}
#if defined(CWDEBUG) || defined(DEBUG_CURLIO)
#ifdef CWDEBUG
char const* AIStateMachine::event_str(event_type event)
{
switch(event)
@@ -406,7 +440,7 @@ void AIStateMachine::multiplex(event_type event)
// our need to run (by us having set need_run), so there is no need to run
// ourselves.
llassert(!mMultiplexMutex.isSelfLocked()); // We may never enter recursively!
if (!mMultiplexMutex.tryLock())
if (!mMultiplexMutex.try_lock())
{
Dout(dc::statemachine(mSMDebug), "Leaving because it is already being run [" << (void*)this << "]");
return;
@@ -728,7 +762,7 @@ void AIStateMachine::multiplex(event_type event)
//=========================================
// Release the lock on mMultiplexMutex *first*, before releasing the lock on mState,
// to avoid to ever call the tryLock() and fail, while this thread isn't still
// to avoid to ever call the try_lock() and fail, while this thread isn't still
// BEFORE the critical area of mState!
mMultiplexMutex.unlock();
@@ -752,6 +786,22 @@ void AIStateMachine::multiplex(event_type event)
}
}
#if STATE_MACHINE_PROFILING
std::vector<AIStateMachine::StateTimerBase*> AIStateMachine::StateTimerBase::mTimerStack;
AIStateMachine::StateTimerBase::TimeData AIStateMachine::StateTimerBase::TimeData::sRoot("");
void AIStateMachine::StateTimer::TimeData::DumpTimer(std::ostringstream& msg, std::string prefix)
{
F64 const tfactor = 1000 / calc_clock_frequency();
msg << prefix << mName << " " << (mEnd - mStart)*tfactor << "ms" << std::endl;
prefix.push_back(' ');
std::vector<TimeData>::iterator it;
for (it = mChildren.begin(); it != mChildren.end(); ++it)
{
it->DumpTimer(msg, prefix);
}
}
#endif
AIStateMachine::state_type AIStateMachine::begin_loop(base_state_type base_state)
{
DoutEntering(dc::statemachine(mSMDebug), "AIStateMachine::begin_loop(" << state_str(base_state) << ") [" << (void*)this << "]");
@@ -1212,9 +1262,9 @@ void AIStateMachine::abort(void)
multiplex(insert_abort);
}
// Block until the current run finished.
if (!mRunMutex.tryLock())
if (!mRunMutex.try_lock())
{
llwarns << "AIStateMachine::abort() blocks because the statemachine is still executing code in another thread." << llendl;
LL_WARNS() << "AIStateMachine::abort() blocks because the statemachine is still executing code in another thread." << LL_ENDL;
mRunMutex.lock();
}
mRunMutex.unlock();
@@ -1413,6 +1463,6 @@ void stopEngineThread(void)
{
ms_sleep(10);
}
llinfos << "State machine thread" << (!AIEngineThread::sInstance->isStopped() ? " not" : "") << " stopped after " << ((400 - count) * 10) << "ms." << llendl;
LL_INFOS() << "State machine thread" << (!AIEngineThread::sInstance->isStopped() ? " not" : "") << " stopped after " << ((400 - count) * 10) << "ms." << LL_ENDL;
}

View File

@@ -36,6 +36,7 @@
#include "aithreadsafe.h"
#include <llpointer.h>
#include "lltimer.h"
#include <list>
#include <boost/signals2.hpp>
@@ -98,11 +99,143 @@ class AIEngine
extern AIEngine gMainThreadEngine;
extern AIEngine gStateMachineThreadEngine;
#ifndef STATE_MACHINE_PROFILING
#ifndef LL_RELEASE_FOR_DOWNLOAD
#define STATE_MACHINE_PROFILING 1
#endif
#endif
class AIStateMachine : public LLThreadSafeRefCount
{
public:
typedef U32 state_type; //!< The type of run_state
// A simple timer class that will calculate time delta between ctor and GetTimerData call.
// Time data is stored as a nested TimeData object.
// If STATE_MACHINE_PROFILING is defined then a stack of all StateTimers from root is maintained for debug output.
class StateTimerBase
{
public:
class TimeData
{
friend class StateTimerBase;
public:
TimeData() : mStart(-1), mEnd(-1) {}
U64 GetDuration() { return mEnd - mStart; }
private:
U64 mStart, mEnd;
#if !STATE_MACHINE_PROFILING
TimeData(const std::string& name) : mStart(get_clock_count()), mEnd(get_clock_count()) {}
#else
TimeData(const std::string& name) : mName(name), mStart(get_clock_count()), mEnd(get_clock_count()) {}
void DumpTimer(std::ostringstream& msg, std::string prefix);
std::vector<TimeData> mChildren;
std::string mName;
static TimeData sRoot;
#endif
};
#if !STATE_MACHINE_PROFILING
StateTimerBase(const std::string& name) : mData(name) {}
~StateTimerBase() {}
protected:
TimeData mData;
// Return a copy of the underlying timer data.
// This allows the data live beyond the scope of the state timer.
public:
const TimeData GetTimerData()
{
mData.mEnd = get_clock_count(); //set mEnd to current time, since GetTimerData() will always be called before the dtor, obv.
return mData;
}
#else
protected:
// Ctors/dtors are hidden. Only StateTimerRoot and StateTimer are permitted to access them.
StateTimerBase() : mData(NULL) {}
~StateTimerBase()
{
// If mData is null then the timer was not registered due to being in the wrong thread or the root timer wasn't in the expected state.
if (!mData)
return;
mData->mEnd = get_clock_count();
mTimerStack.pop_back();
}
// Also hide internals from everything except StateTimerRoot and StateTimer
bool AddAsRoot(const std::string& name)
{
if (!is_main_thread())
return true; //Ignoring this timer, but pretending it was added.
if (!mTimerStack.empty())
return false;
TimeData::sRoot = TimeData(name);
mData = &TimeData::sRoot;
mData->mChildren.clear();
mTimerStack.push_back(this);
return true;
}
bool AddAsChild(const std::string& name)
{
if (!is_main_thread())
return true; //Ignoring this timer, but pretending it was added.
if (mTimerStack.empty())
return false;
mTimerStack.back()->mData->mChildren.push_back(TimeData(name));
mData = &mTimerStack.back()->mData->mChildren.back();
mTimerStack.push_back(this);
return true;
}
TimeData* mData;
static std::vector<StateTimerBase*> mTimerStack;
public:
// Debug spew
static void DumpTimers(std::ostringstream& msg)
{
TimeData::sRoot.DumpTimer(msg, "");
}
// Return a copy of the underlying timer data.
// This allows the data live beyond the scope of the state timer.
const TimeData GetTimerData() const
{
if (mData)
{
TimeData ret = *mData;
ret.mEnd = get_clock_count(); //set mEnd to current time, since GetTimerData() will always be called before the dtor, obv.
return ret;
}
return TimeData();
}
#endif
};
public:
#if !STATE_MACHINE_PROFILING
typedef StateTimerBase StateTimerRoot;
typedef StateTimerBase StateTimer;
#else
class StateTimerRoot : public StateTimerBase
{ //A StateTimerRoot can become a child if a root already exists.
public:
StateTimerRoot(const std::string& name)
{
if(!AddAsRoot(name))
AddAsChild(name);
}
};
class StateTimer : public StateTimerBase
{ //A StateTimer can never become a root
public:
StateTimer(const std::string& name)
{
AddAsChild(name);
}
};
#endif
protected:
// The type of event that causes multiplex() to be called.
enum event_type {
@@ -295,19 +428,23 @@ class AIStateMachine : public LLThreadSafeRefCount
// Return stringified state, for debugging purposes.
char const* state_str(base_state_type state);
#if defined(CWDEBUG) || defined(DEBUG_CURLIO)
#ifdef CWDEBUG
char const* event_str(event_type event);
#endif
void add(U64 count) { mRuntime += count; }
U64 getRuntime(void) const { return mRuntime; }
// For diagnostics. Every derived class must override this.
virtual const char* getName() const = 0;
protected:
virtual void initialize_impl(void) = 0;
virtual void multiplex_impl(state_type run_state) = 0;
virtual void abort_impl(void) { }
virtual void finish_impl(void) { }
virtual char const* state_str_impl(state_type run_state) const = 0;
virtual void force_killed(void); // Called from AIEngine::flush().
private:
void reset(void); // Called from run() to (re)initialize a (re)start.
@@ -324,7 +461,6 @@ class AIStateMachine : public LLThreadSafeRefCount
mSleep = 0;
return mSleep != 0;
}
void force_killed(void); // Called from AIEngine::flush().
friend class AIEngine; // Calls multiplex() and force_killed().
};

View File

@@ -149,7 +149,7 @@ void AIStateMachineThreadBase::abort_impl(void)
{
// The thread is still happily running (and will clean up itself).
// Lets make sure we're not flooded with this situation.
llwarns << "Thread state machine aborted while the thread is still running. That is a waste of CPU and should be avoided." << llendl;
LL_WARNS() << "Thread state machine aborted while the thread is still running. That is a waste of CPU and should be avoided." << LL_ENDL;
}
}
}

View File

@@ -34,6 +34,7 @@
#include "aistatemachine.h"
#include "llthread.h"
#include "aithreadsafe.h"
#include <boost/format.hpp>
#ifdef EXAMPLE_CODE // undefined
@@ -232,6 +233,13 @@ class AIStateMachineThread : public AIStateMachineThreadBase {
// Accessor.
THREAD_IMPL& thread_impl(void) { return mThreadImpl; }
/*virtual*/ const char* getName() const
{
#define STRIZE(arg) #arg
return (boost::format("%1%%2%%3%") % "AIStateMachineThread<" % STRIZE(THREAD_IMPL) % ">").str().c_str();
#undef STRIZE
}
protected:
/*virtual*/ AIThreadImpl& impl(void) { return mThreadImpl; }
};

View File

@@ -98,6 +98,8 @@ class AITimer : public AIStateMachine {
*/
F64 getInterval(void) const { return mInterval; }
/*virtual*/ const char* getName() const { return "AITimer"; }
protected:
// Call finish() (or abort()), not delete.
/*virtual*/ ~AITimer() { DoutEntering(dc::statemachine(mSMDebug), "~AITimer() [" << (void*)this << "]"); mFrameTimer.cancel(); }

View File

@@ -5,9 +5,9 @@
if(NOT DEFINED ${CMAKE_CURRENT_LIST_FILE}_INCLUDED)
set(${CMAKE_CURRENT_LIST_FILE}_INCLUDED "YES")
include(CheckCCompilerFlag)
include(Variables)
# Portable compilation flags.
set(CMAKE_CXX_FLAGS_DEBUG "-D_DEBUG -DLL_DEBUG=1")
@@ -18,42 +18,12 @@ set(CMAKE_C_FLAGS_RELEASE
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO
"-DLL_RELEASE=1 -D_SECURE_SCL=0 -DNDEBUG -DLL_RELEASE_WITH_DEBUG_INFO=1")
# Configure crash reporting
set(RELEASE_CRASH_REPORTING OFF CACHE BOOL "Enable use of crash reporting in release builds")
set(NON_RELEASE_CRASH_REPORTING OFF CACHE BOOL "Enable use of crash reporting in developer builds")
if(RELEASE_CRASH_REPORTING)
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DLL_SEND_CRASH_REPORTS=1")
endif()
if(NON_RELEASE_CRASH_REPORTING)
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -DLL_SEND_CRASH_REPORTS=1")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DLL_SEND_CRASH_REPORTS=1")
endif()
# Don't bother with a MinSizeRel build.
set(CMAKE_CONFIGURATION_TYPES "RelWithDebInfo;Release;Debug" CACHE STRING
"Supported build types." FORCE)
# Platform-specific compilation flags.
if (WINDOWS)
# Various libs are compiler specific, generate some variables here we can just use
# when we require them instead of reimplementing the test each time.
if (MSVC10)
set(MSVC_DIR 10.0)
set(MSVC_SUFFIX 100)
endif (MSVC10)
if (MSVC11)
set(MSVC_DIR 11.0)
set(MSVC_SUFFIX 110)
endif (MSVC11)
# Remove default /Zm1000 flag that cmake inserts
string (REPLACE "/Zm1000" " " CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
# Don't build DLLs.
set(BUILD_SHARED_LIBS OFF)
@@ -63,50 +33,88 @@ if (WINDOWS)
"${CMAKE_CXX_FLAGS_RELWITHDEBINFO} /Od /Zi /MD /MP"
CACHE STRING "C++ compiler release-with-debug options" FORCE)
set(CMAKE_CXX_FLAGS_RELEASE
"${CMAKE_CXX_FLAGS_RELEASE} ${LL_CXX_FLAGS} /O2 /Zi /MD /MP /fp:fast -D_SECURE_STL=0 -D_HAS_ITERATOR_DEBUGGING=0"
"${CMAKE_CXX_FLAGS_RELEASE} ${LL_CXX_FLAGS} /O2 /Zi /Zo /MD /MP /Ob2 /Zc:inline /fp:fast -D_ITERATOR_DEBUG_LEVEL=0"
CACHE STRING "C++ compiler release options" FORCE)
set(CMAKE_C_FLAGS_RELEASE
"${CMAKE_C_FLAGS_RELEASE} ${LL_C_FLAGS} /O2 /Zi /MD /MP /fp:fast"
CACHE STRING "C compiler release options" FORCE)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /LARGEADDRESSAWARE")
if (ADDRESS_SIZE EQUAL 32)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /LARGEADDRESSAWARE")
endif (ADDRESS_SIZE EQUAL 32)
if (FULL_DEBUG_SYMS OR USE_CRASHPAD)
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /DEBUG:FULL")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /DEBUG:FULL")
else ()
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /DEBUG:FASTLINK")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /DEBUG:FASTLINK")
endif ()
if (USE_LTO)
if(INCREMENTAL_LINK)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /LTCG:INCREMENTAL")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /LTCG:INCREMENTAL")
set(CMAKE_STATIC_LINKER_FLAGS "${CMAKE_STATIC_LINKER_FLAGS} /LTCG:INCREMENTAL")
else(INCREMENTAL_LINK)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /LTCG")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /LTCG")
set(CMAKE_STATIC_LINKER_FLAGS "${CMAKE_STATIC_LINKER_FLAGS} /LTCG")
endif(INCREMENTAL_LINK)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /OPT:REF /OPT:ICF /LTCG")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /OPT:REF /OPT:ICF /LTCG")
set(CMAKE_STATIC_LINKER_FLAGS "${CMAKE_STATIC_LINKER_FLAGS} /LTCG")
elseif (INCREMENTAL_LINK)
set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS} /INCREMENTAL /VERBOSE:INCR")
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS} /INCREMENTAL /VERBOSE:INCR")
else ()
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /OPT:REF /INCREMENTAL:NO")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /OPT:REF /INCREMENTAL:NO")
endif ()
set(CMAKE_CXX_STANDARD_LIBRARIES "")
set(CMAKE_C_STANDARD_LIBRARIES "")
add_definitions(
/DLL_WINDOWS=1
/DNOMINMAX
/DUNICODE
/D_UNICODE
/D_UNICODE
/DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE
/GS
/TP
/W3
/c
/Zc:__cplusplus
/Zc:forScope
/Zc:wchar_t-
/Zc:rvalueCast
/Zc:wchar_t
/nologo
/Oy-
/Zm140
/wd4267
/wd4244
)
# SSE2 is implied on win64
if(WORD_SIZE EQUAL 32)
add_definitions(/arch:SSE2)
else(WORD_SIZE EQUAL 32)
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /wd4267 /wd4250 /wd4244")
endif(WORD_SIZE EQUAL 32)
# configure win32 API for windows XP+ compatibility
set(WINVER "0x0501" CACHE STRING "Win32 API Target version (see http://msdn.microsoft.com/en-us/library/aa383745%28v=VS.85%29.aspx)")
add_definitions("/DWINVER=${WINVER}" "/D_WIN32_WINNT=${WINVER}")
if (USE_LTO)
add_compile_options(
/GL
/Gy
/Gw
)
endif (USE_LTO)
if (ADDRESS_SIZE EQUAL 32)
add_compile_options(/arch:SSE2)
endif (ADDRESS_SIZE EQUAL 32)
# Are we using the crummy Visual Studio KDU build workaround?
if (NOT DISABLE_FATAL_WARNINGS)
add_definitions(/WX)
endif (NOT DISABLE_FATAL_WARNINGS)
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /MANIFEST:NO")
SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /MANIFEST:NO")
SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} /MANIFEST:NO")
# configure win32 API for windows Vista+ compatibility
set(WINVER "0x0600" CACHE STRING "Win32 API Target version (see http://msdn.microsoft.com/en-us/library/aa383745%28v=VS.85%29.aspx)")
add_definitions("/DWINVER=${WINVER}" "/D_WIN32_WINNT=${WINVER}")
endif (WINDOWS)
set (GCC_EXTRA_OPTIMIZATIONS "-ffast-math")
@@ -114,20 +122,30 @@ set (GCC_EXTRA_OPTIMIZATIONS "-ffast-math")
if (LINUX)
set(CMAKE_SKIP_RPATH TRUE)
add_definitions(
-DLL_LINUX=1
-DAPPID=secondlife
-D_REENTRANT
-fexceptions
-fno-math-errno
-fno-strict-aliasing
-fsigned-char
-fvisibility=hidden
-g
-pthread
)
add_compile_options(
-fvisibility=hidden
-fexceptions
-fno-math-errno
-fno-strict-aliasing
-fsigned-char
-g
-pthread
)
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -D_FORTIFY_SOURCE=2 ")
add_definitions(
-DLL_LINUX=1
-DAPPID=secondlife
-D_REENTRANT
-DGDK_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED
-DGSEAL_ENABLE
-DGTK_DISABLE_SINGLE_INCLUDES
)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++14")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2")
# Don't catch SIGCHLD in our base application class for the viewer
# some of our 3rd party libs may need their *own* SIGCHLD handler to work. Sigh!
@@ -182,50 +200,40 @@ if (LINUX)
# End of hacks.
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
CHECK_C_COMPILER_FLAG(-fstack-protector-strong HAS_STRONG_STACK_PROTECTOR)
if (${CMAKE_BUILD_TYPE} STREQUAL "Release")
if(HAS_STRONG_STACK_PROTECTOR)
add_compile_options(-fstack-protector-strong)
endif(HAS_STRONG_STACK_PROTECTOR)
endif (${CMAKE_BUILD_TYPE} STREQUAL "Release")
if (NOT STANDALONE)
# this stops us requiring a really recent glibc at runtime
add_definitions(-fno-stack-protector)
endif (NOT STANDALONE)
if (${ARCH} STREQUAL "x86_64")
add_definitions(-DLINUX64=1 -pipe)
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fomit-frame-pointer -ffast-math -funroll-loops")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fomit-frame-pointer -ffast-math -funroll-loops")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -ffast-math")
set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -ffast-math")
add_definitions(-pipe)
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -ffast-math -msse4.1")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -ffast-math -msse4.1")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -ffast-math -msse4.1")
set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -ffast-math -msse4.1")
else (${ARCH} STREQUAL "x86_64")
if (NOT STANDALONE)
set(MARCH_FLAG " -march=pentium4")
endif (NOT STANDALONE)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}${MARCH_FLAG} -fno-inline -msse2")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}${MARCH_FLAG} -fno-inline -msse2")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}${MARCH_FLAG} -mfpmath=sse,387 -msse2 ${GCC_EXTRA_OPTIMIZATIONS}")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}${MARCH_FLAG} -mfpmath=sse,387 -msse2 ${GCC_EXTRA_OPTIMIZATIONS}")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}${MARCH_FLAG} -mfpmath=sse,387 -msse2 ${GCC_EXTRA_OPTIMIZATIONS}")
set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO}${MARCH_FLAG} -mfpmath=sse,387 -msse2 ${GCC_EXTRA_OPTIMIZATIONS}")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}${MARCH_FLAG} -fno-inline -msse3")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}${MARCH_FLAG} -fno-inline -msse3")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}${MARCH_FLAG} -mfpmath=sse,387 -msse3 ${GCC_EXTRA_OPTIMIZATIONS}")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}${MARCH_FLAG} -mfpmath=sse,387 -msse3 ${GCC_EXTRA_OPTIMIZATIONS}")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}${MARCH_FLAG} -mfpmath=sse,387 -msse3 ${GCC_EXTRA_OPTIMIZATIONS}")
set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO}${MARCH_FLAG} -mfpmath=sse,387 -msse3 ${GCC_EXTRA_OPTIMIZATIONS}")
endif (${ARCH} STREQUAL "x86_64")
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
if (NOT STANDALONE)
# this stops us requiring a really recent glibc at runtime
add_definitions(-fno-stack-protector)
endif (NOT STANDALONE)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}${MARCH_FLAG} -fno-inline -msse2")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}${MARCH_FLAG} -fno-inline -msse2")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}${MARCH_FLAG} -msse2")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}${MARCH_FLAG} -msse2")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}${MARCH_FLAG} -msse2")
set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO}${MARCH_FLAG} -msse2")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}${MARCH_FLAG} -fno-inline -msse3")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}${MARCH_FLAG} -fno-inline -msse3")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}${MARCH_FLAG} -msse3")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}${MARCH_FLAG} -msse3")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}${MARCH_FLAG} -msse3")
set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO}${MARCH_FLAG} -msse3")
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel")
if (NOT STANDALONE)
# this stops us requiring a really recent glibc at runtime
add_definitions(-fno-stack-protector)
endif (NOT STANDALONE)
if (NOT STANDALONE)
set(MARCH_FLAG " -axsse4.1 -msse2")
set(MARCH_FLAG " -axsse4.1 -msse3")
endif (NOT STANDALONE)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}${MARCH_FLAG} -fno-inline-functions")
@@ -246,30 +254,28 @@ endif (LINUX)
if (DARWIN)
add_definitions(-DLL_DARWIN=1 -D_XOPEN_SOURCE)
set(CMAKE_CXX_LINK_FLAGS "-Wl,-headerpad_max_install_names,-search_paths_first")
add_definitions(-DLL_DARWIN=1)
set(CMAKE_CXX_LINK_FLAGS "-Wl,-no_compact_unwind -Wl,-headerpad_max_install_names,-search_paths_first")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_CXX_LINK_FLAGS}")
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mlong-branch")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mlong-branch")
# NOTE: it's critical that the optimization flag is put in front.
# NOTE: it's critical to have both CXX_FLAGS and C_FLAGS covered.
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -msse3 -mtune=generic -mfpmath=sse ${GCC_EXTRA_OPTIMIZATIONS}")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O3 -msse3 -mtune=generic -mfpmath=sse ${GCC_EXTRA_OPTIMIZATIONS}")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -O3 -msse3 -mtune=generic -mfpmath=sse ${GCC_EXTRA_OPTIMIZATIONS}")
set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -O3 -msse3 -mtune=generic -mfpmath=sse ${GCC_EXTRA_OPTIMIZATIONS}")
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
# NOTE: it's critical that the optimization flag is put in front.
# NOTE: it's critical to have both CXX_FLAGS and C_FLAGS covered.
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -msse3")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O3 -msse3")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -O3 -msse3")
set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -O3 -msse3")
endif()
set(DARWIN_extra_cstar_flags "-g")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${DARWIN_extra_cstar_flags} -ftemplate-depth=256")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${DARWIN_extra_cstar_flags}")
# NOTE: it's critical that the optimization flag is put in front.
# NOTE: it's critical to have both CXX_FLAGS and C_FLAGS covered.
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O0 ${CMAKE_CXX_FLAGS_RELWITHDEBINFO}")
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O0 ${CMAKE_C_FLAGS_RELWITHDEBINFO}")
set(CMAKE_XCODE_ATTRIBUTE_CLANG_X86_VECTOR_INSTRUCTIONS SSE3)
set(CMAKE_XCODE_ATTRIBUTE_GCC_OPTIMIZATION_LEVEL -O3)
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -msse3 ${CMAKE_CXX_FLAGS_RELEASE}")
set(CMAKE_C_FLAGS_RELEASE "-O3 -msse3 ${CMAKE_C_FLAGS_RELEASE}")
if (XCODE_VERSION GREATER 4.2)
set(ENABLE_SIGNING TRUE)
set(SIGNING_IDENTITY "Developer ID Application: Linden Research, Inc.")
endif (XCODE_VERSION GREATER 4.2)
endif (DARWIN)
if (LINUX OR DARWIN)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
add_definitions(-DLL_GNUC=1)
@@ -277,13 +283,11 @@ if (LINUX OR DARWIN)
set(UNIX_CXX_WARNINGS "${UNIX_WARNINGS} -Wno-reorder -Wno-non-virtual-dtor -Woverloaded-virtual")
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
add_definitions(-DLL_CLANG=1)
set(UNIX_WARNINGS "-Wall -Wno-sign-compare -Wno-trigraphs -Wno-tautological-compare -Wno-char-subscripts -Wno-gnu -Wno-logical-op-parentheses -Wno-non-virtual-dtor")
set(UNIX_WARNINGS "${UNIX_WARNINGS} -Woverloaded-virtual -Wno-parentheses-equality -Wno-reorder -Wno-unused-function -Wno-unused-value -Wno-unused-variable")
set(UNIX_WARNINGS "-Wall -Wno-sign-compare -Wno-trigraphs -Wno-tautological-compare -Wno-char-subscripts -Wno-gnu -Wno-logical-op-parentheses -Wno-logical-not-parentheses -Wno-non-virtual-dtor -Wno-deprecated")
set(UNIX_WARNINGS "${UNIX_WARNINGS} -Woverloaded-virtual -Wno-parentheses-equality -Wno-reorder -Wno-unused-function -Wno-unused-value -Wno-unused-variable -Wno-unused-private-field -Wno-parentheses")
set(UNIX_CXX_WARNINGS "${UNIX_WARNINGS}")
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel")
add_definitions(-DLL_ICC=1)
set(UNIX_WARNINGS "-wd327 -wd597 -wd858")
set(UNIX_CXX_WARNINGS "${UNIX_WARNINGS}")
endif ()
if (NOT DISABLE_FATAL_WARNINGS)
@@ -293,27 +297,35 @@ if (LINUX OR DARWIN)
set(CMAKE_C_FLAGS "${UNIX_WARNINGS} ${CMAKE_C_FLAGS}")
set(CMAKE_CXX_FLAGS "${UNIX_CXX_WARNINGS} ${CMAKE_CXX_FLAGS}")
if (WORD_SIZE EQUAL 32)
if (ADDRESS_SIZE EQUAL 32)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32")
elseif (WORD_SIZE EQUAL 64)
elseif (ADDRESS_SIZE EQUAL 64)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m64")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64")
endif (WORD_SIZE EQUAL 32)
endif (ADDRESS_SIZE EQUAL 32)
endif (LINUX OR DARWIN)
if (STANDALONE)
add_definitions(-DLL_STANDALONE=1)
else (STANDALONE)
#Enforce compile-time correctness for fmt strings
add_definitions(-DFMT_STRING_ALIAS=1)
if(USE_CRASHPAD)
add_definitions(-DUSE_CRASHPAD=1 -DCRASHPAD_URL="${CRASHPAD_URL}")
endif()
set(${ARCH}_linux_INCLUDES
ELFIO
atk-1.0
cairo
glib-2.0
gdk-pixbuf-2.0
gstreamer-0.10
gtk-2.0
freetype2
pango-1.0
pixman-1
)
endif (STANDALONE)

View File

@@ -1,4 +1,3 @@
include(BerkeleyDB)
include(Linking)
include(Prebuilt)
@@ -13,36 +12,41 @@ if (STANDALONE)
else (STANDALONE)
use_prebuilt_binary(apr_suite)
if (WINDOWS)
if (LLCOMMON_LINK_SHARED)
set(APR_selector "lib")
else (LLCOMMON_LINK_SHARED)
set(APR_selector "")
endif (LLCOMMON_LINK_SHARED)
set(APR_LIBRARIES
debug ${ARCH_PREBUILT_DIRS_DEBUG}/libapr-1.lib
optimized ${ARCH_PREBUILT_DIRS_RELEASE}/libapr-1.lib
debug ${ARCH_PREBUILT_DIRS_DEBUG}/${APR_selector}apr-1.lib
optimized ${ARCH_PREBUILT_DIRS_RELEASE}/${APR_selector}apr-1.lib
)
set(APRICONV_LIBRARIES
debug ${ARCH_PREBUILT_DIRS_DEBUG}/libapriconv-1.lib
optimized ${ARCH_PREBUILT_DIRS_RELEASE}/libapriconv-1.lib
debug ${ARCH_PREBUILT_DIRS_DEBUG}/${APR_selector}apriconv-1.lib
optimized ${ARCH_PREBUILT_DIRS_RELEASE}/${APR_selector}apriconv-1.lib
)
set(APRUTIL_LIBRARIES
debug ${ARCH_PREBUILT_DIRS_DEBUG}/libaprutil-1.lib ${APRICONV_LIBRARIES}
optimized ${ARCH_PREBUILT_DIRS_RELEASE}/libaprutil-1.lib ${APRICONV_LIBRARIES}
debug ${ARCH_PREBUILT_DIRS_DEBUG}/${APR_selector}aprutil-1.lib ${APRICONV_LIBRARIES}
optimized ${ARCH_PREBUILT_DIRS_RELEASE}/${APR_selector}aprutil-1.lib ${APRICONV_LIBRARIES}
)
if(NOT LLCOMMON_LINK_SHARED)
list(APPEND APR_LIBRARIES Rpcrt4)
endif(NOT LLCOMMON_LINK_SHARED)
elseif (DARWIN)
set(APR_LIBRARIES
debug ${ARCH_PREBUILT_DIRS_DEBUG}/libapr-1.0.dylib
optimized ${ARCH_PREBUILT_DIRS_RELEASE}/libapr-1.0.dylib
)
set(APRUTIL_LIBRARIES
debug ${ARCH_PREBUILT_DIRS_DEBUG}/libaprutil-1.dylib
optimized ${ARCH_PREBUILT_DIRS_RELEASE}/libaprutil-1.dylib
)
if (LLCOMMON_LINK_SHARED)
set(APR_selector "0.dylib")
set(APRUTIL_selector "0.dylib")
else (LLCOMMON_LINK_SHARED)
set(APR_selector "a")
set(APRUTIL_selector "a")
endif (LLCOMMON_LINK_SHARED)
set(APR_LIBRARIES libapr-1.${APR_selector})
set(APRUTIL_LIBRARIES libaprutil-1.${APRUTIL_selector})
set(APRICONV_LIBRARIES iconv)
else (WINDOWS)
set(APR_LIBRARIES apr-1)
set(APRUTIL_LIBRARIES aprutil-1)
set(APRICONV_LIBRARIES iconv)
endif (WINDOWS)
set(APR_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/apr-1)
if (LINUX)
list(APPEND APRUTIL_LIBRARIES ${DB_LIBRARIES})
endif (LINUX)
set(APR_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/apr-1)
endif (STANDALONE)

View File

@@ -1,15 +1,15 @@
# -*- cmake -*-
include(Prebuilt)
if (STANDALONE)
if (LINUX)
include(FindPkgConfig)
pkg_check_modules(OGG REQUIRED ogg)
pkg_check_modules(VORBIS REQUIRED vorbis)
pkg_check_modules(VORBISENC REQUIRED vorbisenc)
pkg_check_modules(VORBISFILE REQUIRED vorbisfile)
else (STANDALONE)
use_prebuilt_binary(ogg-vorbis)
set(VORBIS_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
else (LINUX)
use_prebuilt_binary(ogg_vorbis)
set(VORBIS_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
set(VORBISENC_INCLUDE_DIRS ${VORBIS_INCLUDE_DIRS})
set(VORBISFILE_INCLUDE_DIRS ${VORBIS_INCLUDE_DIRS})
@@ -32,7 +32,7 @@ else (STANDALONE)
set(VORBISENC_LIBRARIES vorbisenc)
set(VORBISFILE_LIBRARIES vorbisfile)
endif (WINDOWS)
endif (STANDALONE)
endif (LINUX)
link_directories(
${VORBIS_LIBRARY_DIRS}

View File

@@ -1,17 +0,0 @@
include(Prebuilt)
set(DB_FIND_QUIETLY ON)
set(DB_FIND_REQUIRED ON)
if (STANDALONE)
include(FindBerkeleyDB)
else (STANDALONE)
if (LINUX)
# Need to add dependency pthread explicitely to support ld.gold.
use_prebuilt_binary(db)
set(DB_LIBRARIES db-5.1 pthread)
else (LINUX)
set(DB_LIBRARIES db-4.2)
endif (LINUX)
set(DB_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
endif (STANDALONE)

View File

@@ -11,8 +11,8 @@ if (STANDALONE)
find_package(Boost 1.51.0 COMPONENTS date_time filesystem program_options regex system thread wave context)
else (STANDALONE)
use_prebuilt_binary(boost)
set(Boost_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
set(Boost_VERSION "1.52")
set(Boost_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
set(Boost_VERSION "1.60")
if (WINDOWS)
set(Boost_CONTEXT_LIBRARY
@@ -38,26 +38,26 @@ else (STANDALONE)
debug libboost_thread-mt-gd)
elseif (LINUX)
set(Boost_CONTEXT_LIBRARY
optimized boost_context-mt.a
debug boost_context-mt-d.a)
optimized boost_context-mt
debug boost_context-mt-d)
set(Boost_FILESYSTEM_LIBRARY
optimized boost_filesystem-mt.a
debug boost_filesystem-mt-d.a)
optimized boost_filesystem-mt
debug boost_filesystem-mt-d)
set(Boost_PROGRAM_OPTIONS_LIBRARY
optimized boost_program_options-mt.a
debug boost_program_options-mt-d.a)
optimized boost_program_options-mt
debug boost_program_options-mt-d)
set(Boost_REGEX_LIBRARY
optimized boost_regex-mt.a
debug boost_regex-mt-d.a)
optimized boost_regex-mt
debug boost_regex-mt-d)
set(Boost_SIGNALS_LIBRARY
optimized boost_signals-mt.a
debug boost_signals-mt-d.a)
optimized boost_signals-mt
debug boost_signals-mt-d)
set(Boost_SYSTEM_LIBRARY
optimized boost_system-mt.a
debug boost_system-mt-d.a)
optimized boost_system-mt
debug boost_system-mt-d)
set(Boost_THREAD_LIBRARY
optimized boost_thread-mt.a
debug boost_thread-mt-d.a)
optimized boost_thread-mt
debug boost_thread-mt-d)
elseif (DARWIN)
set(Boost_CONTEXT_LIBRARY
optimized boost_context-mt

View File

@@ -0,0 +1,38 @@
# -*- cmake -*-
if (WINDOWS)
#message(WARNING, ${CMAKE_CURRENT_BINARY_DIR}/newview/viewerRes.rc.in)
configure_file(
${CMAKE_SOURCE_DIR}/newview/res/viewerRes.rc.in
${CMAKE_CURRENT_BINARY_DIR}/viewerRes.rc
)
endif (WINDOWS)
if (DARWIN)
configure_file(
${CMAKE_SOURCE_DIR}/newview/English.lproj/InfoPlist.strings.in
${CMAKE_CURRENT_BINARY_DIR}/English.lproj/InfoPlist.strings
)
endif (DARWIN)
if (LINUX)
configure_file(
${CMAKE_SOURCE_DIR}/newview/linux_tools/wrapper.sh.in
${CMAKE_CURRENT_BINARY_DIR}/linux_tools/wrapper.sh
@ONLY
)
configure_file(
${CMAKE_SOURCE_DIR}/newview/linux_tools/handle_secondlifeprotocol.sh.in
${CMAKE_CURRENT_BINARY_DIR}/linux_tools/handle_secondlifeprotocol.sh
@ONLY
)
configure_file(
${CMAKE_SOURCE_DIR}/newview/linux_tools/install.sh.in
${CMAKE_CURRENT_BINARY_DIR}/linux_tools/install.sh
@ONLY
)
configure_file(
${CMAKE_SOURCE_DIR}/newview/linux_tools/refresh_desktop_app_entry.sh.in
${CMAKE_CURRENT_BINARY_DIR}/linux_tools/refresh_desktop_app_entry.sh
@ONLY
)
endif (LINUX)

View File

@@ -0,0 +1,20 @@
# -*- cmake -*-
# Construct the version and copyright information based on package data.
include(Python)
include(Variables)
# packages-formatter.py runs autobuild install --versions, which needs to know
# the build_directory, which (on Windows) depends on AUTOBUILD_ADDRSIZE.
# Within an autobuild build, AUTOBUILD_ADDRSIZE is already set. But when
# building in an IDE, it probably isn't. Set it explicitly using
# run_build_test.py.
add_custom_command(OUTPUT packages-info.txt
COMMENT "Generating packages-info.txt for the about box"
MAIN_DEPENDENCY ${CMAKE_SOURCE_DIR}/../autobuild.xml
DEPENDS ${CMAKE_SOURCE_DIR}/../scripts/packages-formatter.py
${CMAKE_SOURCE_DIR}/../autobuild.xml
COMMAND ${PYTHON_EXECUTABLE}
${CMAKE_SOURCE_DIR}/cmake/run_build_test.py -DAUTOBUILD_ADDRSIZE=${ADDRESS_SIZE}
${PYTHON_EXECUTABLE}
${CMAKE_SOURCE_DIR}/../scripts/packages-formatter.py "${VIEWER_CHANNEL}" "${VIEWER_SHORT_VERSION}.${VIEWER_VERSION_REVISION}" > packages-info.txt
)

View File

@@ -1,45 +1,55 @@
# -*- cmake -*-
# Construct the viewer version number based on the indra/VIEWER_VERSION file
# Read version components from the header file.
file(STRINGS ${LIBS_OPEN_DIR}/llcommon/llversionviewer.h.in lines
REGEX " LL_VERSION_")
foreach(line ${lines})
string(REGEX REPLACE ".*LL_VERSION_([A-Z]+).*" "\\1" comp "${line}")
string(REGEX REPLACE ".* = ([0-9]+);.*" "\\1" value "${line}")
set(v${comp} "${value}")
endforeach(line)
if (NOT DEFINED VIEWER_SHORT_VERSION) # will be true in indra/, false in indra/newview/
set(VIEWER_VERSION_BASE_FILE "${CMAKE_CURRENT_SOURCE_DIR}/newview/VIEWER_VERSION.txt")
execute_process(
COMMAND git rev-list HEAD
OUTPUT_VARIABLE GIT_REV_LIST_STR
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if ( EXISTS ${VIEWER_VERSION_BASE_FILE} )
file(STRINGS ${VIEWER_VERSION_BASE_FILE} VIEWER_SHORT_VERSION REGEX "^[0-9]+\\.[0-9]+\\.[0-9]+")
string(REGEX REPLACE "^([0-9]+)\\.[0-9]+\\.[0-9]+" "\\1" VIEWER_VERSION_MAJOR ${VIEWER_SHORT_VERSION})
string(REGEX REPLACE "^[0-9]+\\.([0-9]+)\\.[0-9]+" "\\1" VIEWER_VERSION_MINOR ${VIEWER_SHORT_VERSION})
string(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.([0-9]+)" "\\1" VIEWER_VERSION_PATCH ${VIEWER_SHORT_VERSION})
if(GIT_REV_LIST_STR)
string(REPLACE "\n" ";" GIT_REV_LIST ${GIT_REV_LIST_STR})
else()
string(REPLACE "\n" ";" GIT_REV_LIST "")
endif()
if (DEFINED ENV{revision})
set(VIEWER_VERSION_REVISION $ENV{revision})
message("Revision (from environment): ${VIEWER_VERSION_REVISION}")
if(GIT_REV_LIST)
list(LENGTH GIT_REV_LIST vBUILD)
else()
set(vBUILD 99)
endif()
else (DEFINED ENV{revision})
execute_process(
COMMAND git rev-list HEAD
OUTPUT_VARIABLE GIT_REV_LIST_STR
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_STRIP_TRAILING_WHITESPACE
)
configure_file(
${CMAKE_SOURCE_DIR}/llcommon/llversionviewer.h.in
${CMAKE_SOURCE_DIR}/llcommon/llversionviewer.h
)
if(GIT_REV_LIST_STR)
string(REPLACE "\n" ";" GIT_REV_LIST ${GIT_REV_LIST_STR})
else()
string(REPLACE "\n" ";" GIT_REV_LIST "")
endif()
# Compose the version.
set(viewer_VERSION "${vMAJOR}.${vMINOR}.${vPATCH}.${vBUILD}")
if (viewer_VERSION MATCHES "^[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+$")
message(STATUS "Version is ${viewer_VERSION}")
else (viewer_VERSION MATCHES "^[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+$")
message(FATAL_ERROR "Could not determine version (${viewer_VERSION})")
endif (viewer_VERSION MATCHES "^[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+$")
if(GIT_REV_LIST)
list(LENGTH GIT_REV_LIST VIEWER_VERSION_REVISION)
else(GIT_REV_LIST)
set(VIEWER_VERSION_REVISION 99)
endif(GIT_REV_LIST)
endif (DEFINED ENV{revision})
message("Building '${VIEWER_CHANNEL}' Version ${VIEWER_SHORT_VERSION}.${VIEWER_VERSION_REVISION}")
else ( EXISTS ${VIEWER_VERSION_BASE_FILE} )
message(SEND_ERROR "Cannot get viewer version from '${VIEWER_VERSION_BASE_FILE}'")
endif ( EXISTS ${VIEWER_VERSION_BASE_FILE} )
# Report version to caller.
#set(viewer_VERSION "${viewer_VERSION}" PARENT_SCOPE)
if ("${VIEWER_VERSION_REVISION}" STREQUAL "")
message("Ultimate fallback, revision was blank or not set: will use 0")
set(VIEWER_VERSION_REVISION 0)
endif ("${VIEWER_VERSION_REVISION}" STREQUAL "")
set(VIEWER_CHANNEL_VERSION_DEFINES
"LL_VIEWER_CHANNEL=\"${VIEWER_CHANNEL}\""
"LL_VIEWER_CHANNEL_GRK=L\"${VIEWER_CHANNEL_GRK}\""
"LL_VIEWER_VERSION_MAJOR=${VIEWER_VERSION_MAJOR}"
"LL_VIEWER_VERSION_MINOR=${VIEWER_VERSION_MINOR}"
"LL_VIEWER_VERSION_PATCH=${VIEWER_VERSION_PATCH}"
"LL_VIEWER_VERSION_BUILD=${VIEWER_VERSION_REVISION}"
)
endif (NOT DEFINED VIEWER_SHORT_VERSION)

View File

@@ -13,12 +13,12 @@ else (STANDALONE)
add_definitions("-DCARES_STATICLIB")
set(CARES_LIBRARIES areslib)
elseif (DARWIN)
set(CARES_LIBRARIES
optimized ${ARCH_PREBUILT_DIRS_RELEASE}/libcares.a
debug ${ARCH_PREBUILT_DIRS_DEBUG}/libcares.a
set(CARES_LIBRARIES
debug libcares.a
optimized libcares.a
)
else (WINDOWS)
set(CARES_LIBRARIES cares)
endif (WINDOWS)
set(CARES_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/ares)
set(CARES_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/ares)
endif (STANDALONE)

View File

@@ -0,0 +1,45 @@
# -*- cmake -*-
include(Linking)
include(Prebuilt)
if (USESYSTEMLIBS)
set(CEFPLUGIN OFF CACHE BOOL
"CEFPLUGIN support for the llplugin/llmedia test apps.")
else (USESYSTEMLIBS)
use_prebuilt_binary(dullahan)
set(CEFPLUGIN ON CACHE BOOL
"CEFPLUGIN support for the llplugin/llmedia test apps.")
set(CEF_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/cef)
endif (USESYSTEMLIBS)
if (WINDOWS)
set(CEF_PLUGIN_LIBRARIES
libcef.lib
libcef_dll_wrapper.lib
dullahan.lib
)
elseif (DARWIN)
FIND_LIBRARY(APPKIT_LIBRARY AppKit)
if (NOT APPKIT_LIBRARY)
message(FATAL_ERROR "AppKit not found")
endif()
FIND_LIBRARY(CEF_LIBRARY "Chromium Embedded Framework" ${ARCH_PREBUILT_DIRS_RELEASE})
if (NOT CEF_LIBRARY)
message(FATAL_ERROR "CEF not found")
endif()
set(CEF_PLUGIN_LIBRARIES
${ARCH_PREBUILT_DIRS_RELEASE}/libcef_dll_wrapper.a
${ARCH_PREBUILT_DIRS_RELEASE}/libdullahan.a
${APPKIT_LIBRARY}
${CEF_LIBRARY}
)
elseif (LINUX)
set(CEF_PLUGIN_LIBRARIES
dullahan
cef_dll_wrapper.a
cef
)
endif (WINDOWS)

View File

@@ -12,50 +12,44 @@ set(cmake_SOURCE_FILES
APR.cmake
Audio.cmake
BasicPluginBase.cmake
BerkeleyDB.cmake
Boost.cmake
BuildBranding.cmake
BuildVersion.cmake
CARes.cmake
CEFPlugin.cmake
CMakeCopyIfDifferent.cmake
CURL.cmake
Colladadom.cmake
ConfigurePkgConfig.cmake
CopyBackToSource.cmake
CopyWinLibs.cmake
CURL.cmake
Copy3rdPartyLibs.cmake
CrashPad.cmake
Cwdebug.cmake
DBusGlib.cmake
DirectX.cmake
DownloadPrebuilt.cmake.in
ELFIO.cmake
DeploySharedLibs.cmake
EXPAT.cmake
ExamplePlugin.cmake
FMOD.cmake
FMODEX.cmake
FindAPR.cmake
FindBerkeleyDB.cmake
FindAutobuild.cmake
FindCARes.cmake
FindColladadom.cmake
FindELFIO.cmake
FindGLOD.cmake
FindGoogleBreakpad.cmake
FindGooglePerfTools.cmake
FindHunSpell.cmake
FindJsonCpp.cmake
FindLLQtWebkit.cmake
FindNDOF.cmake
FindOpenJPEG.cmake
FindTut.cmake
FindURIPARSER.cmake
FindXmlRpcEpi.cmake
FMODSTUDIO.cmake
FreeType.cmake
GeneratePrecompiledHeader.cmake
GLOD.cmake
GStreamer010Plugin.cmake
Glui.cmake
Glut.cmake
GoogleBreakpad.cmake
GooglePerfTools.cmake
Hunspell.cmake
JPEG.cmake
JsonCpp.cmake
LLAddBuildTest.cmake
LLAppearance.cmake
LLAudio.cmake
@@ -70,9 +64,8 @@ set(cmake_SOURCE_FILES
LLPlugin.cmake
LLPrimitive.cmake
LLPhysicsExtensions.cmake
LLSharedLibs.cmake
LLQtWebkit.cmake
LLRender.cmake
LLSharedLibs.cmake
LLUI.cmake
LLVFS.cmake
LLWindow.cmake
@@ -81,6 +74,7 @@ set(cmake_SOURCE_FILES
Linking.cmake
MediaPluginBase.cmake
NDOF.cmake
NVAPI.cmake
OPENAL.cmake
OpenGL.cmake
OpenJPEG.cmake
@@ -90,17 +84,16 @@ set(cmake_SOURCE_FILES
Prebuilt.cmake
PulseAudio.cmake
Python.cmake
Qt4.cmake
QuickTimePlugin.cmake
RunBuildTest.cmake
StateMachine.cmake
TemplateCheck.cmake
Tut.cmake
UI.cmake
UnixInstall.cmake
URIPARSER.cmake
Variables.cmake
ViewerMiscLibs.cmake
WebKitLibPlugin.cmake
WinManifest.cmake
LibVLCPlugin.cmake
XmlRpcEpi.cmake
ZLIB.cmake
)
@@ -109,7 +102,6 @@ source_group("Shared Rules" FILES ${cmake_SOURCE_FILES})
set(master_SOURCE_FILES
../CMakeLists.txt
../develop.py
)
source_group("Master Rules" FILES ${master_SOURCE_FILES})

View File

@@ -10,13 +10,11 @@ else (STANDALONE)
use_prebuilt_binary(curl)
if (WINDOWS)
set(CURL_LIBRARIES
debug libcurld
optimized libcurl)
debug libcurl_a_debug
optimized libcurl_a)
else (WINDOWS)
set(CURL_LIBRARIES curl)
if(LINUX AND WORD_SIZE EQUAL 64)
list(APPEND CURL_LIBRARIES idn)
endif(LINUX AND WORD_SIZE EQUAL 64)
use_prebuilt_binary(libidn)
set(CURL_LIBRARIES curl idn)
endif (WINDOWS)
set(CURL_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
set(CURL_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
endif (STANDALONE)

View File

@@ -1,6 +1,7 @@
# -*- cmake -*-
include(Prebuilt)
include(Boost)
set(COLLADADOM_FIND_QUIETLY OFF)
set(COLLADADOM_FIND_REQUIRED ON)
@@ -9,32 +10,22 @@ if (STANDALONE)
include (FindColladadom)
else (STANDALONE)
use_prebuilt_binary(colladadom)
if (NOT WINDOWS AND NOT LINUX)
use_prebuilt_binary(pcre)
endif (NOT WINDOWS AND NOT LINUX)
if (NOT DARWIN AND NOT WINDOWS)
use_prebuilt_binary(libxml)
endif (NOT DARWIN AND NOT WINDOWS)
set(COLLADADOM_INCLUDE_DIRS
${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/collada
${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/collada/1.4
)
${LIBS_PREBUILT_DIR}/include/collada
${LIBS_PREBUILT_DIR}/include/collada/1.4
)
if (WINDOWS)
add_definitions(-DDOM_DYNAMIC)
set(COLLADADOM_LIBRARIES
debug libcollada14dom22-d
optimized libcollada14dom22
)
else (WINDOWS)
set(COLLADADOM_LIBRARIES
collada14dom
minizip
xml2
)
set(COLLADADOM_LIBRARIES
debug libcollada14dom23-sd
optimized libcollada14dom23-s
)
else(WINDOWS)
set(COLLADADOM_LIBRARIES
debug collada14dom-d
optimized collada14dom
minizip
)
endif (WINDOWS)
endif (STANDALONE)

View File

@@ -6,17 +6,17 @@ SET(DEBUG_PKG_CONFIG "YES")
IF("$ENV{PKG_CONFIG_LIBDIR}" STREQUAL "")
# Guess at architecture-specific system library paths.
if (WORD_SIZE EQUAL 32)
if (ADDRESS_SIZE EQUAL 32)
SET(PKG_CONFIG_NO_MULTI_GUESS /usr/lib32 /usr/lib)
SET(PKG_CONFIG_NO_MULTI_LOCAL_GUESS /usr/local/lib32 /usr/local/lib)
SET(PKG_CONFIG_MULTI_GUESS /usr/lib/i386-linux-gnu)
SET(PKG_CONFIG_MULTI_LOCAL_GUESS /usr/local/lib/i386-linux-gnu)
else (WORD_SIZE EQUAL 32)
else (ADDRESS_SIZE EQUAL 32)
SET(PKG_CONFIG_NO_MULTI_GUESS /usr/lib64 /usr/lib)
SET(PKG_CONFIG_NO_MULTI_LOCAL_GUESS /usr/local/lib64 /usr/local/lib)
SET(PKG_CONFIG_MULTI_GUESS /usr/lib/x86_64-linux-gnu)
SET(PKG_CONFIG_MULTI_LOCAL_GUESS /usr/local/lib/x86_64-linux-gnu)
endif (WORD_SIZE EQUAL 32)
endif (ADDRESS_SIZE EQUAL 32)
# Use DPKG architecture, if available.
IF (${DPKG_ARCH})

View File

@@ -0,0 +1,255 @@
# -*- cmake -*-
# The copy_win_libs folder contains file lists and a script used to
# copy dlls, exes and such needed to run the SecondLife from within
# VisualStudio.
include(CMakeCopyIfDifferent)
include(Linking)
include(Variables)
include(LLCommon)
###################################################################
# set up platform specific lists of files that need to be copied
###################################################################
if(WINDOWS)
set(SHARED_LIB_STAGING_DIR_DEBUG "${SHARED_LIB_STAGING_DIR}/Debug")
set(SHARED_LIB_STAGING_DIR_RELWITHDEBINFO "${SHARED_LIB_STAGING_DIR}/RelWithDebInfo")
set(SHARED_LIB_STAGING_DIR_RELEASE "${SHARED_LIB_STAGING_DIR}/Release")
#*******************************
# VIVOX - *NOTE: no debug version
set(vivox_src_dir "${ARCH_PREBUILT_DIRS_RELEASE}")
set(vivox_files
SLVoice.exe
vivoxplatform.dll
)
if (ADDRESS_SIZE EQUAL 64)
list(APPEND vivox_files
vivoxsdk_x64.dll
ortp_x64.dll
)
else (ADDRESS_SIZE EQUAL 64)
list(APPEND vivox_files
vivoxsdk.dll
ortp.dll
)
endif (ADDRESS_SIZE EQUAL 64)
#*******************************
# Misc shared libs
set(debug_src_dir "${ARCH_PREBUILT_DIRS_DEBUG}")
set(debug_files
libapr-1.dll
libaprutil-1.dll
libapriconv-1.dll
glod.dll
libhunspell.dll
)
set(release_src_dir "${ARCH_PREBUILT_DIRS_RELEASE}")
set(release_files
libapr-1.dll
libaprutil-1.dll
libapriconv-1.dll
glod.dll
libhunspell.dll
)
if(ADDRESS_SIZE EQUAL 64)
list(APPEND debug_files
libcrypto-1_1-x64.dll
libssl-1_1-x64.dll
)
list(APPEND release_files
libcrypto-1_1-x64.dll
libssl-1_1-x64.dll
)
else(ADDRESS_SIZE EQUAL 64)
list(APPEND debug_files
libcrypto-1_1.dll
libssl-1_1.dll
)
list(APPEND release_files
libcrypto-1_1.dll
libssl-1_1.dll
)
endif(ADDRESS_SIZE EQUAL 64)
if(NOT DISABLE_TCMALLOC)
list(APPEND debug_files libtcmalloc_minimal-debug.dll)
list(APPEND release_files libtcmalloc_minimal.dll)
endif(NOT DISABLE_TCMALLOC)
if(OPENAL)
list(APPEND debug_files alut.dll OpenAL32.dll)
list(APPEND release_files alut.dll OpenAL32.dll)
endif(OPENAL)
if (USE_FMODSTUDIO)
list(APPEND debug_files fmodL.dll)
list(APPEND release_files fmod.dll)
endif (USE_FMODSTUDIO)
elseif(DARWIN)
set(SHARED_LIB_STAGING_DIR_DEBUG "${SHARED_LIB_STAGING_DIR}/Debug/Resources")
set(SHARED_LIB_STAGING_DIR_RELWITHDEBINFO "${SHARED_LIB_STAGING_DIR}/RelWithDebInfo/Resources")
set(SHARED_LIB_STAGING_DIR_RELEASE "${SHARED_LIB_STAGING_DIR}/Release/Resources")
set(vivox_src_dir "${ARCH_PREBUILT_DIRS_RELEASE}")
set(vivox_files
SLVoice
ca-bundle.crt
libsndfile.dylib
libvivoxoal.dylib
libortp.dylib
libvivoxplatform.dylib
libvivoxsdk.dylib
)
set(debug_src_dir "${ARCH_PREBUILT_DIRS_DEBUG}")
set(debug_files
)
set(release_src_dir "${ARCH_PREBUILT_DIRS_RELEASE}")
set(release_files
libapr-1.0.dylib
libapr-1.dylib
libaprutil-1.0.dylib
libaprutil-1.dylib
libexception_handler.dylib
libexpat.1.5.2.dylib
libexpat.dylib
libGLOD.dylib
libhunspell-1.3.0.dylib
libndofdev.dylib
)
if (USE_FMODSTUDIO)
list(APPEND debug_files libfmodL.dylib)
list(APPEND release_files libfmod.dylib)
endif (USE_FMODSTUDIO)
elseif(LINUX)
# linux is weird, multiple side by side configurations aren't supported
# and we don't seem to have any debug shared libs built yet anyways...
set(SHARED_LIB_STAGING_DIR_DEBUG "${SHARED_LIB_STAGING_DIR}")
set(SHARED_LIB_STAGING_DIR_RELWITHDEBINFO "${SHARED_LIB_STAGING_DIR}")
set(SHARED_LIB_STAGING_DIR_RELEASE "${SHARED_LIB_STAGING_DIR}")
set(vivox_src_dir "${ARCH_PREBUILT_DIRS_RELEASE}")
set(vivox_files
libsndfile.so.1
libortp.so
libvivoxoal.so.1
libvivoxplatform.so
libvivoxsdk.so
SLVoice
)
# *TODO - update this to use LIBS_PREBUILT_DIR and LL_ARCH_DIR variables
# or ARCH_PREBUILT_DIRS
set(debug_src_dir "${ARCH_PREBUILT_DIRS_DEBUG}")
set(debug_files
)
# *TODO - update this to use LIBS_PREBUILT_DIR and LL_ARCH_DIR variables
# or ARCH_PREBUILT_DIRS
set(release_src_dir "${ARCH_PREBUILT_DIRS_RELEASE}")
# *FIX - figure out what to do with duplicate libalut.so here -brad
set(release_files
libapr-1.so.0
libaprutil-1.so.0
libexpat.so
libexpat.so.1
libGLOD.so
libopenal.so
)
if (USE_TCMALLOC)
list(APPEND release_files "libtcmalloc_minimal.so")
endif (USE_TCMALLOC)
if (USE_FMODSTUDIO)
list(APPEND debug_files "libfmodL.so")
list(APPEND release_files "libfmod.so")
endif (USE_FMODSTUDIO)
else(WINDOWS)
message(STATUS "WARNING: unrecognized platform for staging 3rd party libs, skipping...")
set(vivox_src_dir "${CMAKE_SOURCE_DIR}/newview/vivox-runtime/i686-linux")
set(vivox_files "")
# *TODO - update this to use LIBS_PREBUILT_DIR and LL_ARCH_DIR variables
# or ARCH_PREBUILT_DIRS
set(debug_src_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-linux/lib/debug")
set(debug_files "")
# *TODO - update this to use LIBS_PREBUILT_DIR and LL_ARCH_DIR variables
# or ARCH_PREBUILT_DIRS
set(release_src_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-linux/lib/release")
set(release_files "")
set(debug_llkdu_src "")
set(debug_llkdu_dst "")
set(release_llkdu_src "")
set(release_llkdu_dst "")
set(relwithdebinfo_llkdu_dst "")
endif(WINDOWS)
################################################################
# Done building the file lists, now set up the copy commands.
################################################################
copy_if_different(
${vivox_src_dir}
"${SHARED_LIB_STAGING_DIR_DEBUG}"
out_targets
${vivox_files}
)
set(third_party_targets ${third_party_targets} ${out_targets})
copy_if_different(
${vivox_src_dir}
"${SHARED_LIB_STAGING_DIR_RELEASE}"
out_targets
${vivox_files}
)
set(third_party_targets ${third_party_targets} ${out_targets})
copy_if_different(
${vivox_src_dir}
"${SHARED_LIB_STAGING_DIR_RELWITHDEBINFO}"
out_targets
${vivox_files}
)
set(third_party_targets ${third_party_targets} ${out_targets})
#copy_if_different(
# ${debug_src_dir}
# "${SHARED_LIB_STAGING_DIR_DEBUG}"
# out_targets
# ${debug_files}
# )
#set(third_party_targets ${third_party_targets} ${out_targets})
copy_if_different(
${release_src_dir}
"${SHARED_LIB_STAGING_DIR_RELEASE}"
out_targets
${release_files}
)
set(third_party_targets ${third_party_targets} ${out_targets})
copy_if_different(
${release_src_dir}
"${SHARED_LIB_STAGING_DIR_RELWITHDEBINFO}"
out_targets
${release_files}
)
set(third_party_targets ${third_party_targets} ${out_targets})
if(NOT USESYSTEMLIBS)
add_custom_target(
stage_third_party_libs ALL
DEPENDS ${third_party_targets}
)
endif(NOT USESYSTEMLIBS)

View File

@@ -1,16 +0,0 @@
# -*- cmake -*-
# Copies a binary back to the source directory
MACRO(COPY_BACK_TO_SOURCE target)
GET_TARGET_PROPERTY(FROM ${target} LOCATION)
SET(TO ${CMAKE_CURRENT_SOURCE_DIR})
#MESSAGE("TARGET ${target} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy ${FROM} ${TO}")
ADD_CUSTOM_COMMAND(
TARGET ${target} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy ${FROM} ${TO}
DEPENDS ${FROM}
COMMENT "Copying ${target} to ${CMAKE_CURRENT_BINARY_DIR}"
)
ENDMACRO(COPY_BACK_TO_SOURCE)

View File

@@ -1,317 +0,0 @@
# -*- cmake -*-
# The copy_win_libs folder contains file lists and a script used to
# copy dlls, exes and such needed to run the SecondLife from within
# VisualStudio.
include(CMakeCopyIfDifferent)
if(WORD_SIZE EQUAL 32)
set(debug_libs_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/debug")
set(release_libs_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/release")
else(WORD_SIZE EQUAL 32)
set(debug_libs_dir "${CMAKE_SOURCE_DIR}/../libraries/x86_64-win/lib/debug")
set(release_libs_dir "${CMAKE_SOURCE_DIR}/../libraries/x86_64-win/lib/release")
endif(WORD_SIZE EQUAL 32)
set(vivox_src_dir "${CMAKE_SOURCE_DIR}/newview/vivox-runtime/i686-win32")
set(vivox_files
SLVoice.exe
alut.dll
vivoxsdk.dll
ortp.dll
wrap_oal.dll
)
copy_if_different(
${vivox_src_dir}
"${CMAKE_CURRENT_BINARY_DIR}/Debug"
out_targets
${vivox_files}
)
set(all_targets ${all_targets} ${out_targets})
set(debug_src_dir "${debug_libs_dir}")
set(debug_files
libhunspell.dll
libapr-1.dll
libaprutil-1.dll
libapriconv-1.dll
libeay32.dll
ssleay32.dll
libcollada14dom22-d.dll
glod.dll
)
copy_if_different(
${debug_src_dir}
"${CMAKE_CURRENT_BINARY_DIR}/Debug"
out_targets
${debug_files}
)
set(all_targets ${all_targets} ${out_targets})
# Debug config runtime files required for the plugin test mule
set(plugintest_debug_src_dir "${debug_libs_dir}")
set(plugintest_debug_files
libeay32.dll
qtcored4.dll
qtguid4.dll
qtnetworkd4.dll
qtopengld4.dll
qtwebkitd4.dll
ssleay32.dll
)
copy_if_different(
${plugintest_debug_src_dir}
"${CMAKE_CURRENT_BINARY_DIR}/../test_apps/llplugintest/Debug"
out_targets
${plugintest_debug_files}
)
set(all_targets ${all_targets} ${out_targets})
# Debug config runtime files required for the plugin test mule (Qt image format plugins)
set(plugintest_debug_src_dir "${debug_libs_dir}/imageformats")
set(plugintest_debug_files
qgifd4.dll
qicod4.dll
qjpegd4.dll
qmngd4.dll
qsvgd4.dll
qtiffd4.dll
)
copy_if_different(
${plugintest_debug_src_dir}
"${CMAKE_CURRENT_BINARY_DIR}/../test_apps/llplugintest/Debug/imageformats"
out_targets
${plugintest_debug_files}
)
set(all_targets ${all_targets} ${out_targets})
copy_if_different(
${plugintest_debug_src_dir}
"${CMAKE_CURRENT_BINARY_DIR}/llplugin/imageformats"
out_targets
${plugintest_debug_files}
)
set(all_targets ${all_targets} ${out_targets})
# Release & ReleaseDebInfo config runtime files required for the plugin test mule
set(plugintest_release_src_dir "${release_libs_dir}")
set(plugintest_release_files
libeay32.dll
qtcore4.dll
qtgui4.dll
qtnetwork4.dll
qtopengl4.dll
qtwebkit4.dll
ssleay32.dll
)
copy_if_different(
${plugintest_release_src_dir}
"${CMAKE_CURRENT_BINARY_DIR}/../test_apps/llplugintest/Release"
out_targets
${plugintest_release_files}
)
set(all_targets ${all_targets} ${out_targets})
copy_if_different(
${plugintest_release_src_dir}
"${CMAKE_CURRENT_BINARY_DIR}/../test_apps/llplugintest/RelWithDebInfo"
out_targets
${plugintest_release_files}
)
set(all_targets ${all_targets} ${out_targets})
# Release & ReleaseDebInfo config runtime files required for the plugin test mule (Qt image format plugins)
set(plugintest_release_src_dir "${release_libs_dir}/imageformats")
set(plugintest_release_files
qgif4.dll
qico4.dll
qjpeg4.dll
qmng4.dll
qsvg4.dll
qtiff4.dll
)
copy_if_different(
${plugintest_release_src_dir}
"${CMAKE_CURRENT_BINARY_DIR}/../test_apps/llplugintest/Release/imageformats"
out_targets
${plugintest_release_files}
)
set(all_targets ${all_targets} ${out_targets})
copy_if_different(
${plugintest_release_src_dir}
"${CMAKE_CURRENT_BINARY_DIR}/../test_apps/llplugintest/RelWithDebInfo/imageformats"
out_targets
${plugintest_release_files}
)
set(all_targets ${all_targets} ${out_targets})
copy_if_different(
${plugintest_release_src_dir}
"${CMAKE_CURRENT_BINARY_DIR}/Release/llplugin/imageformats"
out_targets
${plugintest_release_files}
)
set(all_targets ${all_targets} ${out_targets})
copy_if_different(
${plugintest_release_src_dir}
"${CMAKE_CURRENT_BINARY_DIR}/RelWithDebInfo/llplugin/imageformats"
out_targets
${plugintest_release_files}
)
set(all_targets ${all_targets} ${out_targets})
# Debug config runtime files required for the plugins
set(plugins_debug_src_dir "${debug_libs_dir}")
set(plugins_debug_files
libeay32.dll
qtcored4.dll
qtguid4.dll
qtnetworkd4.dll
qtopengld4.dll
qtwebkitd4.dll
ssleay32.dll
)
copy_if_different(
${plugins_debug_src_dir}
"${CMAKE_CURRENT_BINARY_DIR}/Debug/llplugin"
out_targets
${plugins_debug_files}
)
set(all_targets ${all_targets} ${out_targets})
# Release & ReleaseDebInfo config runtime files required for the plugins
set(plugins_release_src_dir "${release_libs_dir}")
set(plugins_release_files
libeay32.dll
qtcore4.dll
qtgui4.dll
qtnetwork4.dll
qtopengl4.dll
qtwebkit4.dll
ssleay32.dll
)
copy_if_different(
${plugins_release_src_dir}
"${CMAKE_CURRENT_BINARY_DIR}/Release/llplugin"
out_targets
${plugins_release_files}
)
set(all_targets ${all_targets} ${out_targets})
copy_if_different(
${plugins_release_src_dir}
"${CMAKE_CURRENT_BINARY_DIR}/RelWithDebInfo/llplugin"
out_targets
${plugins_release_files}
)
set(all_targets ${all_targets} ${out_targets})
set(release_src_dir "${release_libs_dir}")
set(release_files
libhunspell.dll
libapr-1.dll
libaprutil-1.dll
libapriconv-1.dll
libeay32.dll
ssleay32.dll
libcollada14dom22.dll
glod.dll
)
if(WORD_SIZE EQUAL 32)
set(release_files ${release_files}
libtcmalloc_minimal.dll
)
endif(WORD_SIZE EQUAL 32)
if(FMODEX)
if (WORD_SIZE EQUAL 32)
set(fmodex_dll_file "fmodex.dll")
else (WORD_SIZE EQUAL 32)
set(fmodex_dll_file "fmodex64.dll")
endif (WORD_SIZE EQUAL 32)
find_path(FMODEX_BINARY_DIR "${fmodex_dll_file}"
"${release_src_dir}"
"${FMODEX_SDK_DIR}/api"
"${FMODEX_SDK_DIR}"
NO_DEFAULT_PATH
)
if(FMODEX_BINARY_DIR)
copy_if_different("${FMODEX_BINARY_DIR}" "${CMAKE_CURRENT_BINARY_DIR}/Release" out_targets "${fmodex_dll_file}")
set(all_targets ${all_targets} ${out_targets})
copy_if_different("${FMODEX_BINARY_DIR}" "${CMAKE_CURRENT_BINARY_DIR}/RelWithDebInfo" out_targets "${fmodex_dll_file}")
set(all_targets ${all_targets} ${out_targets})
copy_if_different("${FMODEX_BINARY_DIR}" "${CMAKE_CURRENT_BINARY_DIR}/Debug" out_targets "${fmodex_dll_file}")
set(all_targets ${all_targets} ${out_targets})
endif(FMODEX_BINARY_DIR)
endif(FMODEX)
if(FMOD)
find_path(FMOD_BINARY_DIR fmod.dll
${release_src_dir}
${FMOD_SDK_DIR}/api
${FMOD_SDK_DIR}
)
if(FMOD_BINARY_DIR)
copy_if_different("${FMOD_BINARY_DIR}" "${CMAKE_CURRENT_BINARY_DIR}/Release" out_targets fmod.dll)
set(all_targets ${all_targets} ${out_targets})
copy_if_different("${FMOD_BINARY_DIR}" "${CMAKE_CURRENT_BINARY_DIR}/RelWithDebInfo" out_targets fmod.dll)
set(all_targets ${all_targets} ${out_targets})
copy_if_different("${FMOD_BINARY_DIR}" "${CMAKE_CURRENT_BINARY_DIR}/Debug" out_targets fmod.dll)
set(all_targets ${all_targets} ${out_targets})
else(FMOD_BINARY_DIR)
list(APPEND release_files fmod.dll) #Required for compile. This will cause an error in copying binaries.
endif(FMOD_BINARY_DIR)
endif(FMOD)
copy_if_different(
${release_src_dir}
"${CMAKE_CURRENT_BINARY_DIR}/Release"
out_targets
${release_files}
)
set(all_targets ${all_targets} ${out_targets})
copy_if_different(
${vivox_src_dir}
"${CMAKE_CURRENT_BINARY_DIR}/Release"
out_targets
${vivox_files}
)
set(all_targets ${all_targets} ${out_targets})
copy_if_different(
${release_src_dir}
"${CMAKE_CURRENT_BINARY_DIR}/RelWithDebInfo"
out_targets
${release_files}
)
set(all_targets ${all_targets} ${out_targets})
copy_if_different(
${vivox_src_dir}
"${CMAKE_CURRENT_BINARY_DIR}/RelWithDebInfo"
out_targets
${vivox_files}
)
set(all_targets ${all_targets} ${out_targets})
add_custom_target(copy_win_libs ALL
DEPENDS
${all_targets}
${release_appconfig_file}
${relwithdebinfo_appconfig_file}
${debug_appconfig_file}
)
add_dependencies(copy_win_libs prepare)

View File

@@ -0,0 +1,22 @@
# -*- cmake -*-
include(Prebuilt)
include(Variables)
if(USE_CRASHPAD)
if (USESYSTEMLIBS)
else (USESYSTEMLIBS)
use_prebuilt_binary(crashpad)
if (WINDOWS)
set(CRASHPAD_LIBRARIES
debug client.lib util.lib base.lib
optimized client.lib util.lib base.lib)
elseif (LINUX)
else (DARWIN)
endif ()
set(CRASHPAD_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/crashpad)
endif (USESYSTEMLIBS)
endif()

View File

@@ -1,24 +1,11 @@
# -*- cmake -*-
include(Prebuilt)
if (STANDALONE)
if (LINUX)
include(FindPkgConfig)
pkg_check_modules(DBUSGLIB REQUIRED dbus-glib-1)
elseif (LINUX)
use_prebuilt_binary(dbusglib)
set(DBUSGLIB_FOUND ON FORCE BOOL)
set(DBUSGLIB_INCLUDE_DIRS
${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/dbus
)
# We don't need to explicitly link against dbus-glib itself, because
# the viewer probes for the system's copy at runtime.
set(DBUSGLIB_LIBRARIES
gobject-2.0
glib-2.0
)
endif (STANDALONE)
endif (LINUX)
if (DBUSGLIB_FOUND)
set(DBUSGLIB ON CACHE BOOL "Build with dbus-glib message bus support.")

View File

@@ -0,0 +1,70 @@
# DeploySharedLibs.cmake
# This is a script to be run at build time! Its not part of the cmake configuration!
# See indra/cmake/LLSharedLibs.cmake for a macro that simplifies adding a command to a target to run this script.
# This script requires a few cmake variable to be set on the command line:
# BIN_NAME= The full path the the binary to search for dependecies.
# SEARCH_DIRS= The full paths to dirs to search for dependencies.
# DST_PATH= The full path where the dependecies will be copied.
get_filename_component(current_dir ${CMAKE_CURRENT_LIST_FILE} PATH)
include(GetPrerequisites)
message("Getting recursive dependencies for file: ${BIN_NAME}")
set(EXCLUDE_SYSTEM 1)
set(RECURSE 0)
get_filename_component(EXE_PATH ${BIN_NAME} PATH)
get_prerequisites( ${BIN_NAME} RESULTS ${EXCLUDE_SYSTEM} ${RECURSE} "${EXE_PATH}" "${SEARCH_DIRS}" )
foreach(DEP ${RESULTS})
Message("Processing dependency: ${DEP}")
get_filename_component(DEP_FILE ${DEP} NAME)
set(DEP_FILES ${DEP_FILES} ${DEP_FILE})
endforeach(DEP)
if(DEP_FILES)
list(REMOVE_DUPLICATES DEP_FILES)
endif(DEP_FILES)
foreach(DEP_FILE ${DEP_FILES})
if(FOUND_FILES)
list(FIND FOUND_FILES ${DEP_FILE} FOUND)
else(FOUND_FILES)
set(FOUND -1)
endif(FOUND_FILES)
if(FOUND EQUAL -1)
find_path(DEP_PATH ${DEP_FILE} PATHS ${SEARCH_DIRS} NO_DEFAULT_PATH)
if(DEP_PATH)
set(FOUND_FILES ${FOUND_FILES} "${DEP_PATH}/${DEP_FILE}")
set(DEP_PATH NOTFOUND) #reset DEP_PATH for the next find_path call.
else(DEP_PATH)
set(MISSING_FILES ${MISSING_FILES} ${DEP_FILE})
endif(DEP_PATH)
endif(FOUND EQUAL -1)
endforeach(DEP_FILE)
if(MISSING_FILES)
message("Missing:")
foreach(FILE ${MISSING_FILES})
message(" ${FILE}")
endforeach(FILE)
message("Searched in:")
foreach(SEARCH_DIR ${SEARCH_DIRS})
message(" ${SEARCH_DIR}")
endforeach(SEARCH_DIR)
message(FATAL_ERROR "Failed")
endif(MISSING_FILES)
if(FOUND_FILES)
foreach(FILE ${FOUND_FILES})
get_filename_component(DST_FILE ${FILE} NAME)
set(DST_FILE "${DST_PATH}/${DST_FILE}")
message("Copying ${FILE} to ${DST_FILE}")
execute_process(
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${FILE} ${DST_FILE}
)
endforeach(FILE ${FOUND_FILES})
endif(FOUND_FILES)
message("Success!")

View File

@@ -1,75 +0,0 @@
# -*- cmake -*-
include(Variables)
if (WINDOWS)
if (WORD_SIZE EQUAL 32)
set (DIRECTX_ARCHITECTURE x86)
elseif (WORD_SIZE EQUAL 64)
set (DIRECTX_ARCHITECTURE x64)
else (WORD_SIZE EQUAL 32)
set (DIRECTX_ARCHITECTURE x86)
endif (WORD_SIZE EQUAL 32)
find_path(DIRECTX_ROOT_DIR Include/dxdiag.h
PATHS
"$ENV{DXSDK_DIR}"
"$ENV{ProgramFiles}/Microsoft DirectX SDK (June 2010)"
"$ENV{ProgramFiles(x86)}/Microsoft DirectX SDK (June 2010)"
"$ENV{ProgramFiles}/Microsoft DirectX SDK (February 2010)"
"$ENV{ProgramFiles(x86)}/Microsoft DirectX SDK (February 2010)"
"$ENV{ProgramFiles}/Microsoft DirectX SDK (March 2009)"
"$ENV{ProgramFiles(x86)}/Microsoft DirectX SDK (March 2009)"
"$ENV{ProgramFiles}/Microsoft DirectX SDK (August 2008)"
"$ENV{ProgramFiles(x86)}/Microsoft DirectX SDK (August 2008)"
"$ENV{ProgramFiles}/Microsoft DirectX SDK (June 2008)"
"$ENV{ProgramFiles(x86)}/Microsoft DirectX SDK (June 2008)"
"$ENV{ProgramFiles}/Microsoft DirectX SDK (March 2008)"
"$ENV{ProgramFiles(x86)}/Microsoft DirectX SDK (March 2008)"
"$ENV{ProgramFiles}/Microsoft DirectX SDK (November 2007)"
"$ENV{ProgramFiles(x86)}/Microsoft DirectX SDK (November 2007)"
"$ENV{ProgramFiles}/Microsoft DirectX SDK (August 2007)"
"$ENV{ProgramFiles(x86)}/Microsoft DirectX SDK (August 2007)"
)
if (DIRECTX_ROOT_DIR)
set (DIRECTX_INCLUDE_DIR "${DIRECTX_ROOT_DIR}/Include")
set (DIRECTX_LIBRARY_DIR "${DIRECTX_ROOT_DIR}/Lib/${DIRECTX_ARCHITECTURE}")
else (DIRECTX_ROOT_DIR)
find_path (WIN_KIT_ROOT_DIR Include/um/windows.h
PATHS
"$ENV{ProgramFiles}/Windows Kits/8.1"
"$ENV{ProgramFiles(x86)}/Windows Kits/8.1"
"$ENV{ProgramFiles}/Windows Kits/8.0"
"$ENV{ProgramFiles(x86)}/Windows Kits/8.0"
)
find_path (WIN_KIT_LIB_DIR dxguid.lib
"${WIN_KIT_ROOT_DIR}/Lib/winv6.3/um/${DIRECTX_ARCHITECTURE}"
"${WIN_KIT_ROOT_DIR}/Lib/Win8/um/${DIRECTX_ARCHITECTURE}"
)
if (WIN_KIT_ROOT_DIR AND WIN_KIT_LIB_DIR)
set (DIRECTX_INCLUDE_DIR "${WIN_KIT_ROOT_DIR}/Include/um" "${WIN_KIT_ROOT_DIR}/Include/shared")
set (DIRECTX_LIBRARY_DIR "${WIN_KIT_LIB_DIR}")
endif (WIN_KIT_ROOT_DIR AND WIN_KIT_LIB_DIR)
endif (DIRECTX_ROOT_DIR)
if (DIRECTX_INCLUDE_DIR)
include_directories(${DIRECTX_INCLUDE_DIR})
if (DIRECTX_FIND_QUIETLY)
message(STATUS "Found DirectX include: ${DIRECTX_INCLUDE_DIR}")
endif (DIRECTX_FIND_QUIETLY)
else (DIRECTX_INCLUDE_DIR)
message(FATAL_ERROR "Could not find DirectX SDK Include")
endif (DIRECTX_INCLUDE_DIR)
if (DIRECTX_LIBRARY_DIR)
if (DIRECTX_FIND_QUIETLY)
message(STATUS "Found DirectX include: ${DIRECTX_LIBRARY_DIR}")
endif (DIRECTX_FIND_QUIETLY)
else (DIRECTX_LIBRARY_DIR)
message(FATAL_ERROR "Could not find DirectX SDK Libraries")
endif (DIRECTX_LIBRARY_DIR)
endif (WINDOWS)

View File

@@ -1,45 +0,0 @@
# This script drives download of prebuilt packages during the build.
# The top-level CMakeLists.txt configures packages and tool locations.
set(packages "@PREBUILT_PACKAGES@")
set(python "@PYTHON_EXECUTABLE@")
set(install_dir "@CMAKE_SOURCE_DIR@/..")
set(scp "@SCP_EXECUTABLE@")
set(scripts_dir "@SCRIPTS_DIR@")
set(sentinel_dir "@CMAKE_BINARY_DIR@/prepare")
set(prebuilt_type "@PREBUILT_TYPE@")
# In proprietary mode we use scp for download.
set(proprietary "@INSTALL_PROPRIETARY@")
if(proprietary)
set(scp_option "--scp=${scp}")
set(proprietary_message " proprietary")
endif(proprietary)
foreach(package ${packages})
if(${install_dir}/install.xml IS_NEWER_THAN ${sentinel_dir}/${package}_installed)
# This package is missing or out of date.
message(STATUS "Obtaining${proprietary_message} prebuilt '${package}'")
execute_process(
COMMAND ${python} install.py -p${prebuilt_type} --install-dir=${install_dir} ${scp_option} ${package}
WORKING_DIRECTORY ${scripts_dir}
RESULT_VARIABLE result
)
if(result STREQUAL 0)
# Write a sentinel to avoid attempting a download again.
file(WRITE ${sentinel_dir}/${package}_installed "Obtained '${package}'")
else(result STREQUAL 0)
# Remove the sentinel to ensure a download is attempted again.
file(REMOVE ${sentinel_dir}/prebuilt
${sentinel_dir}/${package}_installed)
message(FATAL_ERROR
"Failed to download or unpack prebuilt '${package}'. "
"Process returned: ${result}")
endif(result STREQUAL 0)
else(${install_dir}/install.xml IS_NEWER_THAN ${sentinel_dir}/${package}_installed)
# This package is ready.
message(STATUS "Prebuilt '${package}' is up-to-date")
endif(${install_dir}/install.xml IS_NEWER_THAN ${sentinel_dir}/${package}_installed)
endforeach(package)
# Store a sentinel to avoid running this script unnecessarily.
file(WRITE ${sentinel_dir}/prebuilt "All prebuilts obtained successfully\n")

View File

@@ -1,19 +0,0 @@
# -*- cmake -*-
include(Prebuilt)
set(ELFIO_FIND_QUIETLY ON)
if (STANDALONE)
include(FindELFIO)
elseif (LINUX)
use_prebuilt_binary(elfio)
set(ELFIO_LIBRARIES ELFIO)
set(ELFIO_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
set(ELFIO_FOUND "YES")
endif (STANDALONE)
if (ELFIO_FOUND)
add_definitions(-DLL_ELFBIN=1)
else (ELFIO_FOUND)
set(ELFIO_INCLUDE_DIR "")
endif (ELFIO_FOUND)

View File

@@ -9,9 +9,9 @@ if (STANDALONE)
else (STANDALONE)
use_prebuilt_binary(expat)
if (WINDOWS)
set(EXPAT_LIBRARIES libexpatMT)
set(EXPAT_LIBRARIES expat)
else (WINDOWS)
set(EXPAT_LIBRARIES expat)
endif (WINDOWS)
set(EXPAT_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
set(EXPAT_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
endif (STANDALONE)

View File

@@ -1,52 +0,0 @@
# -*- cmake -*-
include(Linking)
if(INSTALL_PROPRIETARY)
include(Prebuilt)
use_prebuilt_binary(fmod)
endif(INSTALL_PROPRIETARY)
find_library(FMOD_LIBRARY
NAMES fmod fmodvc fmod-3.75
PATHS
optimized ${ARCH_PREBUILT_DIRS_RELEASE}
debug ${ARCH_PREBUILT_DIRS_DEBUG}
)
if (NOT FMOD_LIBRARY)
set(FMOD_SDK_DIR CACHE PATH "Path to the FMOD SDK.")
if (FMOD_SDK_DIR)
find_library(FMOD_LIBRARY
NAMES fmodvc fmod-3.75 fmod
PATHS
${FMOD_SDK_DIR}/api/lib
${FMOD_SDK_DIR}/api
${FMOD_SDK_DIR}/lib
${FMOD_SDK_DIR}
)
endif (FMOD_SDK_DIR)
endif (NOT FMOD_LIBRARY)
find_path(FMOD_INCLUDE_DIR fmod.h
${LIBS_PREBUILT_DIR}/include
${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include
${FMOD_SDK_DIR}/api/inc
${FMOD_SDK_DIR}/inc
${FMOD_SDK_DIR}
)
if (FMOD_LIBRARY AND FMOD_INCLUDE_DIR)
set(FMOD ON CACHE BOOL "Use closed source FMOD sound library.")
else (FMOD_LIBRARY AND FMOD_INCLUDE_DIR)
set(FMOD_LIBRARY "")
set(FMOD_INCLUDE_DIR "")
if (FMOD)
message(STATUS "No support for FMOD audio (need to set FMOD_SDK_DIR?)")
endif (FMOD)
set(FMOD OFF CACHE BOOL "Use closed source FMOD sound library.")
endif (FMOD_LIBRARY AND FMOD_INCLUDE_DIR)
if (FMOD)
message(STATUS "Building with FMOD audio support")
endif (FMOD)

View File

@@ -1,82 +0,0 @@
# -*- cmake -*-
include(Linking)
if (NOT FMODEX_LIBRARY)
set(FMODEX_SDK_DIR CACHE PATH "Path to the FMOD Ex SDK.")
if (FMODEX_SDK_DIR)
if(WORD_SIZE EQUAL 32)
find_library(FMODEX_LIBRARY
fmodex_vc fmodexL_vc fmodex fmodexL
PATHS
"${FMODEX_SDK_DIR}/api/lib"
"${FMODEX_SDK_DIR}/api"
"${FMODEX_SDK_DIR}/lib"
"${FMODEX_SDK_DIR}"
)
elseif(WORD_SIZE EQUAL 64)
find_library(FMODEX_LIBRARY
fmodex64_vc fmodexL64_vc fmodex64 fmodexL64
PATHS
"${FMODEX_SDK_DIR}/api/lib"
"${FMODEX_SDK_DIR}/api"
"${FMODEX_SDK_DIR}/lib"
"${FMODEX_SDK_DIR}"
)
endif(WORD_SIZE EQUAL 32)
endif(FMODEX_SDK_DIR)
if(WINDOWS AND NOT FMODEX_SDK_DIR)
GET_FILENAME_COMPONENT(FMODEX_PROG_DIR [HKEY_CURRENT_USER\\Software\\FMOD\ Programmers\ API\ Windows] ABSOLUTE CACHE)
if(WORD_SIZE EQUAL 32)
find_library(FMODEX_LIBRARY
fmodex_vc fmodexL_vc
PATHS
"${FMODEX_PROG_DIR}/api/lib"
"${FMODEX_PROG_DIR}/api"
"${FMODEX_PROG_DIR}"
)
else(WORD_SIZE EQUAL 32)
find_library(FMODEX_LIBRARY
fmodex64_vc fmodexL64_vc
PATHS
"${FMODEX_PROG_DIR}/api/lib"
"${FMODEX_PROG_DIR}/api"
"${FMODEX_PROG_DIR}"
)
endif(WORD_SIZE EQUAL 32)
if(FMODEX_LIBRARY)
message(STATUS "Found fmodex in ${FMODEX_PROG_DIR}")
set(FMODEX_SDK_DIR "${FMODEX_PROG_DIR}")
set(FMODEX_SDK_DIR "${FMODEX_PROG_DIR}" CACHE PATH "Path to the FMOD Ex SDK." FORCE)
endif(FMODEX_LIBRARY)
endif(WINDOWS AND NOT FMODEX_SDK_DIR)
endif (NOT FMODEX_LIBRARY)
find_path(FMODEX_INCLUDE_DIR fmod.hpp
"${LIBS_PREBUILT_DIR}/include/fmodex"
"${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/fmodex"
"${FMODEX_SDK_DIR}/api/inc"
"${FMODEX_SDK_DIR}/inc"
"${FMODEX_SDK_DIR}"
)
if(DARWIN)
set(FMODEX_ORIG_LIBRARY "${FMODEX_LIBRARY}")
set(FMODEX_LIBRARY "${CMAKE_CURRENT_BINARY_DIR}/libfmodex.dylib")
endif(DARWIN)
if (FMODEX_LIBRARY AND FMODEX_INCLUDE_DIR)
set(FMODEX ON CACHE BOOL "Use closed source FMOD Ex sound library.")
else (FMODEX_LIBRARY AND FMODEX_INCLUDE_DIR)
set(FMODEX_LIBRARY "")
set(FMODEX_INCLUDE_DIR "")
if (FMODEX)
message(STATUS "No support for FMOD Ex audio (need to set FMODEX_SDK_DIR?)")
endif (FMODEX)
set(FMODEX OFF CACHE BOOL "Use closed source FMOD Ex sound library.")
set(FMODEX OFF)
endif (FMODEX_LIBRARY AND FMODEX_INCLUDE_DIR)
if (FMODEX)
message(STATUS "Building with FMOD Ex audio support")
endif (FMODEX)

View File

@@ -0,0 +1,50 @@
# -*- cmake -*-
include(Variables)
if (USE_FMODSTUDIO)
use_prebuilt_binary(fmodstudio)
if(WINDOWS)
set(lib_suffix .dll)
elseif(DARWIN)
set(lib_suffix .dylib)
else(WINDOWS)
set(lib_suffix .so)
endif(WINDOWS)
if(WINDOWS)
set(FMOD_LIBRARY_RELEASE ${LIBS_PREBUILT_DIR}/lib/release/fmod${lib_suffix})
set(FMOD_LIBRARY_DEBUG ${LIBS_PREBUILT_DIR}/lib/debug/fmodL${lib_suffix})
else(WINDOWS)
set(FMOD_LIBRARY_RELEASE ${LIBS_PREBUILT_DIR}/lib/release/libfmod${lib_suffix})
set(FMOD_LIBRARY_DEBUG ${LIBS_PREBUILT_DIR}/lib/debug/libfmodL${lib_suffix})
endif(WINDOWS)
set(FMOD_LINK_LIBRARY_RELEASE ${FMOD_LIBRARY_RELEASE})
set(FMOD_LINK_LIBRARY_DEBUG ${FMOD_LIBRARY_DEBUG})
if(WINDOWS)
string(REPLACE ".dll" "_vc.lib" FMOD_LINK_LIBRARY_RELEASE ${FMOD_LIBRARY_RELEASE})
string(REPLACE ".dll" "_vc.lib" FMOD_LINK_LIBRARY_DEBUG ${FMOD_LIBRARY_DEBUG})
endif(WINDOWS)
set (FMOD_LIBRARY
debug ${FMOD_LINK_LIBRARY_DEBUG}
optimized ${FMOD_LINK_LIBRARY_RELEASE}
)
set(FMODSTUDIO_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/fmodstudio)
endif(USE_FMODSTUDIO)
if(FMOD_LIBRARY_RELEASE AND FMODSTUDIO_INCLUDE_DIR)
set(FMOD ON)
if (NOT FMOD_LIBRARY_DEBUG) #Use release library in debug configuration if debug library is absent.
set(FMOD_LIBRARY_DEBUG ${FMOD_LIBRARY_RELEASE})
endif (NOT FMOD_LIBRARY_DEBUG)
else (FMOD_LIBRARY_RELEASE AND FMODSTUDIO_INCLUDE_DIR)
message(STATUS "No support for FMOD Studio audio (need to set FMODSTUDIO_SDK_DIR?)")
set(FMOD OFF)
set(USE_FMODSTUDIO OFF)
endif (FMOD_LIBRARY_RELEASE AND FMODSTUDIO_INCLUDE_DIR)
if (FMOD)
message(STATUS "Building with FMOD Studio audio support")
endif (FMOD)

View File

@@ -0,0 +1,43 @@
# -*- cmake -*-
#
# Find the autobuild tool
#
# Output variables:
#
# AUTOBUILD_EXECUTABLE - path to autobuild executable
IF (NOT AUTOBUILD_EXECUTABLE)
# If cmake was executed by autobuild, autobuild will have set the AUTOBUILD env var
IF (DEFINED ENV{AUTOBUILD})
SET(AUTOBUILD_EXECUTABLE $ENV{AUTOBUILD})
ELSE (DEFINED ENV{AUTOBUILD})
IF(WIN32)
SET(AUTOBUILD_EXE_NAMES autobuild.exe autobuild.cmd)
ELSE(WIN32)
SET(AUTOBUILD_EXE_NAMES autobuild)
ENDIF(WIN32)
SET(AUTOBUILD_EXECUTABLE)
FIND_PROGRAM(
AUTOBUILD_EXECUTABLE
NAMES ${AUTOBUILD_EXE_NAMES}
PATHS
ENV PATH
${CMAKE_SOURCE_DIR}/..
${CMAKE_SOURCE_DIR}/../..
${CMAKE_SOURCE_DIR}/../../..
PATH_SUFFIXES "/autobuild/bin/"
)
ENDIF (DEFINED ENV{AUTOBUILD})
IF (NOT AUTOBUILD_EXECUTABLE)
IF (AUTOBUILD_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could not find autobuild executable")
ENDIF (AUTOBUILD_FIND_REQUIRED)
ENDIF (NOT AUTOBUILD_EXECUTABLE)
MARK_AS_ADVANCED(AUTOBUILD_EXECUTABLE)
ENDIF (NOT AUTOBUILD_EXECUTABLE)

View File

@@ -1,50 +0,0 @@
# -*- cmake -*-
# - Find BerkeleyDB
# Find the BerkeleyDB includes and library
# This module defines
# DB_INCLUDE_DIR, where to find db.h, etc.
# DB_LIBRARIES, the libraries needed to use BerkeleyDB.
# DB_FOUND, If false, do not try to use BerkeleyDB.
# also defined, but not for general use are
# DB_LIBRARY, where to find the BerkeleyDB library.
FIND_PATH(DB_INCLUDE_DIR db.h
/usr/local/include/db4
/usr/local/include
/usr/include/db4
/usr/include
)
SET(DB_NAMES ${DB_NAMES} db)
FIND_LIBRARY(DB_LIBRARY
NAMES ${DB_NAMES}
PATHS /usr/lib /usr/local/lib
)
IF (DB_LIBRARY AND DB_INCLUDE_DIR)
SET(DB_LIBRARIES ${DB_LIBRARY})
SET(DB_FOUND "YES")
ELSE (DB_LIBRARY AND DB_INCLUDE_DIR)
SET(DB_FOUND "NO")
ENDIF (DB_LIBRARY AND DB_INCLUDE_DIR)
IF (DB_FOUND)
IF (NOT DB_FIND_QUIETLY)
MESSAGE(STATUS "Found BerkeleyDB: ${DB_LIBRARIES}")
ENDIF (NOT DB_FIND_QUIETLY)
ELSE (DB_FOUND)
IF (DB_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could not find BerkeleyDB library")
ENDIF (DB_FIND_REQUIRED)
ENDIF (DB_FOUND)
# Deprecated declarations.
SET (NATIVE_DB_INCLUDE_PATH ${DB_INCLUDE_DIR} )
GET_FILENAME_COMPONENT (NATIVE_DB_LIB_PATH ${DB_LIBRARY} PATH)
MARK_AS_ADVANCED(
DB_LIBRARY
DB_INCLUDE_DIR
)

View File

@@ -1,48 +0,0 @@
# -*- cmake -*-
# - Find ELFIO
# Find the ELFIO includes and library
# This module defines
# ELFIO_INCLUDE_DIR, where to find elfio.h, etc.
# ELFIO_LIBRARIES, the libraries needed to use ELFIO.
# ELFIO_FOUND, If false, do not try to use ELFIO.
# also defined, but not for general use are
# ELFIO_LIBRARY, where to find the ELFIO library.
FIND_PATH(ELFIO_INCLUDE_DIR ELFIO/ELFIO.h
/usr/local/include
/usr/include
)
SET(ELFIO_NAMES ${ELFIO_NAMES} ELFIO)
FIND_LIBRARY(ELFIO_LIBRARY
NAMES ${ELFIO_NAMES}
PATHS /usr/lib /usr/local/lib
)
IF (ELFIO_LIBRARY AND ELFIO_INCLUDE_DIR)
SET(ELFIO_LIBRARIES ${ELFIO_LIBRARY})
SET(ELFIO_FOUND "YES")
ELSE (ELFIO_LIBRARY AND ELFIO_INCLUDE_DIR)
SET(ELFIO_FOUND "NO")
ENDIF (ELFIO_LIBRARY AND ELFIO_INCLUDE_DIR)
IF (ELFIO_FOUND)
IF (NOT ELFIO_FIND_QUIETLY)
MESSAGE(STATUS "Found ELFIO: ${ELFIO_LIBRARIES}")
ENDIF (NOT ELFIO_FIND_QUIETLY)
ELSE (ELFIO_FOUND)
IF (ELFIO_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could not find ELFIO library")
ENDIF (ELFIO_FIND_REQUIRED)
ENDIF (ELFIO_FOUND)
# Deprecated declarations.
SET (NATIVE_ELFIO_INCLUDE_PATH ${ELFIO_INCLUDE_DIR} )
GET_FILENAME_COMPONENT (NATIVE_ELFIO_LIB_PATH ${ELFIO_LIBRARY} PATH)
MARK_AS_ADVANCED(
ELFIO_LIBRARY
ELFIO_INCLUDE_DIR
)

View File

@@ -1,40 +0,0 @@
# -*- cmake -*-
# - Find Google BreakPad
# Find the Google BreakPad includes and library
# This module defines
# BREAKPAD_INCLUDE_DIRECTORIES, where to find the Goole BreakPad includes.
# BREAKPAD_EXCEPTION_HANDLER_LIBRARIES, the libraries needed to use Google BreakPad.
# BREAKPAD_EXCEPTION_HANDLER_FOUND, If false, do not try to use Google BreakPad.
# also defined, but not for general use are
# BREAKPAD_EXCEPTION_HANDLER_LIBRARY, where to find the Google BreakPad library.
FIND_PATH(BREAKPAD_INCLUDE_DIRECTORIES common/using_std_string.h PATH_SUFFIXES google_breakpad)
SET(BREAKPAD_EXCEPTION_HANDLER_NAMES ${BREAKPAD_EXCEPTION_HANDLER_NAMES} breakpad_client)
FIND_LIBRARY(BREAKPAD_EXCEPTION_HANDLER_LIBRARY
NAMES ${BREAKPAD_EXCEPTION_HANDLER_NAMES}
)
IF (BREAKPAD_EXCEPTION_HANDLER_LIBRARY AND BREAKPAD_INCLUDE_DIRECTORIES)
SET(BREAKPAD_EXCEPTION_HANDLER_LIBRARIES ${BREAKPAD_EXCEPTION_HANDLER_LIBRARY})
SET(BREAKPAD_EXCEPTION_HANDLER_FOUND "YES")
ELSE (BREAKPAD_EXCEPTION_HANDLER_LIBRARY AND BREAKPAD_INCLUDE_DIRECTORIES)
SET(BREAKPAD_EXCEPTION_HANDLER_FOUND "NO")
ENDIF (BREAKPAD_EXCEPTION_HANDLER_LIBRARY AND BREAKPAD_INCLUDE_DIRECTORIES)
IF (BREAKPAD_EXCEPTION_HANDLER_FOUND)
IF (NOT BREAKPAD_EXCEPTION_HANDLER_FIND_QUIETLY)
MESSAGE(STATUS "Found Google BreakPad: ${BREAKPAD_EXCEPTION_HANDLER_LIBRARIES}")
ENDIF (NOT BREAKPAD_EXCEPTION_HANDLER_FIND_QUIETLY)
ELSE (BREAKPAD_EXCEPTION_HANDLER_FOUND)
IF (BREAKPAD_EXCEPTION_HANDLER_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could not find Google BreakPad library")
ENDIF (BREAKPAD_EXCEPTION_HANDLER_FIND_REQUIRED)
ENDIF (BREAKPAD_EXCEPTION_HANDLER_FOUND)
MARK_AS_ADVANCED(
BREAKPAD_EXCEPTION_HANDLER_LIBRARY
BREAKPAD_INCLUDE_DIRECTORIES
)

View File

@@ -1,39 +0,0 @@
# -*- cmake -*-
# - Find JSONCpp
# Find the JSONCpp includes and library
# This module defines
# JSONCPP_FOUND, System has libjsoncpp.
# JSONCPP_INCLUDE_DIRS - The libjsoncpp include directories.
# JSONCPP_LIBRARIES - The libraries needed to use libjsoncpp.
# JSONCPP_DEFINITIONS - Compiler switches required for using libjsoncpp.
FIND_PACKAGE(PkgConfig)
PKG_CHECK_MODULES(PC_JSONCPP jsoncpp)
SET(JSONCPP_DEFINITIONS ${PC_JSONCPP_CFLAGS_OTHER})
FIND_PATH(JSONCPP_INCLUDE_DIR json/reader.h
HINTS ${PC_JSONCPP_INCLUDE_DIR} ${PC_JSONCPP_INCLUDE_DIRS}
PATH_SUFFIXES jsoncpp)
# Get the GCC compiler version
EXEC_PROGRAM(${CMAKE_CXX_COMPILER}
ARGS ${CMAKE_CXX_COMPILER_ARG1} -dumpversion
OUTPUT_VARIABLE _gcc_COMPILER_VERSION
OUTPUT_STRIP_TRAILING_WHITESPACE
)
# Try to find a library that was compiled with the same compiler version as we currently use.
FIND_LIBRARY(JSONCPP_LIBRARY
NAMES libjson_linux-gcc-${_gcc_COMPILER_VERSION}_libmt.so libjsoncpp.so
HINTS ${PC_JSONCPP_LIBDIR} ${PC_JSONCPP_LIBRARY_DIRS}
PATHS /usr/lib /usr/local/lib)
SET(JSONCPP_LIBRARIES ${JSONCPP_LIBRARY})
SET(JSONCPP_INCLUDE_DIRS ${JSONCPP_INCLUDE_DIR})
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(JSONCPP DEFAULT_MSG
JSONCPP_LIBRARY JSONCPP_INCLUDE_DIR)
MARK_AS_ADVANCED(JSONCPP_LIBRARY JSONCPP_INCLUDE_DIR)

View File

@@ -1,62 +0,0 @@
# -*- cmake -*-
# - Find llqtwebkit
# Find the llqtwebkit includes and library
# This module defines
# LLQTWEBKIT_INCLUDE_DIR, where to find llqtwebkit.h, etc.
# LLQTWEBKIT_LIBRARY, the llqtwebkit library with full path.
# LLQTWEBKIT_FOUND, If false, do not try to use llqtwebkit.
# also defined, but not for general use are
# LLQTWEBKIT_LIBRARIES, the libraries needed to use llqtwebkit.
# LLQTWEBKIT_LIBRARY_DIRS, where to find the llqtwebkit library.
# LLQTWEBKIT_DEFINITIONS - You should add_definitions(${LLQTWEBKIT_DEFINITIONS})
# before compiling code that includes llqtwebkit library files.
# Try to use pkg-config first.
# This allows to have two different libllqtwebkit packages installed:
# one for viewer 2.x and one for viewer 1.x.
include(FindPkgConfig)
if (PKG_CONFIG_FOUND)
if (LLQtWebkit_FIND_REQUIRED AND LLQtWebkit_FIND_VERSION)
set(_PACKAGE_ARGS libllqtwebkit>=${LLQtWebkit_FIND_VERSION} REQUIRED)
else (LLQtWebkit_FIND_REQUIRED AND LLQtWebkit_FIND_VERSION)
set(_PACKAGE_ARGS libllqtwebkit)
endif (LLQtWebkit_FIND_REQUIRED AND LLQtWebkit_FIND_VERSION)
if (NOT "${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" VERSION_LESS "2.8")
# As virtually nobody will have a pkg-config file for this, do this check always quiet.
# Unfortunately cmake 2.8 or higher is required for pkg_check_modules to have a 'QUIET'.
set(_PACKAGE_ARGS ${_PACKAGE_ARGS} QUIET)
endif ()
pkg_check_modules(LLQTWEBKIT ${_PACKAGE_ARGS})
endif (PKG_CONFIG_FOUND)
set(LLQTWEBKIT_DEFINITIONS ${LLQTWEBKIT_CFLAGS_OTHER})
find_path(LLQTWEBKIT_INCLUDE_DIR llqtwebkit.h NO_SYSTEM_ENVIRONMENT_PATH HINTS ${LLQTWEBKIT_INCLUDE_DIRS})
find_library(LLQTWEBKIT_LIBRARY NAMES llqtwebkit NO_SYSTEM_ENVIRONMENT_PATH HINTS ${LLQTWEBKIT_LIBRARY_DIRS})
if (NOT PKG_CONFIG_FOUND OR NOT LLQTWEBKIT_FOUND) # If pkg-config couldn't find it, pretend we don't have pkg-config.
set(LLQTWEBKIT_LIBRARIES llqtwebkit)
get_filename_component(LLQTWEBKIT_LIBRARY_DIRS ${LLQTWEBKIT_LIBRARY} PATH)
endif (NOT PKG_CONFIG_FOUND OR NOT LLQTWEBKIT_FOUND)
# Handle the QUIETLY and REQUIRED arguments and set LLQTWEBKIT_FOUND
# to TRUE if all listed variables are TRUE.
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(
LLQTWEBKIT
DEFAULT_MSG
LLQTWEBKIT_LIBRARY
LLQTWEBKIT_INCLUDE_DIR
LLQTWEBKIT_LIBRARIES
LLQTWEBKIT_LIBRARY_DIRS
)
mark_as_advanced(
LLQTWEBKIT_LIBRARY
LLQTWEBKIT_INCLUDE_DIR
LLQTWEBKIT_LIBRARIES
LLQTWEBKIT_LIBRARY_DIRS
LLQTWEBKIT_DEFINITIONS
)

View File

@@ -0,0 +1,46 @@
# -*- cmake -*-
# - Find uriparser
# Find the URIPARSER includes and library
# This module defines
# URIPARSER_INCLUDE_DIRS, where to find uriparser.h, etc.
# URIPARSER_LIBRARY, the libraries needed to use uriparser.
# URIPARSER_FOUND, If false, do not try to use uriparser.
#
# This FindURIPARSER is about 43 times as fast the one provided with cmake (2.8.x),
# because it doesn't look up the version of uriparser, resulting in a dramatic
# speed up for configure (from 4 minutes 22 seconds to 6 seconds).
#
# Note: Since this file is only used for standalone, the windows
# specific parts were left out.
FIND_PATH(URIPARSER_INCLUDE_DIR uriparser/Uri.h
NO_SYSTEM_ENVIRONMENT_PATH
)
FIND_LIBRARY(URIPARSER_LIBRARY uriparser)
if (URIPARSER_LIBRARY AND URIPARSER_INCLUDE_DIR)
SET(URIPARSER_INCLUDE_DIRS ${URIPARSER_INCLUDE_DIR})
SET(URIPARSER_LIBRARY ${URIPARSER_LIBRARY})
SET(URIPARSER_FOUND "YES")
else (URIPARSER_LIBRARY AND URIPARSER_INCLUDE_DIR)
SET(URIPARSER_FOUND "NO")
endif (URIPARSER_LIBRARY AND URIPARSER_INCLUDE_DIR)
if (URIPARSER_FOUND)
if (NOT URIPARSER_FIND_QUIETLY)
message(STATUS "Found URIPARSER: ${URIPARSER_LIBRARY}")
SET(URIPARSER_FIND_QUIETLY TRUE)
endif (NOT URIPARSER_FIND_QUIETLY)
else (URIPARSER_FOUND)
if (URIPARSER_FIND_REQUIRED)
message(FATAL_ERROR "Could not find URIPARSER library")
endif (URIPARSER_FIND_REQUIRED)
endif (URIPARSER_FOUND)
mark_as_advanced(
URIPARSER_LIBRARY
URIPARSER_INCLUDE_DIR
)

View File

@@ -1,20 +1,14 @@
# -*- cmake -*-
include(Prebuilt)
if (STANDALONE)
if (LINUX)
include(FindPkgConfig)
pkg_check_modules(FREETYPE REQUIRED freetype2)
else (STANDALONE)
else (LINUX)
use_prebuilt_binary(freetype)
if (LINUX)
set(FREETYPE_INCLUDE_DIRS
${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
else (LINUX)
set(FREETYPE_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
endif (LINUX)
set(FREETYPE_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/freetype2)
set(FREETYPE_LIBRARIES freetype)
endif (STANDALONE)
endif (LINUX)
link_directories(${FREETYPE_LIBRARY_DIRS})

View File

@@ -7,7 +7,8 @@ set(GLOD_FIND_REQUIRED ON)
if (STANDALONE)
include(FindGLOD)
else (STANDALONE)
use_prebuilt_binary(GLOD)
set(GLOD_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
set(GLOD_LIBRARIES glod)
use_prebuilt_binary(glod)
set(GLOD_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/glod)
set(GLOD_LIBRARIES GLOD)
endif (STANDALONE)

View File

@@ -1,27 +1,9 @@
# -*- cmake -*-
include(Prebuilt)
if (STANDALONE)
include(FindPkgConfig)
pkg_check_modules(GSTREAMER010 REQUIRED gstreamer-0.10)
pkg_check_modules(GSTREAMER010_PLUGINS_BASE REQUIRED gstreamer-plugins-base-0.10)
else (STANDALONE)
# Possibly libxml and glib should have their own .cmake file instead...
use_prebuilt_binary(glib) # gstreamer needs glib
use_prebuilt_binary(libxml)
use_prebuilt_binary(gstreamer)
set(GSTREAMER010_FOUND ON FORCE BOOL)
set(GSTREAMER010_PLUGINS_BASE_FOUND ON FORCE BOOL)
set(GSTREAMER010_INCLUDE_DIRS
${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/gstreamer-0.10
${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/glib-2.0
${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/libxml2
)
endif (STANDALONE)
if (WINDOWS)
# We don't need to explicitly link against gstreamer itself, because

View File

@@ -0,0 +1,116 @@
# -*- cmake -*-
# Distributed under the MIT Software License
# Copyright (c) 2015-2017 Borislav Stanimirov
# Modifications Copyright (c) 2019 Cinder Roxley. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in
# the Software without restriction, including without limitation the rights to
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
# of the Software, and to permit persons to whom the Software is furnished to do
# so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# target_precompiled_header
#
# Sets a precompiled header for a given target
# Args:
# TARGET_NAME - Name of the target. Only valid after add_library or add_executable
# PRECOMPILED_HEADER - Header file to precompile
# PRECOMPILED_SOURCE - MSVC specific source to do the actual precompilation. Ignored on other platforms
#
macro(target_precompiled_header TARGET_NAME PRECOMPILED_HEADER PRECOMPILED_SOURCE)
get_filename_component(PRECOMPILED_HEADER_NAME ${PRECOMPILED_HEADER} NAME)
if(MSVC)
get_filename_component(PRECOMPILED_SOURCE_NAME ${PRECOMPILED_SOURCE} NAME)
get_filename_component(PRECOMPILED_HEADER_PATH ${PRECOMPILED_HEADER} DIRECTORY)
target_include_directories(${TARGET_NAME} PRIVATE ${PRECOMPILED_HEADER_PATH}) # fixes occasional IntelliSense glitches
get_filename_component(PRECOMPILED_HEADER_WE ${PRECOMPILED_HEADER} NAME_WE)
if(GEN_IS_MULTI_CONFIG)
set(PRECOMPILED_BINARY "$(IntDir)/${PRECOMPILED_HEADER_WE}.pch")
else()
set(PRECOMPILED_BINARY "${CMAKE_CURRENT_BINARY_DIR}/${PRECOMPILED_HEADER_WE}.pch")
endif()
set_source_files_properties(${PRECOMPILED_SOURCE} PROPERTIES
COMPILE_OPTIONS "/Yc${PRECOMPILED_HEADER_NAME};/Fp${PRECOMPILED_BINARY}"
OBJECT_OUTPUTS "${PRECOMPILED_BINARY}")
get_target_property(TARGET_SOURCES ${TARGET_NAME} SOURCES)
foreach(src ${TARGET_SOURCES})
if(${src} MATCHES \\.\(cpp|cxx|cc\)$)
set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/${src}" PROPERTIES
COMPILE_OPTIONS "/Yu${PRECOMPILED_HEADER_NAME};/FI${PRECOMPILED_HEADER_NAME};/Fp${PRECOMPILED_BINARY}"
OBJECT_DEPENDS "${PRECOMPILED_BINARY}"
)
endif()
endforeach()
#set_target_properties(${TARGET_NAME} PROPERTIES
# COMPILE_OPTIONS "/Yu${PRECOMPILED_HEADER_NAME};/FI${PRECOMPILED_HEADER_NAME};/Fp${PRECOMPILED_BINARY}")
target_sources(${TARGET_NAME} PRIVATE ${PRECOMPILED_SOURCE} ${PRECOMPILED_HEADER})
elseif(CMAKE_GENERATOR STREQUAL Xcode)
set_target_properties(
${TARGET_NAME}
PROPERTIES
XCODE_ATTRIBUTE_GCC_PREFIX_HEADER "${PRECOMPILED_HEADER}"
XCODE_ATTRIBUTE_GCC_PRECOMPILE_PREFIX_HEADER "YES"
)
elseif(CMAKE_COMPILER_IS_GNUCC OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
# Create and set output directory.
set(OUTPUT_DIR "${CMAKE_CURRENT_BINARY_DIR}/${PRECOMPILED_HEADER_NAME}.gch")
make_directory(${OUTPUT_DIR})
set(OUTPUT_NAME "${OUTPUT_DIR}/${PRECOMPILED_HEADER_NAME}.gch")
# Export compiler flags via a generator to a response file
set(PCH_FLAGS_FILE "${OUTPUT_DIR}/${PRECOMPILED_HEADER_NAME}.rsp")
set(_include_directories "$<TARGET_PROPERTY:${TARGET_NAME},INCLUDE_DIRECTORIES>")
set(_compile_definitions "$<TARGET_PROPERTY:${TARGET_NAME},COMPILE_DEFINITIONS>")
set(_compile_flags "$<TARGET_PROPERTY:${TARGET_NAME},COMPILE_FLAGS>")
set(_compile_options "$<TARGET_PROPERTY:${TARGET_NAME},COMPILE_OPTIONS>")
set(_include_directories "$<$<BOOL:${_include_directories}>:-I$<JOIN:${_include_directories},\n-I>\n>")
set(_compile_definitions "$<$<BOOL:${_compile_definitions}>:-D$<JOIN:${_compile_definitions},\n-D>\n>")
set(_compile_flags "$<$<BOOL:${_compile_flags}>:$<JOIN:${_compile_flags},\n>\n>")
set(_compile_options "$<$<BOOL:${_compile_options}>:$<JOIN:${_compile_options},\n>\n>")
file(GENERATE OUTPUT "${PCH_FLAGS_FILE}" CONTENT "${_compile_definitions}${_include_directories}${_compile_flags}${_compile_options}\n")
# Gather global compiler options, definitions, etc.
string(TOUPPER "CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE}" CXX_FLAGS)
set(COMPILER_FLAGS "${${CXX_FLAGS}} ${CMAKE_CXX_FLAGS}")
separate_arguments(COMPILER_FLAGS)
# Add a custom target for building the precompiled header.
add_custom_command(
OUTPUT ${OUTPUT_NAME}
COMMAND ${CMAKE_CXX_COMPILER} @${PCH_FLAGS_FILE} ${COMPILER_FLAGS} -x c++-header -o ${OUTPUT_NAME} ${PRECOMPILED_HEADER}
DEPENDS ${PRECOMPILED_HEADER})
add_custom_target(${TARGET_NAME}_gch DEPENDS ${OUTPUT_NAME})
add_dependencies(${TARGET_NAME} ${TARGET_NAME}_gch)
# set_target_properties(${TARGET_NAME} PROPERTIES COMPILE_FLAGS "-include ${PRECOMPILED_HEADER_NAME} -Winvalid-pch")
get_target_property(SOURCE_FILES ${TARGET_NAME} SOURCES)
get_target_property(asdf ${TARGET_NAME} COMPILE_FLAGS)
foreach(SOURCE_FILE ${SOURCE_FILES})
if(SOURCE_FILE MATCHES \\.\(c|cc|cxx|cpp\)$)
set_source_files_properties(${SOURCE_FILE} PROPERTIES
COMPILE_FLAGS "-include ${OUTPUT_DIR}/${PRECOMPILED_HEADER_NAME} -Winvalid-pch"
)
endif()
endforeach()
else()
message(FATAL_ERROR "Unknown generator for target_precompiled_header. [${CMAKE_CXX_COMPILER_ID}]")
endif()
endmacro(target_precompiled_header)

View File

@@ -1,21 +0,0 @@
# -*- cmake -*-
include(Prebuilt)
if (STANDALONE)
set(BREAKPAD_EXCEPTION_HANDLER_FIND_REQUIRED ON)
include(FindGoogleBreakpad)
else (STANDALONE)
use_prebuilt_binary(google_breakpad)
if (DARWIN)
set(BREAKPAD_EXCEPTION_HANDLER_LIBRARIES exception_handler)
endif (DARWIN)
if (LINUX)
set(BREAKPAD_EXCEPTION_HANDLER_LIBRARIES breakpad_client)
endif (LINUX)
if (WINDOWS)
set(BREAKPAD_EXCEPTION_HANDLER_LIBRARIES exception_handler crash_generation_client crash_generation_server common)
endif (WINDOWS)
# yes, this does look dumb, no, it's not incorrect
# I think it's incorrect: the second one should go --Aleric
set(BREAKPAD_INCLUDE_DIRECTORIES "${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/google_breakpad" "${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/google_breakpad/google_breakpad")
endif (STANDALONE)

View File

@@ -2,16 +2,16 @@
include(Prebuilt)
if(WORD_SIZE EQUAL 64)
if(ADDRESS_SIZE EQUAL 64)
set(DISABLE_TCMALLOC TRUE)
endif(WORD_SIZE EQUAL 64)
endif(ADDRESS_SIZE EQUAL 64)
if (STANDALONE)
include(FindGooglePerfTools)
else (STANDALONE)
if (LINUX OR WINDOWS AND NOT WORD_SIZE EQUAL 64)
if (LINUX OR WINDOWS AND NOT ADDRESS_SIZE EQUAL 64)
use_prebuilt_binary(gperftools)
endif (LINUX OR WINDOWS AND NOT WORD_SIZE EQUAL 64)
endif (LINUX OR WINDOWS AND NOT ADDRESS_SIZE EQUAL 64)
if (WINDOWS AND NOT DISABLE_TCMALLOC)
set(TCMALLOC_LIBRARIES libtcmalloc_minimal.lib)
set(TCMALLOC_LINKER_FLAGS "/INCLUDE:\"__tcmalloc\"")
@@ -25,7 +25,9 @@ else (STANDALONE)
set(TCMALLOC_LIBRARIES tcmalloc_minimal)
endif()
set(GOOGLE_PERFTOOLS_INCLUDE_DIR
${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
${LIBS_PREBUILT_DIR}/include
${LIBS_PREBUILT_LEGACY_DIR}/include
)
endif (LINUX)
endif (STANDALONE)

View File

@@ -4,13 +4,13 @@ include(Prebuilt)
if (STANDALONE)
include(FindHunSpell)
else (STANDALONE)
use_prebuilt_binary(hunspell)
set(HUNSPELL_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/hunspell)
use_prebuilt_binary(libhunspell)
if (LINUX OR DARWIN)
set(HUNSPELL_LIBRARY hunspell-1.3)
else (LINUX OR DARWIN)
set(HUNSPELL_LIBRARY libhunspell)
endif (LINUX OR DARWIN)
if (LINUX OR DARWIN)
set(HUNSPELL_LIBRARY hunspell-1.3)
else (LINUX OR DARWIN)
set(HUNSPELL_LIBRARY libhunspell)
endif (LINUX OR DARWIN)
set(HUNSPELL_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/hunspell)
use_prebuilt_binary(dictionaries)
endif (STANDALONE)

View File

@@ -13,11 +13,11 @@ else (STANDALONE)
set(JPEG_LIBRARIES jpeg)
elseif (DARWIN)
set(JPEG_LIBRARIES
optimized ${ARCH_PREBUILT_DIRS_RELEASE}/libjpeg.a
debug ${ARCH_PREBUILT_DIRS_DEBUG}/libjpeg.a
debug libjpeg.a
optimized libjpeg.a
)
elseif (WINDOWS)
set(JPEG_LIBRARIES jpeglib)
endif (LINUX)
set(JPEG_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
set(JPEG_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
endif (STANDALONE)

6
indra/cmake/Json.cmake Normal file
View File

@@ -0,0 +1,6 @@
# -*- cmake -*-
include(Prebuilt)
use_prebuilt_binary(modernjson)
set(JSON_INCLUDE_DIR "${LIBS_PREBUILT_DIR}/include")

View File

@@ -1,22 +0,0 @@
# -*- cmake -*-
include(Prebuilt)
set(JSONCPP_FIND_QUIETLY OFF)
set(JSONCPP_FIND_REQUIRED ON)
if (STANDALONE)
include(FindJsonCpp)
else (STANDALONE)
use_prebuilt_binary(jsoncpp)
if (WINDOWS)
set(JSONCPP_LIBRARIES
debug json_vc${MSVC_SUFFIX}d
optimized json_vc${MSVC_SUFFIX})
elseif (DARWIN)
set(JSONCPP_LIBRARIES json_linux-gcc-4.0.1_libmt)
elseif (LINUX)
set(JSONCPP_LIBRARIES jsoncpp)
endif (WINDOWS)
set(JSONCPP_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/jsoncpp)
endif (STANDALONE)

View File

@@ -87,7 +87,7 @@ MACRO(ADD_BUILD_TEST_INTERNAL name parent libraries source_files)
${libraries}
)
GET_TARGET_PROPERTY(TEST_EXE ${name}_test LOCATION)
SET(TEST_EXE $<TARGET_FILE:${name}_test>)
SET(TEST_OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${name}_test_ok.txt)
IF ("${wrapper}" STREQUAL "")
@@ -105,17 +105,6 @@ MACRO(ADD_BUILD_TEST_INTERNAL name parent libraries source_files)
IF (NOT "$ENV{LD_LIBRARY_PATH}" STREQUAL "")
SET(LD_LIBRARY_PATH "$ENV{LD_LIBRARY_PATH}:${LD_LIBRARY_PATH}")
ENDIF (NOT "$ENV{LD_LIBRARY_PATH}" STREQUAL "")
ADD_CUSTOM_COMMAND(
OUTPUT ${TEST_OUTPUT}
COMMAND
${CMAKE_COMMAND}
"-DLD_LIBRARY_PATH=${LD_LIBRARY_PATH}"
"-DTEST_CMD:STRING=${TEST_CMD}"
-P ${CMAKE_SOURCE_DIR}/cmake/RunBuildTest.cmake
DEPENDS ${name}_test
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
VERBATIM
)
ADD_CUSTOM_TARGET(${name}_test_ok ALL DEPENDS ${TEST_OUTPUT})
IF (${parent})

View File

@@ -1,11 +1,12 @@
# -*- cmake -*-
include(Audio)
include(OPENAL)
set(LLAUDIO_INCLUDE_DIRS
${LIBS_OPEN_DIR}/llaudio
)
add_definitions(-DOV_EXCLUDE_STATIC_CALLBACKS)
#add_definitions(-DOV_EXCLUDE_STATIC_CALLBACKS)
set(LLAUDIO_LIBRARIES llaudio ${OPENAL_LIBRARIES})

View File

@@ -3,6 +3,7 @@
include(APR)
include(Boost)
include(EXPAT)
include(Linking)
include(ZLIB)
if (DARWIN)
@@ -10,7 +11,6 @@ if (DARWIN)
find_library(CORESERVICES_LIBRARY CoreServices)
endif (DARWIN)
set(LLCOMMON_INCLUDE_DIRS
${LIBS_OPEN_DIR}/cwdebug
${LIBS_OPEN_DIR}/llcommon
@@ -19,16 +19,11 @@ set(LLCOMMON_INCLUDE_DIRS
${Boost_INCLUDE_DIRS}
)
if (LINUX)
# In order to support using ld.gold on linux, we need to explicitely
# specify all libraries that llcommon uses.
# llcommon uses `clock_gettime' which is provided by librt on linux.
set(LLCOMMON_LIBRARIES llcommon rt)
else (LINUX)
set(LLCOMMON_LIBRARIES llcommon)
endif (LINUX)
set(LLCOMMON_LIBRARIES llcommon
fmt::fmt
)
set(LLCOMMON_LINK_SHARED ON CACHE BOOL "Build the llcommon target as a shared library.")
set(LLCOMMON_LINK_SHARED OFF CACHE BOOL "Build the llcommon target as a shared library.")
if(LLCOMMON_LINK_SHARED)
add_definitions(-DLL_COMMON_LINK_SHARED=1)
endif(LLCOMMON_LINK_SHARED)

View File

@@ -5,10 +5,4 @@ set(LLPLUGIN_INCLUDE_DIRS
${LIBS_OPEN_DIR}/llplugin
)
if (LINUX)
# In order to support using ld.gold on linux, we need to explicitely
# specify all libraries that llplugin uses.
set(LLPLUGIN_LIBRARIES llplugin pthread)
else (LINUX)
set(LLPLUGIN_LIBRARIES llplugin)
endif (LINUX)
set(LLPLUGIN_LIBRARIES llplugin)

View File

@@ -1,22 +1,32 @@
# -*- cmake -*-
# these should be moved to their own cmake file
include(Prebuilt)
include(Boost)
include(Colladadom)
use_prebuilt_binary(libxml2)
set(LLPRIMITIVE_INCLUDE_DIRS
${LIBS_OPEN_DIR}/llprimitive
${COLLADADOM_INCLUDE_DIRS}
)
if (WINDOWS)
set(LLPRIMITIVE_LIBRARIES
debug llprimitive
optimized llprimitive
${COLLADADOM_LIBRARIES}
)
set(LLPRIMITIVE_LIBRARIES
llprimitive
${COLLADADOM_LIBRARIES}
libxml2_a
${BOOST_SYSTEM_LIBRARIES}
)
else (WINDOWS)
set(LLPRIMITIVE_LIBRARIES
llprimitive
${COLLADADOM_LIBRARIES}
)
set(LLPRIMITIVE_LIBRARIES
llprimitive
${COLLADADOM_LIBRARIES}
${BOOST_SYSTEM_LIBRARIES}
minizip
xml2
)
endif (WINDOWS)

View File

@@ -1,11 +0,0 @@
# -*- cmake -*-
if (STANDALONE)
set(LLQTWEBKIT_INCLUDE_DIR
${LIBS_OPEN_DIR}/llqtwebkit
)
set(LLQTWEBKIT_LIBRARY
llqtwebkit
)
endif (STANDALONE)

View File

@@ -1,37 +1,40 @@
# ll_deploy_sharedlibs_command
# target_exe: the cmake target of the executable for which the shared libs will be deployed.
macro(ll_deploy_sharedlibs_command target_exe)
get_target_property(TARGET_LOCATION ${target_exe} LOCATION)
set(TARGET_LOCATION $<TARGET_FILE:${target_exe}>)
get_filename_component(OUTPUT_PATH ${TARGET_LOCATION} PATH)
if(DARWIN)
SET_TEST_PATH(SEARCH_DIRS)
get_target_property(IS_BUNDLE ${target_exe} MACOSX_BUNDLE)
if(IS_BUNDLE)
# If its a bundle the exe is not in the target location, this should find it.
get_filename_component(TARGET_FILE ${TARGET_LOCATION} NAME)
set(OUTPUT_PATH ${TARGET_LOCATION}.app/Contents/MacOS)
set(TARGET_LOCATION ${OUTPUT_PATH}/${TARGET_FILE})
set(OUTPUT_PATH ${OUTPUT_PATH}/../Resources)
endif(IS_BUNDLE)
elseif(WINDOWS)
SET_TEST_PATH(SEARCH_DIRS)
LIST(APPEND SEARCH_DIRS "$ENV{SystemRoot}/system32")
elseif(LINUX)
SET_TEST_PATH(SEARCH_DIRS)
set(OUTPUT_PATH ${OUTPUT_PATH}/lib)
endif(DARWIN)
add_custom_command(
TARGET ${target_exe} POST_BUILD
COMMAND ${CMAKE_COMMAND}
ARGS
"-DBIN_NAME=\"${TARGET_LOCATION}\""
"-DSEARCH_DIRS=\"${SEARCH_DIRS}\""
"-DDST_PATH=\"${OUTPUT_PATH}\""
"-P"
"${CMAKE_SOURCE_DIR}/cmake/DeploySharedLibs.cmake"
)
# It's not clear that this does anything useful for us on Darwin. It has
# been broken for some time now; the BIN_NAME was being constructed as a
# ridiculous nonexistent path with duplicated segments. Fixing that only
# produces ominous spammy warnings: at the time the command below is run, we
# have not yet populated the nested mac-crash-logger.app/Contents/Resources
# with the .dylibs with which it was linked. Moreover, the form of the
# embedded @executable_path/../Resources/mumble.dylib pathname confuses the
# GetPrerequisites.cmake tool invoked by DeploySharedLibs.cmake. It seems
# clear that we have long since accomplished by other means what this was
# originally supposed to do. Skipping it only eliminates an annoying
# non-fatal error.
if(NOT DARWIN)
if(WINDOWS)
SET_TEST_PATH(SEARCH_DIRS)
LIST(APPEND SEARCH_DIRS "$ENV{SystemRoot}/system32")
elseif(LINUX)
SET_TEST_PATH(SEARCH_DIRS)
set(OUTPUT_PATH ${OUTPUT_PATH}/lib)
endif(WINDOWS)
add_custom_command(
TARGET ${target_exe} POST_BUILD
COMMAND ${CMAKE_COMMAND}
ARGS
"-DBIN_NAME=\"${TARGET_LOCATION}\""
"-DSEARCH_DIRS=\"${SEARCH_DIRS}\""
"-DDST_PATH=\"${OUTPUT_PATH}\""
"-P"
"${CMAKE_SOURCE_DIR}/cmake/DeploySharedLibs.cmake"
)
endif(NOT DARWIN)
endmacro(ll_deploy_sharedlibs_command)

View File

@@ -1,9 +1,8 @@
# -*- cmake -*-
include(OpenGL)
include(Prebuilt)
if (STANDALONE)
if (LINUX)
include(FindSDL)
# This should be done by FindSDL. Sigh.
@@ -12,19 +11,7 @@ if (STANDALONE)
SDL_INCLUDE_DIR
SDL_LIBRARY
)
else (STANDALONE)
if (LINUX)
use_prebuilt_binary(mesa)
use_prebuilt_binary(SDL)
set (SDL_FOUND TRUE)
set (SDL_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR})
if(WORD_SIZE EQUAL 64)
set (SDL_LIBRARY SDL)
else(WORD_SIZE EQUAL 64)
set (SDL_LIBRARY SDL directfb fusion direct)
endif(WORD_SIZE EQUAL 64)
endif (LINUX)
endif (STANDALONE)
endif (LINUX)
if (SDL_FOUND)
add_definitions(-DLL_SDL=1)

View File

@@ -0,0 +1,30 @@
# -*- cmake -*-
include(Linking)
include(Prebuilt)
include(Variables)
if (LIBVLCPLUGIN)
if (USESYSTEMLIBS)
else (USESYSTEMLIBS)
use_prebuilt_binary(vlc-bin)
set(VLC_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/vlc)
endif (USESYSTEMLIBS)
if (WINDOWS)
set(VLC_PLUGIN_LIBRARIES
libvlc.lib
libvlccore.lib
)
elseif (DARWIN)
set(VLC_PLUGIN_LIBRARIES
libvlc.dylib
libvlccore.dylib
)
elseif (LINUX)
# Specify a full path to make sure we get a static link
set(VLC_PLUGIN_LIBRARIES
${LIBS_PREBUILT_DIR}/lib/libvlc.a
${LIBS_PREBUILT_DIR}/lib/libvlccore.a
)
endif (WINDOWS)
endif (LIBVLCPLUGIN)

View File

@@ -1,39 +1,58 @@
# -*- cmake -*-
if(NOT DEFINED ${CMAKE_CURRENT_LIST_FILE}_INCLUDED)
set(${CMAKE_CURRENT_LIST_FILE}_INCLUDED "YES")
include(Variables)
if (NOT STANDALONE)
set(ARCH_PREBUILT_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/lib)
set(ARCH_PREBUILT_DIRS_RELEASE ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/lib/release)
set(ARCH_PREBUILT_DIRS_DEBUG ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/lib/debug)
set(ARCH_PREBUILT_DIRS ${AUTOBUILD_INSTALL_DIR}/lib)
set(ARCH_PREBUILT_DIRS_PLUGINS ${AUTOBUILD_INSTALL_DIR}/plugins)
set(ARCH_PREBUILT_DIRS_RELEASE ${AUTOBUILD_INSTALL_DIR}/lib/release)
set(ARCH_PREBUILT_DIRS_DEBUG ${AUTOBUILD_INSTALL_DIR}/lib/debug)
if (WINDOWS)
set(SHARED_LIB_STAGING_DIR ${CMAKE_BINARY_DIR}/sharedlibs)
set(EXE_STAGING_DIR ${CMAKE_BINARY_DIR}/sharedlibs)
elseif (LINUX)
set(SHARED_LIB_STAGING_DIR ${CMAKE_BINARY_DIR}/sharedlibs/lib)
set(EXE_STAGING_DIR ${CMAKE_BINARY_DIR}/sharedlibs/bin)
elseif (DARWIN)
set(SHARED_LIB_STAGING_DIR ${CMAKE_BINARY_DIR}/sharedlibs)
set(EXE_STAGING_DIR "${CMAKE_BINARY_DIR}/sharedlibs")
endif (WINDOWS)
if(WINDOWS OR ${CMAKE_GENERATOR} MATCHES "Xcode")
# the cmake xcode and VS generators implicitly append ${CMAKE_CFG_INTDIR} to the library paths for us
# fortunately both windows and darwin are case insensitive filesystems so this works.
set(ARCH_PREBUILT_LINK_DIRS "${ARCH_PREBUILT_DIRS}")
else(WINDOWS OR ${CMAKE_GENERATOR} MATCHES "Xcode")
# else block is for linux and any other makefile based generators
string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_LOWER)
set(ARCH_PREBUILT_LINK_DIRS ${ARCH_PREBUILT_DIRS}/${CMAKE_BUILD_TYPE_LOWER})
endif(WINDOWS OR ${CMAKE_GENERATOR} MATCHES "Xcode")
# Autobuild packages must provide 'release' versions of libraries, but may provide versions for
# specific build types. AUTOBUILD_LIBS_INSTALL_DIRS lists first the build type directory and then
# the 'release' directory (as a default fallback).
# *NOTE - we have to take special care to use CMAKE_CFG_INTDIR on IDE generators (like mac and
# windows) and CMAKE_BUILD_TYPE on Makefile based generators (like linux). The reason for this is
# that CMAKE_BUILD_TYPE is essentially meaningless at configuration time for IDE generators and
# CMAKE_CFG_INTDIR is meaningless at build time for Makefile generators
if(GEN_IS_MULTI_CONFIG)
# the cmake xcode and VS generators implicitly append ${CMAKE_CFG_INTDIR} to the library paths for us
# fortunately both windows and darwin are case insensitive filesystems so this works.
set(AUTOBUILD_LIBS_INSTALL_DIRS "${AUTOBUILD_INSTALL_DIR}/lib/")
else()
# else block is for linux and any other makefile based generators
string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_LOWER)
set(AUTOBUILD_LIBS_INSTALL_DIRS ${AUTOBUILD_INSTALL_DIR}/lib/${CMAKE_BUILD_TYPE_LOWER})
endif()
if (NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Release")
# When we're building something other than Release, append the
# packages/lib/release directory to deal with autobuild packages that don't
# provide (e.g.) lib/debug libraries.
list(APPEND ARCH_PREBUILT_LINK_DIRS ${ARCH_PREBUILT_DIRS_RELEASE})
endif (NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Release")
endif (NOT STANDALONE)
if (NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Release")
# When we're building something other than Release, append the
# packages/lib/release directory to deal with autobuild packages that don't
# provide (e.g.) lib/debug libraries.
list(APPEND AUTOBUILD_LIBS_INSTALL_DIRS ${ARCH_PREBUILT_DIRS_RELEASE})
endif (NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Release")
link_directories(${ARCH_PREBUILT_LINK_DIRS})
link_directories(${AUTOBUILD_LIBS_INSTALL_DIRS})
if (LINUX)
set(DL_LIBRARY dl)
set(RT_LIBRARY rt)
set(PTHREAD_LIBRARY pthread)
else (LINUX)
set(DL_LIBRARY "")
set(RT_LIBRARY "")
set(PTHREAD_LIBRARY "")
endif (LINUX)
@@ -41,6 +60,7 @@ if (WINDOWS)
set(WINDOWS_LIBRARIES
advapi32
shell32
ole32
ws2_32
mswsock
psapi
@@ -55,6 +75,6 @@ else (WINDOWS)
set(WINDOWS_LIBRARIES "")
endif (WINDOWS)
mark_as_advanced(DL_LIBRARY PTHREAD_LIBRARY WINDOWS_LIBRARIES)
mark_as_advanced(DL_LIBRARY RT_LIBRARY PTHREAD_LIBRARY WINDOWS_LIBRARIES)
endif(NOT DEFINED ${CMAKE_CURRENT_LIST_FILE}_INCLUDED)

View File

@@ -7,7 +7,11 @@ if (STANDALONE)
message(STATUS "Building without N-DoF joystick support")
endif(NOT NDOF_FOUND)
else (STANDALONE)
use_prebuilt_binary(ndofdev)
if (WINDOWS OR DARWIN)
use_prebuilt_binary(libndofdev)
elseif (LINUX)
use_prebuilt_binary(libndofdev-open)
endif (WINDOWS OR DARWIN)
if (WINDOWS)
set(NDOF_LIBRARY libndofdev)
@@ -15,7 +19,11 @@ else (STANDALONE)
set(NDOF_LIBRARY ndofdev)
endif (WINDOWS)
set(NDOF_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/ndofdev)
if (WINDOWS)
set(NDOF_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include)
else (WINDOWS)
set(NDOF_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/ndofdev)
endif (WINDOWS)
set(NDOF_FOUND 1)
endif (STANDALONE)
@@ -23,6 +31,8 @@ if (NDOF_FOUND)
add_definitions(-DLIB_NDOF=1)
include_directories(${NDOF_INCLUDE_DIR})
else (NDOF_FOUND)
message(STATUS "Building without N-DoF joystick support")
set(NDOF_INCLUDE_DIR "")
set(NDOF_LIBRARY "")
endif (NDOF_FOUND)

19
indra/cmake/NVAPI.cmake Normal file
View File

@@ -0,0 +1,19 @@
# -*- cmake -*-
include(Prebuilt)
include(Variables)
if (USE_NVAPI)
if (WINDOWS)
use_prebuilt_binary(nvapi)
if (ADDRESS_SIZE EQUAL 32)
set(NVAPI_LIBRARY nvapi)
elseif (ADDRESS_SIZE EQUAL 64)
set(NVAPI_LIBRARY nvapi64)
endif (ADDRESS_SIZE EQUAL 32)
else (WINDOWS)
set(NVAPI_LIBRARY "")
endif (WINDOWS)
else (USE_NVAPI)
set(NVAPI_LIBRARY "")
endif (USE_NVAPI)

View File

@@ -9,21 +9,25 @@ else (LINUX)
endif (LINUX)
if (OPENAL)
set(OPENAL_LIB_INCLUDE_DIRS "${LIBS_PREBUILT_DIR}/include/AL")
if (STANDALONE)
include(FindPkgConfig)
include(FindOpenAL)
pkg_check_modules(OPENAL_LIB REQUIRED openal)
pkg_check_modules(FREEALUT_LIB REQUIRED freealut)
else (STANDALONE)
use_prebuilt_binary(openal-soft)
use_prebuilt_binary(openal)
endif (STANDALONE)
if(WINDOWS)
set(OPENAL_LIBRARIES
openal
OpenAL32
alut
)
set(OPENAL_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
endif (OPENAL)
if (OPENAL)
else()
set(OPENAL_LIBRARIES
openal
alut
)
endif()
message(STATUS "Building with OpenAL audio support")
endif (OPENAL)

View File

@@ -1,7 +1,14 @@
# -*- cmake -*-
include(Variables)
include(Prebuilt)
if (NOT (STANDALONE OR DARWIN))
use_prebuilt_binary(glext)
set(GLEXT_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
set(GLEXT_INCLUDE_DIR
${LIBS_PREBUILT_DIR}/include
${LIBS_PREBUILT_LEGACY_DIR}/include
)
endif (NOT (STANDALONE OR DARWIN))
include(FindOpenGL)

View File

@@ -7,15 +7,17 @@ set(OpenSSL_FIND_REQUIRED ON)
if (STANDALONE OR USE_SYSTEM_OPENSSL)
include(FindOpenSSL)
else (STANDALONE OR USE_SYSTEM_OPENSSL)
use_prebuilt_binary(openSSL)
use_prebuilt_binary(openssl)
if (WINDOWS)
set(OPENSSL_LIBRARIES ssleay32 libeay32)
set(OPENSSL_LIBRARIES libssl libcrypto)
else (WINDOWS)
set(OPENSSL_LIBRARIES ssl)
endif (WINDOWS)
set(OPENSSL_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
set(OPENSSL_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
endif (STANDALONE OR USE_SYSTEM_OPENSSL)
if (LINUX OR DARWIN)
if (LINUX)
set(CRYPTO_LIBRARIES crypto dl)
elseif (DARWIN)
set(CRYPTO_LIBRARIES crypto)
endif (LINUX OR DARWIN)
endif (LINUX)

View File

@@ -9,11 +9,28 @@ if (STANDALONE)
else (STANDALONE)
use_prebuilt_binary(libpng)
if (WINDOWS)
set(PNG_LIBRARIES libpng15)
set(PNG_LIBRARIES libpng16)
elseif(DARWIN)
set(PNG_LIBRARIES png15)
else(LINUX)
set(PNG_LIBRARIES png15)
if (CMAKE_SIZEOF_VOID_P EQUAL 4) # Singu TODO: update png
set(PNG_LIBRARIES png15)
else ()
#
# When we have updated static libraries in competition with older
# shared libraries and we want the former to win, we need to do some
# extra work. The *_PRELOAD_ARCHIVES settings are invoked early
# and will pull in the entire archive to the binary giving it
# priority in symbol resolution. Beware of cmake moving the
# achive load itself to another place on the link command line. If
# that happens, you can try something like -Wl,-lpng16 here to hide
# the archive. Also be aware that the linker will not tolerate a
# second whole-archive load of the archive. See viewer's
# CMakeLists.txt for more information.
#
set(PNG_PRELOAD_ARCHIVES -Wl,--whole-archive png16 -Wl,--no-whole-archive)
set(PNG_LIBRARIES png16)
endif ()
endif()
set(PNG_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/)
set(PNG_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/libpng16)
endif (STANDALONE)

View File

@@ -3,14 +3,62 @@
if(NOT DEFINED ${CMAKE_CURRENT_LIST_FILE}_INCLUDED)
set(${CMAKE_CURRENT_LIST_FILE}_INCLUDED "YES")
include(FindAutobuild)
if(INSTALL_PROPRIETARY)
include(FindSCP)
endif(INSTALL_PROPRIETARY)
set(PREBUILD_TRACKING_DIR ${AUTOBUILD_INSTALL_DIR}/cmake_tracking)
# For the library installation process;
# see cmake/Prebuild.cmake for the counterpart code.
if ("${CMAKE_SOURCE_DIR}/../autobuild.xml" IS_NEWER_THAN "${PREBUILD_TRACKING_DIR}/sentinel_installed")
file(MAKE_DIRECTORY ${PREBUILD_TRACKING_DIR})
file(WRITE ${PREBUILD_TRACKING_DIR}/sentinel_installed "0")
endif ("${CMAKE_SOURCE_DIR}/../autobuild.xml" IS_NEWER_THAN "${PREBUILD_TRACKING_DIR}/sentinel_installed")
# The use_prebuilt_binary macro handles automated installation of package
# dependencies using autobuild. The goal is that 'autobuild install' should
# only be run when we know we need to install a new package. This should be
# the case in a clean checkout, or if autobuild.xml has been updated since the
# last run (encapsulated by the file ${PREBUILD_TRACKING_DIR}/sentinel_installed),
# or if a previous attempt to install the package has failed (the exit status
# of previous attempts is serialized in the file
# ${PREBUILD_TRACKING_DIR}/${_binary}_installed)
macro (use_prebuilt_binary _binary)
if(NOT STANDALONE)
get_property(PREBUILT_PACKAGES TARGET prepare PROPERTY PREBUILT)
list(FIND PREBUILT_PACKAGES ${_binary} _index)
if(_index LESS 0)
set_property(TARGET prepare APPEND PROPERTY PREBUILT ${_binary})
endif(_index LESS 0)
endif(NOT STANDALONE)
if (NOT DEFINED USESYSTEMLIBS_${_binary})
set(USESYSTEMLIBS_${_binary} ${USESYSTEMLIBS})
endif (NOT DEFINED USESYSTEMLIBS_${_binary})
if (NOT USESYSTEMLIBS_${_binary})
if("${${_binary}_installed}" STREQUAL "" AND EXISTS "${PREBUILD_TRACKING_DIR}/${_binary}_installed")
file(READ ${PREBUILD_TRACKING_DIR}/${_binary}_installed "${_binary}_installed")
if(DEBUG_PREBUILT)
message(STATUS "${_binary}_installed: \"${${_binary}_installed}\"")
endif(DEBUG_PREBUILT)
endif("${${_binary}_installed}" STREQUAL "" AND EXISTS "${PREBUILD_TRACKING_DIR}/${_binary}_installed")
if(${PREBUILD_TRACKING_DIR}/sentinel_installed IS_NEWER_THAN ${PREBUILD_TRACKING_DIR}/${_binary}_installed OR NOT ${${_binary}_installed} EQUAL 0)
if(DEBUG_PREBUILT)
message(STATUS "cd ${CMAKE_SOURCE_DIR} && ${AUTOBUILD_EXECUTABLE} install
--install-dir=${AUTOBUILD_INSTALL_DIR}
${_binary} ")
endif(DEBUG_PREBUILT)
execute_process(COMMAND "${AUTOBUILD_EXECUTABLE}"
install
--install-dir=${AUTOBUILD_INSTALL_DIR}
${_binary}
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
RESULT_VARIABLE ${_binary}_installed
)
file(WRITE ${PREBUILD_TRACKING_DIR}/${_binary}_installed "${${_binary}_installed}")
endif(${PREBUILD_TRACKING_DIR}/sentinel_installed IS_NEWER_THAN ${PREBUILD_TRACKING_DIR}/${_binary}_installed OR NOT ${${_binary}_installed} EQUAL 0)
if(NOT ${_binary}_installed EQUAL 0)
message(FATAL_ERROR
"Failed to download or unpack prebuilt '${_binary}'."
" Process returned ${${_binary}_installed}.")
endif (NOT ${_binary}_installed EQUAL 0)
endif (NOT USESYSTEMLIBS_${_binary})
endmacro (use_prebuilt_binary _binary)
endif(NOT DEFINED ${CMAKE_CURRENT_LIST_FILE}_INCLUDED)

View File

@@ -1,7 +1,7 @@
# -*- cmake -*-
include(Prebuilt)
set(PULSEAUDIO ON CACHE BOOL "Build with PulseAudio support, if available.")
set(PULSEAUDIO OFF CACHE BOOL "Build with PulseAudio support, if available.")
if (PULSEAUDIO)
if (STANDALONE)
@@ -13,7 +13,7 @@ if (PULSEAUDIO)
use_prebuilt_binary(pulseaudio)
set(PULSEAUDIO_FOUND ON FORCE BOOL)
set(PULSEAUDIO_INCLUDE_DIRS
${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include
${LIBS_PREBUILT_DIR}/include
)
# We don't need to explicitly link against pulseaudio itself, because
# the viewer probes for the system's copy at runtime.

View File

@@ -5,25 +5,33 @@ set(PYTHONINTERP_FOUND)
if (WINDOWS)
# On Windows, explicitly avoid Cygwin Python.
find_program(PYTHON_EXECUTABLE
NAMES python25.exe python23.exe python.exe
NO_DEFAULT_PATH # added so that cmake does not find cygwin python
PATHS
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.7\\InstallPath]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.6\\InstallPath]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.5\\InstallPath]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.4\\InstallPath]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.3\\InstallPath]
[HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\2.7\\InstallPath]
[HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\2.6\\InstallPath]
[HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\2.5\\InstallPath]
[HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\2.4\\InstallPath]
[HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\2.3\\InstallPath]
)
if (DEFINED ENV{VIRTUAL_ENV})
find_program(PYTHON_EXECUTABLE
NAMES python.exe
PATHS
"$ENV{VIRTUAL_ENV}\\scripts"
NO_DEFAULT_PATH
)
else()
find_program(PYTHON_EXECUTABLE
NAMES python25.exe python23.exe python.exe
NO_DEFAULT_PATH # added so that cmake does not find cygwin python
PATHS
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.7\\InstallPath]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.6\\InstallPath]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.5\\InstallPath]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.4\\InstallPath]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.3\\InstallPath]
[HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\2.7\\InstallPath]
[HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\2.6\\InstallPath]
[HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\2.5\\InstallPath]
[HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\2.4\\InstallPath]
[HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\2.3\\InstallPath]
)
endif()
elseif (EXISTS /etc/arch-release)
# On Archlinux, use Python 2
elseif (EXISTS /usr/bin/python2)
# if this is there, use it
find_program(PYTHON_EXECUTABLE python2 PATHS /usr/bin)

View File

@@ -1,12 +0,0 @@
# -*- cmake -*-
include(Prebuilt)
if (STANDALONE)
set(Qt4_FIND_REQUIRED ON)
include(FindQt4)
find_package(Qt4 4.7.0 COMPONENTS QtCore QtGui QtNetwork QtOpenGL QtWebKit REQUIRED)
include(${QT_USE_FILE})
add_definitions(${QT_DEFINITIONS})
endif (STANDALONE)

View File

@@ -1,46 +0,0 @@
# -*- cmake -*-
if(INSTALL_PROPRIETARY)
include(Prebuilt)
use_prebuilt_binary(quicktime)
endif(INSTALL_PROPRIETARY)
if (DARWIN)
include(CMakeFindFrameworks)
find_library(QUICKTIME_LIBRARY QuickTime)
elseif (WINDOWS AND WORD_SIZE EQUAL 32)
set(QUICKTIME_SDK_DIR "$ENV{PROGRAMFILES}/QuickTime SDK"
CACHE PATH "Location of the QuickTime SDK.")
find_library(DEBUG_QUICKTIME_LIBRARY qtmlclient
PATHS
${ARCH_PREBUILT_DIRS_DEBUG}
"${QUICKTIME_SDK_DIR}\\libraries"
)
find_library(RELEASE_QUICKTIME_LIBRARY qtmlclient
PATHS
${ARCH_PREBUILT_DIRS_RELEASE}
"${QUICKTIME_SDK_DIR}\\libraries"
)
if (DEBUG_QUICKTIME_LIBRARY AND RELEASE_QUICKTIME_LIBRARY)
set(QUICKTIME_LIBRARY
optimized ${RELEASE_QUICKTIME_LIBRARY}
debug ${DEBUG_QUICKTIME_LIBRARY}
)
endif (DEBUG_QUICKTIME_LIBRARY AND RELEASE_QUICKTIME_LIBRARY)
include_directories(
${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/quicktime
"${QUICKTIME_SDK_DIR}\\CIncludes"
)
endif (DARWIN)
mark_as_advanced(QUICKTIME_LIBRARY)
if (QUICKTIME_LIBRARY)
set(QUICKTIME ON CACHE BOOL "Build with QuickTime streaming media support.")
endif (QUICKTIME_LIBRARY)

View File

@@ -1,20 +0,0 @@
#This cmake script is meant to be run as a build time custom command.
#The script is run using cmake w/ the -P option.
# parameters are passed to this scripts execution with the -D option.
# A full command line would look like this:
# cmake -D LD_LIBRARY_PATH=~/checkout/libraries -D TEST_CMD=./llunit_test -D ARGS=--touch=llunit_test_ok.txt -P RunBuildTest.cmake
# Parameters:
# LD_LIBRARY_PATH: string, What to set the LD_LIBRARY_PATH env var.
# TEST_CMD: string list, command to run the unit test with, followed by its args.
set(ENV{LD_LIBRARY_PATH} ${LD_LIBRARY_PATH})
#message("Running: ${TEST_CMD}")
execute_process(
COMMAND ${TEST_CMD}
RESULT_VARIABLE RES
)
if(NOT ${RES} STREQUAL 0)
message(STATUS "Failure running: ${TEST_CMD}")
message(FATAL_ERROR "Error: ${RES}")
endif(NOT ${RES} STREQUAL 0)

View File

@@ -8,7 +8,7 @@ macro (check_message_template _target)
PRE_LINK
COMMAND ${PYTHON_EXECUTABLE}
ARGS ${SCRIPTS_DIR}/template_verifier.py
--mode=development --cache_master
COMMENT "Verifying message template"
--mode=development --cache_master --master_url=${TEMPLATE_VERIFIER_MASTER_URL} ${TEMPLATE_VERIFIER_OPTIONS}
COMMENT "Verifying message template - See http://wiki.secondlife.com/wiki/Template_verifier.py"
)
endmacro (check_message_template)

View File

@@ -1,10 +1,9 @@
# -*- cmake -*-
include(Prebuilt)
include(FreeType)
if (STANDALONE)
if (LINUX)
include(FindPkgConfig)
if (LINUX)
set(PKGCONFIG_PACKAGES
atk
cairo
@@ -20,8 +19,8 @@ if (STANDALONE)
pangox
pangoxft
sdl
x11
)
endif (LINUX)
foreach(pkg ${PKGCONFIG_PACKAGES})
pkg_check_modules(${pkg} REQUIRED ${pkg})
@@ -30,40 +29,6 @@ if (STANDALONE)
list(APPEND UI_LIBRARIES ${${pkg}_LIBRARIES})
add_definitions(${${pkg}_CFLAGS_OTHERS})
endforeach(pkg)
else (STANDALONE)
if (LINUX)
use_prebuilt_binary(glib) # gtk-etc needs glib
use_prebuilt_binary(gtk-atk-pango-glib)
set(UI_LIBRARIES
atk-1.0
X11
gdk-x11-2.0
gdk_pixbuf-2.0
Xinerama
glib-2.0
gio-2.0
gmodule-2.0
gobject-2.0
gthread-2.0
gtk-x11-2.0
pango-1.0
pangoft2-1.0
pangox-1.0
pangoxft-1.0
pangocairo-1.0
)
endif (LINUX)
include_directories (
${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include
${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/cairo
${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/pixman-1
)
foreach(include ${${LL_ARCH}_INCLUDES})
include_directories(${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/${include})
endforeach(include)
endif (STANDALONE)
if (LINUX)
add_definitions(-DLL_GTK=1 -DLL_X11=1)
endif (LINUX)

View File

@@ -0,0 +1,20 @@
# -*- cmake -*-
set(URIPARSER_FIND_QUIETLY ON)
set(URIPARSER_FIND_REQUIRED ON)
include(Prebuilt)
if (USESYSTEMLIBS)
include(FindURIPARSER)
else (USESYSTEMLIBS)
use_prebuilt_binary(uriparser)
if (WINDOWS)
set(URIPARSER_LIBRARY
debug uriparserd
optimized uriparser)
elseif (DARWIN OR LINUX)
set(URIPARSER_LIBRARY uriparser)
endif (WINDOWS)
set(URIPARSER_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/uriparser)
endif (USESYSTEMLIBS)

View File

@@ -11,6 +11,6 @@ if (INSTALL)
set(APP_BIN_DIR bin)
endif(NOT APP_BIN_DIR)
if(NOT APP_SHARE_DIR)
set(APP_SHARE_DIR share/secondlife-${viewer_VERSION})
set(APP_SHARE_DIR share/secondlife-${${ROOT_PROJECT_NAME}_VERSION})
endif(NOT APP_SHARE_DIR)
endif (INSTALL)

View File

@@ -9,9 +9,7 @@
# LINUX - Linux
# WINDOWS - Windows
# Relative and absolute paths to subtrees.
if(NOT DEFINED ${CMAKE_CURRENT_LIST_FILE}_INCLUDED)
set(${CMAKE_CURRENT_LIST_FILE}_INCLUDED "YES")
@@ -19,63 +17,153 @@ if(NOT DEFINED COMMON_CMAKE_DIR)
set(COMMON_CMAKE_DIR "${CMAKE_SOURCE_DIR}/cmake")
endif(NOT DEFINED COMMON_CMAKE_DIR)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# https://blog.kitware.com/upcoming-in-cmake-2-8-12-osx-rpath-support/
set(CMAKE_MACOSX_RPATH ON)
set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH OFF)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
get_property(_isMultiConfig GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
option(GEN_IS_MULTI_CONFIG "" ${_isMultiConfig})
mark_as_advanced(GEN_IS_MULTI_CONFIG)
set(LIBS_CLOSED_PREFIX)
set(LIBS_OPEN_PREFIX)
set(SCRIPTS_PREFIX ../scripts)
set(VIEWER_PREFIX)
set(INTEGRATION_TESTS_PREFIX)
set(LIBS_CLOSED_DIR ${CMAKE_SOURCE_DIR}/${LIBS_CLOSED_PREFIX})
set(LIBS_OPEN_DIR ${CMAKE_SOURCE_DIR}/${LIBS_OPEN_PREFIX})
set(SCRIPTS_DIR ${CMAKE_SOURCE_DIR}/${SCRIPTS_PREFIX})
set(VIEWER_DIR ${CMAKE_SOURCE_DIR}/${VIEWER_PREFIX})
option(LL_TESTS "Build and run unit and integration tests (disable for build timing runs to reduce variation" OFF)
option(BUILD_TESTING "Build test suite" OFF)
option(UNATTENDED "Disable use of uneeded tooling for automated builds" OFF)
# Compiler and toolchain options
option(USESYSTEMLIBS "Use libraries from your system rather than Linden-supplied prebuilt libraries." OFF)
option(STANDALONE "Use libraries from your system rather than Linden-supplied prebuilt libraries." OFF)
if (USESYSTEMLIBS)
set(STANDALONE ON)
elseif (STANDALONE)
set(USESYSTEMLIBS ON)
endif (USESYSTEMLIBS)
option(INCREMENTAL_LINK "Use incremental linking on win32 builds (enable for faster links on some machines)" OFF)
option(USE_PRECOMPILED_HEADERS "Enable use of precompiled header directives where supported." ON)
option(USE_LTO "Enable global and interprocedural optimizations" OFF)
# Configure crash reporting
option(USE_CRASHPAD "Build support for crashpad reporting engine" OFF)
if (DEFINED ENV{VIEWER_USE_CRASHPAD})
set(USE_CRASHPAD $ENV{VIEWER_USE_CRASHPAD})
endif()
if (DEFINED ENV{VIEWER_CRASHPAD_URL})
set(CRASHPAD_URL $ENV{VIEWER_CRASHPAD_URL} CACHE STRING "Viewer Channel Base Name")
else()
set(CRASHPAD_URL "" CACHE STRING "Crashpad endpoint url")
endif()
set(VIEWER_SYMBOL_FILE "" CACHE STRING "Name of tarball into which to place symbol files")
# Media Plugins
option(ENABLE_MEDIA_PLUGINS "Turn off building media plugins if they are imported by third-party library mechanism" ON)
option(LIBVLCPLUGIN "Turn off building support for libvlc plugin" ON)
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(LIBVLCPLUGIN OFF)
endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
# Mallocs
set(DISABLE_TCMALLOC OFF CACHE BOOL "Disable linkage of TCMalloc. (64bit builds automatically disable TCMalloc)")
set(LL_TESTS OFF CACHE BOOL "Build and run unit and integration tests (disable for build timing runs to reduce variation)")
set(DISABLE_FATAL_WARNINGS TRUE CACHE BOOL "Set this to FALSE to enable fatal warnings.")
set(LIBS_PREBUILT_DIR ${CMAKE_SOURCE_DIR}/../libraries CACHE PATH
# Audio Engines
option(USE_FMODSTUDIO "Build with support for the FMOD Studio audio engine" OFF)
# Proprietary Library Features
option(USE_NVAPI "Use nvapi driver interface library" OFF)
if(LIBS_CLOSED_DIR)
file(TO_CMAKE_PATH "${LIBS_CLOSED_DIR}" LIBS_CLOSED_DIR)
else(LIBS_CLOSED_DIR)
set(LIBS_CLOSED_DIR ${CMAKE_SOURCE_DIR}/${LIBS_CLOSED_PREFIX})
endif(LIBS_CLOSED_DIR)
if(LIBS_COMMON_DIR)
file(TO_CMAKE_PATH "${LIBS_COMMON_DIR}" LIBS_COMMON_DIR)
else(LIBS_COMMON_DIR)
set(LIBS_COMMON_DIR ${CMAKE_SOURCE_DIR}/${LIBS_OPEN_PREFIX})
endif(LIBS_COMMON_DIR)
set(LIBS_OPEN_DIR ${LIBS_COMMON_DIR})
set(SCRIPTS_DIR ${CMAKE_SOURCE_DIR}/${SCRIPTS_PREFIX})
set(VIEWER_DIR ${CMAKE_SOURCE_DIR}/${VIEWER_PREFIX})
set(AUTOBUILD_INSTALL_DIR ${CMAKE_BINARY_DIR}/packages)
set(LIBS_PREBUILT_DIR ${AUTOBUILD_INSTALL_DIR} CACHE PATH
"Location of prebuilt libraries.")
if (${CMAKE_SYSTEM_NAME} MATCHES "Windows")
if (EXISTS ${CMAKE_SOURCE_DIR}/Server.cmake)
# We use this as a marker that you can try to use the proprietary libraries.
set(INSTALL_PROPRIETARY ON CACHE BOOL "Install proprietary binaries")
endif (EXISTS ${CMAKE_SOURCE_DIR}/Server.cmake)
set(TEMPLATE_VERIFIER_OPTIONS "" CACHE STRING "Options for scripts/template_verifier.py")
set(TEMPLATE_VERIFIER_MASTER_URL "https://git.alchemyviewer.org/alchemy/master-message-template/raw/master/message_template.msg" CACHE STRING "Location of the master message template")
if (NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING
"Build type. One of: Debug Release RelWithDebInfo" FORCE)
endif (NOT CMAKE_BUILD_TYPE)
# If someone has specified an address size, use that to determine the
# architecture. Otherwise, let the architecture specify the address size.
if (ADDRESS_SIZE EQUAL 32)
#message(STATUS "ADDRESS_SIZE is 32")
set(ARCH i686)
elseif (ADDRESS_SIZE EQUAL 64)
#message(STATUS "ADDRESS_SIZE is 64")
set(ARCH x86_64)
else (ADDRESS_SIZE EQUAL 32)
#message(STATUS "ADDRESS_SIZE is UNDEFINED")
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
message(STATUS "Size of void pointer is detected as 8; ARCH is 64-bit")
set(ARCH x86_64)
set(ADDRESS_SIZE 64)
elseif (CMAKE_SIZEOF_VOID_P EQUAL 4)
message(STATUS "Size of void pointer is detected as 4; ARCH is 32-bit")
set(ADDRESS_SIZE 32)
set(ARCH i686)
else()
message(FATAL_ERROR "Unkown Architecture!")
endif()
endif (ADDRESS_SIZE EQUAL 32)
if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
set(WINDOWS ON BOOL FORCE)
if (WORD_SIZE EQUAL 32)
set(ARCH i686)
if (ADDRESS_SIZE EQUAL 64)
set(LL_ARCH ${ARCH}_win64)
set(LL_ARCH_DIR ${ARCH}-win64)
elseif (ADDRESS_SIZE EQUAL 32)
set(LL_ARCH ${ARCH}_win32)
set(LL_ARCH_DIR ${ARCH}-win32)
elseif (WORD_SIZE EQUAL 64)
set(ARCH x86_64)
set(LL_ARCH ${ARCH}_win)
set(LL_ARCH_DIR ${ARCH}-win)
endif (WORD_SIZE EQUAL 32)
endif (${CMAKE_SYSTEM_NAME} MATCHES "Windows")
else()
message(FATAL_ERROR "Unkown Architecture!")
endif ()
endif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(LINUX ON BOOl FORCE)
set(LINUX ON BOOL FORCE)
# If someone has specified a word size, use that to determine the
# architecture. Otherwise, let the architecture specify the word size.
if (WORD_SIZE EQUAL 32)
set(ARCH i686)
elseif (WORD_SIZE EQUAL 64)
set(ARCH x86_64)
else (WORD_SIZE EQUAL 32)
if(CMAKE_SIZEOF_VOID_P MATCHES 4)
set(ARCH i686)
set(WORD_SIZE 32)
else(CMAKE_SIZEOF_VOID_P MATCHES 4)
set(ARCH x86_64)
set(WORD_SIZE 64)
endif(CMAKE_SIZEOF_VOID_P MATCHES 4)
endif (WORD_SIZE EQUAL 32)
if (NOT STANDALONE AND MULTIARCH_HACK)
if (WORD_SIZE EQUAL 32)
if (ADDRESS_SIZE EQUAL 32)
set(DEB_ARCHITECTURE i386)
set(FIND_LIBRARY_USE_LIB64_PATHS OFF)
set(CMAKE_SYSTEM_LIBRARY_PATH /usr/lib32 ${CMAKE_SYSTEM_LIBRARY_PATH})
else (WORD_SIZE EQUAL 32)
else (ADDRESS_SIZE EQUAL 32)
set(DEB_ARCHITECTURE amd64)
set(FIND_LIBRARY_USE_LIB64_PATHS ON)
endif (WORD_SIZE EQUAL 32)
endif (ADDRESS_SIZE EQUAL 32)
execute_process(COMMAND dpkg-architecture -a${DEB_ARCHITECTURE} -qDEB_HOST_MULTIARCH
RESULT_VARIABLE DPKG_RESULT
@@ -88,66 +176,107 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
endif (DPKG_RESULT EQUAL 0)
include(ConfigurePkgConfig)
endif (NOT STANDALONE AND MULTIARCH_HACK)
set(LL_ARCH ${ARCH}_linux)
set(LL_ARCH_DIR ${ARCH}-linux)
endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(DARWIN 1)
set(DARWIN ON BOOL FORCE)
if(${CMAKE_GENERATOR} MATCHES "Xcode")
#SDK Compiler and Deployment targets for XCode
if (${XCODE_VERSION} VERSION_LESS 4.0.0)
set(CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX10.5.sdk)
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.5)
else (${XCODE_VERSION} VERSION_LESS 4.0.0)
set(CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX10.6.sdk)
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.6)
endif (${XCODE_VERSION} VERSION_LESS 4.0.0)
else(${CMAKE_GENERATOR} MATCHES "Xcode")
set(CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX10.6.sdk)
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.6)
endif(${CMAKE_GENERATOR} MATCHES "Xcode")
# Architecture
set(CMAKE_OSX_SYSROOT macosx10.14)
set(CMAKE_OSX_ARCHITECTURES "x86_64")
set(CMAKE_XCODE_ATTRIBUTE_VALID_ARCHS "x86_64")
set(CMAKE_XCODE_ATTRIBUTE_GCC_VERSION "com.apple.compilers.llvmgcc42")
# Build Options
set(CMAKE_XCODE_ATTRIBUTE_GCC_VERSION "com.apple.compilers.llvm.clang.1_0")
set(CMAKE_XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT[variant=Debug] "dwarf")
set(CMAKE_XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT[variant=Release] "dwarf-with-dsym")
set(CMAKE_XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT dwarf-with-dsym)
# Deployment
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.13)
# Build only for i386 by default, system default on MacOSX 10.6 is x86_64
set(CMAKE_OSX_ARCHITECTURES i386)
set(ARCH i386)
set(WORD_SIZE 32)
# Linking
set(CMAKE_XCODE_ATTRIBUTE_DEAD_CODE_STRIPPING YES)
# Apple Clang - Code Gen
set(CMAKE_XCODE_ATTRIBUTE_GCC_GENERATE_DEBUGGING_SYMBOLS[variant=Release] YES)
set(CMAKE_XCODE_ATTRIBUTE_CLANG_X86_VECTOR_INSTRUCTIONS sse4.1)
set(CMAKE_XCODE_ATTRIBUTE_GCC_STRICT_ALIASING NO)
set(CMAKE_XCODE_ATTRIBUTE_GCC_OPTIMIZATION_LEVEL[variant=Debug] 0)
set(CMAKE_XCODE_ATTRIBUTE_GCC_OPTIMIZATION_LEVEL[variant=Release] 3)
set(CMAKE_XCODE_ATTRIBUTE_GCC_FAST_MATH NO)
# Apple Clang - Custom Compiler Flags
set(CMAKE_XCODE_ATTRIBUTE_WARNING_CFLAGS "-Wall -Wextra -Wno-reorder -Wno-sign-compare -Wno-ignored-qualifiers -Wno-unused-local-typedef -Wno-unused-parameter")
# Apple Clang - Language - C++
set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LANGUAGE_STANDARD c++14)
set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++")
# Apple Clang - Warning Policies
set(CMAKE_XCODE_ATTRIBUTE_GCC_TREAT_WARNINGS_AS_ERRORS YES)
set(LL_ARCH ${ARCH}_darwin)
set(LL_ARCH_DIR universal-darwin)
endif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
if (WINDOWS AND WORD_SIZE EQUAL 32)
set(PREBUILT_TYPE windows)
elseif (WINDOWS AND WORD_SIZE EQUAL 64)
set(PREBUILT_TYPE windows64)
elseif(DARWIN)
set(PREBUILT_TYPE darwin)
elseif(LINUX AND WORD_SIZE EQUAL 32)
set(PREBUILT_TYPE linux)
elseif(LINUX AND WORD_SIZE EQUAL 64)
set(PREBUILT_TYPE linux64)
endif(WINDOWS AND WORD_SIZE EQUAL 32)
# Platform specific
if (WINDOWS)
option(LLWINDOW_SDL2 "Use SDL2 for window and input handling. Windows only" OFF)
endif()
# Default deploy grid
set(GRID agni CACHE STRING "Target Grid")
set(VIEWER_CHANNEL "Singularity" CACHE STRING "Viewer Channel Name")
set(VIEWER_LOGIN_CHANNEL ${VIEWER_CHANNEL} CACHE STRING "Fake login channel for A/B Testing")
set(VIEWER_BRANDING_ID "singularity" CACHE STRING "Viewer branding id (currently secondlife|snowglobe)")
if (DEFINED ENV{VIEWER_CHANNEL_BASE})
set(VIEWER_CHANNEL_BASE $ENV{VIEWER_CHANNEL_BASE} CACHE STRING "Viewer Channel Base Name" FORCE)
else()
set(VIEWER_CHANNEL_BASE "Singularity" CACHE STRING "Viewer Channel Base Name")
endif()
# *TODO: break out proper Branding-secondlife.cmake, Branding-snowglobe.cmake, etc
set(VIEWER_BRANDING_NAME "Singularity")
set(VIEWER_BRANDING_NAME_CAMELCASE "Singularity")
if (DEFINED ENV{VIEWER_CHANNEL_TYPE})
set(VIEWER_CHANNEL_TYPE $ENV{VIEWER_CHANNEL_TYPE} CACHE STRING "Viewer Channel Type Name" FORCE)
else()
set(VIEWER_CHANNEL_TYPE "Test" CACHE STRING "Viewer Channel Type Name")
endif()
set(STANDALONE OFF CACHE BOOL "Do not use Linden-supplied prebuilt libraries.")
if (DEFINED ENV{VIEWER_CHANNEL_CODENAME})
set(VIEWER_CHANNEL_CODENAME $ENV{VIEWER_CHANNEL_CODENAME} CACHE STRING "Viewer Channel Code Name for Project type" FORCE)
else()
set(VIEWER_CHANNEL_CODENAME "Default" CACHE STRING "Viewer Channel Code Name for Project type")
endif()
if("${VIEWER_CHANNEL_TYPE}" STREQUAL "Project")
set(VIEWER_CHANNEL "${VIEWER_CHANNEL_BASE} ${VIEWER_CHANNEL_TYPE} ${VIEWER_CHANNEL_CODENAME}")
else()
set(VIEWER_CHANNEL "${VIEWER_CHANNEL_BASE} ${VIEWER_CHANNEL_TYPE}")
endif()
string(TOLOWER "${VIEWER_CHANNEL_BASE}" VIEWER_BRANDING_ID)
string(REPLACE " " "-" VIEWER_BRANDING_ID ${VIEWER_BRANDING_ID})
set(VIEWER_BINARY_NAME "${VIEWER_BRANDING_ID}-bin" CACHE STRING
"The name of the viewer executable to create.")
string(REPLACE " " "" VIEWER_CHANNEL_ONEWORD ${VIEWER_CHANNEL})
set(VIEWER_CHANNEL_NOSPACE ${VIEWER_CHANNEL_ONEWORD} CACHE STRING "Prefix used for resulting artifacts.")
option(VIEWER_CHANNEL_GRK "Greek character(s) to represent the viewer channel for support purposes, override only for special branches" "")
if (NOT VIEWER_CHANNEL_GRK)
if (VIEWER_CHANNEL_TYPE MATCHES "Test")
set(VIEWER_CHANNEL_GRK "\\u03C4") # "τ"
elseif (VIEWER_CHANNEL_TYPE MATCHES "Alpha")
set(VIEWER_CHANNEL_GRK "\\u03B1") # "α"
elseif (VIEWER_CHANNEL_TYPE MATCHES "Beta")
set(VIEWER_CHANNEL_GRK "\\u03B2") # "β"
else()
set(VIEWER_CHANNEL_GRK "")
endif ()
endif (NOT VIEWER_CHANNEL_GRK)
option(ENABLE_SIGNING "Enable signing the viewer" OFF)
set(SIGNING_IDENTITY "" CACHE STRING "Specifies the signing identity to use, if necessary.")
source_group("CMake Rules" FILES CMakeLists.txt)

View File

@@ -2,14 +2,7 @@
include(Prebuilt)
if (NOT STANDALONE)
use_prebuilt_binary(vivox)
if(LINUX)
use_prebuilt_binary(libuuid)
if (${ARCH} STREQUAL "x86_64")
use_prebuilt_binary(32bitcompatibilitylibs)
endif (${ARCH} STREQUAL "x86_64")
use_prebuilt_binary(fontconfig)
endif(LINUX)
use_prebuilt_binary(slvoice)
else (NOT STANDALONE)
# Download there even when using standalone.
set(STANDALONE OFF)
@@ -19,3 +12,10 @@ else (NOT STANDALONE)
endif(LINUX AND ${ARCH} STREQUAL "x86_64")
set(STANDALONE ON)
endif(NOT STANDALONE)
if(LINUX)
include(FindPkgConfig)
pkg_check_modules(FONTCONFIG REQUIRED fontconfig)
endif(LINUX)
use_prebuilt_binary(fonts)

View File

@@ -1,62 +0,0 @@
# -*- cmake -*-
include(Linking)
include(Prebuilt)
include(LLQtWebkit)
include(Qt4)
if (STANDALONE)
set(WEBKITLIBPLUGIN OFF CACHE BOOL
"WEBKITLIBPLUGIN support for the llplugin/llmedia test apps.")
else (STANDALONE)
use_prebuilt_binary(llqtwebkit)
set(WEBKITLIBPLUGIN ON CACHE BOOL
"WEBKITLIBPLUGIN support for the llplugin/llmedia test apps.")
endif (STANDALONE)
if (WINDOWS)
set(WEBKIT_PLUGIN_LIBRARIES
debug llqtwebkitd
debug QtWebKitd4
debug QtOpenGLd4
debug QtNetworkd4
debug QtGuid4
debug QtCored4
debug qtmaind
optimized llqtwebkit
optimized QtWebKit4
optimized QtOpenGL4
optimized QtNetwork4
optimized QtGui4
optimized QtCore4
optimized qtmain
)
elseif (DARWIN)
set(WEBKIT_PLUGIN_LIBRARIES
optimized ${ARCH_PREBUILT_DIRS_RELEASE}/libllqtwebkit.dylib
debug ${ARCH_PREBUILT_DIRS_DEBUG}/libllqtwebkit.dylib
)
elseif (LINUX)
if (STANDALONE)
set(WEBKIT_PLUGIN_LIBRARIES ${LLQTWEBKIT_LIBRARY} ${QT_LIBRARIES} ${QT_PLUGIN_LIBRARIES})
else (STANDALONE)
set(WEBKIT_PLUGIN_LIBRARIES
llqtwebkit
QtWebKit
QtOpenGL
QtNetwork
QtGui
QtCore
crypto
ssl
# qgif
# qjpeg
jscore
jpeg
fontconfig
X11
Xrender
Xext
GL
)
endif (STANDALONE)
endif (WINDOWS)

View File

@@ -0,0 +1,17 @@
# - Embeds a specific manifest file in a Windows binary
# Defines the following:
# EMBED_MANIFEST - embed manifest in a windows binary with mt
# Parameters - _target is the target file, type - 1 for EXE, 2 for DLL
MACRO(EMBED_MANIFEST _target type)
ADD_CUSTOM_COMMAND(
TARGET ${_target}
POST_BUILD
COMMAND "mt.exe"
ARGS
-manifest \"${CMAKE_SOURCE_DIR}\\tools\\manifests\\compatibility.manifest\"
-inputresource:\"$<TARGET_FILE:${_target}>\"\;\#${type}
-outputresource:\"$<TARGET_FILE:${_target}>\"\;\#${type}
COMMENT "Adding compatibility manifest to ${_target}"
)
ENDMACRO(EMBED_MANIFEST _target type)

View File

@@ -8,6 +8,13 @@ if (STANDALONE)
include(FindXmlRpcEpi)
else (STANDALONE)
use_prebuilt_binary(xmlrpc-epi)
set(XMLRPCEPI_LIBRARIES xmlrpc-epi)
set(XMLRPCEPI_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
if (WINDOWS)
set(XMLRPCEPI_LIBRARIES
debug xmlrpc-epid
optimized xmlrpc-epi
)
else (WINDOWS)
set(XMLRPCEPI_LIBRARIES xmlrpc-epi)
endif (WINDOWS)
set(XMLRPCEPI_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
endif (STANDALONE)

View File

@@ -13,10 +13,25 @@ else (STANDALONE)
set(ZLIB_LIBRARIES
debug zlibd
optimized zlib)
elseif (LINUX)
#
# When we have updated static libraries in competition with older
# shared libraries and we want the former to win, we need to do some
# extra work. The *_PRELOAD_ARCHIVES settings are invoked early
# and will pull in the entire archive to the binary giving it
# priority in symbol resolution. Beware of cmake moving the
# achive load itself to another place on the link command line. If
# that happens, you can try something like -Wl,-lz here to hide
# the archive. Also be aware that the linker will not tolerate a
# second whole-archive load of the archive. See viewer's
# CMakeLists.txt for more information.
#
set(ZLIB_PRELOAD_ARCHIVES -Wl,--whole-archive z -Wl,--no-whole-archive)
set(ZLIB_LIBRARIES z)
else (WINDOWS)
set(ZLIB_LIBRARIES z)
endif (WINDOWS)
if (WINDOWS OR LINUX)
set(ZLIB_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/zlib)
set(ZLIB_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/zlib)
endif (WINDOWS OR LINUX)
endif (STANDALONE)

View File

@@ -1,30 +1,24 @@
/**
* @file cmake_dummy.cpp
*
* $LicenseInfo:firstyear=2008&license=viewergpl$
*
* Copyright (c) 2008-2009, Linden Research, Inc.
*
* $LicenseInfo:firstyear=2008&license=viewerlgpl$
* Second Life Viewer Source Code
* The source code in this file ("Source Code") is provided by Linden Lab
* to you under the terms of the GNU General Public License, version 2.0
* ("GPL"), unless you have obtained a separate licensing agreement
* ("Other License"), formally executed by you and Linden Lab. Terms of
* the GPL can be found in doc/GPL-license.txt in this distribution, or
* online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
* Copyright (C) 2010, Linden Research, Inc.
*
* There are special exceptions to the terms and conditions of the GPL as
* it is applied to this Source Code. View the full text of the exception
* in the file doc/FLOSS-exception.txt in this software distribution, or
* online at
* http://secondlifegrid.net/programs/open_source/licensing/flossexception
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;
* version 2.1 of the License only.
*
* By copying, modifying or distributing this software, you acknowledge
* that you have read and understood your obligations described above,
* and agree to abide by those obligations.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
* WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
* COMPLETENESS OR PERFORMANCE.
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
* $/LicenseInfo$
*/

View File

@@ -0,0 +1,340 @@
#!/usr/bin/env python2
"""\
@file run_build_test.py
@author Nat Goodspeed
@date 2009-09-03
@brief Helper script to allow CMake to run some command after setting
environment variables.
CMake has commands to run an external program. But remember that each CMake
command must be backed by multiple build-system implementations. Unfortunately
it seems CMake can't promise that every target build system can set specified
environment variables before running the external program of interest.
This helper script is a workaround. It simply sets the requested environment
variables and then executes the program specified on the rest of its command
line.
Example:
python run_build_test.py -DFOO=bar myprog somearg otherarg
sets environment variable FOO=bar, then runs:
myprog somearg otherarg
$LicenseInfo:firstyear=2009&license=viewerlgpl$
Second Life Viewer Source Code
Copyright (C) 2009-2010, Linden Research, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation;
version 2.1 of the License only.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
$/LicenseInfo$
"""
import os
import sys
import errno
import HTMLParser
import re
import signal
import subprocess
import logging
def main(command, arguments=[], libpath=[], vars={}):
"""Pass:
command is the command to be executed
argument is a sequence (e.g. a list) of strings to be passed to command
libpath is a sequence of directory pathnames. These will be appended to
the platform-specific dynamic library search path environment variable.
vars is a dict of arbitrary (var, value) pairs to be added to the
environment before running 'command'.
This function runs the specified command, waits for it to terminate and
returns its return code. This will be negative if the command terminated
with a signal, else it will be the process's specified exit code.
"""
# Handle platform-dependent libpath first.
if sys.platform == "win32":
lpvars = ["PATH"]
elif sys.platform == "darwin":
lpvars = ["LD_LIBRARY_PATH", "DYLD_LIBRARY_PATH"]
elif sys.platform.startswith("linux"):
lpvars = ["LD_LIBRARY_PATH"]
else:
# No idea what the right pathname might be! But only crump if this
# feature is requested.
if libpath:
raise RuntimeError("run_build_test: unknown platform %s" % sys.platform)
lpvars = []
for var in lpvars:
# Split the existing path. Bear in mind that the variable in question
# might not exist; instead of KeyError, just use an empty string.
dirs = os.environ.get(var, "").split(os.pathsep)
# Append the sequence in libpath
log.info("%s += %r" % (var, libpath))
for dir in libpath:
# append system paths at the end
if dir in ('/lib', '/usr/lib'):
dirs.append(dir)
# prepend non-system paths
else:
dirs.insert(0, dir)
# Filter out some useless pieces
clean_dirs = []
for dir in dirs:
if dir and dir not in ('', '.'):
clean_dirs.append(dir)
# Now rebuild the path string. This way we use a minimum of separators
# -- and we avoid adding a pointless separator when libpath is empty.
os.environ[var] = os.pathsep.join(clean_dirs)
log.info("%s = %r" % (var, os.environ[var]))
# Now handle arbitrary environment variables. The tricky part is ensuring
# that all the keys and values we try to pass are actually strings.
if vars:
log.info("Setting: %s" % ("\n".join(["%s=%s" % (key, value) for key, value in vars.iteritems()])))
os.environ.update(dict([(str(key), str(value)) for key, value in vars.iteritems()]))
# Run the child process.
command_list = [command]
command_list.extend(arguments)
log.info("Running: %s" % " ".join(command_list))
# Make sure we see all relevant output *before* child-process output.
sys.stdout.flush()
try:
return subprocess.call(command_list)
except OSError as err:
# If the caller is trying to execute a test program that doesn't
# exist, we want to produce a reasonable error message rather than a
# traceback. This happens when the build is halted by errors, but
# CMake tries to proceed with testing anyway <eyeroll/>. However, do
# NOT attempt to handle any error but "doesn't exist."
if err.errno != errno.ENOENT:
raise
# In practice, the pathnames into CMake's build tree are so long as to
# obscure the name of the test program. Just log its basename.
log.warn("No such program %s; check for preceding build errors" % \
os.path.basename(command[0]))
# What rc should we simulate for missing executable? Windows produces
# 9009.
return 9009
# swiped from vita, sigh, seems like a Bad Idea to introduce dependency
def translate_rc(rc):
"""
Accept an rc encoded as for subprocess.Popen.returncode:
None means still running
int >= 0 means terminated voluntarily with specified rc
int < 0 means terminated by signal (-rc)
Return a string explaining the outcome. In case of a signal, try to
name the corresponding symbol from the 'signal' module.
"""
if rc is None:
return "still running"
if rc >= 0:
return "terminated with rc %s" % rc
if sys.platform.startswith("win"):
# From http://stackoverflow.com/questions/20629027/process-finished-with-exit-code-1073741571
# [-1073741571] is the signed integer representation of Microsoft's
# "stack overflow/stack exhaustion" error code 0xC00000FD.
# Anytime you see strange, large negative exit codes in windows, convert
# them to hex and then look them up in the ntstatus error codes
# http://msdn.microsoft.com/en-us/library/cc704588.aspx
# Python bends over backwards to give you all the integer precision
# you need, avoiding truncation. But only with 32-bit signed ints is
# -1073741571 equivalent to 0xC00000FD! Explicitly truncate before
# converting.
hexrc = "0x%X" % (rc & 0xFFFFFFFF)
# At this point, we're only trying to format the rc to make it easier
# for a human being to understand. Any exception here -- file doesn't
# exist, HTML parsing error, unrecognized table structure, unknown key
# -- should NOT kill the script! It should only cause us to shrug and
# present our caller with the best information available.
try:
table = get_windows_table()
symbol, desc = table[hexrc]
except Exception, err:
log.error("(%s -- carrying on)" % err)
log.error("terminated with rc %s (%s)" % (rc, hexrc))
else:
log.info("terminated with rc %s: %s: %s" % (hexrc, symbol, desc))
else:
# On Posix, negative rc means the child was terminated by signal -rc.
rc = -rc
for attr in dir(signal):
if attr.startswith('SIG') and getattr(signal, attr) == rc:
strc = attr
break
else:
strc = str(rc)
return "terminated by signal %s" % strc
class TableParser(HTMLParser.HTMLParser):
"""
This HTMLParser subclass is designed to parse the table we know exists
in windows-rcs.html, hopefully without building in too much knowledge of
the specific way that table is currently formatted.
"""
# regular expression matching any string containing only whitespace
whitespace = re.compile(r'\s*$')
def __init__(self):
# Because Python 2.x's HTMLParser is an old-style class, we must use
# old-style syntax to forward the __init__() call -- not super().
HTMLParser.HTMLParser.__init__(self)
# this will collect all the data, eventually
self.table = []
# Stack whose top (last item) indicates where to append current
# element data. When empty, don't collect data at all.
self.dest = []
def handle_starttag(self, tag, attrs):
if tag == "table":
# This is the outermost tag we recognize. Collect nested elements
# within self.table.
self.dest.append(self.table)
elif tag in ("tr", "td"):
# Nested elements whose contents we want to capture as sublists.
# To the list currently designated by the top of the dest stack,
# append a new empty sublist.
self.dest[-1].append([])
# Now push THAT new, empty list as the new top of the dest stack.
self.dest.append(self.dest[-1][-1])
elif tag == "p":
# We could handle <p> ... </p> just like <tr> or <td>, but that
# introduces an unnecessary extra level of nesting. Just skip.
pass
else:
# For any tag we don't recognize (notably <th>), push a new, empty
# list to the top of the dest stack. This new list is NOT
# referenced by anything in self.table; thus, when we pop it, any
# data we've collected inside that list will be discarded.
self.dest.append([])
def handle_endtag(self, tag):
# Because we avoid pushing self.dest for <p> in handle_starttag(), we
# must refrain from popping it for </p> here.
if tag != "p":
# For everything else, including unrecognized tags, pop the dest
# stack, reverting to outer collection.
self.dest.pop()
def handle_startendtag(self, tag, attrs):
# The table of interest contains <td> entries of the form:
# <p>0x00000000<br />STATUS_SUCCESS</p>
# The <br/> is very useful -- we definitely want two different data
# items for "0x00000000" and "STATUS_SUCCESS" -- but we don't need or
# want it to push, then discard, an empty list as it would if we let
# the default HTMLParser.handle_startendtag() call handle_starttag()
# followed by handle_endtag(). Just ignore <br/> or any other
# singleton tag.
pass
def handle_data(self, data):
# Outside the <table> of interest, self.dest is empty. Do not bother
# collecting data when self.dest is empty.
# HTMLParser calls handle_data() with every chunk of whitespace
# between tags. That would be lovely if our eventual goal was to
# reconstitute the original input stream with its existing formatting,
# but for us, whitespace only clutters the table. Ignore it.
if self.dest and not self.whitespace.match(data):
# Here we're within our <table> and we have non-whitespace data.
# Append it to the list designated by the top of the dest stack.
self.dest[-1].append(data)
# cache for get_windows_table()
_windows_table = None
def get_windows_table():
global _windows_table
# If we already loaded _windows_table, no need to load it all over again.
if _windows_table:
return _windows_table
# windows-rcs.html was fetched on 2015-03-24 with the following command:
# curl -o windows-rcs.html \
# https://msdn.microsoft.com/en-us/library/cc704588.aspx
parser = TableParser()
with open(os.path.join(os.path.dirname(__file__), "windows-rcs.html")) as hf:
# We tried feeding the file data to TableParser in chunks, to avoid
# buffering the entire file as a single string. Unfortunately its
# handle_data() cannot tell the difference between distinct calls
# separated by HTML tags, and distinct calls necessitated by a chunk
# boundary. Sigh! Read in the whole file. At the time this was
# written, it was only 500KB anyway.
parser.feed(hf.read())
parser.close()
table = parser.table
# With our parser, any <tr><th>...</th></tr> row leaves a table entry
# consisting only of an empty list. Remove any such.
while table and not table[0]:
table.pop(0)
# We expect rows of the form:
# [['0x00000000', 'STATUS_SUCCESS'],
# ['The operation completed successfully.']]
# The latter list will have multiple entries if Microsoft embedded <br/>
# or <p> ... </p> in the text, in which case joining with '\n' is
# appropriate.
# Turn that into a dict whose key is the hex string, and whose value is
# the pair (symbol, desc).
_windows_table = dict((key, (symbol, '\n'.join(desc)))
for (key, symbol), desc in table)
return _windows_table
log=logging.getLogger(__name__)
logging.basicConfig()
if __name__ == "__main__":
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("-d", "--debug", dest="loglevel", action="store_const",
const=logging.DEBUG, default=logging.INFO)
parser.add_argument("-D", "--define", dest="vars", default=[], action="append",
metavar="VAR=value",
help="Add VAR=value to the env variables defined")
parser.add_argument("-l", "--libpath", dest="libpath", default=[], action="append",
metavar="DIR",
help="Add DIR to the platform-dependent DLL search path")
parser.add_argument("command")
parser.add_argument('args', nargs=argparse.REMAINDER)
args = parser.parse_args()
log.setLevel(args.loglevel)
# What we have in opts.vars is a list of strings of the form "VAR=value"
# or possibly just "VAR". What we want is a dict. We can build that dict by
# constructing a list of ["VAR", "value"] pairs -- so split each
# "VAR=value" string on the '=' sign (but only once, in case we have
# "VAR=some=user=string"). To handle the case of just "VAR", append "" to
# the list returned by split(), then slice off anything after the pair we
# want.
rc = main(command=args.command, arguments=args.args, libpath=args.libpath,
vars=dict([(pair.split('=', 1) + [""])[:2] for pair in args.vars]))
if rc not in (None, 0):
log.error("Failure running: %s" % " ".join([args.command] + args.args))
log.error("Error %s: %s" % (rc, translate_rc(rc)))
sys.exit((rc < 0) and 255 or rc)

View File

@@ -1,4 +1,28 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""\
@file start-client.py
$LicenseInfo:firstyear=2010&license=viewerlgpl$
Second Life Viewer Source Code
Copyright (C) 2010-2011, Linden Research, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation;
version 2.1 of the License only.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
$/LicenseInfo$
"""
import sys, getopt
import os
import llstart

View File

@@ -28,95 +28,16 @@
#ifndef CWDEBUG
#ifdef DEBUG_CURLIO
// If CWDEBUG is not defined, but DEBUG_CURLIO is, then replace
// some of the cwd macro's with something that generates viewer
// specific debug output. Note that this generates a LOT of
// output and should not normally be defined.
#include <string>
#include "llpreprocessor.h"
namespace debug {
namespace libcwd {
struct buf2str {
buf2str(char const* buf, int size) : mBuf(buf), mSize(size) { }
char const* mBuf;
int mSize;
};
struct libcwd_do_type {
void on() const { }
};
extern LL_COMMON_API libcwd_do_type const libcw_do;
} // namespace libcwd
enum print_thread_id_t { print_thread_id };
inline void init() { }
struct Indent {
int M_indent;
static ll_thread_local int S_indentation;
enum LL_COMMON_API print_nt { print };
LL_COMMON_API Indent(int indent);
LL_COMMON_API ~Indent();
};
extern LL_COMMON_API std::ostream& operator<<(std::ostream& os, libcwd::buf2str const& b2s);
extern LL_COMMON_API std::ostream& operator<<(std::ostream& os, Indent::print_nt);
extern LL_COMMON_API std::ostream& operator<<(std::ostream& os, print_thread_id_t);
namespace dc {
struct fake_channel {
int mOn;
char const* mLabel;
fake_channel(int on, char const* label) : mOn(on), mLabel(label) { }
fake_channel(void) : mOn(0) { }
bool is_on() const { return !!mOn; }
bool is_off() const { return !mOn; }
void on() const { }
void off() const { }
};
extern LL_COMMON_API fake_channel const warning;
extern LL_COMMON_API fake_channel const curl;
extern LL_COMMON_API fake_channel const curlio;
extern LL_COMMON_API fake_channel const curltr;
extern LL_COMMON_API fake_channel const statemachine;
extern LL_COMMON_API fake_channel const notice;
extern LL_COMMON_API fake_channel const snapshot;
} // namespace dc
} // namespace debug
#define LIBCWD_DEBUG_CHANNELS debug
#define LibcwDoutScopeBegin(a, b, c) do { using namespace debug; using namespace debug::libcwd; llinfos_nf << print_thread_id << (c).mLabel << ": " << Indent::print;
#define LibcwDoutStream llcont
#define LibcwDoutScopeEnd llcont << llendl; } while(0)
#define Debug(x) do { using namespace debug; using namespace debug::libcwd; x; } while(0)
#define Dout(a, b) do { using namespace debug; using namespace debug::libcwd; if ((a).mOn) { llinfos_nf << print_thread_id << (a).mLabel << ": " << Indent::print << b << llendl; } } while(0)
#define DoutEntering(a, b) \
int __slviewer_debug_indentation = 2; \
{ \
using namespace debug; \
using namespace debug::libcwd; \
if ((a).mOn) \
llinfos_nf << print_thread_id << (a).mLabel << ": " << Indent::print << "Entering " << b << llendl; \
else \
__slviewer_debug_indentation = 0; \
} \
debug::Indent __slviewer_debug_indent(__slviewer_debug_indentation);
#else // !DEBUG_CURLIO
#error DEBUG_CURLIO is not supported without libcwd.
// In order to use DEBUG_CURLIO you must install and use libcwd.
// Download libcwd:
// git clone https://github.com/CarloWood/libcwd.git
#endif
#define Debug(x)
#define Dout(a, b)
#define DoutEntering(a, b)
#endif // !DEBUG_CURLIO
#ifndef DOXYGEN // No need to document this. See http://libcwd.sourceforge.net/ for more info.
#include <iostream>
@@ -144,7 +65,11 @@ extern LL_COMMON_API fake_channel const snapshot;
#define CWDEBUG_MARKER 0
#define BACKTRACE do { } while(0)
#ifdef DEBUG_CURLIO
#define CWD_ONLY(...) __VA_ARGS__
#else
#define CWD_ONLY(...)
#endif
#endif // !DOXYGEN
@@ -386,6 +311,40 @@ void InstanceTracker<T>::dump(void)
} // namespace debug
template<class T>
class AIDebugInstanceCounter
{
public:
static int sInstanceCount;
protected:
static void print_count(char const* name, int count, bool destruction);
AIDebugInstanceCounter()
{
print_count(typeid(T).name(), ++sInstanceCount, false);
}
AIDebugInstanceCounter(AIDebugInstanceCounter const&)
{
print_count(typeid(T).name(), ++sInstanceCount, false);
}
~AIDebugInstanceCounter()
{
print_count(typeid(T).name(), --sInstanceCount, true);
}
};
//static
template<class T>
int AIDebugInstanceCounter<T>::sInstanceCount;
//static
template<class T>
void AIDebugInstanceCounter<T>::print_count(char const* name, int count, bool destruction)
{
Dout(dc::notice, (destruction ? "Destructed " : "Constructing ") << name << ", now " << count << " instance" << ((count == 1) ? "." : "s."));
}
//! Debugging macro.
//
// Print "Entering " << \a data to channel \a cntrl and increment

62
indra/deps/CMakeLists.txt Normal file
View File

@@ -0,0 +1,62 @@
project(deps)
include(FetchContent)
set(CMAKE_FOLDER "Third Party")
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
FetchContent_Declare(
Catch2
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
GIT_TAG v2.11.0
GIT_SHALLOW TRUE
)
FetchContent_Declare(
fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
GIT_TAG 8d78045e7cb44d39ad4cd95dd27816b8749e1944
)
FetchContent_Declare(
nlohmann_json
GIT_REPOSITORY https://github.com/nlohmann/json.git
GIT_TAG v3.7.3
GIT_SHALLOW TRUE
)
FetchContent_Declare(
absl
GIT_REPOSITORY https://github.com/abseil/abseil-cpp.git
GIT_TAG 768eb2ca2857342673fcd462792ce04b8bac3fa3
)
# This is a hack because absl has dumb cmake
set(OLD_BUILD_TEST ${BUILD_TESTING})
set(BUILD_TESTING OFF)
FetchContent_MakeAvailable(absl)
set(BUILD_TESTING ${OLD_BUILD_TEST})
# Supress warnings inside abseil under MSVC
if(WINDOWS)
target_compile_options(absl_strings PRIVATE /wd4018)
target_compile_options(absl_str_format_internal PRIVATE /wd4018)
target_compile_options(absl_flags_usage_internal PRIVATE /wd4018)
endif()
if (BUILD_TESTING)
FetchContent_MakeAvailable(Catch2)
endif()
#Download the rest of the libraries
FetchContent_MakeAvailable(fmt)
# Typically you don't care so much for a third party library's tests to be
# run from your own project's code.
set(JSON_BuildTests OFF CACHE INTERNAL "")
# If you only include this third party in PRIVATE source files, you do not
# need to install it when your main project gets installed.
set(JSON_Install OFF CACHE INTERNAL "")
FetchContent_MakeAvailable(nlohmann_json)
unset(CMAKE_FOLDER)
unset(CMAKE_POSITION_INDEPENDENT_CODE)

Some files were not shown because too many files have changed in this diff Show More