Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-06-30 | DRTVWR-418: Unify control flow through LLAppViewer across platforms. | Nat Goodspeed | |
The LLApp API used to consist of init(), mainLoop(), cleanup() methods. This makes sense -- but on Mac that structure was being subverted. The method called mainLoop() was in fact being called once per frame. There was initialization code in the method, which (on Mac) needed to be skipped with an already-initialized bool. There was a 'while' loop which (on Mac) needed to be turned into an 'if' instead so the method would return after every frame. Rename LLApp::mainLoop() to frame(). Propagate through subclasses LLAppViewer and LLCrashLogger. Document the fact that frame() returns true to mean "done." (This was always the case, but had to be inferred from the code.) Rename the Mac Objective-C function mainLoop to oneFrame. Rename the C++ free function it calls from runMainLoop() to pumpMainLoop(). Add comments to llappdelegate-objc.mm explaining (inferred) control flow. Change the Linux viewer main() and the Windows viewer WINMAIN() from a single LLAppViewer::mainLoop() call to repeatedly call frame() until it returns true. Move initialization code from the top of LLAppViewer::frame() to the init() method, where it more properly belongs. Remove corresponding mMainLoopInitialized flag (and all references) from LLAppViewer. Remove 'while (! LLApp::isExiting())' (or on Mac, 'if (! LLApp::isExiting())') from LLAppViewer::frame() -- thus unindenting the whole body of the 'while' and causing many lines of apparent change. (Apologies to reviewers.) There are four LLApp states: APP_STATUS_RUNNING, APP_STATUS_QUITTING, APP_STATUS_STOPPED and APP_STATUS_ERROR. Change LLAppViewer::frame() return value from (isExiting()) (QUITTING or ERROR) to (! isRunning()). I do not know under what circumstances the state might transition to STOPPED during a frame() call, but I'm quite sure that if it does, we don't want to call frame() again. We only want a subsequent call if the state is RUNNING. Also rename mainLoop() method in LLCrashLogger subclasses LLCrashLoggerWindows, LLCrashLoggerMac, LLCrashLoggerLinux. Of course it's completely up to the frame() method whether to yield control; none of those in fact do. Honor protocol by returning true (frame() is done), even though each one's main() caller ignores the return value. In fact LLCrashLoggerWindows::mainLoop() wasn't using the return protocol correctly anyway, returning wParam or 0 or 1 -- possibly because the return protocol was never explicitly documented. It should always return true: "I'm done, don't call me again." | |||
2016-05-06 | merge 4.0.4-release and MAINT-5974 | Oz Linden | |
2016-04-21 | Merged in cinderblocks/storm-2127 | AndreyL ProductEngine | |
2016-04-20 | STORM-2127 - Fix NSException when assigning values that don't exist in cocoa ↵ | Cinder | |
modifier key event. | |||
2016-04-07 | MAINT-6294 FIXED Cursor became invisible after typing in any input field (OS X) | Mnikolenko ProductEngine | |
2016-03-29 | MAINT-6239 [Mac] Computer cursor appears attached to crosshair after using ↵ | Mnikolenko ProductEngine | |
modifier keys in mouselook | |||
2016-03-21 | MAINT-3171 Alt-clicking while moving mouse can move the camera significantly | Mnikolenko ProductEngine | |
2016-03-10 | MAINT-3171 WIP Alt-clicking while moving mouse can move the camera significantly | Mnikolenko ProductEngine | |
2016-01-15 | merge changes for 4.0.1-release | Oz Linden | |
2015-12-03 | MAINT-5909: Enable unicode text input on mac and feed that directly into the ↵ | rider | |
viewer. Windows fixes still required. | |||
2015-11-13 | Encode keyboard event for reconstruction in the plugin. | rider | |
2015-11-10 | remove execute permission from many files that should not have it | Oz Linden | |
2015-11-07 | MAINT-5754: Finish key modifier experiment. Still not working. | rider | |
2015-11-06 | MAINT-5754: Basic keyboard functionality on the Mac. Still incomplete | rider | |
2015-10-27 | MAINT-5754: For MoaP and MediaCtrls forward all events including KEYUP and ↵ | Rider Linden | |
KEYDOWN to the CEF plugin. | |||
2015-10-20 | Merge with tip of viewer-release | callum_linden | |
2015-10-13 | merge changes for MAINT-4734 | pavelkproductengine | |
2015-09-29 | Merge with viewer-xcode-7 for Xcode 7 patches | callum_linden | |
2015-09-18 | Supress error after Xcode 7 update: error: null passed to a callee that ↵ | callum_linden | |
requires a non-null argument | |||
2015-08-31 | Merge with viewer-release | callum_linden | |
2015-07-15 | New keyboard code for windows that uses system messages directly and works ↵ | callum_linden | |
ok. Points to new LLCEFLib | |||
2015-07-14 | MAINT-5019 FIXED Additional cases | AndreyL ProductEngine | |
2015-04-28 | increment viewer version to 3.7.29 | Mnikolenko ProductEngine | |
2015-04-24 | MAINT-5106 FIXED [MAC] if SL viewer is not running, clicking on SLURL ↵ | pavelk_productengine | |
launches viewer, BUT start location is not set | |||
2015-04-28 | Merge viewer-release, become version 3.7.29 | Mnikolenko ProductEngine | |
2015-04-13 | merge changes for 3.7.27-release | Oz Linden | |
2015-03-30 | MAINT-3585 FIXED (Crashes when attempting to upload image.) | ruslantproductengine | |
2015-03-30 | MAINT-3585 FIXED (Crashes when attempting to upload image.) | ruslantproductengine | |
2015-03-05 | MAINT-4874 FIXED Actions that require a double click "randomly" fail - repro ↵ | andreykproductengine | |
& cause found for BUG-7753 | |||
2015-02-24 | merge changes for 3.7.25-release | Oz Linden | |
2015-01-13 | merge changes for 3.7.24-release | Oz Linden | |
2014-12-15 | merge changes for 3.7.22-release | Oz Linden | |
2014-12-12 | Fix up remaining llround() -> ll_round() issues | callum_linden | |
2014-12-02 | Merge downstream code and become 3.7.22 | simon | |
2014-12-02 | merge | Brad Payne (Vir Linden) | |
2014-12-01 | merge | Brad Payne (Vir Linden) | |
2014-11-03 | MAINT-3585 FIXED Viewer Crashes when attempting to upload image. | ruslantproductengine | |
The bug was fixed, the reasone of crash is following. The Core Flow view contain another GL context and will not care about restoring a previous. I restore context manually. This path also contain a minor changes in another files. All changes described here. Сhange's for fix current bug. indra/llwindow/llwindow.h indra/llwindow/llwindowheadless.h indra/llwindow/llwindowmacosx.h indra/llwindow/llwindowsdl.h indra/llwindow/llwindowwin32.h indra/newview/lllocalbitmaps.cpp indra/newview/llviewerdisplay.cpp indra/newview/llviewerdisplay.h Twice mUsage initialization (replace to forward initialization). indra/llcharacter/lljointstate.h Looks like condition should be befor memcopy call, otherwise - possible CRASH. indra/llcommon/llmd5.cpp Unused condition and variables. indra/llmath/llsphere.cpp Looks like should be under if otherwise - possible CRASH indra\llprimitive\llmodel.cpp Useless assert's. indra/llrender/llrender.cpp indra/newview/lldaycyclemanager.cpp | |||
2014-10-23 | merge changes for STORM-2081 | Oz Linden | |
2014-10-23 | STORM-2081 - Guard against null gWindowImplementation when fullscreen ↵ | Cinder | |
(crashes OS X Yosemite) | |||
2014-10-17 | Update to build on Xcode 6.0: more removal of unused variables ↵ | callum_linden | |
[-Wunused-variable] | |||
2014-10-17 | Update to build on Xcode 6.0: fix deprecated constant in OS X land | callum_linden | |
2014-10-13 | merge changes for OPEN-215 | Oz Linden | |
2014-10-13 | merge changes for 3.7.17-release | Oz Linden | |
2014-09-12 | MAINT-3666 FIXED Update modifiers when viewer window becomes key window | Mnikolenko ProductEngine | |
2014-09-11 | MAINT-3569 FIXED Handle window hide/unhide and minimize/unminimize events on ↵ | Mnikolenko ProductEngine | |
mac. | |||
2014-09-04 | MAINT-4323 FIXED Mouselook - right-click locks cam position (mac-only) | Mnikolenko ProductEngine | |
2014-08-14 | fixed: bad behavior of input window | Pell Smit | |
2014-08-15 | fixed: unwanted input window on OSX | Pell Smit | |
2014-08-14 | fixed: modifier key bug | Pell Smit | |
2014-08-14 | fixed: inline backspace bug | Pell Smit | |