fg:philosophers-simgear.git
3 years agoRevert "Force SDK version / C++ library on Mac." extended-nasal
Philosopher [Sun, 8 Feb 2015 16:07:42 +0000 (10:07 -0600)]
Revert "Force SDK version / C++ library on Mac."

This reverts commit f711306085ce720737dcf168c7673635c0c179e2.

3 years agoAllow nasal-bin to use stdin with -
Philosopher [Wed, 26 Nov 2014 22:10:08 +0000 (16:10 -0600)]
Allow nasal-bin to use stdin with -

Does this malloc look OK?

3 years agoFix stackinfo() to work across naCall()s
Philosopher [Mon, 30 Jun 2014 02:25:42 +0000 (21:25 -0500)]
Fix stackinfo() to work across naCall()s

3 years agoAdd extra opcodes (bitwise operators)
Philosopher [Mon, 30 Jun 2014 01:21:29 +0000 (20:21 -0500)]
Add extra opcodes (bitwise operators)

3 years agoMerge with upstream change
Philosopher [Thu, 26 Jun 2014 16:08:33 +0000 (11:08 -0500)]
Merge with upstream change

3 years agoMerge with upstream change
Philosopher [Fri, 9 May 2014 21:06:04 +0000 (16:06 -0500)]
Merge with upstream change

3 years agoAdd closures to debug.decompile/recompile()
Philosopher [Fri, 11 Apr 2014 19:18:42 +0000 (14:18 -0500)]
Add closures to debug.decompile/recompile()

Also move f_getFuncFile out of #ifdef INTROSPECTION_EXTENSIONS

3 years agoFix Token*-to-Nasal algorithm
Philosopher [Fri, 15 Nov 2013 02:21:08 +0000 (20:21 -0600)]
Fix Token*-to-Nasal algorithm

Children weren't being added properly. Other small changes, too.

3 years agoRemove unused code
Philosopher [Mon, 16 Sep 2013 00:23:10 +0000 (19:23 -0500)]
Remove unused code

3 years agoCopy ctx->n_gc to parent as well
Philosopher [Sun, 15 Sep 2013 21:46:57 +0000 (16:46 -0500)]
Copy ctx->n_gc to parent as well

3 years agoRemove debug.getFuncData
Philosopher [Fri, 13 Sep 2013 20:35:10 +0000 (15:35 -0500)]
Remove debug.getFuncData

3 years agoDo a weird linking/resetting for existing subctxs
Philosopher [Wed, 4 Sep 2013 01:13:40 +0000 (20:13 -0500)]
Do a weird linking/resetting for existing subctxs

I really don't know if this works, I suspect I need to spend a few days
sometime verifying that all of my hacks are safe in reality. Anyways,
seems to run just fine, so segfaults with global profiling. (Then again,
no one ever users the rethrow error mechanism...)

3 years agoFix fStack handling (no ghosts)
Philosopher [Sat, 17 Aug 2013 23:23:35 +0000 (18:23 -0500)]
Fix fStack handling (no ghosts)

3 years agoNo extras on background thread
Philosopher [Wed, 14 Aug 2013 19:46:41 +0000 (14:46 -0500)]
No extras on background thread

3 years agoChanges/features
Philosopher [Wed, 14 Aug 2013 01:25:09 +0000 (20:25 -0500)]
Changes/features

3 years agoFix naNew profiling (somewhat)
Philosopher [Tue, 13 Aug 2013 14:00:46 +0000 (09:00 -0500)]
Fix naNew profiling (somewhat)

3 years agoAdd GC/naNew() statistics
Philosopher [Tue, 13 Aug 2013 03:20:12 +0000 (22:20 -0500)]
Add GC/naNew() statistics

And GC printing patch (enabled for now).

3 years agoRemove redundant naTempSave()
Philosopher [Mon, 12 Aug 2013 22:31:47 +0000 (17:31 -0500)]
Remove redundant naTempSave()

