Skip to content

Commit 0f9b348

Browse files
committed
v0.42.1
1 parent e20ab55 commit 0f9b348

54 files changed

Lines changed: 4758 additions & 4089 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
3.8 MB
Binary file not shown.
3.04 MB
Binary file not shown.
-227 KB
Binary file not shown.

src/base/B777-300ER/plugins/SASLFree/changelog.txt

Lines changed: 259 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,262 @@
1+
----------------------------------------------------------
2+
SASL 3.9.0 (XP11.25+ support)
3+
----------------------------------------------------------
4+
5+
- Fixed tracking of 3D panel mouse position in multi-monitor configurations and with rotational offsets applied for monitors
6+
- Fixed bug with mouse cursor associated with 3D panel component being active after leaving 3D panel
7+
- Fixed configuring 3D positional sounds for Aircraft plugins
8+
- Fixed context windows states saving and restoring, also visibily is now saved as well
9+
- Added Lua functions to track 3D panel mouse position - <getCSMouseIsOnPanel>, <getCSPanelMousePos>
10+
- Added Lua routines to save and restore OGL internal line primitives settings
11+
- Added option to draw text vertically
12+
- Added async variants of functions to perform data transfers from URL (Net interface)
13+
- Updated SASL Dev Widget UI (scrollbars, drefs & commands search, dynamic text size, bugfixes)
14+
- Updated SASL default cursors texture
15+
16+
----------------------------------------------------------
17+
SASL 3.8.0 (XP11.25+ support)
18+
----------------------------------------------------------
19+
20+
- Fixed cathing middle mouse button events for legacy pop-ups and 3d panel
21+
- Fixed bug with attempt to render into texture, which is already freed
22+
- Fixed SASL_CW_RESIZE_RIGHT_BOTTOM resizing mode for non-propotional context windows
23+
- Improved cursor showing behavior for component, more logical and convenient
24+
- Improved windows layering (legacy pop-ups window now live in separate layer)
25+
- Added ability to save context window state (position, active context) between project loadings
26+
- Added functional to work with stereographic projections
27+
- Added ability to completely destroy context window, freeing all handled resources (<destroy> method)
28+
- Added function to reset timer
29+
- Added function to create hi-res system timer (can be used to measure time within same callback)
30+
- Added annotations for Lua SASL interface (used for auto-completion)
31+
- Restructured internal code related to events system, etc
32+
33+
----------------------------------------------------------
34+
SASL 3.7.2 (XP11.25+ support)
35+
----------------------------------------------------------
36+
37+
- Fixed usage of nested render targets in non-graphics callbacks (<update>, etc)
38+
39+
----------------------------------------------------------
40+
SASL 3.7.1 (XP11.25+ support)
41+
----------------------------------------------------------
42+
43+
- Fixed some unnecessary re-activation triggers on Windows OS (Commercial Version)
44+
- Fixed irrelevant entry in the Log about error before activation (Commercial Version)
45+
46+
----------------------------------------------------------
47+
SASL 3.7.0 (XP11.25+ support)
48+
----------------------------------------------------------
49+
50+
- Fixed possible CTD during automatic context window positioning
51+
- Used other method to catch click event for additional Click System Layer in VR
52+
- Added function to disable and enable Unicode support for the font instance
53+
- Added new Lua callback for components on shutdown - <onModuleShutdown>
54+
55+
----------------------------------------------------------
56+
SASL 3.6.5 (XP11.25+ support)
57+
----------------------------------------------------------
58+
59+
- Fixed CTD on X-Plane exit in case if SASL project is a Global Plugin
60+
- Fixed internal click system bug with HOLD and UP mouse buttons statuses
61+
62+
----------------------------------------------------------
63+
SASL 3.6.4 (XP11.25+ support)
64+
----------------------------------------------------------
65+
66+
- Fixed possibility of CTD on startup in Linux version
67+
- Fixed middle mouse button event for old-style <subpanel> windows
68+
69+
----------------------------------------------------------
70+
SASL 3.6.3 (XP11.25+ support)
71+
----------------------------------------------------------
72+
73+
- Minor internal DRM fix (Commercial Version)
74+
75+
----------------------------------------------------------
76+
SASL 3.6.1 (XP11.25+ support)
77+
----------------------------------------------------------
78+
79+
- Added <drawArcLine> function
80+
- Added functions for changing OpenGL line width and stipple parameters
81+
- Updated arguments specification for component creation (properties are passed as references)
82+
- Updated <setFontBckPadding> function
83+
84+
----------------------------------------------------------
85+
SASL 3.6.0 (XP11.25+ support)
86+
----------------------------------------------------------
87+
88+
- Fixed drawing multi-line text with non-default alignment
89+
- Fixed cursor management for context windows after window is closed
90+
- Fixed some cases when incorrect functions arguments are not handled
91+
- Fixed rendering in to target with anti-aliasing enabled
92+
- Fixed memory issue in case of using anti-aliasing
93+
- Fixed logging of failed command handler call, shows failed command ID
94+
- Fixed data management for functional array-like properties (datarefs)
95+
- Fixed possible memory leak in case of image loading failure
96+
- Added size getter callback usage for functional array-like properties (datarefs)
97+
- Added new text rendering mode (forcing monospacing)
98+
- Added function for empty texture creation
99+
- Added ability to specify font glyphs spacing factor
100+
- Added ability to use nested masking stack and nested render targets
101+
- Added functional for text rendering with background
102+
- Added ability to create global properties (datarefs) as read-only
103+
- Updated Click System layer functional
104+
- Updated logging in some places
105+
- Updated routines for text measurement
106+
- Removed ability to setup cursors scale factor in Click System
107+
- Removed some experimental text rendering modes
108+
109+
----------------------------------------------------------
110+
SASL 3.5.1 (XP11.25+ support)
111+
----------------------------------------------------------
112+
113+
- Fixed <globalProperty> wrapper for string datarefs
114+
- Fixed crash after <getEnvVariable> on Mac and Linux
115+
- Fixed setting string datarefs (non-partial setters)
116+
- Fixed broken <getCSMouseYPos> function
117+
- Fixed special font render modes parametrization - ratio should be used instead of fixed value
118+
- Fixed text measurement in case if special modes applied
119+
- Added new mode for text drawing: with forced fixed horizontal advance
120+
- Added new functions for fonts system (instance configurations, instance-specific drawing)
121+
- Partially reverted focus logic for Context Windows (fixes possible issues with global key handlers)
122+
123+
----------------------------------------------------------
124+
SASL 3.5.0 (XP11.25+ support)
125+
----------------------------------------------------------
126+
127+
- Fixed possible corruption of X-Plane interface textures after textured drawing in the Context Window
128+
- Fixed Context Window keyboard focusing logic in different modes
129+
- Fixed various issues with keeping Context Windows proportionality
130+
- Fixed missing TYPE_UNKNOWN global value
131+
- Fixed crash during rendering to texture target on initial project loading outside of any callback function
132+
- Fixed a few issues with functional Lua datarefs
133+
- Fixed auto-management of Context Window position
134+
- Fixed receiving global monitors bounds via <getMonitorBoundsGlobal> in X-Plane < 11.30
135+
- Fixed cursor shape cut by Context Window edges
136+
- Fixed issue with CA certificates on Windows OS during usage of <net> functionality
137+
- Fixed instancing of Fonts IDs - specifying different fonts options for different fonts instances is now working
138+
- Fixed fonts usage with outline thickness < 1.0
139+
- Fixed a few SVG usage issues: loading, fill rules, passing SVG error message into Log
140+
- Fixed fonts data caching
141+
- Fixed necessity of tuning X-Plane App Security Settings on Mac OS 10.14
142+
- Added ability to use fixed glyph spacing mode for text rendering
143+
- Added ability to use partial getters/setters for string datarefs (same as for array datarefs)
144+
- Added function for getting current Context Windows mode
145+
- Added callback parameter for Context Window - designed to intercept various events related to internal windowing system
146+
- Added ability to enable VR auto-handling for Context Window
147+
- Added ability to select MSAA level during rendering to target
148+
- Added alternative mode for Context Window resizing - only one resize spot on right bottom edge (only applies to windows without default X-Plane decoration)
149+
- Added ability to separetely apply custom window decoration for base window rectangle - in the same way as for header decoration
150+
- Added options to alter behavior of some drawing routines related to wide lines and convex polygons
151+
- Added interface for managing environment variables for current process
152+
- Added function to clear rectangular shape in current render target
153+
- Added functional for setting various download timeouts
154+
- Improved datarefs sub-system
155+
- Improved <globalProperty> function, allowing to use array index notation
156+
- Improved auxiliary click system interface
157+
- Improved activation widget interface (Commercial Version)
158+
159+
----------------------------------------------------------
160+
SASL 3.4.2 (XP11.25+ support)
161+
----------------------------------------------------------
162+
163+
- Added way to invert masking logic on <drawUnderMask> call
164+
- Fixed global key handlers - now there's additional argument which identifies the event
165+
166+
----------------------------------------------------------
167+
SASL 3.4.1 (XP11.20+ support)
168+
----------------------------------------------------------
169+
170+
- Improved custom datarefs export to DRE and to Datarefs Tree in Widget - now the export is correct
171+
even if dataref is created after initial project loading
172+
- Improved work with render targets - now rendering in texture is possible not only in <draw> callbacks
173+
- Improved type casts messages for datarefs lookup - now they're mandatory DEBUG level messages
174+
- Improved datarefs lookup and creation speed
175+
- Improved texture minification filtering - using mipmaps
176+
- Improved images loading - supporting more formats and specifications
177+
- Fixed <sasl.gl.loadImageFromMemory> function presence
178+
- Fixed resetting current logging level after project reboot
179+
- Fixed broken sound system on some Linux distributions
180+
- Fixed crash on project reboot when Functional Properties in use
181+
182+
----------------------------------------------------------
183+
SASL 3.4.0 (XP11.20+ support)
184+
----------------------------------------------------------
185+
186+
- Fixed a few issues with <noResize> and <noMove> options for <contextWindow>
187+
- Remade proportional resizing in <contextWindow>
188+
- Added ability to configure custom window header - <customDecore> option for <contextWindow>
189+
- Added ability to change parameters (movable, resizable, proportional) for <contextWindow> on the fly
190+
- <contextWindow> now saves its previous position on modes changing (pop-out, free, etc)
191+
- Fixed a bug with 3D panel clicks introduces in 3.3.0 version.
192+
193+
----------------------------------------------------------
194+
SASL 3.3.3 (XP11.20+ support)
195+
----------------------------------------------------------
196+
197+
- Fixed various issues with unnecessary re-activation requests (Commercial Version)
198+
- Fixed <drawMaskStart> function
199+
200+
----------------------------------------------------------
201+
SASL 3.3.2 (XP11.20+ support)
202+
----------------------------------------------------------
203+
204+
- Fixed cache for interpolators objects
205+
- Fixed graphics artifacts in SASL Developer widget title
206+
207+
----------------------------------------------------------
208+
SASL 3.3.1 (XP11.20+ support)
209+
----------------------------------------------------------
210+
211+
- Fixed various issues with unnecessary re-activation requests (Commercial Version)
212+
- Fixed activation dialog appearance on some multi-monitor setups (Commercial Version)
213+
- Dump problematic path in case of <listFiles> function fails
214+
- Fixed huge FPS drop in case of Context Windows usage in VR
215+
216+
----------------------------------------------------------
217+
SASL 3.3.0 (XP11.20+ support)
218+
----------------------------------------------------------
219+
220+
- Removed XP10 support
221+
- Add support for XP11 features (multi-monitors, OS pop-out windows, VR support etc)
222+
- Refer to the <XP11> marks in the documentation
223+
- Add support for using SVG format
224+
- Updated warnings and errors dumping
225+
- Updated SASL Developer Widget to support multi-monitors and OS pop-out mode
226+
- Improved DRM functionality to avoid unnecessary activations requests (Commercial Version)
227+
228+
----------------------------------------------------------
229+
SASL 3.2.7
230+
----------------------------------------------------------
231+
232+
- Fix various issues with unnecessary re-activation requests (Commercial Version)
233+
234+
----------------------------------------------------------
235+
SASL 3.2.6
236+
----------------------------------------------------------
237+
238+
- Fix various issues with unnecessary re-activation requests (Commercial Version)
239+
240+
----------------------------------------------------------
241+
SASL 3.2.5
242+
----------------------------------------------------------
243+
244+
- Fixed issue with huge project reboot time in case of DRE windows presence
245+
- Fixed OpenAL issues on Mac OS with SASL 3.2.4
246+
- Improved DRM regarding unnecessary activations requests (Commercial Version)
247+
- Fixed <hideOSCursor> option for components on 3D panel
248+
- Added <setRenderTextPixelAligned> function to set pixel accurate text rendering mode
249+
- Added info about warnings and errors log entries count (since Reboot) into Developer Widget
250+
- Add ability to use alpha texture as mask between <drawMaskStart> and <drawUnderMask> calls
251+
- Fixed <fbo> option for components
252+
- Added new function for setting Lua stacktrace limit used in case of Warnings and Errors
253+
- Fixed <unloadImage> function absence
254+
- Added default mouse wheel handler for popups (now they're not transparent for mouse wheel action)
255+
- Fixed error logging in case of resources lookup fail
256+
- Returned ability to specify <position> for component as function
257+
- Fixed some SASL virtual keys constants values
258+
- Fixed hard crash in case of some graphics resources lookup fail during draw routines call
259+
1260
----------------------------------------------------------
2261
SASL 3.2.4
3262
----------------------------------------------------------
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
-------------------------------------------------------------------------------
2+
-- API
3+
-------------------------------------------------------------------------------
4+
5+
--- @class gl
6+
--- @class al
7+
--- @class net
8+
--- @class options
9+
10+
--- @class sasl
11+
--- @field gl gl
12+
--- @field al al
13+
--- @field net net
14+
--- @field options options
15+
16+
-------------------------------------------------------------------------------
17+
-------------------------------------------------------------------------------
18+
19+
--- @class LogLevelID
20+
21+
LOG_DEFAULT = nil
22+
LOG_TRACE = nil
23+
LOG_DEBUG = nil
24+
LOG_INFO = nil
25+
LOG_WARN = nil
26+
LOG_ERROR = nil
27+
28+
--- Writes data to the log file using info-level.
29+
--- @vararg data
30+
function logInfo(data, ...) end;
31+
sasl.logInfo = logInfo;
32+
33+
--- Writes data to the log file using warning-level.
34+
--- @vararg data
35+
function logWarning(data, ...) end;
36+
sasl.logWarning = logInfo;
37+
38+
--- Writes data to the log file using error-level.
39+
--- @vararg data
40+
function logError(data, ...) end;
41+
sasl.logError = logInfo;
42+
43+
--- Writes data to the log file using debug-level.
44+
--- @vararg data
45+
function logDebug(data, ...) end;
46+
sasl.logDebug = logInfo;
47+
48+
--- Writes data to the log file using debug-level.
49+
--- @vararg data
50+
function logTrace(data, ...) end;
51+
sasl.logTrace = logInfo;
52+
53+
--- Returns currently selected log level.
54+
--- @return LogLevelID
55+
function getLogLevel() end;
56+
sasl.getLogLevel = getLogLevel;
57+
58+
--- Sets current log level for logger.
59+
--- @param level LogLevelID
60+
function setLogLevel(level) end;
61+
sasl.setLogLevel = setLogLevel;
62+
63+
-------------------------------------------------------------------------------
64+
-------------------------------------------------------------------------------
65+
66+
--- Returns value of system environment variable for current process.
67+
--- @param name string
68+
--- @return boolean, string
69+
function getEnvVariable(name) end;
70+
sasl.getEnvVariable = getEnvVariable;
71+
72+
--- Sets value of system environment variable (creates new, if it doesn't exist) for current process.
73+
--- @param name string
74+
--- @param value string
75+
--- @return boolean
76+
function setEnvVariable(name, value) end;
77+
sasl.setEnvVariable = setEnvVariable;
78+
79+
--- Unsets environment variable for current process.
80+
--- @param name string
81+
--- @return boolean
82+
function unsetEnvVariable(name) end;
83+
sasl.unsetEnvVariable = unsetEnvVariable;
84+
85+
--- Returns the identifier of OS.
86+
--- @return string
87+
function getOS() end;
88+
sasl.getOS = getOS;
89+
90+
--- Returns X-Plane version.
91+
--- @return number
92+
function getXPVersion() end;
93+
sasl.getXPVersion = getXPVersion;
94+
95+
-------------------------------------------------------------------------------
96+
-------------------------------------------------------------------------------
97+
98+
--- @class FileEntry
99+
--- @field name string
100+
--- @field type string
101+
102+
--- Returns data about directories and files located in the specified path.
103+
--- @param path string
104+
--- @return FileEntry[]
105+
function listFiles(path) end;
106+
sasl.listFiles = listFiles;
107+
108+
-------------------------------------------------------------------------------
109+
-------------------------------------------------------------------------------
340 Bytes
Loading
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
---------------------------------------------------------------------------------------------------------------------------
2-
---------------------------------------------------------------------------------------------------------------------------
3-
-- INTERACTIVE ZONE -----------------------------------------------------------------------------------------------------
4-
---------------------------------------------------------------------------------------------------------------------------
1+
-------------------------------------------------------------------------------
2+
-- Interactive zone
3+
-------------------------------------------------------------------------------
54

65
function draw()
76
if globalShowInteractiveAreas then
87
sasl.gl.drawFrame(0, 0, size[1], size[2])
98
end
109
end
1110

12-
---------------------------------------------------------------------------------------------------------------------------
13-
---------------------------------------------------------------------------------------------------------------------------
11+
-------------------------------------------------------------------------------
12+
-------------------------------------------------------------------------------

0 commit comments

Comments
 (0)