Search found 1137 matches

by adrian_broher
Mon May 06, 2013 6:37 am
Forum: Programming
Topic: [Patch] Broken ru string table.
Replies: 1
Views: 243

[Patch] Broken ru string table.

The Russian string table had some syntax errors, namely incomplete or missing multi-line string quotes. The attached patch fixes this.
by adrian_broher
Sun May 05, 2013 10:02 am
Forum: Scripting & Balancing
Topic: AR_LEAD_PLATE does not exist.
Replies: 5
Views: 830

Re: AR_LEAD_PLATE does not exist.

In general, when trying to get a handle on changes, besides looking checking for posts here and looking at the svn history I sometimes also find it helpful to look at them in the format presented via GitHub at https://github.com/freeorion/freeorion/commits/master , but you have to keep in mind that...
by adrian_broher
Sun May 05, 2013 9:49 am
Forum: Scripting & Balancing
Topic: AR_LEAD_PLATE does not exist.
Replies: 5
Views: 830

Re: AR_LEAD_PLATE does not exist.

I'm on 5999. SHP_LEAD_PLATE was a rebase error. But AR_LEAD_PLATE is still referenced in defaul/AI/ProductionAI.py. $ grep -rn '\<AR_LEAD_PLATE\>' * default/pl_stringtable.txt:3949:AR_LEAD_PLATE default/swe_stringtable.txt:3561:AR_LEAD_PLATE default/de_stringtable.txt:4132:AR_LEAD_PLATE default/dut_...
by adrian_broher
Sun May 05, 2013 8:57 am
Forum: Scripting & Balancing
Topic: AR_LEAD_PLATE does not exist.
Replies: 5
Views: 830

AR_LEAD_PLATE does not exist.

When searchin through the translation tables I found the ship part AR_LEAD_PLATE and the corresponding technology SHP_LEAD_PLATE. AR_LEAD_PLATE is referenced in the AI code, but there doesn't exist an actual ship part. As last time it isn't clear if this was removed intentional or if the ai code is ...
by adrian_broher
Sat May 04, 2013 9:06 am
Forum: Scripting & Balancing
Topic: LR_ANTIMATTER_TORPEDO relies on BLD_SHIPYARD_CON_ENGINE
Replies: 1
Views: 595

LR_ANTIMATTER_TORPEDO relies on BLD_SHIPYARD_CON_ENGINE

The ship part LR_ANTIMATTER_TORPEDO relies on the building BLD_SHIPYARD_CON_ENGINE. Grepping for BLD_SHIPYARD_CON_ENGINE only shows up some translation keys for spanish. Was BLD_SHIPYARD_CON_ENGINE removed intentionally? Is this a bug?
by adrian_broher
Thu May 02, 2013 8:04 pm
Forum: Translations
Topic: German Translation
Replies: 178
Views: 81071

Re: German Translation

Building wurde durch Gebäude übersetzt. Unter diesem Begriff laufen verschiedene Objekte und wenn es der Imperiale Palast bezeichnet, kann ich noch einverstanden sein. Wenn es aber um einen Orbitalen Trockendock geht, so habe ich mühe mir den als Gebäude vorzustellen. Wie wäre es mit 'Anlage' oder ...
by adrian_broher
Fri Apr 26, 2013 2:45 pm
Forum: Programming
Topic: Patch: Refactor (executable|library)_all_variants macros
Replies: 19
Views: 1414

Re: Patch: Refactor (executable|library)_all_variants macros

The attached patches further simplifies/removes the remaining library_all_variants patches. It also simplifies the CMake scripts by moving defintions and flags to more central places instead of setting it by target. The patch replaces/introduces the following options to GG cmake: BUILD_SHARED and BU...
by adrian_broher
Fri Apr 26, 2013 8:29 am
Forum: Compile
Topic: Getting FreeOrion into Debian for real
Replies: 14
Views: 4008

Re: Getting FreeOrion into Debian for real

The patches apply fine though No they don't with the fiven command line for patch LC_ALL=C patch -t -F 0 -N -p1 -u -V never -g0 -E -b -B .pc/GG_unbundle_libltdl.patch/ --reject-file=- < Mind the -F 0, which doesn't allow fuzzy application of patches. The problem is probably is caused by my modifica...
by adrian_broher
Tue Apr 23, 2013 9:10 pm
Forum: Programming
Topic: [Patch] Simplify UserString calls.
Replies: 5
Views: 526

[Patch] Simplify UserString calls.

The attached patch simplifies UserString calls by only wrapping the translation key instead of embedding tenary operators between the brackets or composing the translation key beforehand. This allows simpler searching for translation keys in the source and in the future possibility an automated extr...
by adrian_broher
Tue Apr 23, 2013 2:57 pm
Forum: Programming
Topic: [Patch] Removed superfluous GG includes from parse.
Replies: 1
Views: 402

[Patch] Removed superfluous GG includes from parse.

This patch removes includes of the GG/ReportParseError.h and GG/LexerFwd.h headers from libparse. GG/LexerFwd.h is just a convoluted way to include some boost headers. The defined typedef are not used in libparse. ReportParseError.h seems to include a parse error reporter, that returns the messages ...
by adrian_broher
Tue Apr 23, 2013 7:45 am
Forum: Programming
Topic: Patch: Refactor (executable|library)_all_variants macros
Replies: 19
Views: 1414

Re: Patch: Refactor (executable|library)_all_variants macros

Attached is a revised version of 10.

Also the other patches further clean up the cmake build by moving common options to a more central place and replacing library_all_variants within the fo-project with default cmake commands.
by adrian_broher
Sat Apr 20, 2013 3:13 pm
Forum: Compile
Topic: Getting FreeOrion into Debian for real
Replies: 14
Views: 4008

Re: Getting FreeOrion into Debian for real

Instead of using the cmake/FindBullet.cmake script try to use the one provided by cmake.
Just delete it and if your cmake version is reasonable up to date it should pick up the one delivered with cmake.
by adrian_broher
Wed Apr 17, 2013 9:54 am
Forum: Programming
Topic: IDs, Pointers and Unordered Maps
Replies: 9
Views: 720

Re: IDs, Pointers and Unordered Maps

No - an object can be removed from the ObjectMap without being removed from memory. The important thing to know is whether or not an object is still part of this Universe, so if it's replaced, one can look up an object with the same ID. I don't see the point in keeping a (logical) stray/outdated ob...
by adrian_broher
Wed Apr 17, 2013 9:08 am
Forum: Programming
Topic: IDs, Pointers and Unordered Maps
Replies: 9
Views: 720

Re: IDs, Pointers and Unordered Maps

It might be more desirable after all to have a wrapper caching a pointer, which then gets notified when that pointer is no longer in the object map. You mean a weak pointer? http://en.wikipedia.org/wiki/Weak_reference http://www.boost.org/doc/libs/1_42_0/libs/smart_ptr/weak_ptr.htm Also you're talk...
by adrian_broher
Sat Apr 13, 2013 11:51 am
Forum: Programming
Topic: streamlined Parts List Box in Design Window
Replies: 28
Views: 1492

Re: streamlined Parts List Box in Design Window

There is not necessarily a single best candidate for each part class. Okay, with your explanation this sounds more sensible. About your keepers.erase(--keeper_it.base()); Problem: It seems like -- has precedence over . in this case. Also reverse iterator point to the previous element The keeper_it ...