Commit Graph

147 Commits (af4e66d5215513ea0fb89fa01b4a8ea961cbcf67)

Author SHA1 Message Date
Nicky 493200bca5 Undo Linux updates. 2021-03-09 10:40:01 +01:00
Nicky 3b17cc36d4 Implement OSMessagBox and clipboard via SDL. 2020-08-17 00:30:14 +02:00
Nicky 11da6293bd Remove dependency on gtk/atk etc. This breaks a few things. Some of them need to be implemented
via SDL for others a glib package needs be be pulled in.
2020-08-16 23:39:55 +02:00
Nicky a077a0fced Linux; implement LLWindowSDL::setTitle via SDL_SetWindowTitle 2020-05-31 03:02:51 +02:00
Nicky a1f2aba7e9 Linux/SDL2: Implement changes suggest by Henri Beauchamp. 2020-04-19 23:28:27 +02:00
Nicky 45b59dc1b0 Implement window resizing with advanced menu. 2020-02-07 22:14:44 +01:00
Nicky b12aca2fe4 Resing a SDL window invalidates the surface, grab a new one via
SDL_GetWindowSurface after a resize.
2020-02-02 14:27:29 +01:00
Nicky Dasmijn 86f89ff166 Remove gtk_color_selection_dialog_new as it is deprecated, thus
rendering LLWindowSDL::dialogColorPicker useless.
Normally there is LLFloaterColorPicker to handle colour selection and
one has to switch the debug "UseDefaultColorPicker" to even activate the
OS colour picker.

The non deprecated alternative is GtkColorChooserDialog / gtk_color_chooser_dialog_new
which could be used if really absolutely necessary.
2020-02-02 10:41:38 +01:00
Nicky Dasmijn 2cb95d6e0a Replace some deprecated gdk/gtk functions. 2020-02-01 13:08:05 +01:00
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