1
0
Fork 0
Commit graph

10793 commits

Author SHA1 Message Date
Thomas Geymayer
7463ebad1d Canvas: Only use cull callback if it's still valid 2012-09-01 16:50:21 +02:00
Mathias Froehlich
26664aaff0 Push SGMaterial use into these classes that need it. 2012-08-29 06:29:29 +02:00
Mathias Froehlich
7e97a4c693 Fix compile of simgear headless past bvh rework. 2012-08-27 17:58:25 +02:00
Mathias Froehlich
05af83a03e fgelev: short circuit reading image files. 2012-08-26 15:30:21 +02:00
ThorstenB
7a0db802d2 Improve error message when SimGear headers are missing/incomplete.
Also avoid CMake errors when files are missing.
2012-08-26 15:28:51 +02:00
Christian Schmitt
f001c5f9fe DetectDistro.cmake: Correct the lsb_release name 2012-08-26 11:55:45 +02:00
Stuart Buchanan
5c78970663 Stop the property tree from keeping a shadow of the deleted input properties, as it can mean that the array of bindings ends up with some incorrect name tags if the set of joystick config files changes and a given js-named entry shifts in the array. This can then result in incorrect bindings being selected. 2012-08-25 22:23:55 +01:00
Mathias Froehlich
6ce3f4cb25 fgelev: Only request terrain for elevation queries. 2012-08-25 08:47:22 +02:00
Mathias Froehlich
7729e4517b fgelev: Implement paging for the bounding volumes. 2012-08-24 21:24:26 +02:00
Mathias Froehlich
70ef3c416d fgelev: Work on stdin/stdout like the previous one did.
Instead of working on arguments work on stdin and stdout.
Note that this version still does not page out.
2012-08-24 21:24:19 +02:00
Mathias Froehlich
e3ad3d3a07 bvh: Adapt to upstream bvh changes in simgear. 2012-08-24 21:24:12 +02:00
Stuart Buchanan
cce186a57c Add properties for raw axis and button values, for use
in joystick configuration function.  Also rationalize references to
/sim/fg-home into a global property.
2012-08-23 21:52:30 +01:00
Thomas Geymayer
ced478cf95 Canvas: CSS like property value inheritance.
- Groups store property nodes for different styles and pass them
   to child elements on creation (No dynamic updates yet)
 - Use StyleSetter map instead of loads of if/else if statements
   for setting element styles.
 - Unify element style properties (Only use one property, instead
   of multiple like it has been with colors)
 - Fix: Create only one element per property node (Was two)
2012-08-23 20:00:13 +02:00
James Turner
29e267f18a Fix svn install renaming in Mac packaging 2012-08-22 22:31:59 +01:00
James Turner
33a19f30a9 One more OsgMath fix.
Thanks Emmanuel!
2012-08-22 19:41:03 +01:00
James Turner
8a087582bc Whoops, case-sensitivity matters on Linux. 2012-08-22 00:53:48 +01:00
James Turner
c06ab52c55 KIll off ALUT now it's gone from SimGear 2012-08-22 00:10:00 +01:00
James Turner
588eba658a Make some include dependencies explicit. 2012-08-22 00:07:53 +01:00
James Turner
45d2e693ee Fix a crash encountered with ATC.
This might need to be back-ported to 2.8 (to make a 2.8.1), unless it's been exposed by some of my other changes. Which I think is unlikely but not impossible.
2012-08-21 18:12:25 +01:00
James Turner
7fabeed85d Fix some places relying on public 'using std::string' in SimGear
(Otherwise my next SimGear commit will break them)
2012-08-21 17:07:47 +01:00
James Turner
688d76613e Expose SGCondition as a ghost to Nasal directly. 2012-08-19 21:13:31 +01:00
Mathias Froehlich
a6a24e59cc fgelev: tool to query scenery elevation. 2012-08-19 20:02:09 +02:00
ThorstenB
59fe04f8e9 Make web browser app configurable through CMake (for Linux)
so package builders don't need local patches.
Also, instead of hardcoded firefox, use "xdg-open" or "sensible-browser"
launchers on Linux, to auto-detect user's preferred browser.
Override with cmake switch -DWEB_BROWSER=...
(Not affecting Mac/Win which are hard-coded anyway).
2012-08-18 14:11:31 +02:00
ThorstenB
9c87aeb1fc Add cmake Linux distro detection. 2012-08-18 13:40:57 +02:00
ThorstenB
c15af10a7d CMakeList clean-up.
Split into modules for readability.
2012-08-18 13:40:08 +02:00
ThorstenB
c4cfe4d24e More man page fixes: "-" vs hyphen 2012-08-18 00:19:18 +02:00
ThorstenB
47200d7104 Christoph Korn/PlayDeb.net: man page fixes with "-" vs hyphen
This manual page seems to contain a hyphen where a minus sign was
intended. By default, "-" chars are interpreted as hyphens (U+2010) by
groff, not as minus signs (U+002D). Since options to programs use minus
signs (U+002D), this means for example in UTF-8 locales that you cannot
cut and paste options, nor search for them easily. The Debian groff
package currently forces "-" to be interpreted as a minus sign due to
the number of manual pages with this problem, but this is a
Debian-specific modification and hopefully eventually can be removed.

