~ubuntu-branches/debian/sid/flightgear/sid

« back to all changes in this revision

Viewing changes to src/Systems/system_mgr.cxx

  • Committer: Package Import Robot
  • Author(s): Markus Wanner, Markus Wanner, Rebecca Palmer
  • Date: 2014-01-21 22:31:02 UTC
  • mfrom: (1.3.1) (15.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20140121223102-cjw7g9le25acd119
Tags: 3.0.0~git20140204+c99ea4-1
[ Markus Wanner ]
* Upload to unstable.
* Adjust B-D to allow building on kfreebsd-*. Closes: #724686.
* Add a lintian-overrides on autotools; we use cmake.
* Upstream corrected the fgfs manpage. Closes: #556362.
* Drop unnecessary man page for gl-info. Closes: #698308.
* Drop README.Linux: it's outdated to the point of uselessness.
  Closes: #574173.
* Add an upper limit of libsimgear-dev versions that flightgear can be
  built with. Closes: #738436.
* Drop the libsvn-dev dependency, neither flightgear nor simgear depend
  on libsvn, anymore. Closes: #682947.
* List icons in debian/install rather than copying around from rules.
* Update menu entry for flightgear, add one for fgcom; add .xpm icons.
  Closes: #713924.
* flightgear.desktop: add German translation
* Bump Standards-Version to 3.9.5; no changes needed.

[ Rebecca Palmer ]
* New upstream release.
* Install the icons (based on code by Saikrishna Arcot).  (Not a
  complete fix for LP908153 as it only sets the menu/Dash icon, not the
  running window's icon, but better than nothing).
* Disable screensaver while running. Closes: LP#793599. Add required
  libdbus-1-dev dependency.
* Remove outdated README.Debian.
* Terrasync now works after just ticking the box. Closes: #252899.
* Always set Terrasync directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
        SG_LOG( SG_SYSTEMS, SG_INFO, "Reading systems from "
41
41
                << config.str() );
42
 
        try {
43
 
            readProperties( config.str(), config_props );
44
 
 
45
 
            if ( build(config_props) ) {
46
 
                enabled = true;
47
 
            } else {
48
 
                SG_LOG( SG_SYSTEMS, SG_ALERT,
49
 
                        "Detected an internal inconsistency in the systems");
50
 
                SG_LOG( SG_SYSTEMS, SG_ALERT,
51
 
                        " system specification file.  See earlier errors for" );
52
 
                SG_LOG( SG_SYSTEMS, SG_ALERT,
53
 
                        " details.");
54
 
                exit(-1);
55
 
            }        
56
 
        } catch (const sg_exception&) {
57
 
            SG_LOG( SG_SYSTEMS, SG_ALERT, "Failed to load systems system model: "
58
 
                    << config.str() );
 
42
        try
 
43
        {
 
44
          readProperties( config.str(), config_props );
 
45
          build(config_props);
 
46
        }
 
47
        catch( const sg_exception& )
 
48
        {
 
49
          SG_LOG( SG_SYSTEMS, SG_ALERT, "Failed to load systems system model: "
 
50
                  << config.str() );
59
51
        }
60
52
 
61
53
    } else {
93
85
            set_subsystem( "system" + temp.str(), 
94
86
                           new VacuumSystem( node ) );
95
87
        } else {
96
 
            SG_LOG( SG_SYSTEMS, SG_ALERT, "Unknown top level section: " 
97
 
                    << name );
98
 
            return false;
 
88
            SG_LOG(SG_SYSTEMS, SG_ALERT, "Ignoring unknown system: " << name);
99
89
        }
100
90
    }
101
91
    return true;