summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowmacosx.cpp
AgeCommit message (Collapse)Author
2013-03-11Bug fixing and prep-work for IME support (along with refactored text input ↵Geenz
in general).
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-02-02Restore the old Carbon crash handler, and more deprecated API removal.Geenz
2013-01-22Initial Cocoa drag and drop support.Geenz
2013-01-18Partial workaround for mouse delta issue.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-02Crash on exit fix + general code cleanup in LLWindowMacOSX.Geenz
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.
2012-08-13PATH-852: BUGFIX Adding the custom pathfinding cursors to the mac and linux ↵Todd Stinson
builds as apparently they never worked there.
2012-02-27fix for mac buildRichard Linden
2012-02-27EXP-1832 WIP Viewer Size not persistent across loginsRichard Linden
fixed not unmaximizing properly on Windows put in error logging on Mac
2012-02-23EXP-1832 FIX Viewer Size not persistent across loginsRichard Linden
made Set Window Size correctly set interior window rect, preserving measured dimensions
2011-12-08Automated merge with http://hg.secondlife.com/viewer-developmentRichard Linden
2011-12-05STORM-1713: Mouse pointer flickers when hovering over any active/clickable ↵Ansariel
UI item
2011-11-30Automated merge with http://hg.secondlife.com/viewer-developmentRichard Linden
2011-11-28EXP-1485 FIX -- Viewer should have a minimum sizeRichard Linden
moved min size logic into LLWindow
2011-11-24merge changes for vmrg-193Oz Linden
2011-11-11EXP-1527 FIX Debug values for windowwidth and windowheight can be set below ↵callum
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-10-31EXP-1487 FIX -- Minimum window size on macLeslie Linden
2011-10-12NEVER use glFinish outside shutdownGLDave Parks
2011-05-17merging up latest mesh-development to nyx-mesh-developmentNyx (Neal Orman)
2011-05-12mergeDave Parks
2011-05-10SH-1521 FIX -- Lighting and Shadows grayed out on macLeslie Linden
* 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-04-25EXP-637 FIX -- As a new user, I would like Second Life to start up with a ↵Leslie Linden
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-01-13glFlush != glFinish. doh.Nyx (Neal Orman)
2011-01-07testing: adding glFlush() each frame for performance testingNyx (Neal Orman)
2010-10-13correct licenses (fix problem with license change merge)Oz Linden
2010-08-13Change license from GPL to LGPL (version 2.1)Oz Linden
2010-03-29EXT-3258 - Viewer freezes while external web browser loads pageRichard Nelson
reviewed by Callum
2010-03-18mergeIgor Borovkov
--HG-- branch : product-engine
2010-03-18mergeIgor Borovkov
--HG-- branch : product-engine
2010-03-18Backed out changeset f4c0761897c6 EXT-4820([NUX] Viewer dimensions on ↵Igor Borovkov
first-run) by which "moved LLDisplayInfo to llwindow, implemented getting the width/height of screen for mac os and linux." --HG-- branch : product-engine
2010-03-18Backed out changeset a95c1f4dcf02 EXT-4820([NUX] Viewer dimensions on ↵Igor Borovkov
first-run) by which "implemented LLWindowMacOSX::maximize() method" --HG-- branch : product-engine
2010-03-09EXT-2418 - improved cursors for sit/open/buyRichard Linden
2010-03-09mergeRichard Linden
2010-03-05EXT-2418 added open/sit/buy mouse cursorsRichard Linden
2010-03-05Working on major bug EXT-4820([NUX] Viewer dimensions on first-run) - moved ↵Eugene Mutavchi
LLDisplayInfo to llwindow, implemented getting the width/height of screen for mac os and linux. --HG-- branch : product-engine
2010-03-05Working on major bug EXT-4820([NUX] Viewer dimensions on first-run) - ↵Eugene Mutavchi
implemented LLWindowMacOSX::maximize() method --HG-- branch : product-engine
2010-02-05Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0Monroe Linden
2010-01-18Added getNativeKeyData() function to LLWindow and LLWindowMacOSX.Monroe Linden
Added an LLSD argument to LLPluginClassMedia::keyEvent() and LLPluginClassMedia::textInput() which contains the native key data. Made LLViewerMediaImpl retrieve the native key data and pass it to keyEvent and textInput. Added a native_key_data parameter to the text_event and key_event messages. Made the webkit plugin extract the native_key_data parameter and pass it to the internal keyEvent() and unicodeInput() functions. Fixed LLMediaPluginTest to match function signature change to LLPluginClassMedia::keyEvent().
2010-01-12Add restoring of previous cursor to mac implRick Pasetto
http://codereview.lindenlab.com/273045
2010-01-11Add cursor-change override while dragging on the macRick Pasetto
This changes the setCursor() call in LLWindowMacOSX to be ignored if we're currently dragging via the OS http://codereview.lindenlab.com/273045
2010-01-08Make sure mac build honors compile-time flag that en/disables OS drag and drop.Rick Pasetto
Also fixed the cmake file to properly set LL_OS_DRAGDROP_ENABLED.