naNew() does it already (which is a good idea if you ask me :P).

3 years agoApply GC patch
Philosopher [Mon, 12 Aug 2013 22:20:58 +0000 (17:20 -0500)]
Apply GC patch

from http://wiki.flightgear.org/How_the_Nasal_GC_works#Supporting_additional_GC_implementations

3 years agoFix caller implementation
Philosopher [Tue, 6 Aug 2013 01:50:53 +0000 (20:50 -0500)]
Fix caller implementation

Aka remove and move to fStack[n] (which was really what I had intended)

3 years agoMinor changes
Philosopher [Mon, 5 Aug 2013 16:04:51 +0000 (11:04 -0500)]
Minor changes

getCurrentExtra for better debugging on the Nasal side
(make sure we aren't doing anything funny) and use the
INTROSPECTION_ENABLED macro again.

3 years agoAdd caller ghost member
Philosopher [Sun, 4 Aug 2013 02:10:27 +0000 (21:10 -0500)]
Add caller ghost member

Doesn't actually work, need another day to think about it.

3 years agonaContext->extras fixes
Philosopher [Fri, 2 Aug 2013 19:44:57 +0000 (14:44 -0500)]
naContext->extras fixes

3 years agoFix compilation
Philosopher [Mon, 29 Jul 2013 19:30:07 +0000 (14:30 -0500)]
Fix compilation

3 years agoLots of changes; status: working but not complete
Philosopher [Mon, 29 Jul 2013 19:28:56 +0000 (14:28 -0500)]
Lots of changes; status: working but not complete

    Changes:
    * initailize Context.extras to endToken (which means recurse to
      globals->default_extras). This should allow setlisteners & such
      to use a global set of options once globals->default_extras is
      exposed to Nasal.
    * Add callbacks in code.c, every opcode & entering VM/run()
      execution.
    * Fixup debug.stack_info
    * Mark code->userData :)
    * Rewrite functions in introspection.c
    * Revert extra naCall argment: not needed, I can just set it in
      f_call anyways :D
    * Finally, revisions to test.nas script.

3 years agoFix patching errors
Philosopher [Mon, 29 Jul 2013 00:07:10 +0000 (19:07 -0500)]
Fix patching errors

3 years agoRefactor code to use numbers versus symbols
Philosopher [Sun, 28 Jul 2013 23:50:52 +0000 (18:50 -0500)]
Refactor code to use numbers versus symbols

3 years agoChanges to test script
Philosopher [Sun, 28 Jul 2013 23:50:22 +0000 (18:50 -0500)]
Changes to test script

Need core changes before I can proceed.

3 years agoMinor change: rename and protect from GC
Philosopher [Sun, 28 Jul 2013 23:50:20 +0000 (18:50 -0500)]
Minor change: rename and protect from GC

3 years agofix compilation
hooray [Sun, 28 Jul 2013 23:49:33 +0000 (18:49 -0500)]
fix compilation

3 years agoLots of changes, initial commit
Philosopher [Sun, 28 Jul 2013 23:20:09 +0000 (18:20 -0500)]
Lots of changes, initial commit

    Commit messages from other repo:
    * Copy debugging macros
    * Initial work on this branch
    * Oops, small bug
    * More work
    * Add introspection files
    * Add test file
    * Apply decompile-extension-func branch patch
    * Changes, fixes
    * Big changes, unworking state (current)

3 years agoNew file (debug.nas, to allow patches to apply)
Philosopher [Sun, 28 Jul 2013 23:08:05 +0000 (18:08 -0500)]
New file (debug.nas, to allow patches to apply)

3 years agoInstall executable
Philosopher [Sun, 28 Jul 2013 23:07:45 +0000 (18:07 -0500)]
Install executable

3 years agopush fixes
hooray [Thu, 25 Jul 2013 19:18:20 +0000 (23:18 +0400)]
push fixes

