1
0
Fork 0
Commit graph

1245 commits

Author SHA1 Message Date
www2
acb88337f2 add var to fillOpacity and strokeOpacity 2015-04-10 21:09:14 +02:00
www2
7b71a8f361 Add Alpha channel for fill and stroke 2015-04-09 00:51:24 +02:00
Rebecca N. Palmer
60da209425 Remove FG_SCENERY from Nasal allowed directories
This was insecure as Nasal could change it, and appears to be unused
2015-03-13 18:31:38 +00:00
Torsten Dreyer
404fff889b Merge commit 'refs/merge-requests/268' of https://gitorious.org/fg/fgdata into merge-requests/268 2015-02-22 21:49:12 +01:00
Torsten Dreyer
0cfddbcd9d Merge commit 'refs/merge-requests/271' of https://gitorious.org/fg/fgdata into merge-requests/271 2015-02-22 21:42:46 +01:00
Thorsten Renk
a401041637 Tentative bugfix for AW not considering gusty follow-up METAR reports 2015-01-14 10:04:42 +02:00
James Turner
e370899a93 Procedures: be defensive about STAR/approach choice.
Current GUI allows selected mis-matched STAR and approach. Low risk
fix is to detect and deal with this case by just routing direct. Real
fix involves a slicker GUI or inserting a route discontinuity (possible
in FG 3.6 hopefully)
2015-01-10 19:38:29 +00:00
James Turner
f786e57c96 Set new route-path / flightplan control values.
Propagation is done by the FMSDelegate so custom FMS/GPS
systems can trivially replace this behaviour.
2015-01-08 19:48:17 +00:00
Nikolai V. Chr
4b806a36c2 Added possibility to specify position to gui.popupTip 2015-01-04 18:36:18 +01:00
James Turner
da1316a74c Hitch/aertow updates fro D-NXKT
-fix a severe bug which led to unintended hitch releases;
-include the new JSBSim external force location variables;
-improvements for function closeHitch
2015-01-04 08:58:20 +00:00
Thorsten Renk
1ad3944b17 Two minor AW bugfixes - behaviour without terrainsampler restored and gusty winds in METAR corrected 2015-01-02 09:12:44 +02:00
Thomas Geymayer
d930e3f2fa Nasal: std.Vector: add 'contains' method (by onox). 2014-12-23 14:40:29 +01:00
Anton Gomez Alvedro
c108f3b988 Bugfixes and improvements to the Failure Manager
- Fix: runtime exception in remove_failure_mode()
  - Fix: keep failure & trigger status on teleport.
  - Fix: allow random failures from the gui to be enabled/disabled multiple times.
  - Fix: mcbf/mtbf are set to zero when they fire, so they can be reactivated from the gui.
  - Fix: string casts of several trigger types had syntax errors.
  - Usability: screen messages related to failures now use positive logic:
         "condition 100%" instead of "failure level 0%"
  - Performance: Time triggers now use internal timers, instead of requiring being polled.
  - Reviewed Trigger interface for more rational usage. reset() is replaced by arm()/disarm()
  - Added a subscription interface to listen to FailureMgr events.
  - Added an internal log buffer to keep a record of relevant events and present them to gui elements.
  - Several usability improvements to the FailureMgr Nasal API.
2014-12-21 12:39:52 +01:00
James Turner
6a763a0d77 Route-manager: fix approach transitions. 2014-12-19 17:02:55 +00:00
Philosopher
db36387a36 Nasal REPL: integrate with Canvas keyboard
Allows for focusing/unfocusing by clicking on the window or "desktop"
respectively.
2014-11-28 09:29:28 -06:00
Philosopher
c0713db911 Fix screen width compensation
The reason it didn't work for me is that
/sim/rendering/camera-group/camera/viewport/ does not seem to contain
the actual dimensions of the view window... which is odd. Instead I'll
use /sim/startup/[xy]size (and make it into a method so I don't have to
change 3 lines next time :). Now that it works (again), it looks so much
better. Thanks to Alexis Bory for the original idea.
2014-11-27 22:17:22 -06:00
Thomas Geymayer
7b279f1fd7 canvas.gui: ensure all LineEdit/ScrollArea methods are chainable. 2014-11-23 23:35:26 +01:00
syd adams
d9e9a65909 modified gui.nas to enable hiding tank on Fuel dialog 2014-11-19 12:14:18 -07:00
Thorsten Renk
a6ff6a6199 Undulatus-based AW clouds make use of transparency parameter 2014-11-17 13:35:48 +02:00
Thorsten Renk
403c35d544 AW domain-based clouds utilize transparency parameter 2014-11-17 12:59:48 +02:00
Thorsten Renk
4e9ba3e560 Basic ALS + AW infrastructure to use new cloud transparency parameter 2014-11-16 12:28:09 +02:00
Thorsten Renk
4e144a16bb AW uses detailed precipitation control, property rule adjusts precipitation illumination 2014-10-22 11:00:19 +03:00
Thomas Geymayer
33a9b73b5c Add std.Vector wrapper class (by onox). 2014-10-18 01:13:37 +02:00
Thorsten Renk
d1982846e1 AW produces snow when SN is specified in METAR string 2014-10-15 12:49:47 +03:00
Torsten Dreyer
61a6fee0db Canvas svg: use font-style and map LiberationFonts
- interprete the font-style attribute for text
- add a better font-mapper for Liberation Fonts
2014-09-10 16:51:12 +02:00
Thomas Geymayer
fd3bd5da20 canvas.gui: Basic InputDialog and some small tweaks. 2014-09-01 19:31:25 +02:00
Thomas Geymayer
246c480ea3 canvas.gui: Add a basic LineEdit for text input. 2014-08-31 19:40:14 +02:00
Torsten Dreyer
f3058a3f2e Canvas: add support for stroke-linejoin 2014-08-26 00:06:59 +02:00
Thomas Geymayer
2bce958f39 parsesvg: Improved clip and error handling.
- Ignore and warn for unsupported/invalid clip regions.
 - Correctly handle clip 'none'.
 - Use printlog everywhere instead of debug.dump and others.
