1
0
Fork 0
Commit graph

11770 commits

Author SHA1 Message Date
Thomas Geymayer
694df4b337 Fix compiler warning (naRuntimeError does not return...) 2014-06-23 00:42:17 +02:00
Thomas Geymayer
1b55ab5f40 Nasal: expose SGCondition using nasal::Ghost and improved error checking. 2014-06-22 15:37:48 +02:00
Thomas Geymayer
f7f7be77e5 Remove unused value, formatting. 2014-06-22 15:36:25 +02:00
Thomas Geymayer
821af95e0d Keep (PUI) menubar visibility on gui-redraw. (Fix #1251)
For aircraft using fgcommand("gui-redraw"), which is for example
also used by gui.menuBind, the menubar was always hidden and
not shown again.
2014-06-21 14:51:34 +02:00
Thomas Geymayer
1d5f229653 Nasal: set CustomEvent::bubbles. 2014-06-21 00:24:57 +02:00
Gijs de Rooy
8c99d5d9d6 Remove unused --control option 2014-06-19 14:28:14 +02:00
Thomas Geymayer
f4b7ae5da3 Nasal: md5 is now in simgear. 2014-06-18 15:59:41 +02:00
Thomas Geymayer
cfbf9e7e4e Nasal: expose md5 function. 2014-06-17 22:33:53 +02:00
Thomas Geymayer
da2bb6353e Nasal: expose canvas::Text::maxWidth. 2014-06-17 17:02:10 +02:00
Thomas Geymayer
c13612b1fa GUIMgr: prevent double init/shutdown 2014-06-16 23:47:05 +02:00
James Turner
7e8d713b28 Pkg: initial support for Variants
- aircraft init code can deal with a variant ID
- Nasal API can return a hash with variant IDs and names
2014-06-15 20:10:24 +02:00
Thomas Geymayer
26a4948642 NasalSys: process nasal::Ghost deletion queue. 2014-06-15 16:36:35 +02:00
Thomas Geymayer
33d23026c4 pkg: allow 'installed' as filter criterion. 2014-06-15 16:36:02 +02:00
Thomas Geymayer
52a4ded502 Nasal: expose canvas::Layout::clear() 2014-06-14 13:22:22 +02:00
bcoconni
d830430e61 Kévin Seroux: C++11 fixes for MSVC++ 2014-06-14 00:29:39 +02:00
Thomas Geymayer
4409c8cca6 Expose parse_markdown to Nasal. 2014-06-13 19:16:26 +02:00
Thomas Geymayer
e1eb9e4418 Enable package system API 2014-06-13 16:08:26 +02:00
Thomas Geymayer
b53b1a3a25 Nasal: expose canvas height-for-width layouting methods. 2014-06-13 00:09:33 +02:00
James Turner
8f754a1673 Type-correct decoding of JSON to props. 2014-06-12 19:58:13 +01:00
James Turner
d1a477324e Websocket get/set props and exec commands. 2014-06-12 17:57:25 +01:00
James Turner
ee627b8652 Expose package file size to Nasal. 2014-06-12 17:51:19 +01:00
Thomas Geymayer
9604142d09 Fix crash (use iterator of same container for loop) 2014-06-12 16:38:21 +02:00
James Turner
63427fc589 Pkg: Fix loading of non-installed aircraft.
Fallback to the normal code path when a packaged aircraft is
found, but not installed.
2014-06-12 13:06:01 +01:00
James Turner
7a5b729052 Pkg: nicer Nasal syntax for tags in queries. 2014-06-12 08:17:05 +01:00
James Turner
32f57d0dc1 Aircraft switching command and formal support.
- /sim/aircraft can be set to package ID, including qualified
package ID. If not matching package is found, falls back to
traditional search of fg-aircraft for -set.xml files
2014-06-12 08:17:05 +01:00
Thomas Geymayer
0fb94ba596 Nasal: expose canvas::Layout item remove and get methods. 2014-06-12 00:44:26 +02:00
Thomas Geymayer
53c0454931 Package: warn for unknown filter term and use Hash::iterator. 2014-06-11 18:19:13 +02:00
Thomas Geymayer
0e286717a6 pkg: Expose install callbacks to Nasal. 2014-06-10 23:53:57 +02:00
James Turner
afa45240b0 Packages: search from Nasal
- also allow direct uninstallation.
2014-06-10 22:12:27 +01:00
Thomas Geymayer
c0eda4a47c Nasal: expose more methods to Nasal. 2014-06-10 18:44:38 +02:00
Thomas Geymayer
9c0b5a5c54 Nasal: Expose BoxLayout methods for spacer and stretch. 2014-06-08 23:34:37 +02:00
Thomas Geymayer
371b71dd6c Nasal: expose vbox layout and allow setting item stretch. 2014-06-04 17:50:52 +02:00
Thomas Geymayer
1af3ad2525 Nasal: extend pkg API. 2014-06-04 17:50:25 +02:00
Thomas Geymayer
75f5eba002 Update includes (required by simgear changes) 2014-06-04 02:58:14 +02:00
Thomas Geymayer
3c0b7f88b8 Updates for simgear nasal::Ghost changes. 2014-06-03 19:00:25 +02:00
Thomas Geymayer
8b152f3f82 iax.md5: pass correct size to memset (identified by gcc) 2014-06-01 12:20:33 +02:00
Thomas Geymayer
06a9958689 Canvas: expose more methods to Nasal 2014-06-01 12:15:02 +02:00
James Turner
d1fd5756f6 Initial package-system integration.
- disabled by default
- incomplete, adding so Thomas can see the API
2014-05-31 18:04:56 +01:00
Christian Schmitt
568dadc898 Only include IAX 3rdparty files if needed 2014-05-31 13:50:28 +02:00
Thomas Geymayer
3b4bb10e4f Canvas: expose layouting to Nasal. 2014-05-31 02:43:03 +02:00
Thomas Geymayer
7c31654b3a Canvas: store data inside canvas and elements.
- jQuery/HTML5 like .data() method on Canvas and Elements to store
   custom data in the property tree.
 - CustomEvent takes additional parameter hash with 'detail' data
   stored in event.
2014-05-29 16:47:32 +02:00
James Turner
fea8e96fe9 Fix for airport search on some platforms.
Ensure the std::string passed to sqlite lives for the duration
of the query.
2014-05-29 09:42:21 +01:00
James Turner
fd248e9391 Respect tile expiry time when cache is disabled.
Tiles added via the visible mechanism always have an
expiry time of 0.0, so this only affects tiles added by elevation queries, from the AI or FDM.
2014-05-24 14:23:59 +01:00
Torsten Dreyer
2e76a2c72a Update of the httpd implementation
- Add a screenshot uri handler
- Enable persistent http connections
- Simple CORS implementatation for the
  JSON property uri handler

many changes for the httpd
2014-05-22 10:28:54 +02:00
Torsten Dreyer
a5c39e3009 Final log-class cleanup (httpd comes in another commit)
yes, I will use grep next time :-/
2014-05-20 23:12:34 +02:00
Torsten Dreyer
c187dab625 More log class fixes 2014-05-20 23:06:02 +02:00
Torsten Dreyer
29990c40bf No JSBSim debug msg without having SG_FLIGHT class 2014-05-20 22:58:38 +02:00
Torsten Dreyer
3e47fc0c11 set corret logging class for A/P messages 2014-05-20 22:36:43 +02:00
Torsten Dreyer
8da690a2b7 set ENABLE_FLITE=On as default 2014-05-20 10:52:59 +02:00
Thomas Geymayer
5b74a72506 Canvas: support for custom events and event dispatching. 2014-05-19 00:28:40 +02:00