Commit Graph

44969 Commits (760be77eb5e3868902af4e452c375b9458f4b03d)

Author SHA1 Message Date
Ansariel 760be77eb5 Fix method signatures in FSLSLProprocessor for "not-supported" case 2015-04-28 20:40:43 +02:00
Ansariel bf89736f2d Update German translation 2015-04-28 20:38:59 +02:00
Ansariel 8633a45736 Replace viewer name in FS preproc strings with APP_NAME subst and replace double quotation marks with single ones 2015-04-28 20:38:46 +02:00
Ricky Curtice 97b1492c67 Enabled translation of the messages returned by the preprocessor code.
I made no judgement on the verbosity of the code, though it seems very noisy to me, and simply took all the strings, touched them up, and moved them out.

I initially tried to place the strings in a file more specific to the script editor, but the translation system could never find them.  So I gave up and placed them in the global string definition file.
2015-04-27 21:20:49 -07:00
Ricky Curtice 023be744cf Correctly named the logging operations. 2015-04-27 00:04:48 -07:00
Ricky Curtice 494a0252aa FIRE-9337: Added ability to disable the FS Preprocessor on a per-script basis.
Initially I tried to use a "#pragma"-esque marker, but LSL chokes on the hash. So I moved to the simple hack of using a special-form comment.

I also started out by trying to detect the marker in the first non-whitespace line.  After some thought I realized that this might conflict with some people's editors or other things they like to add to their scripts.
To correct for this I had two options - go through all the effort of skipping commented blocks, or just simply scan the entire script for that character sequence.  I chose the latter because it is far simpler to code, even though it is more open to abuse.  The abuse, that of putting the tag in arbitrary locations in the script, can be mitigated by having the documentation state that the marker is to be located at the beginning of the script on its own line.

Because of the added scope restrictions that came about because I wrapped a block of code in an 'if' statement, I would up making the treatment of the "err" variable more consistent.  Instead of some places using the function-scoped variable and some using deeper-placed name overrides the code now just creates said variable whereever needed.
2015-04-26 23:41:55 -07:00
Ansariel 31bd9fb540 Cleaning up the really useful look-at feature 2015-04-27 13:15:03 +02:00
Ansariel 8ef83aa307 FIRE-15946: Texture info gets wrongly reported multiple times; Found by Sei Lisa 2015-04-27 11:47:30 +02:00
Ansariel 636e81dc31 FIRE-15948: Don't close Flickr floater after each post and retain entered text 2015-04-27 11:23:31 +02:00
Ansariel d6d3ef306c Don't hide resolution spinners on snapshot to inventory panel - they get disabled if needed 2015-04-27 11:04:00 +02:00
Mnikolenko ProductEngine 62db9f6ba7 MAINT-5041 FIXED Current Window snapshot option is restored. Hide height/width spinners when selecting this option. 2015-04-03 12:48:20 +03:00
Ansariel 4fc901d703 Backed out changeset 82a3a2987537 for LL fix 2015-04-27 10:37:12 +02:00
Ansariel 980ac325ca FIRE-15947: Setting texmem to 1GB causes bias going up to 5 2015-04-26 20:16:55 +02:00
Ansariel e360324bae More German translations... 2015-04-26 18:22:35 +02:00
Ansariel 0f661aa1b4 Update German translation 2015-04-26 17:19:13 +02:00
Northspring 61e5f6d87a Move very few options around in prefs in order to make more space in "Interface" => "General" and move out "Show Menu Search" from "Advanced" tab
Changes in detail:

- Moved...
   "Show lag meter" (renamed to "Show traffic indicator in upper right corner of the screen", in tooltip as well),
   "Use legacy period mean per second display for lag meter" (renamed to "Use legacy period mean per second display for traffic indicator", in tooltip as well),
   "Show media controls in top menu",
   "Show simulator channel in status bar"
... from "Interface" => "General" to "Interface" => "Top Bars" (new tab). New tab also has two labels, "Status bar:" and "Navigation & Favourites bars:".

- Added...
   "Clicking on traffic indicator opens Statistics instead of the Lag Meter",
   "Show Location in Top Menu",
   "Show Favorites Bar",
   "Show Navigation and Search Bar",
   "Show Search Bar"
... to "Interface" => "Top Bars". The last four comes from the context menu of the status bar (menu_hide_navbar.xml).

