Commit Graph

241 Commits (9740887b90791b3fad37e58ab9e2ac772e8d2e95)

Author SHA1 Message Date
callum e4e4977f5e EXP-1527 FIX Debug values for windowwidth and windowheight can be set below minimum required values
and
EXP-1528 Launching viewer with a settings.xml file with windowwidth and windowheight set below minimum values, launches to those values not minimum window size
2011-11-11 12:29:04 -08:00
Leslie Linden 5a31ac4aee EXP-1488 fix from Sergey PE 2011-11-10 12:53:52 -08:00
Oz Linden 6b516b7a6c merge changes for vmrg-182 2011-11-08 15:59:50 -05:00
Seth ProductEngine 4292204732 EXP-1488 FIXED Minimum viewer window size limited to 1024x768 on Linux. 2011-11-02 22:47:56 +02:00
Leslie Linden 6ddd7011b9 merge 2011-10-31 13:28:55 -07:00
Leslie Linden f6e3d0e581 EXP-1486 FIX -- Minimum window size on windows
Reviewed by Callum.
2011-10-31 13:27:25 -07:00
Leslie Linden 727199e223 EXP-1487 FIX -- Minimum window size on mac 2011-10-31 12:49:57 -07:00
Brad Payne (Vir Linden) 51c7887f8d merge 2011-10-31 11:35:22 -04:00
Xiaohong Bao 0cc30aec0f some debug code for SH-2391: [crashhunters] pre-login crash at LLViewerWindow::LLViewerWindow 2011-10-24 22:28:57 -06:00
Nat Goodspeed ad9c28a269 Automated merge with http://hg.secondlife.com/viewer-development 2011-09-26 15:44:21 -04:00
Nat Goodspeed b59c0a6680 Automated merge with http://hg.secondlife.com/viewer-development 2011-09-06 13:58:47 -04:00
Nat Goodspeed 79f14b7feb CHOP-763: Move llwindowlistener.{h,cpp} from llwindow to newview.
Instantiate LLWindowListener on LLViewerWindow instead of on LLWindow.
This permits LLWindowListener to use machinery from llui, e.g.
LLUI::resolvePath().
Document planned new ["path"], ["reply"] params to "keyDown", "keyUp",
"mouseDown", "mouseUp", "mouseMove" operations; document relationship between
["path"] and ["x"] and ["y"].
NEW PARAMS NOT YET IMPLEMENTED.
2011-08-25 14:54:38 -04:00
Brad Payne (Vir Linden) ff60546070 merge 2011-08-22 13:16:02 -04:00
Nyx (Neal Orman) 9ed7cc297a merging in latest mesh-development 2011-08-19 17:03:51 -04:00
Oz Linden 7ffc8b45e2 merge changes for storm-1564 2011-08-19 16:50:08 -04:00
Oz Linden 7e5be23686 add proper license headers to files that did not have them 2011-08-17 14:43:39 -04:00
Xiaohong Bao 13e152c92d fix for SH-2177: Second Life Crashes On Startup in Advanced Mode -- I have reinstalled SL, Clear Caches -- Nothing Works 2011-08-03 14:54:53 -06:00
Nat Goodspeed 45b1b6ff3b CHOP-763: Remove redundant KEY string names from llwindowlistener.cpp.
A couple of the lookup tables in llwindowlistener.cpp essentially duplicated
LLKeyboard::keyFromString() and maskFromString(). Remove those tables and use
LLKeyboard lookup methods instead.
2011-08-03 16:04:45 -04:00
Nyx (Neal Orman) 60d15f78e1 merge with latest mesh-dev 2011-07-26 15:51:44 -04:00
Don Kjer 0a86e39d90 Merge with viewer-development (mesh) 2011-05-17 21:01:36 +00:00
Don Kjer ae8ed3fc2d Merge with viewer-development 2011-05-17 19:21:55 +00:00
Nyx (Neal Orman) 8f94ff85f9 merging up latest mesh-development to nyx-mesh-development 2011-05-17 12:13:54 -04:00
Dave Parks 8017900e7f merge 2011-05-12 18:50:22 -05:00
Leslie Linden a52019d6d1 SH-1521 FIX -- Lighting and Shadows grayed out on mac
* Modified mac feature table to bring it up to date with latest renderer features including deferred rendering
* Changed mac AGL pixel format to no longer allow it to revert to software rendering when shader compilation errors occur.
* Fixed up various GLSL shader compilation warnings and errors that came up as a result of the above changes.
* Changed initial conditions for the "hardware skinning" checkbox on the preferences floater so it can be modified before login on machines that support avatar vertex programs.
* Removed unused avatarAlphaF.glsl files