"-" must be escaped ("\-") to be interpreted as minus. If you really
intend a hyphen (normally you don't), write it as "\(hy" to emphasise
that fact. See groff(7) and especially groff_char(7) for details.
2012-08-17 23:58:30 +02:00
ThorstenB
a3e76909ee Christoph Korn/PlayDeb.net: fix typos 2012-08-17 23:51:30 +02:00
James Turner
c864b396c6 Delay code-signing until the bundle is fully assembled.
Apparently code-signing is quite clever, and bundle resources changes invalidate the signature.
2012-08-14 10:01:09 +01:00
James Turner
a102b680e4 Whoops, svn_ra_neon is needed. 2012-08-14 09:47:10 +01:00
Frederic Bouvier
62ca9183a7 Trying to restore auto-detection of SVN libs on Windows 2012-08-13 23:20:20 +02:00
Frederic Bouvier
1666ea8286 Restore auto-detection of SVN libs on Windows 2012-08-13 22:16:17 +02:00
Thomas Geymayer
ec73c62da5 Canvas: Fix stupid off-by-one error 2012-08-13 20:29:08 +02:00
Thomas Geymayer
875b59952b Canvas: Bugfixes
- Fix dependency cycle
 - Correctly forward mouse release event
2012-08-13 14:11:26 +02:00
James Turner
303f491547 Ooops, incorrect Ruby syntax. 2012-08-13 11:40:24 +01:00
James Turner
029bc1da55 Mac: make code-signing identity an env variable.
(So I don't have to hard-code my profile ID into git)
2012-08-13 11:27:04 +01:00
James Turner
7c22e497b6 Change the Mac nightly to use the launcher. 2012-08-13 09:51:08 +01:00
Thomas Geymayer
624522b426 Canvas: Don't crash if texture not available 2012-08-12 20:23:31 +02:00
Frederic Bouvier
e6cb846ad3 Don't let the cloud alpha value change the lighting buffer 2012-08-12 19:06:41 +02:00
Thomas Geymayer
948d87e561 Canvas: Basic support for window stacking 2012-08-11 23:38:04 +02:00
James Turner
9c2d01189e Enable subversion lib packaging on Mac 2012-08-11 15:23:17 +01:00
Frederic Bouvier
b7b4553db6 Add forgotten uniforms to the display stage (Rembrandt) 2012-08-11 12:19:44 +02:00
Thomas Geymayer
544784ca85 Canvas: Forward mouse events to elements.
- Use bounding box intersections to determine which element is
   hit.
 - Transform mouse coordinates to local coordinates.
 - Try to get osgText bounding box correct (or at least better)
2012-08-10 13:11:06 +02:00
Thomas Geymayer
288e7fa5ca Canvas: default image element dimensions to texture size 2012-08-09 21:58:55 +02:00
Thomas Geymayer
83bbd9e45c Canvas: Image/Window unifying and allow using canvas inside canvas.
- Refactor and unify common functionality of canvas::Window and
   canvas::Image
 - Make canvas::Image actually work
 - Allow using canvases inside canvas::Image
   * Use new canvas:// "protocol" to allow using canvases in
     place of images
 - Prepare for categorizing canvases:
   * Move canvases to /canvas/by-index
   * Later support linking to other nodes in subbranches of
     /canvas
2012-08-09 16:13:38 +02:00
Thomas Geymayer
350d508324 Clean up
- Replace deprecated boost::shared_static_cast with
   boost::static_pointer_cast
 - Use boost::ends_with in favor of own implementation.
2012-08-09 13:22:48 +02:00
James Turner
9835dadf71 Copy fgcom data files into the resources dir 2012-08-08 15:57:07 +01:00
James Turner
1830f48c87 Mac nightly packaging updates
Add FGCom, use Mac-launcher build exports, and ground-work for copying Subversion client libraries. Also runs code sign, though without a valid signing identity.
2012-08-07 14:03:29 +01:00
James Turner
310ddbf8c5 Initial work on Image element for Canvas. 2012-08-05 22:43:01 +01:00
James Turner
4593c3521f Fix a crash with the native menubar.
http://code.google.com/p/flightgear-bugs/issues/detail?id=821
2012-08-05 21:30:15 +01:00