Commit Graph

138 Commits (ea7526eecf9d9c1d4d4e122a22829660ebbeda43)

Author SHA1 Message Date
Nicky ea7526eecf Linux; Move SDL_GL_CreateContext right after SDL_CreateImage.
Putting it before SDL_GetWindowSurface seems to fix the problems with the NVidia driver.
2019-12-26 20:15:00 +01:00
Nicky 759c43cbb3 Linux; Do ot call SDL_GL_CreateContext if the environment variable FS_NO_SDL_CREATE_CONTEXT is set to 1.
NVidia does not seem to like he SDL_GL_CreateContext while AMD needs it. The documentation on the other hand agrees the call is a must. Needs some more investigation.
2019-12-26 19:33:57 +01:00
Nicky 31c40a1cb1 - Make sure to call all SDL_GL_Set fuctions before creatig the window
- Create a context via SDL_GL_CreateContext. Some drivers are okay without, some are not.
- Quert GL attributes with SDL_GL_Get rather than OpenGL calls.
2019-10-06 13:52:00 +02:00
Nicky 36231a947f Make sure newGrab is always initialized. While at it delete some dead code. 2019-03-21 15:58:18 +01:00
Nicky 940cb4fcd5 - Correct MD5 for libndofdev.
- New dullahan with updated SDL2 keyboard
- Improve keyboard handling for SDL2 and make sure:
  - accelerators work again.
  - enter is properly forwarded as an input event.
  - mousewheel messages get handled.