3 years agoAdd Nasal unit tests from Andy's original github repository to the SimGear repo.
Philosopher [Thu, 11 Apr 2013 03:14:03 +0000 (07:14 +0400)]
Add Nasal unit tests from Andy's original github repository to the SimGear repo.
 - add ENABLE_TESTS section to Nasal's CMakeLists.txt so that Nasal unit tests can be run
 - start adding driver.nas based unit tests to SimGear, i.e. those using dependency resolution via import("foo")

3 years agoFix where we set OS-X deployment option.
James Turner [Tue, 24 Feb 2015 12:36:28 +0000 (12:36 +0000)]
Fix where we set OS-X deployment option.

3 years agoKill off allCatalogs list.
James Turner [Fri, 20 Feb 2015 11:30:35 +0000 (11:30 +0000)]
Kill off allCatalogs list.

No longer needed, and fixes crash on shutdown.

3 years agoSupport for tree shadows from Thorsten RENK.
Stuart Buchanan [Thu, 19 Feb 2015 21:14:07 +0000 (21:14 +0000)]
Support for tree shadows from Thorsten RENK.

3 years agomaterials.xml defined vegetation Effect.
Stuart Buchanan [Tue, 17 Feb 2015 21:47:51 +0000 (21:47 +0000)]
materials.xml defined vegetation Effect.

3 years agoRemove use of ‘register’ keyword in this file.
James Turner [Thu, 12 Feb 2015 16:20:56 +0000 (16:20 +0000)]
Remove use of ‘register’ keyword in this file.

Clang is now warning about this, and it’s certainly useless.

3 years agoTweak warning flags, for newer Clang.
James Turner [Thu, 12 Feb 2015 16:19:57 +0000 (16:19 +0000)]
Tweak warning flags, for newer Clang.

No functionality changing, just less spam in the compile logs.

3 years agoDrawElementsFacade: use ref_ptr instead of mismatched new/free
Rebecca N. Palmer [Thu, 12 Feb 2015 15:48:36 +0000 (15:48 +0000)]
DrawElementsFacade: use ref_ptr instead of mismatched new/free

Found by AddressSanitizer; not seen to crash, but probably best fixed

3 years agoExplicitly force libc++ on clang
James Turner [Wed, 11 Feb 2015 15:46:01 +0000 (15:46 +0000)]
Explicitly force libc++ on clang

3 years agoFix VASI/PAPI so they are generated.
Stuart Buchanan [Tue, 10 Feb 2015 21:19:51 +0000 (21:19 +0000)]
Fix VASI/PAPI so they are generated.

3 years agoBetter CMake policy detection
James Turner [Tue, 10 Feb 2015 17:11:31 +0000 (17:11 +0000)]
Better CMake policy detection

- thanks to Rebecca Palmer for suggesting this!

3 years agoCmake policies conditional on Cmake version.
James Turner [Mon, 9 Feb 2015 16:42:40 +0000 (16:42 +0000)]
Cmake policies conditional on Cmake version.

3 years agoSwitch 10.7 on Mac and revert to using libc++
James Turner [Mon, 9 Feb 2015 15:12:21 +0000 (15:12 +0000)]
Switch 10.7 on Mac and revert to using libc++

(Deployment on libstdc++ with the 10.9 SDK is just too painful)

3 years agoForce SDK version / C++ library on Mac.
James Turner [Sun, 8 Feb 2015 13:46:09 +0000 (13:46 +0000)]
Force SDK version / C++ library on Mac.

3 years agomemory reduced tile loading.
Peter Sadrozinski [Sat, 10 Jan 2015 12:58:21 +0000 (07:58 -0500)]
memory reduced tile loading.
- do not save the TileGeometryBin and matcach in the randomObjectCallback
- recreate matcache, and get TileGeometry from scenegraph
- split obj.cxx into three distinct files - loadBTG, load surface geometry, and load tile details
- includes fix for sceneries that have missing materials