Reviewed by davep
2011-05-10 14:34:36 -07:00
Richard Linden 78d76eb4b0 Automated merge with bundle:E:\code\viewer-experience+c:\users\richard\appdata\local\temp\thg.t3awyz\ssh__richard@hg.lindenlab.com_richard_viewer-experience-merge_2xcevh.hg 2011-05-02 17:29:56 -07:00
Leslie Linden 36f8899861 EXP-637 FIX -- As a new user, I would like Second Life to start up with a maximized window to fully immerse myself in the experience
Mac viewer now properly supports the calls to maximize and unmaximize the screen.

Reviewed by Callum
2011-04-25 17:31:04 -07:00
Don Kjer 01f4570c79 Merge with viewer-development 2011-04-14 18:27:31 +00:00
Oz Linden e0adaa188b fix dos line endings 2011-04-09 22:49:10 -04:00
Oz Linden 52615d251b pull pack late beta fixes from 2.6.3 2011-04-06 19:20:03 -04:00
Andrew A. de Laix 7cc0388d81 FIX VWR-25444: properly initialize DEVMODE structure to prevent crash. 2011-04-06 14:55:09 -07:00
Oz Linden b5c834c6fd merge changes for STORM-1051 2011-04-05 07:23:43 -04:00
Don Kjer d292053c04 Merge with viewer-development 2011-04-01 23:37:30 +00:00
Don Kjer bdaaa6de13 Merge with https://hg.lindenlab.com/nat/viewer-eventapi2 2011-03-23 01:34:26 +00:00
Nat Goodspeed fa4359e571 STORM-1051: merge daggy fix to tip 2011-03-21 17:40:49 -04:00
Nat Goodspeed 3f3429fa68 STORM-1051: Fixup to LLWindowListener per code review.
Bug: capturing a const ref to value returned by LLSD::asString() not so good.
Bug: LLWindowListener::keyUp() was calling handleTranslatedKeyDown().
In keyDown and keyUp, support keysym lookup (e.g. "TAB") as well as integer
keycode.
In keyDown, keyUp, mouseDown, mouseUp and mouseMove, support modifier mask by
accepting an array of "CONTROL", "SHIFT" etc. strings.
State in operation doc strings valid values for button, keycode, keysym, mask.
The LLWindowListener(... LLKeyboard*) constructor param gKeyboard is always
NULL at the time LLWindowListener is constructed. Eliminate tests and global
references to gKeyboard by replacing with a more Feathers-style LLKeyboard*
getter function.
2011-03-21 17:38:16 -04:00
Don Kjer 58b393bb1e Fix to LLWindow listener keyUp event. Fix to headless client scanKeyboard, allowing input from eventhost 2011-03-09 03:31:48 +00:00
Don Kjer 0929315ab1 Added headless client keyboard 2011-02-23 05:40:08 +00:00
brad kittenbrink 930710ceec Added an EventAPI listener to LLWindow for hooking into key and mouse inputs. 2011-02-17 15:50:44 -08:00
Alain Linden d9a0a04af4 find latest DirectX dirs. 2011-01-31 12:54:57 -08:00
Nyx (Neal Orman) d1683bd65a glFlush != glFinish. doh. 2011-01-13 13:46:00 -05:00
Nyx (Neal Orman) 8fae5d49bf testing: adding glFlush() each frame for performance testing 2011-01-07 18:24:35 -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
Richard Linden 293071284c custom skylight key bindings 2010-09-30 20:08:24 -07:00
callum 95ecad54c6 EXP-112 Enable fullscreen mode (with mode switch, not resize to desktop) as per 1.x viewer. 2010-09-28 16:52:56 -07:00
Tofu Linden e416840f85 Backed out changeset c3d41f18ce2b
back-out the back-out for this branch.  yay.
2010-08-24 19:22:00 +01:00
Tofu Linden 98cc236503 Backed out changeset a62bf7c0af21
Backing out this merge that I pushed (prematurely) to the wrong place.
2010-08-24 18:44:39 +01:00
Tofu Linden 6ba23344c9 merge heads. whew. 2010-08-24 18:37:53 +01:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Andrew Dyukov ec28b9af16 EXT-8425 FIXED Translated names of "Home" and "Esc" keys shown in shortcuts.
Each key has KEY (typedef of U8) represantation which is paired with text version of key.
To get strings corresponding to keys LLKeyboard::stringFromKey() is used.

- Added translation of keys into LLKeyboard::stringFromKey().

- Added corresponding strings into strings.xml.

- Changed LLTrans::getKeyboardString() so that it correctly process key names that are not found in strings.xml(returns English name instead of "MissingString").

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/845/

--HG--
branch : product-engine
2010-08-11 20:39:34 +03:00
Monroe Linden fd799ca57e Fix for EXT-8089 (Log spam from SLPlugin about "autoreleased with no pool in place - just leaking")
Added slplugin-objc.mm.

Made SLPlugin do the cocoa setup during initialization, and create/delete an
autorelease pool each time through its main loop.  This should make plugin code
that's using autorelease correctly not leak.

Fixed a bug in the version of setupCocoa() used in the viewer (it was never
setting its "inited" variable).
2010-06-25 14:18:22 -07:00