2019-03-19 05:23:33 +01:00
Nicky 78e9f97218 Keyboard code for CEF plugin, map to old SDL1 codes till the plugin is updated. 2019-03-11 00:57:49 +01:00
Nicky c49648d435 More keyboard handling tweaks for SDL2. 2019-03-10 20:43:29 +01:00
Nicky 365aedb3f0 HAndle text input via SDL 2 with SDL_TEXTINPUT and only non letter keys in SDL_KEYDOWN. This only seems to leave CEF keyboard input slightly broken. 2019-03-10 15:20:50 +01:00
Nicky 34a8941cdb Update SDL and bring viewer up to SDL2. still some minor thigs with at least shift not working as expected. 2019-03-10 13:41:32 +01:00
Nicky 2fb5022185 Merge with viewer-release_linux. Open issues:
- switch back to OpenJPEG2
- Reimplement packaging logic for flatpak/snap/docker.
- Remove libvlc for Linux builds
- Remove gstreamer010 for Linux builds.
2019-03-04 08:04:58 +01:00
Nicky 4af80ab7cb g_thread_init is deprecated and should not be used anymore. Away with it. 2018-04-06 12:29:04 +02:00
Nicky 16737fac1c Convert tabs to spaces, otherwise GCC 7 gets a bit cranky about misleading indentation. 2018-03-26 19:51:08 +02:00
Ansariel 3192fe832f Merge viewer-quickgraphics 2016-03-08 01:41:31 +01:00
Nicky f10e23cf36 Store sdl keynoard symbol and add it to the LLSD returned from getNativeKeyData. 2016-02-17 00:53:35 +01:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Ansariel a45088cb6b Merge LL V3.7.11 2015-01-12 12:54:15 +01:00
Oz Linden a98b4b6bee merge changes for 3.7.7-release 2014-05-07 11:09:04 -04:00
Ricky Curtice e9116575bf OPEN-209: Corrected all instances of trigraphs in the code.
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!
2014-03-13 20:36:05 -07:00
Nicky 2455a0a8e0 Replaced even deprecated logging macros. 2014-06-11 18:24:52 +02:00
Tank_Master 6babf8abd2 Merge LL 3.7.7 2014-06-09 11:29:57 -07:00
Liny 2ced379763 Removing a missed gSavedSettings call from llwindow legacy cursors recode 2014-05-19 19:19:26 -07:00
Liny abe269ac06 Fixing merge comments 2014-05-19 19:14:05 -07:00
Liny 1d0d21b5f5 Fixing linux build 2014-05-19 19:13:32 -07:00
Liny 97a45e7597 Cleaning up legacy cursors and adding merge guard comments on changed code 2014-05-19 16:54:18 -07:00
Liny c9719151d9 Fix legacy cursor hotspots on mac and linux builds 2014-05-18 20:28:10 -07:00
Liny ee88720b8a Backed out changeset: ec54b058227c 2014-05-18 20:02:31 -07:00
Ansariel 6a74754813 Dump broken legacy V1 cursors nobody seem to fix, miss or care about for over 2 years 2014-05-14 19:13:46 +02:00
Richard Linden fe24e442a6 BUILDFIX: converted platform-specific files over to new LL_INFOS, etc macros 2013-08-14 20:50:26 -07:00
Oz Linden ddd5659f81 merge changes for DRTVWR-294 2013-04-19 10:11:29 -04:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Don Kjer cec50f8c14 Fix for gcc 4.6 build failures on Linux in llwindowsdl.cpp 2013-03-13 19:17:13 +00:00
prep 9ea6a96be9 LLWindow merge fixes for Mac 2013-03-11 17:29:05 -04:00
Nyx Linden 11fe124ae9 merging in viewer-beta.
Most of the merge was clean, a couple conflicts.
Brought over a couple patches manually for llpolymesh.
2013-01-24 16:22:49 -05:00
Nicky aa73973514 Work around glib functions that had been deprecated with glib 2.32. 2013-01-23 21:15:14 +01:00
Cinders db4543dbf8 Adhere to standard OSX app practices and bounce the icon whenever Firestorm is not the active app 2013-10-02 00:32:36 -06:00
ziree 338ae29e8f Fix opening log transcripts and folders on linux. FIRE-11533 2013-09-02 22:04:05 +02:00
Tank_Master d4640277d0 Merge LL 3.5.3 release. 2013-07-09 16:24:58 -07:00
Tank_Master 14001c54df Gastly CHUI merge pass 1, don't count on anything to work. 2013-06-26 12:14:54 -07:00
simon@Simon-PC.lindenlab.com 716e2ea3b1 Pull and merge viewer-development 2012-12-12 10:58:47 -08:00
prep 65998aaea8 Pull from viewer-development 2012-12-05 12:43:35 -05:00
Logan Dethrow 3e8fdb9daa Fixed previous commit. 2012-12-01 00:12:32 +00:00
Logan Dethrow 6cff95f8c7 Fix for STORM-1854. Adapted the fix based on other open source consumers of fontconfig that were encountering the same error. 2012-11-30 18:26:56 -05:00
Maestro Linden a567c425ca MAINT-536 MAINT-1913 Added missing URL scheme filtering to the Linux viewer, changed URL scheme whitelist. Reviewed by Callum. 2012-11-14 02:24:58 +00:00
Don Kjer c06c35609c Updating linux build to gcc4.6 2012-10-11 00:09:04 +00:00
Don Kjer d3924200b6 Removing unused gHeadlessClient code from viewer 2012-09-23 03:06:11 +00:00
Todd Stinson 9e2db5a173 PATH-852: BUGFIX Adding the custom pathfinding cursors to the mac and linux builds as apparently they never worked there. 2012-08-13 18:28:34 -07:00
Tank_Master 6207030884 Merge FS LGPL tip 2013-02-23 17:09:53 -08:00
Tank_Master ea86bb88c3 first pass merge 2013-02-04 10:52:32 -08:00
Tank_Master 169263d8b0 Merge LL 3.4.5 beta 3 2013-01-28 01:56:00 -08:00
ziree 5d276272e6 Add a best-guess workaround for fullscreen aspect ratio being off on Linux systems with dual monitors - FIRE-8825 2013-01-06 16:13:09 +01:00