3 years agoFix endianness tests, allowing arm64 support
Rebecca N. Palmer [Sun, 18 Jan 2015 21:53:22 +0000 (21:53 +0000)]
Fix endianness tests, allowing arm64 support

https://buildd.debian.org/status/logs.php?pkg=simgear&ver=3.2.0~git20140719%2B4a9125-1&suite=experimental
https://launchpadlibrarian.net/183053167/buildlog_ubuntu-utopic-arm64.simgear_3.0.0-4_FAILEDTOBUILD.txt.gz

3 years agoFix UpdateOnceCallback crash (bug 1554/1556/1568)
Rebecca N. Palmer [Sun, 18 Jan 2015 21:29:19 +0000 (21:29 +0000)]
Fix UpdateOnceCallback crash (bug 1554/1556/1568)

3 years agoBump version to 3.5.0
Torsten Dreyer [Sat, 17 Jan 2015 18:33:25 +0000 (19:33 +0100)]
Bump version to 3.5.0

3 years agoBump version number to 3.4.0
FlightGear Flight Simulator [Sat, 17 Jan 2015 18:26:46 +0000 (19:26 +0100)]
Bump version number to 3.4.0

3 years agoProtect against divide-by-zero error.
Stuart Buchanan [Thu, 15 Jan 2015 21:47:22 +0000 (21:47 +0000)]
Protect against divide-by-zero error.

Patch from Emilian Huminiuc.

3 years agoFix directional lighting
Stuart Buchanan [Mon, 5 Jan 2015 20:50:34 +0000 (20:50 +0000)]
Fix directional lighting

3 years ago- remove the test of the test..
Peter Sadrozinski [Sat, 27 Dec 2014 18:19:29 +0000 (13:19 -0500)]
- remove the test of the test..

3 years ago- fix binobj unit test. Simgear now rejects zero area triangles in .btg files, and...
Peter Sadrozinski [Sat, 27 Dec 2014 18:02:49 +0000 (13:02 -0500)]
- fix binobj unit test.  Simgear now rejects zero area triangles in .btg files, and the unit test could generate them.

3 years ago- fix for index overrun when building TexturedTriangleArray
Peter Sadrozinski [Fri, 26 Dec 2014 15:24:34 +0000 (10:24 -0500)]
- fix for index overrun when building TexturedTriangleArray
- fix for ws2.0 zero area triangles - drop them when loading

3 years agoExplicitly track not-found responses from SVN.
James Turner [Thu, 23 Oct 2014 13:42:55 +0000 (14:42 +0100)]
Explicitly track not-found responses from SVN.

When SVN reports a path is not found (ocean tile), track
this data explicitly and cache the result. Reduces backend
hits for missing tiles.

3 years agoFix PagedLOD for random objects.
Stuart Buchanan [Fri, 28 Nov 2014 21:57:37 +0000 (21:57 +0000)]
Fix PagedLOD for random objects.

- Only generate the object set and flights from the data once.
- Only expire the PagedLOD node after a suitable period of time.

3 years agoNasal: add an naRef to ghosts to allow for proper gc of dependent objects/ghosts.
Thomas Geymayer [Sun, 23 Nov 2014 22:39:56 +0000 (23:39 +0100)]
Nasal: add an naRef to ghosts to allow for proper gc of dependent objects/ghosts.

This allows for binding the lifetime of any nasal object to
the lifetime of a ghost. Otherwise circular references from
objects saved within the ghost would prevent the ghost from
being garbage collected.

3 years agoFix two bugs in random object placement
Stuart Buchanan [Fri, 21 Nov 2014 22:14:03 +0000 (22:14 +0000)]
Fix two bugs in random object placement

3 years agoMake expiry time for paged models settable from props
Torsten Dreyer [Wed, 19 Nov 2014 16:23:29 +0000 (17:23 +0100)]
Make expiry time for paged models settable from props