- Moved "Show Menu Search" option from "Advanced" tab to the new "Interface" => "Top Bars" one.
- Added "Disable VRAM detection via WMI probing on Windows systems" in "Advanced" tab; This option will be gray-ed out on non-Windows systems.
2015-04-26 16:13:44 +02:00
Ansariel 2308700979 Change texture memory limits:
* 32bit builds will clamp max textures in memory back to 768MB which matches the limit in V3 so it doesn't run out of memory that fast anymore
* 64bit builds get a texture limit of 1GB now, which results in 2GB max textures in memory
2015-04-26 03:34:39 +02:00
Ansariel b2cd909295 FIRE-4358: Add RLVa "touchfar" synonym for "fartouch" 2015-04-25 13:42:37 +02:00
Ansariel ee26f9edf8 Force HTTP textures and inventory both enabled on Second Life; Contains code originally developed by Lirusaito Faers, with permission to use under LGPL
HTTP Inventory menu option in Developer menu has been restored, but both
HTTP Inventory and HTTP Textures will be hidden when logged into SL.
2015-04-25 01:58:39 +02:00
Nicky 136a54194e The old version did disconnect the wrong signal (mParcelMgrConn). 2015-04-24 00:47:09 +02:00
Nicky 2f2b586094 Exception safe memory handling, also the old version did alloc with new[] and used plain delete for deallocation. 2015-04-24 00:46:16 +02:00
Nicky 04422b477f Remove an unused member, this will save a bit of memory, which multiplies with inventory size. 2015-04-24 00:45:15 +02:00
Nicky 49b1a8546c Fir for yet another mesh-matrix overflow. 2015-04-24 00:44:11 +02:00
Nicky eadc495c86 FIRE-15920; Flip the AIS3 switch and make the default off. 2015-04-23 11:48:45 +02:00
Nicky bd3de76132 Tip to default. 2015-04-22 18:25:28 +02:00
Nicky 87f803acb7 Tip to default. 2015-04-22 17:44:12 +02:00
Ansariel cabd68fb01 FIRE-15886: Follow-up fix: Only show the object in inventory if it's from an agent - taking objects inworld will route us here too 2015-04-22 17:39:31 +02:00
Ansariel 871dd17c68 Minor clean up in LLNavigationBar 2015-04-22 15:08:35 +02:00
Ansariel 5c67be82c1 FIRE-15892: Context menu for search textbox in navigation bar doesn't work anymore 2015-04-22 15:08:16 +02:00
Ansariel 647245f226 Fix possible memory leak in LLLineEditor when assigning a context menu while LLMenuGL::sMenuContainer is still null 2015-04-22 15:07:08 +02:00
Nicky f14c63d9c3 More out of bounds protection for mesh items. 2015-04-21 01:29:27 +02:00
Nicky bc9ca3d813 Simple way to get declarations for the used GCC intrinsics. 2015-04-21 00:35:12 +02:00
Ansariel 49283dd735 Typo :) 2015-04-20 23:39:48 +02:00
Ansariel b0ca32a3e6 FIRE-15906: Clear combobox values before adding new 2015-04-20 16:23:33 +02:00
Northspring 64f8d097dd A follow-up for commit 3f6362d50f01 - try to not exceed IM length limit in sysinfo2 and move few records to sysinfo1 2015-04-20 16:06:06 +02:00
Nicky c9064c8709 Fix another potential file handle leak. 2015-04-20 14:53:04 +02:00
Nicky 6c828030a7 Add two more missing va_end. 2015-04-20 14:52:52 +02:00
andreykproductengine 5a00bacfe2 MAINT-3202 FIXED Cancel of selected colour in "Colour picker" floater does not return colour icon to previous condition 2014-10-10 09:20:42 +03:00
Northspring 60ac1e2af5 FIRE-15714: UI Scaling & Font Size Adjustment in SysInfo / About 2015-04-20 14:24:06 +02:00
Nicky 9c1ca8b72a FIRE-15874; do not write illegal characters into XML files. 2015-04-19 22:29:37 +02:00
Ansariel c158ff46a5 Updated German translation 2015-04-19 18:00:08 +02:00
Northspring bc0e12b356 Add a hidden debug option to give a choice to open Statistics window instead of the Lag Meter one 2015-04-19 16:54:09 +02:00
Northspring 28220963ba Warn if 'reject teleport offers and requests' mode is active and user tries to send a teleport request 2015-04-19 16:48:05 +02:00
Ansariel 92cebdf6a7 FIRE-15891: Add option to disable WMI check in case of problems 2015-04-19 11:51:26 +02:00
Ansariel 4d9ebe5cf2 FIRE-15894: Japanese translation update by Hiroshi Kumaki 2015-04-19 11:30:34 +02:00
Nicky 66d50e06b2 Fix for 45352/45ef3c3e352e, two choices, chance of 50/50, I picked the wrong one first try. 2015-04-19 00:09:52 +02:00
Nicky 028b6f6b37 Merge. 2015-04-18 19:28:49 +02:00
Nicky 2bec55ee38 Fix for a possible double free and access of invalid memory. 2015-04-18 19:28:33 +02:00
Northspring 19a45866b7 Updated Polish translation 2015-04-18 17:41:46 +02:00
Ansariel a3ef11a478 FIRE-15888: Include outfit name in delete outfit confirmation dialog 2015-04-18 14:49:10 +02:00