summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowsdl.cpp
AgeCommit message (Collapse)Author
2023-09-14getNativeKeyData impl for non Darwin non GTKErik Kundiman
Copying from GTK users part though.
2023-09-11Revive HiDPI support & multi threaded OpenGLErik Kundiman
See 7dd1149e3649057f0962b85bdc467f4e9299b235. The attributes only needed to be moved from LLWindowMacOS X to LLWindowSDL.
2023-09-05Preprocess non portable GL funcs & macrosErik Kundiman
so that implementations that don't include a certain GL implementation won't fail trying to compile the code.
2023-08-26Make using the system browser for links worksErik Kundiman
First, in order for launch_url.sh to be executable, it needs to be installed as a program. Secondly, the spawn browser command path needs to be adjusted accordingly. And last, add chrome (applies to chromium too on FBSD), to the list of browser commands to try (so chrome wasn't there :/, but dillo has always been XD, and that's why it kept opening Dillo here haha).
2023-08-21Darwin & any platform can, and should, use SDLErik Kundiman
The alt mouse click to cam is broken for now on macOS, but this is the path we've chosen.
2023-08-17Re-enable x11_detect_VRAM_kb useErik Kundiman
It's an error according to GCC when defined but not used. It could, and probably should, still be used anyway, just not the SDL version.
2023-08-16Revive alt mouse click override with X11Erik Kundiman
On SDL2, there are no more x11.lock_func or x11.unlock_func, so the camming is too sensitive, and alt tab is overridden too when it shouldn't be. It's better than nothing at all for now. This feature should be re-perfected later.
2023-08-16Revive mouse wheel on SDL2Erik Kundiman
2023-08-15SDL 1.2 to 2.0 migrationErik Kundiman
Both keycodes and scancodes are now 32 bits, so the key type is lengthened from U16 to U32.
2023-07-19Fix what GCC considers as misleading indentationsErik Kundiman
The style conventions aren't really being followed that the different styles of using tabs or spaces as indentations lead to GCC considering them as misleading. It's better to just fix them (but as little as possible as to minimise this fork difference from upstream) than to supress the warnings from being treated as errors.
2023-07-19Disable g_thread_init when using system libsErik Kundiman
On GCC, compiling against a recent GTK2 version would stop on deprecated pre-processors.
2023-07-19FreeBSD has SDL keyboard & window files built tooErik Kundiman
and any Linux SDL code should be applied to FreeBSD too.
2023-07-19Stubs for missing implementations that use SDLErik Kundiman
in order to get rid of this: error: invalid new-expression of abstract class type ‘LLWindowSDL’ fullscreen, clearBg, enable_vsync, use_gl, ignore_pixel_depth, fsaa_samples); note: because the following virtual functions are pure within ‘LLWindowSDL’: class LLWindowSDL : public LLWindow ^~~~~~~~~~~ virtual void* createSharedContext() = 0; ^~~~~~~~~~~~~~~~~~~ virtual void makeContextCurrent(void* context) = 0; ^~~~~~~~~~~~~~~~~~ virtual void destroySharedContext(void* context) = 0; ^~~~~~~~~~~~~~~~~~~~ virtual void toggleVSync(bool enable_vsync) = 0; ^~~~~~~~~~~ The window has been relying on some, mostly GL context related, methods. These methods are declared abstract, so for now they're implemented using member functions that do nothing, return nothing.
2021-06-07Merge branch 'master' into DRTVWR-530-maintAndrey Lihatskiy
2021-04-27SL-14664 Added zoomout and sizeallAndrey Kleshchev
Remade code to use getCursorFromString
2020-10-08DRTVWR-510 remove all LL_SOLARIS conditionalsDave Houlton
2015-11-10remove execute permission from many files that should not have itOz Linden
2014-05-07merge changes for 3.7.7-releaseOz Linden
2014-03-13OPEN-209: Corrected all instances of trigraphs in the code.Ricky Curtice
Trigraphs can cause some real special headaches. The only part that's annoying is the comment in newview/llimview.cpp where there's an unfortunate collision of a trigraph sequence with a character sequence that could be displayed by the viewer. Thankfully, it's only a comment!
2013-08-14BUILDFIX: converted platform-specific files over to new LL_INFOS, etc macrosRichard Linden
2013-04-19merge changes for DRTVWR-294Oz Linden
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-03-13Fix for gcc 4.6 build failures on Linux in llwindowsdl.cppDon Kjer
2013-03-11LLWindow merge fixes for Macprep
2013-01-24merging in viewer-beta.Nyx Linden
Most of the merge was clean, a couple conflicts. Brought over a couple patches manually for llpolymesh.
2012-12-12Pull and merge viewer-developmentsimon@Simon-PC.lindenlab.com
2012-12-05Pull from viewer-developmentprep
2012-12-01Fixed previous commit.Logan Dethrow
2012-11-30Fix for STORM-1854. Adapted the fix based on other open source consumers of ↵Logan Dethrow
fontconfig that were encountering the same error.
2012-11-14MAINT-536 MAINT-1913 Added missing URL scheme filtering to the Linux viewer, ↵Maestro Linden
changed URL scheme whitelist. Reviewed by Callum.
2012-10-11Updating linux build to gcc4.6Don Kjer
2012-09-23Removing unused gHeadlessClient code from viewerDon Kjer
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-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-06EXP-1651 FIXED Added saving window size after each reshape.Seth ProductEngine
Fixed broken resize indicator on Linux viewer window (EXP-1580).
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-30EXP-1580 FIXED applying "MinWindowWidth" and "MinWindowHeight" settings to ↵Seth ProductEngine
Linux viewer window. Added minimum size setting method for X11 viewer window on Linux.
2011-11-29EXP-1580 FIXED resize indicator on Linux showing Viewer window can be ↵Seth ProductEngine
resized below minimum size. Fixed using minimum window dimensions configured in debug settings.
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-02EXP-1488 FIXED Minimum viewer window size limited to 1024x768 on Linux.Seth ProductEngine
2011-10-12NEVER use glFinish outside shutdownGLDave Parks
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-03-31EXT-2418 - improved cursors for sit/open/buy - the neglected Linux part.Tofu Linden
2010-03-29mergeRichard Nelson
2010-03-29EXT-3258 - Viewer freezes while external web browser loads pageRichard Nelson
reviewed by Callum