Our paged models used the default minimumExpiryTime of zero seconds
which caused frequent stutter with AI traffic loaded.
This patch sets the minimumExpiryTime to 180 seconds, more than enough
to hold the models in memory during a full standard rate turn.

The property to set the expiry time is
/sim/rendering/plod-minimum-expiry-time-secs

3 years agoUniformFactory: fix Rembrandt light
Clément de l'Hamaide [Wed, 12 Nov 2014 21:31:19 +0000 (22:31 +0100)]
UniformFactory: fix Rembrandt light

3 years agoSupport alpha for cloud definitions Thorsten RENK
Stuart Buchanan [Thu, 13 Nov 2014 20:38:28 +0000 (20:38 +0000)]
Support alpha for cloud definitions Thorsten RENK

3 years agoMerge FreeBSD patches.
James Turner [Tue, 11 Nov 2014 22:29:24 +0000 (22:29 +0000)]
Merge FreeBSD patches.

Taken from:
http://svnweb.freebsd.org/ports/head/devel/simgear/files/

3 years agoLimit number of random objects per triangle
Stuart Buchanan [Fri, 7 Nov 2014 22:22:55 +0000 (22:22 +0000)]
Limit number of random objects per triangle

3 years agoChange parameter name to avoid clash with cull-face
Stuart Buchanan [Mon, 27 Oct 2014 22:40:27 +0000 (22:40 +0000)]
Change parameter name to avoid clash with cull-face

3 years agoPass whether light is directional to shader.
Stuart Buchanan [Tue, 21 Oct 2014 19:27:46 +0000 (20:27 +0100)]
Pass whether light is directional to shader.

Patch from Thorsten RENK.

3 years agoPrecipitation updates from ThorstenR
Torsten Dreyer [Tue, 21 Oct 2014 08:44:13 +0000 (10:44 +0200)]
Precipitation updates from ThorstenR

Since the consensus seems to be that the precipitation clipping issue is with the panel code, attached is  my proposed update for the precipitation system in SG and FG

* without corresponding control structures in FGData it falls back to default, except I have fixed an inconsistency in freezing behavior - previously rain changed suddenly to snow when the temperature dropped below zero, but the reverse transition was dragged out and gave odd visible motion with the wind as snow gradually changed back to rain with the particle speed not well defined. Now both transitions are sudden. And I see no more particles flow against the wind

* with

 <!-- definitions for the detailed precipitation manager -->
 <precipitation-control>
     <rain-droplet-size type="float" userarchive="n">0.015</rain-droplet-size>
     <snow-flake-size type="float" userarchive="n">0.03</snow-flake-size>
     <detailed-precipitation type="bool" userarchive="n">false</detailed-precipitation>
     <illumination type="float" userarchive="n">1.0</illumination>
     <clip-distance type="float" userarchive="n">5.0</clip-distance>
  </precipitation-control>

added to Environment/environment.xml, the new system allows to switch more detailed management on. This provides

* explicit setting of rain droplet size and snow flake size by the weather system

* automatic sqrt(r) scaling of the vertical speed of raindrops

* automatic transition to snow when freezing for small droplets but hail for large droplet sizes (looks like snow, but has different particle dynamics)

* an illumination scaling factor to dim the precipitating based on the light we have in the scene (I still need to devise a property rule to set this automatically)

The clip distance is also exposed now and considered at startup of the system - might be useful for e.g. airships when the gas bag provides rain cover (?)   or to be simply off for open airplanes

3 years agoSet sun color below horizon
Torsten Dreyer [Wed, 8 Oct 2014 10:45:01 +0000 (12:45 +0200)]
Set sun color below horizon

Thorsten Renk:
The following patch sets the sun color to alpha=0 when
the sun is below the local horizon, removing the oddity
that the sun is seen 'through' the terrain when the terrain
at large distance is rendered by the skydome.