2014-08-24 13:59:36 +02:00
Thomas Geymayer
a10e9c7b00 canvas.gui: simplify MessageBox and Aircraft center with core changes. 2014-08-05 00:22:14 +02:00
Thomas Geymayer
804b42cfa4 canvas.gui: Window input focus handling. 2014-08-04 23:48:29 +02:00
Thomas Geymayer
67229cbadc canvas.gui: handle visibility changes of widgets. 2014-07-21 00:28:44 +02:00
Thomas Geymayer
8aabd3726a parsesvg: support for rectangular clip/mask. 2014-07-19 21:44:38 +02:00
Thomas Geymayer
59edeea5c3 Aircraft Center: fix aircraft switching log message. 2014-07-12 18:10:36 +02:00
Thomas Geymayer
bb1ab2d975 canvas.gui: let widgets set layout size to allow user defined size hints. 2014-07-12 18:10:36 +02:00
Gijs de Rooy
2452ab0f5c Navdisplay: fix runway symbol 2014-07-12 17:56:48 +02:00
Gijs de Rooy
dd1e0cba46 Navdisplay: fix wind data display, add TCAS messages, move DME/VOR out of update() 2014-07-10 23:07:47 +02:00
Gijs de Rooy
1ba6af1284 Navdisplay:
- set z-index on layers
- correct PLAN range
- hide/show navaids on mode change
- display runway identifier
2014-07-08 12:28:26 +02:00
Gijs de Rooy
573de77cb8 Navdisplay: bug fixed and new features
- Correct z-index
- Add MAP CTR compass
- Fix active WPT color
- Hide wind data at low speeds
- Move code outside main update loop
- Correct ranges
2014-07-06 23:17:47 +02:00
Thomas Geymayer
db27e0972e canvas.Window: move/setSize/setPosition: support coords as vector. 2014-06-30 23:18:48 +02:00
Thomas Geymayer
c75869271e Aircraft Center: fixes for install progress in reopened windows.
Restore install progress indication after closing and reopening
Aircraft Center.
2014-06-30 18:16:22 +02:00
Thomas Geymayer
bc714fa39c canvas.gui: widget focus fixes and clean up. 2014-06-29 12:04:36 +02:00
Thomas Geymayer
f8bbc32d68 Aircraft Center: improve responsiveness.
Only show max 50 aircraft by default and provide a "Show More"
button. This prevents locking the GUI for up to nearly 15 seconds
with showing the list of all aircraft.
2014-06-28 13:18:57 +02:00
Thomas Geymayer
eb01ab7127 canvas.gui.ScrollArea: no need for double update of content size. 2014-06-28 13:18:56 +02:00
Thomas Geymayer
1864153b9a canvas.gui.MessageBox: Ensure path for saving selections exists. 2014-06-26 18:11:41 +02:00
Hyde Yamakawa
ece46ff679 Update canvas map symbols 2014-06-25 21:35:32 -04:00
Thomas Geymayer
15d3e8612d Canvas REPL: update for ScrollArea changes/remove unneeded code. 2014-06-26 00:55:36 +02:00
Thomas Geymayer
0338d82c55 canvas.gui.ScrollArea: fix (wheel) scroll behavior.
Rewrite the way scrolling for ScrollAreas is handled: Store
content position instead of scrollbar positions to keep position
on resize and promote moving the content instead of the contents
to as primary API.
Let the mousewheel scroll by fixed content offset instead of
scrollbar offset to make it actually usable (especially with
low scrolling distance).
2014-06-26 00:50:46 +02:00
Philosopher
b7f0b09df4 Canvas REPL: actually fix copy/paste/continue line 2014-06-24 20:10:32 -05:00
Philosopher
2c3f457281 MapStructure: avoid flickering labels/paths 2014-06-24 14:21:14 -05:00