46877 Commits

Author SHA1 Message Date
Alexander van Gessel
a43cb54cb4 Make the 'binary k' uppercase: kB/KiB 2011-09-02 02:10:55 +01:00
Alexander van Gessel
8cac75d2bc Add a si_string function to string_utils.
Make the add-on manager and screenshot hotkey use it.
2011-09-01 21:09:26 +01:00
Anonymissimus
e8f6531a86 Completely removed the old x,y=$x1,$y1 default in [remove_item],
since when running into this rare exception (if the SLF doesn't
matching anything) it could be hard to figure out what happens.

[remove_item] does nothing in this case now.
2011-09-01 19:06:56 +00:00
Anonymissimus
b5701a0d93 again fixed bug #18441 in a hopefully better way 2011-09-01 18:48:39 +00:00
Anonymissimus
bbe2269acd TSG: fixed missing png extensions and start_times...
...in Gerrick's attack animations
2011-09-01 18:48:24 +00:00
Anonymissimus
9c3c7a416f fixed error message 2011-09-01 18:48:08 +00:00
Anonymissimus
056719cd44 fixed a not ideal return statement ending the function 2011-09-01 18:47:53 +00:00
Anonymissimus
40c53612e0 Reverted the revisions fixing bug #18441. (fix for bug #18580)
This reverts revisions 2011-08-09T22:11:59Z!Majora700@gmail.com and 2011-08-09T21:44:24Z!anonymissimus@arcor.de.
2011-09-01 18:47:37 +00:00
Anonymissimus
fc700f93da added an emailless [about] entry as a great pleasure for shadowmaster 2011-09-01 18:47:22 +00:00
Anonymissimus
bacc9ba7d9 MSVC10 projectfiles update
some info on how to reference .hpps and .libs without editing the
projectfiles here:

http://social.msdn.microsoft.com/Forums/en/vcgeneral/thread/a494abb8-3561-4ebe-9eb0-6f644a679862
2011-09-01 18:46:26 +00:00
Elias Pschernig
8ddc6dc056 [units.wesnoth.org] Slight CSS change...
...and removed addon factions from the navigation bar.
2011-09-01 18:39:30 +00:00
David Philippi
a05df4010f hebrew translation update 2011-09-01 13:35:37 +00:00
Ignacio R. Morelle
3215cb516b wesnothd: Make forum and sample user handlers print "Never"
rather than the Unix epoch for users who've never logged in after registration
2011-09-01 05:53:19 +00:00
Mark de Wever
29614541f9 Fix a broken unit test.
2011-08-30T04:38:22Z!thonsew@yahoo.com fixed a static initialization problem, but the code
assumed the same object was used. This commit fixes it, also tested by
thonsew ( committer of 2011-08-30T04:38:22Z!thonsew@yahoo.com).
2011-08-31 17:43:26 +00:00
Mark de Wever
7c92001031 Fix a problem using a singular iterator.
tschmitz please look at the code I fear there are more simular issues
lurking.
2011-08-30 19:41:33 +00:00
Mark de Wever
b8ee30a86b Fix a problem using a singular iterator. 2011-08-30 19:41:25 +00:00
Mark de Wever
010a38ebbf Remove a deprecated function. 2011-08-30 19:41:22 +00:00
Mark de Wever
e5beaf5753 Remove a deprecated function. 2011-08-30 19:41:15 +00:00
Sytyi Nick
1be77287ba Updated error printing part 2011-08-30 18:35:10 +00:00
Thonsew
b5a28162d4 Fix for bug #16173
(move_unit_fake and move_units_fake were not exception safe)

  1. Made game_display::fake_unit the only interface to the
  game_display fake units. fake_unit is a RAII resource that is self
  cleaning.

  2. Removed place_temporary_unit and remove_temporary_unit as public
  interfaces to game_display

  3. Updated all uses of the old interface to the new interface.

  4. changelog
2011-08-30 16:48:40 +00:00
Thonsew
bd7e3ca768 Refactor event handler code. 2011-08-30 07:48:55 +00:00
Thonsew
c10d72d57a Added a work around for unit id collisions in the unit_map...
...due to changes outside the unit map.

Added a request for a bug report concering these collisions.