3 years agoFurther work to clean up UniformCache for Effects
Stuart Buchanan [Sat, 27 Sep 2014 21:05:30 +0000 (22:05 +0100)]
Further work to clean up UniformCache for Effects

3 years agoMerge branch 'UniformFactory' into next
Torsten Dreyer [Sat, 27 Sep 2014 19:50:44 +0000 (21:50 +0200)]
Merge branch 'UniformFactory' into next

Merging in Stuart's fix for the Effect system

3 years agoA better fix for crash in the Effect System
Torsten Dreyer [Sat, 27 Sep 2014 19:48:36 +0000 (21:48 +0200)]
A better fix for crash in the Effect System

Stuart has improved the UniformCache approach, here are his
changes:
- We have a UniformCache so that each unique Uniform is only created once
- As part of the UniformFactory we also have a queue of listeners that are still to be added
- When the main thread sends an Update node visitor across the Effects,
  all queued listeners are de-queued and added.

3 years agoFix compiler warnings.
Thomas Geymayer [Mon, 22 Sep 2014 16:24:13 +0000 (18:24 +0200)]
Fix compiler warnings.

3 years agoLet ENABLE_TESTS enable/disable also the new Boost.Tests.
Thomas Geymayer [Mon, 22 Sep 2014 16:21:52 +0000 (18:21 +0200)]
Let ENABLE_TESTS enable/disable also the new Boost.Tests.

3 years agoImprove the <usage> tag feature
Clément de l'Hamaide [Sun, 21 Sep 2014 20:05:45 +0000 (22:05 +0200)]
Improve the <usage> tag feature

Do not load the <model> if <usage> tag is found as child.
Instead the load is triggered later by FlightGear

3 years agocppbind: check if ghost is of wrong type.
Thomas Geymayer [Mon, 15 Sep 2014 21:42:12 +0000 (23:42 +0200)]
cppbind: check if ghost is of wrong type.

 - Throw an exception if converting an object
   from Nasal fails due to a wrong type (nil
   does not throw).
 - Update cppbind test cases accordingly (and
   refactor another test suite to use Boost.
   Test).

3 years agofirst stab at UniformFactory
Torsten Dreyer [Fri, 5 Sep 2014 09:16:28 +0000 (11:16 +0200)]
first stab at UniformFactory

3 years agoRevert "Partial fix for crash in SGPropertyNode::fireValueChanged"
Torsten Dreyer [Fri, 5 Sep 2014 09:28:28 +0000 (11:28 +0200)]
Revert "Partial fix for crash in SGPropertyNode::fireValueChanged"

This reverts commit f33ad357e928b5210c87cb8977d3cc88deba811b.

3 years agocanvas::Text: fix global StateSet and line start cursor pos with empty line.
Thomas Geymayer [Sun, 31 Aug 2014 17:24:58 +0000 (19:24 +0200)]
canvas::Text: fix global StateSet and line start cursor pos with empty line.

3 years agoPartial fix for crash in SGPropertyNode::fireValueChanged
Torsten Dreyer [Fri, 29 Aug 2014 13:30:25 +0000 (15:30 +0200)]
Partial fix for crash in SGPropertyNode::fireValueChanged

The effect system used Listeners on property nodes to get the values
for shader uniforms. These listeners get deleted by an osg thread
causing access to freed memory when this happens while the main thread
calls fireValueChanged.

This patch changes the update method to polling for scalar properties.
This isn't 100% threadsafe, too. But at least it does not crash anymore.

3 years agoRemove Textures.high logic
Clément de l'Hamaide [Wed, 27 Aug 2014 20:08:20 +0000 (22:08 +0200)]
Remove Textures.high logic

3 years agoCanvas: add stroke-linejoin handling for path elements
Torsten Dreyer [Mon, 25 Aug 2014 22:05:01 +0000 (00:05 +0200)]
Canvas: add stroke-linejoin handling for path elements

