summaryrefslogtreecommitdiff
path: root/indra/llwindow/llopenglview-objc.mm
AgeCommit message (Collapse)Author
2013-03-19More LLPreeditor work.Geenz
2013-03-19Refactored LLNSWindow and LLOpenGLView significantly. All input goes ↵Geenz
through LLOpenGLView now.
2013-03-19IME support (and revamped text input support) semi-working.Geenz
2013-03-11MergeGeenz
2013-02-27Fix max VRAM detection on some cards and issues with sequencing of ↵Graham Madarasz (Graham Linden)
application of mem multiplier
2013-02-27For MAINT-2404 Fixes detection of VRAM on OSX removed along with other AGL ↵Graham Madarasz (Graham Linden)
code. Code Review: callum
2013-02-26Setup the quit handler for when the user attempts to close the window. This ↵Geenz
restores the previous functionality of asking the user if they want to quit.
2013-02-25Fix for antialiasing and VSync not being enabled properly.Geenz
2013-02-22Fix inconsistent handling of Control, Alt, and Shift keys through a new ↵Geenz
modifier update callback.
2013-01-23Refactor the key input handling to make it easier to filter out keys we ↵Geenz
don't need unicode characters for (such as the arrow keys).
2013-01-22Initial Cocoa drag and drop support.Geenz
2013-01-22And thus, the demonic mouse position conversions from view space to screen ↵Geenz
space were tamed.
2013-01-15This *should* put an end to our modifier key woes.Geenz
2013-01-08Big change set:Geenz
- LLAppDelegate header relocated to LLWindow. Definition is still present in secondlife-bin (for compatibility reasons when loading a nib). - Return key handling fixed. - Command key now acts the same as the control key by issuing control character codes when the command key is pressed. - We now retrieve the window pointer directly from the app delegate in LLWindow.
2013-01-02Fixed the enter and return keys not being sent appropriately as unicode ↵Geenz
characters.
2013-01-01More things in this commit:Geenz
- Removed the callback system in favor of simply defining functions in a header to later be implemented in whichever file is most convenient for what we want to do (i.e., calling LLWindow callbacks within LLWindowMacOSX, setting cursors in llwindowmacosx-objc.mm, etc.) - Viewer shutdown now works appropriately - Added a bit of debugging code to test if a key has been handled by the UI or not (useful for tracking down the mystery of the enter key not being handled) - Setup a cocoa quit handler within the application delegate that intercepts any termination requests
2012-12-29Huge amount of refactoring to use Cocoa here:Geenz
- Updated to .xib format. To produce a new nib (which is required after changing the xib file), use "ibtool SecondLife.xib --compile SecondLife.nib" within the newview directory. - xib file now defines the viewer's window. VIews are still being pragmatically added to the main window. This may change in the future. - LLAppViewer's main loop has been slightly refactored to be executed on a timer for OS X. This probably needs a bit more work. - Event handling still needs more work to work within a timer based event loop. It works fairly sporadically at the moment, as if events are being dropped between timer executions, at least for the mouse. - Carbon has been purged from the viewer's startup, and from LLWindow entirely. There's likely still a few odds and ends fragmented throughout the viewer and its dependencies. Need to track these down. - LLAppViewerMacOSX now uses NSApplicationMain, and also implements the NSApplicationDelegate protocol in LLAppDelegate. - Fullscreen support has been implemented for OS X 10.7+ This is still a work in progress, however at this stage everything needed for a functional viewer is (mostly) complete. From here, it's mostly just bug hunting and fixing.
2012-12-17LLWindow: Move to using Cocoa for window and view creation along with ↵Geenz
setting up callbacks for event handling as such.