Fixed a memory leak.
2011-08-30 04:38:36 +00:00
Thonsew
feb0df890f Added a unit_map unit test. 2011-08-30 04:38:30 +00:00
Thonsew
ccd299b577 Fixed 2 static initialization problems...
...causing core dumps with unit_tests under GCC 4.6
2011-08-30 04:38:22 +00:00
Mark de Wever
a3ceeb83b0 Strip trailing whitespace. 2011-08-29 19:40:42 +00:00
Mark de Wever
e28e12622a Remove an unused function.
Issue found by cppcheck.
2011-08-29 19:40:38 +00:00
Mark de Wever
bf2965e950 Limit variable scope.
Issue found by cppcheck.
2011-08-29 19:40:35 +00:00
Mark de Wever
550a3bb0c8 Catch exception by reference.
Issue found by cppcheck.
2011-08-29 19:40:32 +00:00
Mark de Wever
230c1a4271 Make a member function a const member function.
Issue found by cppcheck.
2011-08-29 19:40:29 +00:00
Mark de Wever
dc7c1bbb30 Change const variables by const values.
Issue found by cppcheck.
2011-08-29 19:40:23 +00:00
Nils Kneuper
2831b084b8 updated Irish translation 2011-08-29 09:07:11 +00:00
Tommy Schmitz
e186e833ea Fixed bug when receiving invalid whiteboard data. 2011-08-28 02:45:11 +00:00
Steven Panek
a99d71bb36 Replaced a couple of hyphen-minuses with real minus signs. 2011-08-27 23:11:10 +00:00
Nils Kneuper
4f3ec7a637 updated French translation 2011-08-27 21:31:09 +00:00
Anonymissimus
4c3d988c4c converted old result=continue_no_save syntax
fix for a bug report in the forum:

http://forums.wesnoth.org/viewtopic.php?f=4&t=34854&p=504420#p504420
2011-08-27 18:24:34 +00:00
Nils Kneuper
c6df65099b applied utils/wesnoth-optipng
Overall statistics (only for files with a smaller recompressed size):
  Original size: 32 KiB on 13 files
 Optimized size: 18 KiB
   Total saving: 13 KiB = 42% decrease
2011-08-27 09:40:18 +00:00
Nils Kneuper
b95942aa3e pot-update
regenerated doc files

(many manpages are not complete enough for generation anymore!)
2011-08-27 08:20:43 +00:00
Steven Panek
ad83d9a7f5 Updated changelog to mention the new wolf units. 2011-08-27 04:16:09 +00:00
Tommy Schmitz
1f64147b03 Fixed crash from ghosted-unit-bugfix. 2011-08-26 23:44:34 +00:00
Tommy Schmitz
3168cf6f19 Fixed: hide_whiteboard preference does nothing. 2011-08-26 23:44:19 +00:00
Tommy Schmitz
bd853afe17 Added hide_whiteboard to general preferences. 2011-08-26 23:44:03 +00:00
Steven Panek
4a6a81f7d3 Updated the changelogs. 2011-08-26 22:02:17 +00:00
Steven Panek
1dbdfdef75 'an harmer' -> 'a harmer'. 2011-08-26 21:56:05 +00:00
Elvish_Hunter
481e74bc8e Fixed 24 hour ToD to follow the latest esr's and Espreon's suggestions 2011-08-26 19:50:23 +00:00
Elvish_Hunter
05d438229b Fixed genre metatag in Battle Epic 2011-08-26 19:38:06 +00:00
Mark de Wever
111d8c78b7 Add underscore to private members.
Done per coding style.
2011-08-26 19:17:59 +00:00
Mark de Wever
5393ca7114 Added constructor to initialize all members. 2011-08-26 19:17:56 +00:00
Tommy Schmitz
f536aa24de Fixed recall bug that came from recruit bugfix. 2011-08-26 18:32:24 +00:00
Tommy Schmitz
08b505b8a8 Fixed another bug with invalid/multi-turn actions. 2011-08-26 18:32:09 +00:00
Tommy Schmitz
9e1acee7c9 Made it possible to plan invalid actions instead of silently rejecting them. 2011-08-26 18:31:54 +00:00