3 years agocanvas::KeyboardEvent: C0/C1 control characters are not printable.
Thomas Geymayer [Mon, 25 Aug 2014 19:49:44 +0000 (21:49 +0200)]
canvas::KeyboardEvent: C0/C1 control characters are not printable.

3 years agoCanvas: add method clearFocusElement.
Thomas Geymayer [Mon, 25 Aug 2014 19:49:21 +0000 (21:49 +0200)]
Canvas: add method clearFocusElement.

3 years agocanvas::Text: clean up and expose character/cursor positions.
Thomas Geymayer [Sat, 23 Aug 2014 13:54:07 +0000 (15:54 +0200)]
canvas::Text: clean up and expose character/cursor positions.

3 years agoUse surface-lights effect for random tile lights.
Stuart Buchanan [Sun, 10 Aug 2014 19:20:42 +0000 (20:20 +0100)]
Use surface-lights effect for random tile lights.

3 years agoCanvas: prepare for keypress events.
Thomas Geymayer [Sun, 10 Aug 2014 17:39:18 +0000 (19:39 +0200)]
Canvas: prepare for keypress events.

3 years agoCanvas: fix element mouse hit detection with OSG 3.3.2.
Thomas Geymayer [Sun, 10 Aug 2014 13:36:27 +0000 (15:36 +0200)]
Canvas: fix element mouse hit detection with OSG 3.3.2.

3 years agoFix VS2010 lack of fminf
Stuart Buchanan [Sun, 10 Aug 2014 11:54:58 +0000 (12:54 +0100)]
Fix VS2010 lack of fminf

3 years agoNew materials.xml format
Stuart Buchanan [Sat, 9 Aug 2014 19:34:08 +0000 (20:34 +0100)]
New materials.xml format

3 years agoAdded some OSG headers for the correct evaluation of the OSG_VERSION_LESS_THAN macro.
bcoconni [Sat, 9 Aug 2014 17:53:19 +0000 (19:53 +0200)]
Added some OSG headers for the correct evaluation of the OSG_VERSION_LESS_THAN macro.

3 years agoUpdate for OpenSceneGraph 3.3.2 API changes.
Thomas Geymayer [Sat, 9 Aug 2014 15:18:21 +0000 (17:18 +0200)]
Update for OpenSceneGraph 3.3.2 API changes.

3 years agoAdd simple keyboard event demo application.
Thomas Geymayer [Thu, 7 Aug 2014 22:58:26 +0000 (00:58 +0200)]
Add simple keyboard event demo application.

3 years agoMove canvas::AlignmentFlag to separate file.
Thomas Geymayer [Sun, 3 Aug 2014 14:39:26 +0000 (16:39 +0200)]
Move canvas::AlignmentFlag to separate file.

Mapping in a separate file allows easier exposing of
values and string representation to Nasal.

3 years agoFix lights appearing three times.
Christian Schmitt [Sun, 3 Aug 2014 11:13:59 +0000 (13:13 +0200)]
Fix lights appearing three times.

The 3 lights showing up are fixed by my patch. It's the old way of
calculating a normal (PLIB-style) that makes them show up.

3 years agocanvas::Layout: support for alignment.
Thomas Geymayer [Sun, 3 Aug 2014 10:02:39 +0000 (12:02 +0200)]
canvas::Layout: support for alignment.

Set alignment inside layouts, taking care of where
excess space is distributed.

3 years agoLots of (mostly) doxygen fixes/cleanup.
Thomas Geymayer [Thu, 31 Jul 2014 22:13:25 +0000 (00:13 +0200)]
Lots of (mostly) doxygen fixes/cleanup.

3 years agoCanvas: Support for preventDefault() on Events.
Thomas Geymayer [Wed, 30 Jul 2014 15:16:26 +0000 (17:16 +0200)]
Canvas: Support for preventDefault() on Events.