Commit Graph

258 Commits (6150e4ed7cf86a2afc0061ba89b0cb049d6f036e)

Author SHA1 Message Date
Merov Linden 0b74df6774 STORM-523 : pull into viewer-development 2010-12-27 21:21:01 -08:00
Oz Linden 14d830ca43 merge improved fix for STORM_785 2010-12-24 07:41:41 -05:00
Jonathan Yap 551bfb88fc Adjust parameter in call to setFocusOnAvatar to be more efficient (don't animate) 2010-12-17 07:29:27 -05:00
Aleric Inglewood 86380bb177 VWR-24254: Add support for using ld.gold on linux.
To use ld.gold configure with:
  -DCMAKE_EXE_LINKER_FLAGS:STRING="-Wl,-use-gold".
ld.gold links the viewer on my machine in 8 seconds, as
opposed to 19 seconds with ld.bfd. Moreover, it uses a
LOT less memory during linking (about 750 MB instead of
2.5 GB!).

VWR-24254: Don't link with fontconfig on non-linux.

While we already added fontconfig in the above patch,
that code turned out to also be used by Windows and
Darwin (contrary to the comments in the code).
After looking at the history of commits and a
discussion on IRC it was decided that the original
coder (Kyle Ambroff <ambroff@lindenlab.com>) really
meant (LINUX AND VIEWER) instead of (NOT LINUX OR VIEWER).
2010-12-15 20:55:10 +01:00
Aleric Inglewood 3f5d67bcb7 VWR-24261: Configuration with cmake 2.8 is extremely slow
Add non-broken FindZLIB.cmake.
2010-12-20 16:10:07 +01:00
Aleric Inglewood a902160723 VWR-24251: Fix -DLL_TESTS:BOOL=ON on standalone when Tut is installed in a non-standard directory.
If tut/tut.hpp isn't installed in a standard include directory all tests
fail because the found include directory for tut isn't passed to the compiler.

This patch fixes this by passing it.
Note that using include_directories() in a Find*.cmake file is bad practise.
The correct way is to set an include dir variable and call
include_directories() once. It certainly doesn't work for the tests anyway
because the tests are all over the place and include_directories is on a
per folder basis.  What is needed is to set it for each (test) target.

However, there is no TARGET_INCLUDE_DIRECTORIES. The closest thing that we
have is to set the COMPILE_FLAGS property for a target.

Fortunately, standalone is only used for linux, so we can just use
-I${TUT_INCLUDE_DIR} to get the effect we want.
2010-12-16 15:43:18 +01:00
Aleric Inglewood 85446c8cf1 VWR-10579: Fix NDOF.cmake to do the right thing on standalone.
The old one just assumed that libndof is installed,
even on standalone.

This patch looks for it on standalone, unless configured
with -DNDOF:BOOL=OFF, and when not found prints an error
message (including telling about -DNDOF:BOOL=OFF).
2010-12-15 22:44:21 +01:00
Aleric Inglewood 5936ced311 SNOW-240: Fix libjson naming madness, again, for standalone.
SNOW-240 was actually about adding the whole search.
While this has been done, there is one issue left:
On linux (and remember, all of this is about standalone)
the libjson packages of distributions don't have this
complex compiler version baked into their name.

See also the last comment on SNOW-240:
https://jira.secondlife.com/browse/SNOW-240?focusedCommentId=205305&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-205305

This patch fixes this issue by first searching for
libjson_linux-gcc-${_gcc_COMPILER_VERSION}_libmt.so
and when that fails search for the system package
library file libjson.so.
2010-12-15 21:23:03 +01:00
Aleric Inglewood d0a25a4184 VWR-24252: On standalone, find Qt4 with find_package, and find llqtwebkit.
If Qt and/or llqtwebkit is found in a non-standard place, you still
have to set LD_LIBRARY_PATH yourself (to $QTDIR/lib) before running
the viewer of course (or the webkit plugin will silently fail).
2010-12-15 20:12:17 +01:00
Aleric Inglewood 0de05499ed VWR-24247: develop.py configure still searches for the wrong header file when checking for Tut
The viewer code includes "tut/tut.hpp" everywhere, so that is what we
should search for when determining an include path for this header.
This just searches in the usual places, including the paths provided
through CMAKE_INCLUDE_PATH, and will find tut/tut.hpp: exactly what
we need.
2010-12-15 17:40:22 +01:00
Aleric Inglewood 429e0caf17 SNOW-744: scripts/install.py --uninstall does not remove symbolic links.
This fixes the problem that when some package contains symbolic
links, they were never removed anymore (after an uninstall of
that package).
2010-12-15 17:31:18 +01:00
Kitty Barnett 452d9d5e3d Updated contributions.txt for STORM-799 and STORM-800 2010-12-17 15:15:10 +01:00
Wolfpup Lowenhar bd53ba004a STORM-776 : unable to change permissions to "no trans" on item in avatar inventory
applied Kitty's code changes listed in STROM-288 as it is a related issue and this
   actualy fixed both issues!
2010-12-15 09:53:24 -05:00
Andrew Productengine d3eccbcd8b STORM-229 FIXED Fixed long loading times and stalling of Viewer while loading big scripts or pasting a lot of text into script.
The bug was fixed by Satomi Ahn. Here is the description of what causes the problem from her comment in ticket:
"Disabling the loading of syntax keywords in LLScriptEdCore::postBuild() removes the freeze (and with it: syntax highlighting).
So it obviously comes from the parsing of the text.

I also noticed something else: by adding a llwarn in LLTextEditor::updateSegments(), I saw that this function was called a lot of times when loading a script, roughly once for each line in the script (naively I would have thought only necessary to update when finished... or to only update the new line).
My llwarn was in the "if (mReflowIndex < S32_MAX && mKeywords.isLoaded())", which means that, at each call, the text is actually parsed for all keywords... so the parsing of the script becomes quadratic instead of linear!!!"

- To fix this, Satomi added a flag depending on which parsing is disabled when it is not necessary.
2010-12-13 13:17:48 +02:00
Merov Linden 8afbb58d4c Pull viewer-beta in 2010-12-06 16:56:25 -08:00
Jonathan Yap 50b6114862 Tiny change to panel_login.xml so Start Location preferences work under all circumstances 2010-12-03 07:30:19 -05:00
Jonathan Yap 106134b695 Fix for OK notification being overlaid by Keep/Discard/Block notification 2010-12-03 03:37:37 -05:00
Oz Linden 375d91019e merge fix for STORM-679 2010-12-02 14:08:23 -05:00
Oz Linden 20e192029c merge fix for STORM-596 2010-12-02 14:02:46 -05:00
Jonathan Yap 732b1f748e Forgot to give myself credit. 2010-11-25 13:45:05 -05:00
Wolfpup Lowenhar abf406e3d5 STORM-674: corrected duplicate name tags in pannel_preferences_color.xml 2010-11-23 20:55:18 -05:00
Jonathan Yap fbfe7418e5 Moved Enable Hints to 2nd line of Help menu 2010-11-20 07:25:09 -05:00
Oz Linden 0f72f152e8 merge fix for STORM-616 2010-11-19 15:52:52 -05:00
Wolfpup Lowenhar 3eb3198248 STORM-654 : Person to Person chat logs are not created if Display Names are off
Modified code in indicated changeset to correct problem after consulting with
 Leyla Linden who sugested the orginal change. This fix will convert the Legacy
 name to a user name id not useing Display Names.
2010-11-18 18:30:00 -05:00
Jonathan Yap 7e5e9b26d5 Forgot to give myself credit. 2010-11-18 14:09:00 -05:00
Wolfpup Lowenhar 10998b137e STORM-535 : STORM-544 : Addition of Floater Opacity controls to pannel_prefferences_color.xml
after loss during cleanup of preferences.
2010-11-16 13:33:56 -05:00
Vadim ProductEngine e8e1d7e629 STORM-318 FIXED The Advanced menu shortcut was broken under Linux.
Reason: The old shortcut (Ctrl+Alt+D) was eaten by some window managers.

Changes:
- Changed the shortcut to Ctrl+Alt+Shift+D.
- Moved the appropriate menu item from "Advanced > Shortcuts" to "World > Show"
  (so that it's not in the menu it triggers) and made it visible.
  The old shortcut is still available but marked as legacy.

Submitting on behalf of Boroondas Gupte.
2010-11-15 21:38:12 +02:00
Wolfpup Lowenhar 899f470dec STORM-102: Merge from viewer-development 2010-11-11 22:37:51 -05:00
Seth ProductEngine 54bf5d9de7 Added Tofu Buzzard to the contributors list. 2010-11-09 23:01:49 +02:00
Oz Linden eea9460ba5 merge storm-102 branch back to default 2010-11-09 15:18:51 -05:00
Wolfpup Lowenhar 669cf170ce STORM-102: STORM-143: Refactored the STORM-103 code to pull the proper plain test log no
matter when it was generated or if it has the date stamp in the name of the log or not.

--HG--
branch : storm-102
2010-11-08 09:31:35 -05:00
Oz Linden e2714252f3 pull fix for STORM-422 2010-11-03 14:53:29 -04:00
Oz Linden 96112dfa26 STORM-477: fixed getNextFileInDir on Windows7, improved test cases and documentation
--HG--
branch : storm-102
2010-11-03 13:33:29 -04:00
Merov Linden e9640296d3 STORM-420 : merge to viewer-development 2010-11-02 17:27:39 -07:00
Vadim ProductEngine 5d7417b40e STORM-422 FIXED Added command line option "-disablecrashlogger" to disable crash logger.
This is a patch originally written by Robin Cornelius.
I made it work with Google Breakpad.
2010-11-02 20:26:38 +02:00
Wolfpup Lowenhar a4bb2b8bdd STORM-255 : Merge from viewer-development 2010-10-31 08:08:41 -04:00
Merov Linden 398b8564e1 STORM-420 : allow teleport when double clicking the minimap if doubleclick teleport is on, allow beacon setting if not 2010-10-29 15:42:29 -07:00
Vadim ProductEngine 463969116f STORM-501 FIXED Script-editor shows ERRORS in the wrong line.
LLTextBase::setCursor() sometimes failed to work properly if line wrapping was enabled.
This is a slightly optimized version of the patch made by Satomi Ahn.
2010-10-29 23:48:46 +03:00
Wolfpup Lowenhar dafece369a STORM-255 : Added missing JIRA issue to contributions.txt 2010-10-29 09:16:51 -04:00
Wolfpup Lowenhar 46940d4a5f STORM-255: removal if extra jira numbers in contributions.txt 2010-10-27 22:27:59 -04:00
Wolfpup Lowenhar ce34ba1b89 Merge from viewer-development 2010-10-27 09:04:27 -04:00
Wolfpup Lowenhar 7c89e565b3 This is the setting of the core file name date stamp code and settings files for
Chat, Group and IM Logs.

--HG--
branch : storm-102
2010-10-26 20:02:07 -04:00
Merov Linden ebce1a4ea8 STORM-416 : merge with viewer-development 2010-10-26 10:59:37 -07:00
Wolfpup Lowenhar b011305d3f Addtition of Alexandrea Fride to contributions.text 2010-10-26 08:41:30 -04:00
Wolfpup Lowenhar b82220aefc Merge from Viewer-development 2010-10-22 22:22:54 -04:00
Merov Linden de6f7e19c4 STORM-423 : merge with viewer-development 2010-10-22 16:18:36 -07:00
Merov Linden 01b01d94f4 STORM-406 : merge with viewer-development 2010-10-22 15:17:49 -07:00
Wolfpup Lowenhar 19836c86e9 Merge from Viewer-development 2010-10-21 10:59:11 -04:00
Merov Linden 9652de51ce STORM-281 : merge to viewer-development + fix indentation 2010-10-20 20:13:47 -07:00
Merov Linden a0417239ab STORM-417 : merge with viewer-development 2010-10-20 19:51:31 -07:00